Skip to content

feat: add matrix_exp oracle cases and document eig complex strategy#18

Merged
shinaoka merged 5 commits intomainfrom
feat/matrix-exp-oracle-support
Mar 31, 2026
Merged

feat: add matrix_exp oracle cases and document eig complex strategy#18
shinaoka merged 5 commits intomainfrom
feat/matrix-exp-oracle-support

Conversation

@shinaoka
Copy link
Copy Markdown
Member

Summary

  • Materialize matrix_exp oracle cases (8 records: 4 dtypes × 2 sample shapes) via new inventory_kind="cmi_linalg" routing through cmi.op_db
  • Add matrix_exp/identity to the math registry and update matrix_exp.md DB Families section
  • Document eig complex oracle strategy in eig.md (phase ambiguity, real-to-complex handling, complex-input coverage, future considerations)
  • Extend replay validator to handle cmi_linalg inventory kind
  • Regenerate publish coverage report (176 → 177 families)

Test plan

  • uv run python scripts/validate_schema.py — pass
  • uv run python scripts/verify_cases.py — 9576 records verified
  • uv run python scripts/check_math_registry.py — pass
  • uv run python scripts/check_replay.py — 9576 cases replayed
  • uv run python scripts/check_regeneration.py — 177 files match
  • uv run python -m unittest discover -s tests -v — 180/182 pass (2 pre-existing failures from hardcoded paths in test_case_loader.py)

Closes #17

🤖 Generated with Claude Code

shinaoka and others added 3 commits March 16, 2026 08:44
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>
@shinaoka shinaoka enabled auto-merge March 31, 2026 11:28
shinaoka and others added 2 commits March 31, 2026 20:31
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>
@shinaoka shinaoka merged commit 671ebb5 into main Mar 31, 2026
2 checks passed
@shinaoka shinaoka deleted the feat/matrix-exp-oracle-support branch March 31, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add complex AD oracle support for tenferro linalg rollout

1 participant