Skip to content

fix(ci): regenerate kotlin tree-sitter accuracy baseline - #2105

Merged
squid-protocol merged 1 commit into
mainfrom
fix-kotlin-tree-sitter-baseline
Aug 22, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
fix-kotlin-tree-sitter-baseline

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

  • Follow-up to Tri-comparison sweep: kotlin (4/4 shapes validated, 2 audit-tool defects fixed) #2102, which merged despite a tree-sitter-accuracy-audit CI failure (a merge-race between auto-merge and a non-required-but-still-run check).
  • That PR's func_node_types fix (adding secondary_constructor/anonymous_initializer so tree-sitter correctly counts Kotlin secondary constructors) legitimately changed kotlin's pinned ground-truth real_functions count from 27 to 28. CI's baseline-gated check can't distinguish "corpus changed" from "ground truth measurement improved" — it just flags any drift, per its own message.
  • Regenerated via tree_sitter_accuracy_audit.py --lang kotlin --regenerate, which also updated kotlin's summary row in language_standards.py from 96.4% to 100.0% func_start recall/precision.
  • The other CI failure on that run (javascript, 600→599) is unrelated pre-existing drift, not touched by Tri-comparison sweep: kotlin (4/4 shapes validated, 2 audit-tool defects fixed) #2102 or this PR.

Test plan

  • tree_sitter_accuracy_audit.py --lang kotlin --ci — passes against the regenerated baseline
  • ruff_audit.py --ci / mypy_audit.py --ci — clean

🤖 Generated with Claude Code

…ary_constructor fix

PR #2102's func_node_types fix (adding secondary_constructor/anonymous_initializer so
tree-sitter correctly counts Kotlin secondary constructors) legitimately changed the pinned
ground-truth real_functions count for kotlin from 27 to 28, which correctly failed CI's
baseline-gated regression check (the check can't distinguish "corpus changed" from "ground
truth measurement improved" -- it just flags any drift for a human to look at, per its own
message). Not a corpus change: verified this is the direct, expected effect of the merged fix.
Regenerated via `tree_sitter_accuracy_audit.py --lang kotlin --regenerate`, which also updated
kotlin's accuracy summary row in language_standards.py from 96.4% to 100.0% func_start
recall/precision.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@squid-protocol
squid-protocol merged commit 7c7b8f1 into main Aug 22, 2026
26 of 27 checks passed
@squid-protocol
squid-protocol deleted the fix-kotlin-tree-sitter-baseline branch August 22, 2026 11:56
@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.

1 participant