Repository navigation
fix(ci): regenerate kotlin tree-sitter accuracy baseline - #2105
Merged
Merged
Conversation
…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]>
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
tree-sitter-accuracy-auditCI failure (a merge-race between auto-merge and a non-required-but-still-run check).func_node_typesfix (addingsecondary_constructor/anonymous_initializerso tree-sitter correctly counts Kotlin secondary constructors) legitimately changed kotlin's pinned ground-truthreal_functionscount 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.tree_sitter_accuracy_audit.py --lang kotlin --regenerate, which also updated kotlin's summary row inlanguage_standards.pyfrom 96.4% to 100.0% func_start recall/precision.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 baselineruff_audit.py --ci/mypy_audit.py --ci— clean🤖 Generated with Claude Code