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
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginethreat: false-positiveAccuracy tuning: Engine incorrectly flagged safe code
Flagged as a footnote in #1314 (not that issue's main subject, and not yet investigated): real_classes=285, found_classes=285 (100% recall), extra_classes=537 -> 34.7% class precision. Same shape as #1314's func_start findings (recall is fine, precision is badly hurt by a large false-positive count), different pillar (class_start not func_start).
Why this is worth its own issue
537 phantom classes against only 285 real ones (roughly 2:1) is a large, measured precision problem. #1314's investigation showed this KIND of finding can go either way -- a pure ground-truth measurement-tool bug with zero GitGalaxy engine defect (objective-c: _get_node_name had no handling for a node type lacking a "name" field, so every real method scored as a false "extra"), or a real, fixable regex issue with several distinct false-positive shapes (csharp: static/var/in/when/or contextual keywords captured as phantom function names). This needs its own dedicated diagnosis rather than assuming either direction going in.
Suggested next step
Run tests/tools/tree_sitter_accuracy_audit.py --lang typescript (full report, not --ci) to get _extra_examples sample names, and check whether tree-sitter-typescript's class_declaration/abstract_class_declaration node types have a "name"-field gap the way objc's method_definition did (#1314's ground-truth bug shape), or a real class_start regex false-match shape (interfaces/type aliases/enums matching as classes, generic type parameters, decorators, etc.) the way csharp's contextual keywords did (#1314's engine-bug shape). Trace back to source lines the same way #1266's investigation did for scala/matlab/haskell before assuming either direction.
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
fix(tools): typescript class_start ground truth was missing interface…
fix(core): typescript class_start now recognizes const enum (#1348) (#…
fix(typescript): add abstract_method_signature to tri-comparison audi…
fix(typescript): add abstract_method_signature to tri-comparison audi…