Skip to content

fix(tree-sitter-audit): add dart's 3 constructor node types to ground truth - #1478

Merged
squid-protocol merged 1 commit into
mainfrom
fix/dart-nodemap-ctor-ground-truth
Aug 13, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
fix/dart-nodemap-ctor-ground-truth

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Measured: found_functions 677->705, extra_functions 309->281, real_functions 722->884 (class_precision unaffected, extra_classes stayed 0).

Fixes #1477.

Test plan

  • tree_sitter_accuracy_audit.py --lang dart shows the numbers above, --regenerate blessed
  • --summary-table regenerated
  • --all --ci clean across all 31 languages (no shared-helper ripple -- this only touches the dart-specific NODE_MAPS entry and a dart-gated _get_node_name branch)

… truth

dart's constructor_signature/constant_constructor_signature/factory_constructor_signature
node types were entirely missing from func_node_types and _get_node_name, so every real
dart constructor (unnamed, named, const, factory) scored as a false extra_functions hit.

found_functions 677->705, extra_functions 309->281, real_functions 722->884.

Fixes #1477.

Co-authored-by: Claude Sonnet 5 <[email protected]>
@squid-protocol
squid-protocol merged commit 031d9d7 into main Aug 13, 2026
27 checks passed
@squid-protocol
squid-protocol deleted the fix/dart-nodemap-ctor-ground-truth branch August 13, 2026 19:13
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dart func_start: audit tool's NODE_MAPS/ _get_node_name ground truth omits all 3 constructor node types

1 participant