Files
pbakaus_impeccable/tests/oracle/vectors
Paul BakausandClaude Fable 5 f4cb04f892 Oracle: restore detector goldens to post-fix behavior after the engine ports
The Aug 17-31 detector fixes (oklch parsing, color-mix nested hex, 1D grid
pass, comment stripping, root-relative linked stylesheets, URL userinfo
redaction, inert ignore-value refusal) and the comp-fidelity rules
organic-clip-path / buried-raster are ported to the engine. Re-records the
gap-pinning detect goldens from the fixed binary (glow.html included: its
.photo-opaque-grad column now carries the buried-raster finding it was
written for), replays the frozen checkHtmlPatterns call vectors through the
last JS engine state in history (db1462b9^; args untouched, 14 of 101
results moved), and rewrites the DELTAS gap section into the landed-ports
note. Each re-recorded json fixture golden byte-matches that JS state's
output; oracle: 770 pass, 0 fail.

Prepared with AI assistance (Claude Code).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WaJv2c4oN8wS7Ttq4XRqyx
2026-08-31 20:00:04 -07:00
..

Function-level vectors

record-calls.mjs runs the detect CLI and the pure-function unit tests with a loader hook (hooks.mjs / hooks-impl.mjs) that routes every exported function declaration in the pure engine modules through recorder.mjs. Each call whose arguments and result are plain data is written once (deduplicated by arguments) to calls/<module>/<fn>.jsonl as { "args": [...], "result": ... }.

Encoding of values JSON cannot carry: {"$undef":true}, {"$nan":true}, {"$inf":1|-1}, {"$negzero":true}, {"$map":[[k,v],...]}, {"$set":[...]}.

calls/_skipped.json names the functions whose calls held DOM-ish objects or closures; those are covered end to end by the detect goldens instead.

calls/ (about 10 MB) is the frozen snapshot recorded from the JS engine right before it left the tree with the launcher swap. It can never be regenerated: the modules record-calls.mjs, hooks.mjs, hooks-impl.mjs, and recorder.mjs instrumented no longer exist here, and those scripts stay only as the historical record of how the vectors were produced. Treat the directory as read-only test data for the engine's rule-level parity checks.