Repository navigation
Kotlin keyword families: io, panics, bitwise, regex, time rules count the named construct (Part of #8863, #9330) - #9376
squid-protocol wants to merge 4 commits into
Conversation
|
No description provided. |
1 similar comment
|
No description provided. |
|
No description provided. |
|
PR #9376 @ b72d713: 1 failed check(s) == rosetta-audit (failure) -- main |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
CI shepherd: the head of this PR (8d113a1) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
PR #9376 @ 8d113a1: 6 failed check(s) == full-suite (cancelled) -- infra == ground-truth (cancelled) -- infra == publish-history (cancelled) -- infra == rosetta-audit (failure) -- real == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
No description provided. |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
CI shepherd: the head of this PR (d0ca1e6) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #9376 @ d0ca1e6: 1 failed check(s) == rosetta-audit (failure) -- real |
Part of #8863, #9330
Checklist: partial [c:3d9860c9]
Summary
The five remaining Kotlin red cells (io, panics_and_aborts, bitwise_ops, regex_execution, time_date_logic) came from crude rules: bare type names for io (
File,Retrofit,Dao),returncounted as an abort,.matches(/.find(counted as regex, no infixand/or, a four-name time list. Each rule now matches the construct its contract names (call forms, not type names)._scope_filtersshields string literals for bitwise_ops (branch and short_circuit kept). Per-family#9330comments inkotlin.py.Class / Sibling gaps
Class: a keyword-family rule that matches a name that merely co-occurs with the construct (a type name in a signature, a member shared with collections) instead of the operation itself.
Sibling gaps (no issues filed):
/nvme-data/gitgalaxy-data/okhttp) and cannot be quoted as pinned. Needs a language-crucible corpus PR plus a pin bump; until then the cells stay hatched.fun Byte.and(declarations still count as.and(in bitwise_ops.Remaining slices: the crucible corpus + pin bump above.
Evidence
family_oracle.py --lang kotlin(exploratory, unpinned): all five cells now above 0.8; see the 18-line Kotlin-only diff intests/family_validity_baseline.json. Closures and doc stay green on the pinned crucible.scope_check.py --expect kotlin: 399 Kotlin diffs; the 70 "unattributed" are repo-wide rollup fields that reference the same Kotlin files). Blessed withgolden-lock.sh crucible_check.py --update --yes.data/kotlin.test_kotlin_family_validity_9330.py); twotest_kotlin_strict.pysnippets updated (the.matches(regex collision, aClocknegative).pr_gates --fast(after regenerating the family-validity SVGs),--ratchets, andaudit_check.pyall pass.Family-validity checklist
Cross-repo
keyword-rosetta:
tools/rebless.py kotlin --dry-runcould not run: it refusesdata/kotlin/expected_signals.jsonon origin/main because the file does not round-trip underindent=2, ensure_ascii=False(a formatting problem in rosetta's own file, independent of this change). A rosetta kotlin rebless is likely needed after this merges, once that file is reformatted. Companion PRs: none yet; this side merges first.Lessons for agents
family_oracle_sweep --writerewrites unrelated languages' cells; revert them by hand before committing._scope_filters, not the code stream, so unit tests that read the code stream cannot see it.docs/self_scan/family_validity_*.svg: runfamily_validity_chart.py --write.🤖 Generated with Claude Code