Verification funnel
How far each requirement has come: written, satisfied by an element, tested, proved by current evidence, proved on the board. It reads what archec status --json writes. It does the job of the anfra Funnel analysis.
archec new my-app --kind data-app --template verification-funnel
archec ui preview my-app/main.arche --serve
What it shows#
- A filter bar: a file, a state, a search on the id and the title.
- Three tiles: the requirements, the share proved, those proved on the board.
- The funnel: one step per metric, each with its share of the step before.
- The state by file, and the share of each state. A click filters.
- The requirements not proved yet, with Export CSV.
The data#
data/status.jsonisarchec status --json: runarchec status main.arche --json > data/status.jsonon your model.- A requirement is satisfied when something satisfies it (
satisfiedBy), tested when it has evidence, proved when itsstateisproved, and proved on the board when itsrungisboard.
Limits#
archec statusdoes not say who signed a requirement off, so the last step is the board, not a sign-off.funnel written, satisfied, tested, proved, on_boardis a funnel of metrics: its steps are the metrics, in the order written.
The model is lib/data-apps/verification-funnel/main.arche, and the gallery lists
the other templates.