Detect and surface overlapping / identical strategy curves in analysis plots #80
Labels
No labels
bug
cli
core
docs
event
experiment
figure
invariant
metrics
oracle
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
provenance
revocation
tests
workload
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erikinkinen/AES#80
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Several AES result plots contain strategy curves that visually overlap. At the moment, this creates two problems:
This makes the graphs harder to interpret and weakens the empirical clarity of the evaluation.
Goal
Amend the analysis pipeline so that overlapping curves are treated as an explicit result rather than a plotting ambiguity.
The system should automatically identify which strategies are:
Scope
This issue applies to the main AES comparison plots, especially:
Requirements
1. Automatic tie-group detection
For each plot dataset, group strategies by their plotted value vectors.
Examples:
(x, y)series by strategySupport two modes:
Tolerance should be configurable and default to a small value appropriate for floating-point outputs.
2. Tie-group summary output
For every relevant figure, emit a machine-readable and human-readable tie-group summary.
Example format:
depth_sensitivity_total_costexact groups:
{direct, snapshot_direct}{eager_bfs}{eager_dfs}{lineage_basic}{epoch_indirection}This summary should be available:
3. Delta-to-baseline plots
For selected line plots, generate an additional plot relative to a baseline strategy.
Default baseline:
directExample derived metric:
delta_semantic_total_cost = strategy_cost - direct_costThis should make equal strategies appear as a flat zero line and expose small deviations clearly.
4. Plot readability improvements
Amend plotting defaults so near-overlapping curves are easier to distinguish:
If visual offsets are used, they must be display-only and clearly documented in the caption or metadata.
5. Optional pairwise equality matrix
Add an analysis artifact that reports pairwise equality or maximum difference between strategies for each figure.
Example outputs:
This is especially useful for thesis appendix tables.
Non-goals
This issue does not require:
The purpose is to improve interpretability of existing and future plots.
Implementation notes
Suggested comparison logic:
line plot equality:
scatter plot equality:
tolerance:
Suggested outputs per figure:
<figure_name>.png<figure_name>.tie_groups.json<figure_name>.delta.pngwhere applicable<figure_name>.pairwise_diff.csvDeliverables
Acceptance criteria
directandsnapshot_direct, when identical, are automatically reported as a tie groupRationale
This change turns overlap from a plotting nuisance into an empirical result.
If two strategies remain indistinguishable under a workload and metric, AES should say so explicitly. If they differ slightly, the analysis should reveal that difference clearly. This improves both thesis readability and experimental rigor.