fix(trace): an action names the generator that produced it

The setup exclusion landed for the model arm only, because only a model
pick stamped a source. A seeded run returned setup's action through the
same entry with no marker, so its denominator still counted the login
while the model arm's did not, and the two are compared.

serializeAction names setup and seeded on the wire, so both arms are
counted by one rule. An already-recorded trace names nothing and keeps
exactly the count it was reported with; unattributed_actions counts those
steps so the old denominator cannot pass as the new one. TraceVersion is
deliberately unbumped: oracle-reduction refuses a differing version, and
a bump would make all 169 recorded runs unreplayable.
This commit is contained in:
pj committed 2026-08-18 17:58:38 +05:30
1 parent 66fd5bce5d
commit 454988fbc8
19 files changed
+377 -82

No files matched your search

+40 -20
View File
@@ -3,125 +3,145 @@
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
"selector": "id:gamma",
"source": "seeded"
},
{
"kind": "Tap",
"x": 150,
"y": 160,
"selector": "id:beta"
"selector": "id:beta",
"source": "seeded"
},
{
"kind": "Tap",
"x": 50,
"y": 60,
"selector": "id:alpha"
"selector": "id:alpha",
"source": "seeded"
},
{
"kind": "InputText",
"x": 150,
"y": 160,
"text": "a",
"selector": "id:beta"
"selector": "id:beta",
"source": "seeded"
},
{
"kind": "InputText",
"x": 50,
"y": 60,
"text": "\t\n",
"selector": "id:alpha"
"selector": "id:alpha",
"source": "seeded"
},
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
"selector": "id:gamma",
"source": "seeded"
},
{
"kind": "Tap",
"x": 150,
"y": 160,
"selector": "id:beta"
"selector": "id:beta",
"source": "seeded"
},
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
"selector": "id:gamma",
"source": "seeded"
},
{
"kind": "Tap",
"x": 150,
"y": 160,
"selector": "id:beta"
"selector": "id:beta",
"source": "seeded"
},
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
"selector": "id:gamma",
"source": "seeded"
},
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
"selector": "id:gamma",
"source": "seeded"
},
{
"kind": "Tap",
"x": 150,
"y": 160,
"selector": "id:beta"
"selector": "id:beta",
"source": "seeded"
},
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
"selector": "id:gamma",
"source": "seeded"
},
{
"kind": "Tap",
"x": 50,
"y": 60,
"selector": "id:alpha"
"selector": "id:alpha",
"source": "seeded"
},
{
"kind": "InputText",
"x": 150,
"y": 160,
"text": "999999999999999999999",
"selector": "id:beta"
"selector": "id:beta",
"source": "seeded"
},
{
"kind": "InputText",
"x": 150,
"y": 160,
"text": "-1",
"selector": "id:beta"
"selector": "id:beta",
"source": "seeded"
},
{
"kind": "InputText",
"x": 250,
"y": 260,
"text": "-1",
"selector": "id:gamma"
"selector": "id:gamma",
"source": "seeded"
},
{
"kind": "Tap",
"x": 50,
"y": 60,
"selector": "id:alpha"
"selector": "id:alpha",
"source": "seeded"
},
{
"kind": "Tap",
"x": 250,
"y": 260,
"selector": "id:gamma"
"selector": "id:gamma",
"source": "seeded"
},
{
"kind": "Tap",
"x": 50,
"y": 60,
"selector": "id:alpha"
"selector": "id:alpha",
"source": "seeded"
}
]