Repository navigation
Scala keyword families: io, debug_prints, thread_sleeps, time_date_logic, regex_execution count their own construct (Part of #8863, #9332) - #9364
squid-protocol wants to merge 10 commits into
Conversation
…gic, regex_execution count their own construct (Part of #8863, #9332) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #9364 @ 34b8c70: 1 failed check(s) == rosetta-audit (failure) -- main |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (e3cec7e) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #9364 @ 1a1ebbb: 16 failed check(s) == crucible (cancelled) -- infra == db2 (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == full-suite (cancelled) -- infra == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (cancelled) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == measure (shard ${{ matrix.shard }}/${{ matrix.total }}) (cancelled) -- infra == publish-history (cancelled) -- infra == rosetta-audit (failure) -- real == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == shard ${{ matrix.shard }} (${{ matrix.loc }} LOC) (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
…330Z # Conflicts: # tests/golden_master_audit/12_scan_output_snapshots/gpu_json.json # tests/golden_master_audit/12_scan_output_snapshots/graph_sqlite.json # tests/golden_master_audit/12_scan_output_snapshots/llm_brief.json # tests/golden_master_zero_dep_audit/12_scan_output_snapshots/gpu_json.json # tests/golden_master_zero_dep_audit/12_scan_output_snapshots/graph_sqlite.json # tests/golden_master_zero_dep_audit/12_scan_output_snapshots/llm_brief.json
Drift is the Scala io / time_date_logic parts and the repository fingerprint this PR already makes, plus the corpus-wide snapshots. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI shepherd: the head of this PR (f5adbb8) is not the one a maintainer labelled |
|
No description provided. |
|
PR #9364 @ f5adbb8: 28 failed check(s) == Analyze (python) (cancelled) -- infra == Pre-gate (Vault Sentinel, X-Ray, Supply Chain) (cancelled) -- infra == committed ports compile (cancelled) -- infra == crucible (cancelled) -- infra == crucible-audit (full-precision) (cancelled) -- infra == crucible-audit (zero-dependency) (cancelled) -- infra == db2 (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == det (cancelled) -- infra == equivalence-e2e (cancelled) -- infra == evidence report level deltas (advisory) (cancelled) -- infra == full-suite (cancelled) -- infra == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (cancelled) -- infra == ground-truth part 1/2 (cancelled) -- infra == ground-truth part 2/2 (cancelled) -- infra == measure (shard ${{ matrix.shard }}/${{ matrix.total }}) (cancelled) -- infra == muninn (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish-history (cancelled) -- infra == rosetta-audit (cancelled) -- infra == runner-tests (cancelled) -- infra == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == shard ${{ matrix.shard }} (${{ matrix.loc }} LOC) (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra == suite-plan (cancelled) -- infra |
|
No description provided. |
|
PR #9364 @ f5adbb8: 28 failed check(s) == Analyze (python) (cancelled) -- infra == Pre-gate (Vault Sentinel, X-Ray, Supply Chain) (cancelled) -- infra == committed ports compile (cancelled) -- infra == crucible (cancelled) -- infra == crucible-audit (full-precision) (cancelled) -- infra == crucible-audit (zero-dependency) (cancelled) -- infra == db2 (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == det (cancelled) -- infra == equivalence-e2e (cancelled) -- infra == evidence report level deltas (advisory) (cancelled) -- infra == full-suite (cancelled) -- infra == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (cancelled) -- infra == ground-truth part 1/2 (cancelled) -- infra == ground-truth part 2/2 (cancelled) -- infra == measure (shard ${{ matrix.shard }}/${{ matrix.total }}) (cancelled) -- infra == muninn (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish-history (cancelled) -- infra == rosetta-audit (cancelled) -- infra == runner-tests (cancelled) -- infra == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == shard ${{ matrix.shard }} (${{ matrix.loc }} LOC) (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra == suite-plan (cancelled) -- infra |
|
No description provided. |
|
PR #9364 @ f5adbb8: 28 failed check(s) == Analyze (python) (cancelled) -- infra == Pre-gate (Vault Sentinel, X-Ray, Supply Chain) (cancelled) -- infra == committed ports compile (cancelled) -- infra == crucible (cancelled) -- infra == crucible-audit (full-precision) (cancelled) -- infra == crucible-audit (zero-dependency) (cancelled) -- infra == db2 (cancelled) -- infra == db2 ${{ matrix.shard }} (cancelled) -- infra == det (cancelled) -- infra == equivalence-e2e (cancelled) -- infra == evidence report level deltas (advisory) (cancelled) -- infra == full-suite (cancelled) -- infra == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (cancelled) -- infra == ground-truth part 1/2 (cancelled) -- infra == ground-truth part 2/2 (cancelled) -- infra == measure (shard ${{ matrix.shard }}/${{ matrix.total }}) (cancelled) -- infra == muninn (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish-history (cancelled) -- infra == rosetta-audit (cancelled) -- infra == runner-tests (cancelled) -- infra == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == shard ${{ matrix.shard }} (${{ matrix.loc }} LOC) (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra == suite-plan (cancelled) -- infra |
|
No description provided. |
Part of #8863, #9332.
Checklist: partial [c:4fe6001e] -- the five remaining cells are on an unpinned corpus (kafka), so none can be confirmed on a pinned crucible; no contract question was needed, each contract was clear.
What changed
Scala
io,debug_prints,thread_sleeps,time_date_logicandregex_executionnow count their own construct (languages/scala.py):debug_prints: a console call (println(,print(,printf(,Console.err.println,System.out.print); no longerwriter.print(x),def print(, or a bareforeach(println).io: a call or constructor (Source.from*,Files.*,new FileWriter,new ServerSocket,.listFiles,readLine(,Http(); no longer a bare type or package name (java.io.File,ByteBuffer, an akkaSource,SocketServerConfigs).thread_sleeps:sleep(on any receiver,Await.result/ready,LockSupport.park*, plus the forced delays.time_date_logic:Instant/Duration/LocalDateTime/...calls,System.nanoTime,.toMillis-style conversions,new Date,5.secondsliterals.regex_execution:Pattern.compile/matches/quote,.matcher(,replaceFirstIn,findFirstMatchIn,findAllMatchIn.Evidence
All five cells, measured with
family_oracle.py --lang scalaon a local copy of kafka's Scala files (unpinned: not a grid number, not quoted as one), moved from under 0.8 to 0.8 or better on both recall and precision; closures and bitwise_ops did not move. Tests: both directions per family intest_scala_family_validity_9332.py;test_scala_strict.pyandtest_scala.pypass.Golden bless (
golden-lock.sh crucible_check.py --update --yes): changes are the Scala files'ioandtime_date_logicsignal parts and the repository fingerprint (cobrix). debug_prints, thread_sleeps and regex_execution moved nothing on the pinned corpus.Gates:
pr_gates --fast9/9.Class / Sibling gaps
Class: a Scala keyword-family rule matches words or names rather than the construct its contract states (over-counts: debug_prints, io; misses: thread_sleeps, time_date_logic, regex_execution). All five members are handled here. Sibling gaps: none burned-estate related. Not in this PR: a pinned-crucible Scala corpus large enough to carry these five cells (needed to turn the grid cells from hatched to pinned); residuals such as
time.milliseconds()clock reads (the oracle does not count them) andlatch.await(timeout)timed waits are left out.keyword-rosetta
tools/verify_language.py scala --engine <this branch>: one move,data/scala/main.scala: io expected 3, got 0. Intended: the ScalaprobeIoplants are bare names (Source,Socket,Http), which the io contract ("an operation that moves data",docs/io_rule_contract.md) does not count and this PR stops counting. Java's shell plants calls (new Socket(route),Files.readAllLines(route)). Labelledrosetta:rebless-owed.Cross-repo
Companion: a keyword-rosetta corpus PR, opened after this one merges (its CI checks out gitgalaxy main). It re-plants Scala
probeIoas calls (for exampleSource.fromFile(route),new Socket(route),Http(route)) and re-blessesdata/scala/expected_signals.json. Merge order: this PR first, then the corpus PR. What re-runs after: rosetta-audit on main and keyword-rosetta'sbias-history.yml.Lessons for agents
probeIo) are corpus debt, so label the PRrosetta:rebless-owedand name the corpus PR under Cross-repo.🤖 Generated with Claude Code