You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rust/swift func_start extra_functions rose after #1302's prism.py fix -- newly exposed, not caused #1311
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginetestingUnit, integration, and E2E pipeline verification
While fixing #1302 (prism.py's unbounded comment-shield bug), rust and swift's measured func_start recall improved dramatically as a side effect (rust 78%->99%, swift precision on
class detection 24.3%->62.2%) -- but extra_functions (false positives) also rose, since far
more real code now reaches their own func_start regexes for the first time:
Language
extra_functions before
extra_functions after
rust
32
69
swift
3
5
These are pre-existing, latent false-positive gaps in rust's and swift's own func_start
regexes that were simply never visible before, because prism.py's bug was silently deleting
most of the code that would have exposed them. Not caused by #1302/#1266, and out of scope for
those PRs (both already merged/mergeable without fixing this).
Evidence
Both tests/tree_sitter_accuracy_baseline_rust.json and ..._swift.json are already
regenerated to the "after" numbers above (committed in #1303/#1307) -- this issue is to
investigate and reduce the false-positive count, not to re-measure.
Suggested next step
Run tests/tools/tree_sitter_accuracy_audit.py --lang rust / --lang swift (full report mode,
no --ci) against the language-crucible corpus to get fresh _extra_examples sample names,
then trace each back to its source line the same way #1266's investigation did for
scala/matlab/haskell -- almost certainly a handful of distinct lookalike shapes rather than 69/5
independent bugs.
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginetestingUnit, integration, and E2E pipeline verification
Activity
fix(rust): recognize bodyless trait-method signatures in func_start (#…
fix(rust): wire rust into class_start named-entity extraction (#1295) (…
fix(tests): fix rust/swift tree-sitter ground-truth gaps behind squid…