feat: add trend history and ribbons (task 0006) #6
Reference in New Issue
Block a user
Delete Branch "task-0006-trend-history-and-ribbons"
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?
Task file:
.claude/tasks/0006-trend-history-and-ribbons.mdSummary
Adds the longitudinal layer to the benchmark deterministic core (
skills/benchmark-skill/core/benchmark_core.py):--historyJSON-lines file that appends one summary line per run (each axis's net margin and pass/fail plus the two-arm/three-arm flag) and trims oldest-first at fifty. It lives in the git-ignoredtests/.reports/directory and is ephemeral.The runner's
SKILL.mdgains the--historyargument and describes the ribbons and chips. Two committed fixtures (clean-bundle.json,fragile-bundle.json, machine-generated) and newchecks/benchmark-core.nixsections cover the append-and-trim, both ribbons including the two-arm gap, and the per-badge chips.nix flake checkpasses.Deviations / decisions
--history; without it the core stays a pure transform and renders no ribbons.green/applicable, where the denominator excludes runs a given axis cannot score (two-arm runs on the regression axis).Review
Overall: LOW
--historyflag and new render helpers in one file plus its test, no existing callers change behavior.Standards — unaddressed
All semicolon-in-comment hard violations were fixed (in the diff). Left unaddressed, deliberately:
#comments, which were fixed.Spec — unaddressed
The Spec axis found no missing or wrong requirements; the following are accepted deliberate deviations, each already noted above:
green/applicabledenominator in the readout — deliberate, reads more honestly than counting unscoreable two-arm runs against the total.