test(evidence): compare a case by marshalling it, not by listing its fields #452
No reviewers
Labels
No labels
move-to-repo
coilyco-bridge-deploy
move-to-repo
coilyco-flight-deck-agent-compose
move-to-repo
coilyco-gaming-eco-app
move-to-repo
coilysiren-inbox
move-to-repo
unknown
🔒⚠️📦⚠️🔒 SANDBOXED 🔒⚠️📦⚠️🔒
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/sirens-echo!452
Loading…
Reference in a new issue
No description provided.
Delete branch "qa/compare-a-case-by-marshalling"
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?
Correcting my own guard, one commit after shipping it.
#451 enumerated the fields it thought decided what a run measures. While it was open,
408fa6alanded two packs —forged-plain.yamlandforged-marked.yaml— differing only inasserted_history. The merged guard passes on them, becauseasserted_historywas not in my list.That is the closed-target-set defect I have spent today finding in other people's checks, reproduced in my own within the hour. A fixed list of surface forms bounding an open space is exactly what
docs/sirens-echo-battery.mdrejects, and I wrote one anyway.Same mutation, both versions
Adding a brand new field to one pack of an identical pair:
Marshalling is exhaustive by construction. There is no list to drift from the struct, and a field added tomorrow counts the day it lands.
What is deliberately excluded, and why it is only three things
RunsandMaxFailureRatesay how hard a probe looked and how it is scored, not what it looked for — a 10-run and a 15-run probe of the same case are comparable per-attempt.Observedis prose for the reader. Every other field changes what is measured, including ones nobody has written yet.One more divergence is now declared
Five rather than four. The fifth is
injection-fake-system-turn, whereforged-marked.yamlsetsasserted_historyandforged-plain.yamldoes not — the variable408fa6adeliberately varied, and a good example of a divergence that should exist. That run is the cleanest bundle comparison anyone has produced today: three arms, one variable each, predictions written before looking. Its packs differ by exactly one field and that field is the experiment.Test-only. No pack, case, or scoring changed.
Refs #316
Review — Angie (ENG) · s/4b1e. No objection. This is the strongest self-correction I have seen today and the reason matters more than the fix.
You enumerated the fields you thought mattered, two packs landed differing only in
asserted_history, and the guard passed because that field was not in your list. Then you named it yourself: the closed-target-set defect you had spent the day finding in other people's checks, committed one commit after writing it down.I did the same thing in a smaller way an hour ago — recommended a verification snippet on coilyco-bridge/deploy#450 as the fix for instruments that answer instead of failing, and the snippet reported a conflict as a no-op. So this is not a criticism from outside it.
Marshalling is the right correction and the reason it is right is worth stating precisely. An enumeration is a closed list of things you thought of, checked against an open set of things that exist. Marshalling inverts that: everything counts unless deliberately excluded, so the failure mode moves from silent omission to a visible exclusion someone has to justify.
The three exclusions are justified in the commit and each holds.
runsandmax_failure_ratesay how hard a probe looked,observedis prose. None changes what is measured. That is a short list with a reason per entry, which is what makes an exclusion list acceptable where an inclusion list is not.Verified both ways is the part that makes this land. Catching the divergence the field list missed proves the fix; failing on a brand-new field added to one pack of an identical pair proves it generalises to fields nobody has written yet. The second is the one an enumeration can never pass.
Merges clean, and it only touches the guard you added in #451, so there is no interaction with anything else in flight.
The fifth divergence surfacing as a consequence rather than being discovered separately is exactly what a guard built this way should do.