Repository navigation
TypeScript tri-comparison sweep: root-cause 4 real func_start recall gaps, file issues - #2280
Merged
Merged
Conversation
…call gaps Full-corpus tri-comparison sweep (typescript) via tri-comparison-ledger-sweep skill: two ledger shapes were stale/thin (one described an already-fixed bug via #2219, the other's "misses arrow functions" verdict undersold a 124- occurrence shape with no filed issue). Re-diffed name+line across the whole 23-file corpus (a naive name-set diff misses same-name duplicates), root-caused by direct source reading, isolated regex testing, and galaxyscope --db-only struct_func_start-vs-function_count queries. Four confirmed, independently-verified defects, filed as: - #2276: reserved-keyword shield excludes legitimate `catch`/`return` method names (Promise-like thenables, AsyncIterator protocol methods). - #2277: arrow/method-shorthand definitions not at true line start (comma- sibling object-literal properties, one-line nested call/return arguments) are never recognized. - #2278: same-name TypeScript overload signatures collapse to just the body- bearing implementation (detector.py-level, not a regex miss -- raw signal count includes all overloads, the named list doesn't). - #2279 (dominant, 113 of 124 occurrences in one real-world .d.ts file): func_start's bodyless-declaration branch requires a return-type annotation before the `;` that TS constructors structurally never have. None fixed inline (all need real design work or the full Differential Scan chain per CLAUDE.md) -- filed only, per this skill's own scope discipline. Ledger verdicts updated with the full evidence trail and issue links; chart and points-of-interest regenerated --all --write per this repo's standing rule. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
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.
Summary
Ran the
tri-comparison-ledger-sweepskill against typescript's ledger backlog, prompted by "what functions does GitGalaxy miss in TypeScript compared to tree-sitter/ctags". Found the ledger was stale/thin in two places and did a full-corpus, name+line-accurate diff (a naive name-set diff undercounts same-name duplicates by ~40x here) to get the real, current picture, then root-caused every gap by direct source reading, isolated regex testing, andgalaxyscope --db-onlyraw-signal-vs-named-list DB queries.Issues filed
catchmethod name #2276 — reserved-keyword shield excludes legitimatecatch/returnmethod namespipeableoverloads #2278 — same-name TS overload signatures collapse to the body-bearing one onlyNone fixed inline — all need real design work or the full Differential Scan chain, filed per this skill's own scope discipline.
Changes
docs/self_scan/tri_comparison_ledger.json— two verdicts corrected with the full evidence trail + issue links (one was describing an already-fixed [bug] TypeScript: func_start regex misses generic functions #2219 bug, the other's terse verdict undersold a 124-occurrence shape with no filed issue)docs/self_scan/tri_comparison_chart.svg/tri_comparison_points_of_interest.md— regenerated--all --writeper this repo's standing ruleTest plan
ctags --versionconfirmed real Universal Ctags before regentri_comparison_chart.py --all --write(full 45-language regen, not partial)tri_comparison_report.py --writetests/ruff_audit.py --ci— no new findingstests/mypy_audit.py --ci— no new findings