Repository navigation
tree-sitter accuracy: re-baseline rust and shell for files the aperture now keeps (Part of #5503) - #5509
Conversation
…re now keeps (Part of #5503) #5493 (aperture payload guards) moved tokio_udp.rs, ed_test.sh and generate_ids_from_drivers.sh out of the excluded queue, so the pinned corpus scan counts them: rust 48->49 files, shell 252->254 files. Shell recall drops 99.1% -> 84.2% because ed_test.sh defines ~150 functions GitGalaxy does not find (separate engine gap). Typescript is not included: extra_functions 1 -> 106, which the tool refuses to bless. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5509 @ aaf42d4: 1 failed check(s) == tree-sitter-accuracy-audit (failure) -- real |
…e now keeps (Closes #5581) (#5583) #5493 (aperture payload guards) changed which pinned-corpus files the scan keeps, so typescript went 35->36 files, real_functions 7391->8484 and real_classes 894->1488. #5509 re-baselined rust and shell but skipped typescript while extra_functions was 106; #5516 brought it back to 1, so the tool now blesses it with no regressions. The language-crucible pin (v1.7.0) is unchanged. Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Part of #5503 (does not close it: typescript is still red, see below).
What happened
Run 39146104369 (main at f3e72d1) failed on zig only; #5504 re-baselined it. A re-run on main at e40fe0c (run 39149196144) failed on rust, shell, typescript. All three moved because #5493 (aperture payload guards keep files with function definitions beside a data table) moved crucible files out of the excluded queue, so the pinned corpus (v1.7.0, unchanged) now scans more files.
This PR
Regenerated against language-crucible v1.7.0 on current main (
tree_sitter_accuracy_audit.py --lang X --regenerate):language_standards/__init__.pyregenerated by the tool): GitGalaxy finds none of the ~150*_head()/*_body()functions infreebsd-src/ed_test.sh(33 KB, many heredocs). A separate engine gap, recorded here, not hidden.Not fixed: typescript
The tool refuses to bless it:
extra_functions1 -> 106 (recall is fine, 7377/7391). Triage of the extras on the newly admitted checker.ts / emitter.ts / parser.ts:addTypesToUnion,doInAwaitContext,getNodePos, a method namedcatch): reference gaps on 54k-line files.IDENT: <type> ... =>branch offunc_start(typescript.py), whose{0,200}type span crosses commas and newlines: multi-line parameter lists ending in a() => stringparameter (inputFileNamein emitter.ts:548), import-list names (combinePaths, emitter.ts:35) and ternary call sites (resolvePath(, emitter.ts:355/495).A fix is a
func_startchange plus a golden re-bless, a separate PR.Sibling gaps
Lessons for agents
--regenerate, or the numbers match the stale baseline.🤖 Generated with Claude Code