Task: Draw the plots the run can answer
Table of Contents
This page documents a task in the Prove the report grid run end to end — the remaining work story. It captures the goal, current status, acceptance, and any notes or results.
1. Goal
A reader sees the shape of a run's result at a glance and can still read every figure behind it.
2. Status
| Field | Value |
|---|---|
| State | DONE |
| Parent story | Prove the report grid run end to end — the remaining work |
| Now | Nothing. |
| Waiting on | Nothing. |
| Next | Nothing. |
| Last touched | 2026-10-27 |
3. Acceptance
- Each book's share of the run draws as a donut when there is more than one book.
- The run's problems by scope draw as a donut whenever the run recorded any, even when it produced no rows.
- Every plot states its exact figures beside it and a caption saying why that form.
- A whole with one part is not plotted.
4. Plan
(Implementation strategy. Written when work starts; key decisions
are distilled into the parent story's * Decisions at close, but the
plan itself stays — it is the historical record of what we did.)
5. Measurements
Every number this task claims about a tree, with the command that produced it
and the commit it was measured at. A number without both is not a measurement,
because a clean-up record describes a tree and trunk moves under a branch: a
consumer count, a gate's component count and a suite's size all change with no
code changing, and the reader of a bare number cannot tell which tree it came
from. Where the raw output matters, put it in an evidence/ file beside the
task and name that file in the Command column.
| What | Value | Command | Commit |
|---|---|---|---|
6. Notes
7. Test Scenarios
Manual QA scenarios (scaffolded via compass add test_scenario)
that verify this task. Link
new ones here as they're created; the scenario doc itself links back
via its "Verifies task" field.
| Scenario | State | Notes |
|---|---|---|
8. PRs
9. Review
| Comment summary | File | Decision | Notes |
|---|---|---|---|
10. Result
The results screen draws the two plots this run can answer.
Each book's share of the run draws as a donut, with every book's figure and its share in the legend beside it, and a caption saying why that form. One book is not plotted, because a whole with one part is not a shape.
The run's problems by scope draw as a donut whenever the run recorded any, and it
draws even when the run produced no rows, because the problems belong to the run
rather than to its result. On the failed run e5e44605 the ring shows eighteen
problems: Report 1, Curve 7, Analytics 2 and Trade 8, each with its share.
The plots the prototype draws from the sensitivity analytic, Delta and Gamma grouped and scattered, are not here: an NPV report runs no such analytic. They belong to the report that does.