Write and check a model › Build data apps › Verification funnel

Write and check a model › Build data apps

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.json is archec status --json: run archec status main.arche --json > data/status.json on your model.
  • A requirement is satisfied when something satisfies it (satisfiedBy), tested when it has evidence, proved when its state is proved, and proved on the board when its rung is board.

Limits#

  • archec status does not say who signed a requirement off, so the last step is the board, not a sign-off.
  • funnel written, satisfied, tested, proved, on_board is 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.