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
[TypeScript] tree_sitter_accuracy_audit.py flags phantom gaps for catch/return methods #2233
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginethreat: false-positiveAccuracy tuning: Engine incorrectly flagged safe code
Problem: vscode/async.ts flags catch and return as missing functions in _missing_examples.
Root Cause:
These are real method properties named catch and return. GitGalaxy correctly and intentionally drops them via the func_start keyword blacklist ((?!(?:...|catch|return...)\b)) to prevent massive false positives from control flow blocks (like catch (e) {). However, tests/tools/tree_sitter_accuracy_audit.py only filters these known hallucinations for javascript (lang == "javascript" and name in _JS_RESERVED_STATEMENT_KEYWORDS), neglecting to apply the identical filter for typescript.
To Reproduce:
Run tests/tools/tree_sitter_accuracy_audit.py --lang typescript and observe catch and return in _missing_examples.
changed the title [-][TS] tree_sitter_accuracy_audit.py flags phantom gaps for catch/return methods[/-][+][TypeScript] tree_sitter_accuracy_audit.py flags phantom gaps for catch/return methods[/+]on Aug 26, 2026
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginethreat: false-positiveAccuracy tuning: Engine incorrectly flagged safe code
Activity
[-][TS] tree_sitter_accuracy_audit.py flags phantom gaps for catch/return methods[/-][+][TypeScript] tree_sitter_accuracy_audit.py flags phantom gaps for catch/return methods[/+]chore: regenerate typescript tree-sitter accuracy baseline