feat: add matrix_exp oracle cases and document eig complex strategy#18
Merged
feat: add matrix_exp oracle cases and document eig complex strategy#18
Conversation
Materialize matrix_exp cases (8 records across 4 dtypes) by routing through cmi.op_db via a new inventory_kind="cmi_linalg". Update the replay validator to handle the new routing. Add matrix_exp to the math registry and replace the "not yet materialized" note with a proper DB Families section. Document the eig complex oracle strategy covering phase ambiguity, real-to-complex handling, and future considerations. Closes #17 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The complex-support ledger (merged from main) requires every published (op, family) to have an explicit entry. Add matrix_exp/identity as reviewed + covered and regenerate reports. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The upstream AD tolerance checker uses the same inventory_kind routing as the generator and replay validator. Extend both resolver dispatches to handle cmi_linalg alongside scalar. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
matrix_exporacle cases (8 records: 4 dtypes × 2 sample shapes) via newinventory_kind="cmi_linalg"routing throughcmi.op_dbmatrix_exp/identityto the math registry and updatematrix_exp.mdDB Families sectioneig.md(phase ambiguity, real-to-complex handling, complex-input coverage, future considerations)cmi_linalginventory kindTest plan
uv run python scripts/validate_schema.py— passuv run python scripts/verify_cases.py— 9576 records verifieduv run python scripts/check_math_registry.py— passuv run python scripts/check_replay.py— 9576 cases replayeduv run python scripts/check_regeneration.py— 177 files matchuv run python -m unittest discover -s tests -v— 180/182 pass (2 pre-existing failures from hardcoded paths intest_case_loader.py)Closes #17
🤖 Generated with Claude Code