Repository navigation
feat(t27b): tri t27b next ranks the next lane from reference passes only (Closes #6317) - #6318
Merged
Merged
Conversation
…nly (Closes #6317) Refs #6063. Skill slip Q38 as a tool: the ExprBinary-statement lane (#6316) was picked from blockers without the reference and moved the counted pass number by 0. `tri t27b next` reads the lab's latest run and ranks blocker families by files where the reference passes and t27b is blocked (sole above first), prints the honest denominator (t27b pass over reference passes with tests), and lists reference-failing families apart as bugs to file. The decisions are steward.t27 `lane_kind`, `lane_score`, `with_tests` (13 new tests, 104 in all). gen/c/tri/t27b/steward.c was generated on the t27c lab (master t27c, src 65e6ddb), sha256 b3798b34ffb9..., matching the lab's sha256sum; the lab's test-report passes 104/104. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
6 tasks
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.
Closes #6317
Refs #6063
What
tri t27b next-- the reference-backed lane picker. Skill slip Q38 as a tool: the ExprBinary-statement lane (#6316) was picked fromt27b corpus --blockerswithout the reference, and all its files fail in the reference, so it moved the counted pass number by 0.It reads the lab's
latest.json(or--fixture DIR;--json,--top N) and:reference == passandt27b == blocked:sole(the only blocker: unlocks on its own) abovefirst(the first blocker);Where the decisions live
specs/tri/t27b/steward.t27(AGENTS.md "t27b is written in t27"):lane_kind(reference, t) -> u8: 0 not counted, 1 lane, 2 reference bug (a lab error / not run counts nowhere);lane_score(sole, first) -> u32 = sole * 1000 + first;with_tests(reference, vacuous) -> u32(never wraps).13 new tests, 104 in all.
gen/c/tri/t27b/steward.cwas generated on the t27c lab (/data/target/release/t27c, source 65e6ddb), fetched between B64BEGIN/B64END markers, sha256b3798b34ffb96611dd06910789025c625add3a594ae844cbee1bf7613eb05712equal to the lab'ssha256sum(Q34); the lab'stest-reportpasses 104/104. The only non-additive change in the C is the test count line.scripts/tri_loop/t27b_rules.pywraps the three functions;t27b.py nextonly fetches, counts and sorts by the score the spec returns. The counting plumbing is debt under port epic #6198 (AGENTS.md line count fort27b.pyupdated: 894 -> 1481).Live output (lab run 26c447a, master)
Note the reference-bug list:
ExprBinary statementhas 11 sole files there (the #6316 lane), none in the lane list.Tests
python3 scripts/ci/test_the_t27b_steward_decides_in_t27.py-- PASS (now expects "104 tests passed"; loader checks forlane_kind/lane_score/with_tests; a structural check thatnext_lanescalls the spec and holds no== "blocked"or1000of its own)python3 scripts/ci/test_a_t27b_tick_reads_before_it_acts.py-- PASS (newnextfixture: sole outranks a wider first-blocker family, reference failures listed apart, lab_error counts nowhere, denominator 2 / 8 = 25.0%, a summary-only run is UNREADABLE rather than an empty ranking)test_a_t27b_spec_cannot_move_silently.py,test_the_t27b_gen_check_asks_the_lab.py,test_the_t27b_lab_heals_its_clone.py-- PASSnext_sole_outranks_first.tools/check_now_entry_shape.py.🤖 Generated with Claude Code