Repository navigation
evidence: memoise component partition and class edges (Part of #5156) - #6933
Merged
Merged
Conversation
…rt of #5156) component_shas re-derived the partition and a regex per class pair for every file x target. Both are pure; the partition test drops 20.5 s -> 12.7 s local, fingerprints unchanged. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
This was referenced Oct 28, 2026
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.
Part of #5156. Checklist: partial [c:260e749a] -- the survey (#6924) found no 40-240 s evidence test left; this trims the one largest (
test_the_components_partition_each_input), nothing more is warranted.What
tests/tools/evidence.py:component_shasre-derived the component partition (fnmatch per file per component) and runtime-class edges (regex per class pair) for every file x representative target. Both are pure, so_partitionand_names_classare memoised. Fingerprints are unchanged; no proof loosened.Log entry in
docs/ci_experiments_log.md.Class / Sibling gaps
Class: evidence tests costing more than 10 s. Members:
test_the_components_partition_each_input(handled here; still ~12.7 s, already intime_ratchet.IGNORED). Others in the survey are under 10 s; 8 s of remaining cost is sha256 hashing intree_sha256(caching per-file digests would hold every edited file's bytes: a different mechanism, not done). Sibling gaps: none beyond that.Gates
pr_gates --fast9/9 pass (ruff 0.17.1 used);tests/cobol_mainframe/test_evidence.pyplustests/tools -k evidence: 228 passed;test_evidence_components.py: 21 passed.--ratchetsnot run (no engine, golden or ledger input touched). The committed.test_durationsis not refreshed here.🤖 Generated with Claude Code