Add deterministic divisor oracle for #54 - #57
Draft
isomorphisms wants to merge 4 commits into
Draft
isomorphisms wants to merge 4 commits into
isomorphisms wants to merge 4 commits into
Conversation
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.
Refs #54.
This deliberately starts from
main, notexperiment/powervr-phone-fastpath.Oracle
Adds a host-side mathematical oracle under
_/oracle/and runs it in the normal test workflow. The acceptance sequence is:Failures isolated
The tests keep two recent evaluator strategies only as negative controls, not as architecture:
qcan erase a real displaced-pair contribution;There is also a more basic semantic boundary: exact cancellation has to happen before numeric evaluation. Leaving the pair in separate
atan/logpaths makes the removable point reachatan(0,0), whose GLSL result is undefined.The oracle therefore does not preserve the recent raw/scaled product helpers, marker-culling work, or their structural green tests as constraints. It defines the mathematical behavior a replacement live evaluator must match.
Verification
python -m unittest discover -s _/oracle -p 'test_*.py' -vpasses 7/7 locally.This PR is intentionally draft: it establishes the deterministic oracle and failure ordering first. It does not claim live GLSL parity or physical PowerVR acceptance yet.