testing: golden differential harness across backends#158
Merged
Conversation
f24c755 to
ca95d00
Compare
Cross-backend golden differential testing: the golden backend records
each object's inputs + correct outputs, and per-backend harnesses replay
those inputs and diff the captured output against the oracle.
- binding/golden/run.hpp: one-at-a-time case sweep (base case + per enum
mode + per numeric range endpoint) per object.
- tooling/golden_compare.py: shared audio/control/texture compare + case
aggregation.
- tooling/run_{python,gst,pd,max}_golden.py + tooling/max driver: the
per-backend replay harnesses.
- tooling/gen_tester_patches.py, tooling/td/run_td_sweep.py: TD runner
generation + sweep (records the crash stage; texture output reported
as not verifiable headless rather than a false mismatch).
Depends at runtime on the backend fixes in
fix/backend-audio-texture-correctness and fix/python-binding-improvements
for the harnesses to report clean.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JH7HS58wPSA22HztHZsakd
ca95d00 to
c97bf76
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The cross-backend golden differential testing framework, split out of the former channel-safety mega-PR (#143). Ships no library code — it's dev tooling + the golden generator.
The
goldenbackend records each object's inputs + correct outputs; per-backend harnesses replay those inputs and diff the captured output against the oracle.tooling/maxdriver — the per-backend replay harnesses.Merge after #155 (backend fixes) and #156 (python binding) — those fixes are what make the harnesses report clean.
🤖 Generated with Claude Code