fix(experiments): reject malformed PCAP receipt identities as failed facts

Parse model-supplied identity values before dictionary/set lookup so malformed JSON remains a factual failure. Validate the actual stored-answer mutation and related grading regressions without rerunning models.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
This commit is contained in:
N0zoM1z0
2026-10-14 02:40:31 +08:00
committed by morluto
co-authored by factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> Kaoru0822
parent 78b8e28b67
commit 56a90afdde
2 changed files with 8 additions and 4 deletions
@@ -122,9 +122,11 @@ validated.
Both real CLI complete results match full MCP normalized results, subjects,
parameters, IDs and limitations. Portable CLI summary/URI views match MCP retained
normalized facts and subjects; source forms/caller parameters remain distinct.
Source bytes stay unchanged. Nine context/grading regressions pass. Four real-answer
Source bytes stay unchanged. Nine context/grading regressions pass. Five real-answer
mutations—omitted null, false page exhaustion, contradictory source scope,
unsupported absence claim—fail correctly. JS syntax, Python compilation and
unsupported absence claim and non-string receipt identity—fail correctly.
Malformed identities produce failed facts rather than crashing the grader.
JS syntax, Python compilation and
relevant standard lint pass.
**Decision: keep existing complete defaults; add no production optimization.**