Skip to content

eval(verdict-corpus): cover SPEC-0229, 0117 #5-6 and the semver launch points; waive 0233; coverage 100/130 - #7544

Merged
EffortlessSteven merged 7 commits into
mainfrom
claude/project-thread-alu6o8
Oct 12, 2026
Merged

EffortlessSteven merged 7 commits into
mainfrom
claude/project-thread-alu6o8

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Summary

Before: 47 of the 135 numbered in-scope spec examples had no verdict-corpus case. Among them were all nine RIPR-SPEC-0229 match-arm examples, RIPR-SPEC-0117 examples 5 and 6, the two semver launch points (RIPR-SPEC-0118 example 3 and RIPR-SPEC-0224 example 1) and RIPR-SPEC-0233. Spec-example coverage was 88/135.

After: 13 new cases with labels from mutants that verdict-corpus relabel replays. Five examples that no diff case can label are waived with reasons. Coverage is 100/130 and the floor is 100. No existing row moved.

Cases Spec examples Readings on main
9 crates authored-spec0229-{1..7,8a,8b} 0229 #1-8 8 ideal, 1 false actionable
authored-spec0117-5, -6 0117 #5, #6 1 abstained, 1 false actionable
semver-op-ge-reads-greater (pinned semver 1.0.23) 0224 #1 abstained (static_unknown)
semver-greater-patch-guard-ge (pinned semver 1.0.23) 0118 #3 abstained (no_static_path + rust_integration_public_api_path_unresolved)

False actionables:

Waivers:

Notes:

How: two authoring passes on separate branches, cherry-picked here. They used the per-record layout, relabel --cases (with --checkouts for semver) and bless. I then raised the floor, named 0229 in the corpus SPEC.md, refreshed public proof and added changelog.d/verdict-corpus-spec-coverage-batch-2.md.

Swarm / Source Boundary

  • ordinary feature, analyzer, editor, docs, spec, fixture, badge, dependency, or repo-ops development for ripr-swarm

Source-of-truth Links

Spec: RIPR-SPEC-0219 (verdict corpus). The cases cite RIPR-SPEC-0117, 0118, 0224 and 0229; RIPR-SPEC-0233 is waived.
Governing issue or accepted claim: the VERDICT CORPUS directive. Claimed in the spec-coverage inventory (batch 2, 2026-10-12).
Acceptance delta (one sentence): the corpus scores ripr against 12 more numbered spec examples with mutant-labeled truth, and accounts for 5 more as waived.

Scope Classification

  • Docs/spec/test-only evidence package

Production delta: none.
Non-goals: fixing the false verdicts (#5992, #7542, #7543).

Support-tier Impact

  • none

Policy Impact

  • none

Proof

cargo xtask verdict-corpus validate   # 378 cases across 143 subjects are valid; spec examples 100/130 (floor 100)
cargo xtask verdict-corpus check      # exit 0; false verdicts 0.1402 (53/378)
cargo xtask verdict-corpus relabel --cases <the new cases>   # 0 drift (semver with --checkouts at 69efd3c)

cargo xtask precommit passed every step through check-fixture-contracts, then stopped in the container: /dev/null is a regular file in this session, so git init failed reading it as config. I ran the remaining checks one by one, and each passed: doc-artifacts, doc-index, readme-state, markdown-links, command-catalog, generated, generated-clean, badge-diff-policy, proof-packs, dependencies, process-policy, network-policy, lint-policy, traceability and output-contracts. The judged-panel step that needs git init is left to hosted CI.

Claim Boundary

May claim: the corpus records these 12 examples and ripr's current readings of them, and waives 5 with reasons.
Must not claim: any analyzer fix.

Rollback

Revert the squash commit; fixtures only.

Static Language Check

  • Static output avoids killed, survived, untested, proven, and adequate.

CI Economics

n/a

🤖 Generated with Claude Code

https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP


Generated by Claude Code

…ection examples

Nine behavior_change cases on nine authored crates cover examples 1 to 8
of RIPR-SPEC-0229 (example 8 has one case per test). Every edit was
replayed with `verdict-corpus relabel` (0 drift). Example 9 is waived:
both arms return 2, so the pattern edit and every mutant of it are
equivalent. The spec-coverage floor rises from 88 to 96.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP
#3

Add five runtime-truth cases with spec_examples:
- spec0117-proximity-macro-only (0117#5): limited, weakly_exposed with
  rust_macro_reach_unresolved.
- spec0117-proximity-macro-plus-direct (0117#6): gap, a measured false
  actionable; the macro-routed test kills every mutant.
- spec0233-consistent-boundary-literal (0233#2): credited, exposed.
- semver-op-ge-reads-greater (0224#1): the spec's own edit on the semver
  1.0.23 pin; limited, static_unknown.
- semver-greater-patch-guard-ge (0118#3): the launch patch, applied to the
  corpus pin where matches_greater is byte-identical; limited,
  no_static_path with rust_integration_public_api_path_unresolved.

Waive RIPR-SPEC-0233 examples 1, 3 and 4: their wrong-literal test fails
on the unedited owner, so relabel cannot establish runtime truth. Raise
the coverage floor to 93.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP
…loor to 101

Combines the SPEC-0229 match-arm cases with the 0117, 0233 and semver
launch-point cases, raises the spec-example floor to the combined 101/131,
names 0229 and 0233 in the corpus SPEC.md, refreshes public proof, and adds
the changelog fragment.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Warning

Review limit reached

The included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.

Next included review available in 4 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 9ce4f33e-ae97-4e59-a7d1-150da59be25d
📥 Commits

Reviewing files that changed from the base of the PR and between 0adf51c and eddf7c8.

📒 Files selected for processing (102)
  • changelog.d/verdict-corpus-spec-coverage-batch-2.md
  • fixtures/python-verdict-corpus/expected/rows/py-fixtures-report-file.json
  • fixtures/python-verdict-corpus/expected/rows/py-hypothesis-label-no-crash.json
  • fixtures/python-verdict-corpus/expected/rows/py-hypothesis-passing-threshold.json
  • fixtures/python-verdict-corpus/expected/rows/py-pytest-receipt-format.json
  • fixtures/python-verdict-corpus/expected/rows/py-pytest-shipping-threshold.json
  • fixtures/python-verdict-corpus/expected/rows/py-pytest-tax-self-computed.json
  • fixtures/python-verdict-corpus/expected/rows/py-spec0233-ex05-and-chain.json
  • fixtures/python-verdict-corpus/expected/rows/py-spec0233-ex06-self-compare.json
  • fixtures/python-verdict-corpus/expected/rows/py-spec0233-ex12-exact-then-other.json
  • fixtures/python-verdict-corpus/expected/rows/py-spec0233-ex14-raises-match.json
  • fixtures/python-verdict-corpus/expected/rows/py-spec0233-ex17-raises-match-and-value.json
  • fixtures/python-verdict-corpus/expected/rows/py-spec0233-ex18-split-tests.json
  • fixtures/python-verdict-corpus/expected/rows/py-spec0233-ex24-method-orthogonal.json
  • fixtures/python-verdict-corpus/expected/rows/py-spec0233-ex31-fstring-length.json
  • fixtures/python-verdict-corpus/expected/rows/py-spec0233-ex32-split-dict.json
  • fixtures/python-verdict-corpus/expected/rows/py-unittest-deposit-add.json
  • fixtures/python-verdict-corpus/expected/rows/py-unittest-fee-waiver-mixin.json
  • fixtures/python-verdict-corpus/expected/rows/py-unittest-transfer-notify.json
  • fixtures/rust-verdict-corpus/SPEC.md
  • fixtures/rust-verdict-corpus/cases/semver-greater-patch-guard-ge.diff
  • fixtures/rust-verdict-corpus/cases/semver-greater-patch-guard-ge.json
  • fixtures/rust-verdict-corpus/cases/semver-op-ge-reads-greater.diff
  • fixtures/rust-verdict-corpus/cases/semver-op-ge-reads-greater.json
  • fixtures/rust-verdict-corpus/cases/spec0117-proximity-macro-only.diff
  • fixtures/rust-verdict-corpus/cases/spec0117-proximity-macro-only.json
  • fixtures/rust-verdict-corpus/cases/spec0117-proximity-macro-plus-direct.diff
  • fixtures/rust-verdict-corpus/cases/spec0117-proximity-macro-plus-direct.json
  • fixtures/rust-verdict-corpus/cases/spec0229-expected-side-variant.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-expected-side-variant.json
  • fixtures/rust-verdict-corpus/cases/spec0229-guarded-arm.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-guarded-arm.json
  • fixtures/rust-verdict-corpus/cases/spec0229-let-made-input.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-let-made-input.json
  • fixtures/rust-verdict-corpus/cases/spec0229-range-widened-inside-input.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-range-widened-inside-input.json
  • fixtures/rust-verdict-corpus/cases/spec0229-range-widened-moved-input.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-range-widened-moved-input.json
  • fixtures/rust-verdict-corpus/cases/spec0229-selected-none-arm.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-selected-none-arm.json
  • fixtures/rust-verdict-corpus/cases/spec0229-unselected-none-arm.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-unselected-none-arm.json
  • fixtures/rust-verdict-corpus/cases/spec0229-unselected-range-arm.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-unselected-range-arm.json
  • fixtures/rust-verdict-corpus/cases/spec0229-unselected-wildcard-arm.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-unselected-wildcard-arm.json
  • fixtures/rust-verdict-corpus/expected/rows/semver-greater-patch-guard-ge.json
  • fixtures/rust-verdict-corpus/expected/rows/semver-op-ge-reads-greater.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0117-proximity-macro-only.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0117-proximity-macro-plus-direct.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-expected-side-variant.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-guarded-arm.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-let-made-input.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-range-widened-inside-input.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-range-widened-moved-input.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-selected-none-arm.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-unselected-none-arm.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-unselected-range-arm.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-unselected-wildcard-arm.json
  • fixtures/rust-verdict-corpus/spec-coverage.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0117-5.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0117-5/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0117-5/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0117-6.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0117-6/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0117-6/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-1.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-1/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-1/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-1/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-2.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-2/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-2/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-2/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-3.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-3/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-3/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-3/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-4.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-4/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-4/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-4/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-5.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-5/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-5/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-5/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-6.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-6/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-6/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-6/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-7.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-7/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-7/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-7/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8a.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8a/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8a/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8a/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8b.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8b/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8b/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8b/tests/it.rs.txt

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 33e88fbb-314e-4118-b3e0-50d8ead6f24e
📥 Commits

Reviewing files that changed from the base of the PR and between 38b0eae and 0adf51c.

📒 Files selected for processing (84)
  • changelog.d/verdict-corpus-spec-coverage-batch-2.md
  • fixtures/rust-verdict-corpus/SPEC.md
  • fixtures/rust-verdict-corpus/cases/semver-greater-patch-guard-ge.diff
  • fixtures/rust-verdict-corpus/cases/semver-greater-patch-guard-ge.json
  • fixtures/rust-verdict-corpus/cases/semver-op-ge-reads-greater.diff
  • fixtures/rust-verdict-corpus/cases/semver-op-ge-reads-greater.json
  • fixtures/rust-verdict-corpus/cases/spec0117-proximity-macro-only.diff
  • fixtures/rust-verdict-corpus/cases/spec0117-proximity-macro-only.json
  • fixtures/rust-verdict-corpus/cases/spec0117-proximity-macro-plus-direct.diff
  • fixtures/rust-verdict-corpus/cases/spec0117-proximity-macro-plus-direct.json
  • fixtures/rust-verdict-corpus/cases/spec0229-expected-side-variant.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-expected-side-variant.json
  • fixtures/rust-verdict-corpus/cases/spec0229-guarded-arm.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-guarded-arm.json
  • fixtures/rust-verdict-corpus/cases/spec0229-let-made-input.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-let-made-input.json
  • fixtures/rust-verdict-corpus/cases/spec0229-range-widened-inside-input.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-range-widened-inside-input.json
  • fixtures/rust-verdict-corpus/cases/spec0229-range-widened-moved-input.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-range-widened-moved-input.json
  • fixtures/rust-verdict-corpus/cases/spec0229-selected-none-arm.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-selected-none-arm.json
  • fixtures/rust-verdict-corpus/cases/spec0229-unselected-none-arm.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-unselected-none-arm.json
  • fixtures/rust-verdict-corpus/cases/spec0229-unselected-range-arm.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-unselected-range-arm.json
  • fixtures/rust-verdict-corpus/cases/spec0229-unselected-wildcard-arm.diff
  • fixtures/rust-verdict-corpus/cases/spec0229-unselected-wildcard-arm.json
  • fixtures/rust-verdict-corpus/expected/rows/semver-greater-patch-guard-ge.json
  • fixtures/rust-verdict-corpus/expected/rows/semver-op-ge-reads-greater.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0117-proximity-macro-only.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0117-proximity-macro-plus-direct.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-expected-side-variant.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-guarded-arm.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-let-made-input.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-range-widened-inside-input.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-range-widened-moved-input.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-selected-none-arm.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-unselected-none-arm.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-unselected-range-arm.json
  • fixtures/rust-verdict-corpus/expected/rows/spec0229-unselected-wildcard-arm.json
  • fixtures/rust-verdict-corpus/spec-coverage.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0117-5.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0117-5/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0117-5/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0117-6.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0117-6/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0117-6/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-1.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-1/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-1/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-1/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-2.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-2/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-2/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-2/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-3.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-3/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-3/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-3/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-4.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-4/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-4/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-4/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-5.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-5/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-5/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-5/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-6.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-6/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-6/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-6/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-7.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-7/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-7/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-7/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8a.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8a/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8a/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8a/tests/it.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8b.json
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8b/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8b/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-spec0229-8b/tests/it.rs.txt
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.

Summary by CodeRabbit

  • New Features

    • Expanded Rust verdict-corpus coverage from 88 to 100 numbered specification examples, with five examples documented as waived.
    • Added 13 cases covering Rust match behavior, macro-based calls, and SemVer comparisons.
  • Documentation

    • Updated coverage notes with case outcomes and waiver details. The ideal analyzer reads 8 new cases, abstains on 3, and produces 2 false actionable verdicts.

Walkthrough

This change expands the Rust verdict corpus with authored acceptance subjects, 13 mutation cases, expected verdict rows, and coverage waivers. It raises the protected coverage floor from 88 to 100 and documents the new corpus results.

Changes

Rust verdict corpus expansion

Layer / File(s) Summary
Isolated authored subjects
fixtures/rust-verdict-corpus/SPEC.md, fixtures/rust-verdict-corpus/subjects/authored-spec0117-*, fixtures/rust-verdict-corpus/subjects/authored-spec0229-*
The fixture specification describes per-example crate isolation. New subjects provide macro-proximity and match-arm examples, tests, Cargo manifests, and corpus metadata.
Mutation cases and expected verdicts
fixtures/rust-verdict-corpus/cases/*, fixtures/rust-verdict-corpus/expected/rows/*
Adds SemVer, macro-proximity, and match-arm mutation cases with recorded test outcomes, verdict classifications, and expected result rows.
Coverage threshold and report
fixtures/rust-verdict-corpus/spec-coverage.toml, changelog.d/verdict-corpus-spec-coverage-batch-2.md
Raises the coverage floor from 88 to 100, adds five waivers, and reports coverage totals and corpus outcomes.

Priority: ⬇️ Low

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 0adf5

The example matches its specification, and no actionable merge blocker remains after normal checks.

Architecture Summary

Architecture risk: 🔵 Low · up to 0adf5

The change affects 2 systems.

Changed systems: fixtures, changelog.d

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — fixtures (service) was modified; 83 changed files map to changed impact.
  • observed — changelog.d (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in changelog.d/verdict-corpus-spec-coverage-batch-2.md: Adds a changelog entry describing new verdict-corpus cases, coverage totals and floor, covered spec examples, five waiver reasons, label provenance, and ripr’s reported outcomes and two false actionable verdicts.
  • observed — Modified behavior in fixtures/rust-verdict-corpus/SPEC.md: The fixture description now covers acceptance examples from RIPR-SPEC-0225 through 0229 instead of 0225 through 0228, and specifies per-example crate isolation. Examples sharing a fixture share a crate; examples with tests on different inputs split into <k>a and <k>b.
  • observed — Modified behavior in fixtures/rust-verdict-corpus/cases/semver-greater-patch-guard-ge.diff: The fixture changes the matches_greater patch guard from inequality to >=. Greater patch versions still return true; equal versions now return false immediately rather than continuing through the function.
  • observed — Modified behavior in fixtures/rust-verdict-corpus/cases/semver-greater-patch-guard-ge.json: Adds a JSON corpus case describing the Semver patch-guard mutation, its recorded test and mutant outcomes, expected verdicts, provenance and reasoning, labeling observation, and spec-example reference.
Pre-merge checks · Passed 5
Passed Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly identifies the verdict-corpus coverage work, the covered specifications, the waived examples, and the resulting 100/130 coverage.
Description check Passed The description is mostly complete and directly matches the evidence-only corpus objective. It includes scope, source references, coverage changes, waivers, proof results, claim boundaries, rollback, …
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

I’m a rabbit with a corpus to tend,
New Rust cases hop into the blend.
Match arms and macros join the parade,
SemVer boundaries are carefully laid.
A hundred examples now meet the chart,
I nibble a changelog, then bound apart.

Comment @coderabbitai help to get the list of available commands.

…ing a diff case for it

Example 2 is the repo-scope seam-credit rule (an added test whose literal
agrees with the fold keeps the oracle strong and closes the gap), which
the spec's Test Mapping says diff-scoped corpora do not pin. The operand-
swap case read exposed independently of the fold, so it is removed with
its subject and the example is waived; coverage is 100/130, floor 100.

Also corrects the 0117 plus-direct reasoning (inner_is_positive fails on
the x / 3 mutant), notes why the two 0229 pre-edit-literal cases could
move if arm literals are ever folded, describes split `<k>a`/`<k>b`
crates in SPEC.md, and restates the changelog numbers.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP
@EffortlessSteven EffortlessSteven changed the title eval(verdict-corpus): cover SPEC-0229, 0117 #5-6, 0233 #2 and the semver launch points; coverage 101/131 eval(verdict-corpus): cover SPEC-0229, 0117 #5-6 and the semver launch points; waive 0233; coverage 100/130 Oct 12, 2026

Copy link
Copy Markdown
Member Author

Review of record, head 2578d5c

I reviewed 89210b5 with two independent reviewer agents, each from a different angle. 2578d5c fixes their findings.

  1. Runtime truth and case construction. The reviewer replayed all 12 authored cases from a git archive of the head with verdict-corpus relabel: 0 drift, every observed truth equals its label, and every labeled failing test was observed. Anchors, edit_kind and mutated_line match the diffs. The two semver cases were not replayed in review, because no checkout was available. The authoring pass replayed them against a full semver checkout at 69efd3c. The reviewer checked each waiver against the spec text, and each is accurate.
  2. Spec and contract honesty. The reviewer compared each spec_examples claim against the spec example's setup, and checked the changelog and PR numbers against the expected rows.
Finding Severity Resolution
spec0233-consistent-boundary-literal claimed 0233 #2, but #2 is a repo-scope seam-credit rule a diff case cannot isolate (raised by both reviewers) blocking Case and subject removed, #2 waived, floor 100 (2578d5c)
0117 plus-direct reasoning said inner_is_positive fails on no mutant; it fails on x / 3 non-blocking Fixed
0229 #2 and #8b store pre-edit literals; a future arm-literal fold could move them non-blocking Noted in both cases' reasoning
SPEC.md "one crate per example" did not describe 8a/8b; line too long non-blocking Reworded and rewrapped
Changelog said ripr "cannot see" the macro test; the coverage figures were imprecise non-blocking Reworded
0224 #1 reads static_unknown with no related test listed, where the spec says test_comparator_parse is listed with a miss non-blocking Disclosed in the case's hard_case; the corpus does not score the miss list

Gaps filed: #7542 (a weak direct test hides a macro-routed test that pins the owner) and #7543 (single-letter variants are not named). The range moved-input credit is #5992.

Local checks on 2578d5c:

  • verdict-corpus validate: 378 cases valid, coverage 100/130, floor 100.
  • verdict-corpus check: exit 0.
  • markdown-links, check-generated-clean, check-file-policy, check-doc-artifacts and check-static-language all pass.

cargo xtask precommit cannot complete in this container because /dev/null is a regular file, so git init fails. Every step before that failure passed on 89210b5, and the later checks passed when run one by one. Hosted CI covers the rest.

Nothing blocks. CodeRabbit and Gemini were rate-limited and gave no review. Marking Ready; I'll merge when the required checks are green.


Generated by Claude Code

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 12, 2026 21:36
@EffortlessSteven
EffortlessSteven enabled auto-merge (squash) October 12, 2026 21:36
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 4 potential issues.

Devin Review

…PR; cite the PR in the fragment

The corpus SPEC.md says a case PR does not refresh docs/PUBLIC_PROOF.md or
metrics/public-proof/verdict-corpus.json (#6660), so both return to the
PR's base. The changelog fragment now ends with its PR reference.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP
@EffortlessSteven
EffortlessSteven marked this pull request as draft October 12, 2026 21:44
auto-merge was automatically disabled October 12, 2026 21:44

Pull request was converted to draft

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 12, 2026 21:44
@EffortlessSteven
EffortlessSteven enabled auto-merge (squash) October 12, 2026 21:44
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision

  • Needs reviewer attention before upstream: findings remain.

Confirmed findings

  • Diff is fixture/test-only; no source under review. UB/ABI/ArrayBuffer paths untouched. Two abstained semver cases (0118#3, 0224#1) and one abstained 0117#5 are correctly disclosed; one false_actionable (0117#6 macro-kills-all) disclosed with #7544 tracker. Coverage correctness depends on cargo xtask verdict-corpus validate (PR claim: 100/130, exit 0).
  • Review-of-record and seeded PR thread disclose the missing semver replay-with-checkout receipts; trustworthiness of the two semver cases rests on the authoring pass alone until nightly drift lane repins them.
  • The new cases and the renamed test_shape string 'same_file_unit_tests_macro_route_plus_direct_owner_call' (plus the SPEC.md note on 'a' and 'b' splits) are correctly placed in the corpus SPEC and the per-record layout, with no public API or production route added or modified. The diff carries no analyzer, no xtask, and no README change.

Verification questions

  • Confirm rIPR-SPEC-0233 waivers (examples 1, 2, 3, 4) accurately cite unedited-suite-fails and repo-scope seam grip; floor raise 88→100 is honest.

Refuted

  • Coverage ledger passes the floor (100/130) while cases for 0229 #4, #6, and #7 are missing-discriminator gaps that the spec requires named.; refuted because: Per the author's response and ledger header, the ledger scores only verdict class, not the named missing-discriminator text; rows score weakly_exposed correctly and the absent names are tracked as #7543 and #5992. Not a test/oracle gap.
  • The semver cases re-route the pinned subject away from semver 1.0.23 or carry a working-copy test.; refuted because: Labeling_observation records full_checkout_verdict at the pinned commit, and the case reasoning explicitly cites 2c18cc48 vs 69efd3cc byte parity. No working-copy test path appears.

Parked follow-ups

  • Public-proof receipt/page refresh and changelog trailing (#7544) are planned but not in this diff; per author replies, next push restores both to base.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • Two semver cases were not replayed in this review because no full semver checkout was available; the authoring pass replayed them at 69efd3c with --checkouts and reported 0 drift, but the receipts are not in this PR.

…sses on this base

#6750 moved 18 Python corpus rows after #6597 landed; main fails
verdict-corpus check-all until #7547 merges. These are the same 18 row
files from #7547's head and become no-ops once main carries them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M7meAy5d967X5KFZKs7zdP
@EffortlessSteven
EffortlessSteven marked this pull request as draft October 12, 2026 22:35
auto-merge was automatically disabled October 12, 2026 22:35

Pull request was converted to draft

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 12, 2026 22:36
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@EffortlessSteven
EffortlessSteven enabled auto-merge (squash) October 12, 2026 22:36

Copy link
Copy Markdown
Member Author

Ripr Rust Small on GitHub Hosted / Rust gates failed on 0adf51c at cargo xtask verdict-corpus check-all. The failure is in the Python corpus, not this PR: 18 rows in fixtures/python-verdict-corpus drifted. #6750 moved those rows after #6597 landed, so main fails the same check until #7547 (the re-bless) merges.

The fix is ported in eddf7c8: main is merged in, and the branch carries the same 18 row files from #7547's head. They become no-ops once #7547 lands. Locally, cargo xtask verdict-corpus check-all exits 0 with Python 5/61, Rust 52/378 (coverage 100/130, floor 100) and TypeScript 6/103. The PR was toggled Draft→Ready so the required check runs again on the new head.


Generated by Claude Code

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision

  • Needs reviewer attention before upstream: findings remain.

Confirmed findings

  • Spec match-arm coverage for 0229 examples 4, 6 and 7 credits cases whose readings lack the required missing-discriminator name; verified by review of record that the corpus ledger scores verdict class and not discriminators, with #7543 and #5992 owning named-value and range contracts.
  • The two semver cases rest on a dd5a66b/dd5a66b5 ripr_commit hash and a 69efd3c semver pin; reviewer-of-record could not replay-with-checkout, no hosted CI receipt scheduled in this PR, and nightly drift is the only watcher. This is the dominant trust-affecting residual.

Verification questions

  • Confirm spec example #2 and #8b use pre-edit literal pinning against a behavior_change subject; the reasoning paragraph in spec0229-selected-none-arm.json and spec0229-range-widened-moved-input.json both warn the case can move if a future fold ever applies, but the case is still labeled and the row scores today; trust rests on the current seam rule, not a permanent invariant.
  • Confirm two semver cases were not replayed-with-checkout in review-of-record (only in the authoring pass at semver 69efd3c); their acceptance depends on nightly drift repinning. PR body discloses this; remaining trust gap is one CI cycle, not a red/green regression.

Parked follow-ups

  • Changelog fragment ends without the issue/PR reference required by changelog.d/README.md; author has acknowledged and stated the next push will append '(#7544)'.
  • Public-proof receipt refresh conflicts with corpus SPEC guidance that case PRs do not touch metrics/public-proof; author stated the next push restores both files to PR base.
  • Python corpus rows in this PR carry changed_since_labeling: true because main now disagrees with the labels after #6750/#7547, not because of anything the Python corpus changed; #7547 must land for cargo xtask verdict-corpus check-all to exit 0; the rows are carried over from #7547 head so they are no-ops on the current branch but downstream they revert if #7547 is rebased differently.

Evidence gaps

  • Two semver launch cases (0118 #3 matches_greater at 2c18cc4==69efd3cc and 0224 #1 op() at parse.rs:272) cite unchanged full checkout labeling_observation; no replay-with-checkout receipt is in the PR for these two cases.
  • Model proof intent was rejected by deterministic validation.

@EffortlessSteven
EffortlessSteven merged commit 3c7029b into main Oct 12, 2026
24 checks passed
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.

2 participants