Repository navigation
Tools: an evidence index of what is qualified, on which commit, at which grade, and whether it is stale - #2621
Merged
Merged
Conversation
tools/evidence_index.py walks the checkout's qualification-evidence sources (the receipts, the optimization ledger, the conformance profiles, the LFM3 evidence ledger, the known-issue list, and a capabilities file when one is passed) and writes one JSON index. Each entry is a family, backend and capability with its evidence (the file, the commit when the source records one, the date, what was measured), its grade (host test, kernel contract, served exactness, served speed) and whether it is stale or failed. A grade the source does not state stays unknown, and staleness is computed with git log over the files a measurement covers. docs/evidence-index.md says how to run it and how to read the grades and the stale, failed and unknown fields. tools/tests/test_evidence_index.py covers the extractors, the source readers, staleness and the grouped index against fixture trees.
ashhart
force-pushed
the
lead/evidence-index
branch
from
November 8, 2026 23:52
ae8ffa2 to
8c38e42
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.
tools/evidence_index.py(standard library only) answers "for family F on backend B, what is qualified, on which commit, at which grade, and is that evidence stale?" from what the repository already records. It walksdocs/receipts/**,docs/optimization-ledger.md, the conformance profiles (tools/conformance_profiles/*.json), the LFM3 qualification ledger,docs/known-issues.md, and atensorfold-native capabilities --jsonfile when one is passed, and writes one JSON index: per family x backend x capability, each piece of evidence (file, the commit when the source records one, date, what was measured), its grade, and whether it is stale or failed.git logover the family's source folder, plus the CUDA kernels for CUDA evidence).docs/evidence-index.mdsays how to run it and read the grades. It extends the existing ledgers and conformance kit rather than adding another qualification record.On today's main: 1,063 entries; by grade, host test 7, kernel contract 2, served exactness 12, served speed 12, unknown 1,030 (the optimization ledger's status cells don't state a grade, and they dominate); 11 stale and 17 failed. Most of the value now is that the unknowns are visible.
Checks
tools/tests/test_evidence_index.py: 18 tests (each reader against a fixture tree, the grade extractors, staleness against a real temporary git history, the grouped index), passing on macOS and Windows.python3 tools/evidence_index.py --root .runs on main and writes the index above; no engine code changes.Part of the engineering audit's qualification work (an index over existing evidence, not a new conformance driver).