Operate
Quality and testing
Orion is developed against a fixed suite of real municipal questions whose correct answers were computed by hand, directly on the data. Every change is measured against it before it ships.
198test questions in Dutch and English, from simple lookups to multi-part questions with a place per kind
SQLevery reference answer computed by hand on the real data, with the query kept
Canariessets of pinned questions that must not move when a change is made
How a change is judged
- Canary sets gate every change. Each set covers one mechanism (place binding, combining registers, absence questions, dates, multi-part questions). A change that moves a pinned answer is stopped until the move is explained.
- Refusals are pinned too. Where the data cannot answer, the honest refusal is the expected result, and a number there counts as a regression.
- The reference answers are themselves audited. When Orion and a reference answer disagree, the disagreement is settled by a new query on the data, not by assuming either is right. Several reference answers have been corrected this way.
- Checks in code are preferred over prompt changes, because code behaves the same way every time and can be tested exactly.
Repeatable decisions
Decision steps run without random sampling. The full run of every question also records a machine-readable trace of each stage, which is how regressions are traced to the stage that caused them, and which the Stage can replay.
Further reading on the Orion blog: Testing a system that isn’t allowed to be creative and What we got wrong.