Repository navigation
Java keyword families: closures, bitwise, regex, time rules and the print oracle count the named construct (Part of #8863, #9336) - #9377
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
No description provided. |
|
PR #9377 @ b2fbc05: 1 failed check(s) == full-suite part 3/5 (failure) -- real |
|
No description provided. |
|
CI shepherd: the head of this PR (f6c434b) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
PR #9377 @ cc5c31a: 5 failed check(s) == full-suite (failure) -- real == full-suite part 1/5 (failure) -- real == full-suite part 2/5 (failure) -- real == full-suite part 3/5 (failure) -- real == shepherd (label event) (failure) -- infra |
|
CI shepherd: the head of this PR (b33e26d) is not the one a maintainer labelled |
|
No description provided. |
Part of #8863, #9336
Checklist: done [c:f1e5b8b0] -- every Java cell with 10+ oracle functions on the pinned crucible is 0.8 or better (closures 1.00/0.97, bitwise_ops 1.00/1.00, regex_execution no instances); time_date_logic and debug_prints are faded there (under 10 functions) and score 1.00/1.00 on the functions they have there; the old unpinned retrofit numbers stay in the baseline.
What changed (Java, pinned language-crucible)
::); now counts lambda arrows, one per line&and|(multi-catch and generic bounds excluded)Pattern.compile/matchesand a variable-receiver.matches(new Date/SimpleDateFormat/GregorianCalendar, not a bare duration typeprintStackTrace()writes to System.errFiles:
languages/java.py(rules, each with a #8863 comment),tests/tools/family_oracle_ts.py(print and regex tokens),tests/test_java_family_validity_8863.py(new, positive and negative per family),tests/extraction/languages/test_java_strict.py(time negative is nowDuration timeout = cfg.getTimeout();).Gates
data/java): base 2.07, 1.84, 1.85; branch 1.85, 1.88, 1.89. No change beyond noise.golden-lock.sh crucible_check.py --update --yes. Java files move (151 file-level differences), Java files under groovy/ (63), rollups (49).scope_checkalso reported 22 swift differences, but the committed bless has zero swift paths changed, so I read that as scope_check noise. Not verified further. After merging main (Swift Swift keyword families: io, time_date_logic, bitwise_ops, regex_execution read their contracts (Part of #9341, #8863) #9374) only the 6 snapshot and chart files conflicted; I took main's and re-blessed.verify_language.py javagives the same 2 mismatches (main.java io, b.java probeBypass calls_out_to) on origin/main and on this branch, so no rebless is owed from this change.Cross-repo
No companion PR. keyword-rosetta verify result identical on main and branch; no rebless owed.
Class / Sibling gaps
Class: a keyword-family rule counting something wider than its contract, or lacking the operative form. Fixed here for the five Java cells.
regex_executionmoved to the pinned crucible in the baseline (the full-crucible sweep rewrote it); no rule change. Unreviewed knock-on.&/|gap may exist in Kotlin, Scala, C and Rust bitwise rules: not measured. Needed by: no burned-estate program uses it (not checked).::method references are not counted as closures: a contract question for Epic: keyword-family validity -- do the per-function signals measure what their names say? #8863 if the owner wants them; none filed.Lessons for agents
<crucible>/data, not justdata/java: the Java-only scan gives smaller oracle counts (bitwise 1 vs 10) and misleads.family_oracle_sweep.py --writerewrites every language's cells from the scan, so check the baseline diff for non-Java rows.CAPITALclass fromidentifiers.pyis a class body: wrap it in[...].🤖 Generated with Claude Code