Skip to content

test(corpus): pin QuickCheck Arbitrary generator change as stimulus, not product (#11545) - #13779

Merged
EffortlessSteven merged 3 commits into
mainfrom
claude/rust-11545-arbitrary-corpus
Nov 8, 2026
Merged

EffortlessSteven merged 3 commits into
mainfrom
claude/rust-11545-arbitrary-corpus

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Requested by Steven Zimmerman · project thread

Governing issue or accepted claim: #11545 (slice 1 only; derive(Arbitrary), aliases and modules remain open)

Acceptance delta (one sentence): The named verdict-corpus case arbitrary_impl_change_stimulus_not_product now exists, pinning that a changed impl quickcheck::Arbitrary body reads static_unknown with the test-input-generator explanation (RIPR-SPEC-0153, delivered by #12477).

What changed

  • New authored subject authored-quickcheck-arbitrary-stimulus (sole registry quickcheck dependency, locked) plus case, diff and one expected row. No existing row moved (bless added 1 row).
  • Observed on main (2ac0c46): ripr check --format json gives static_unknown with evidence "QuickCheck test-input generator changes test stimulus; static product exposure is not established". This matches the issue's expected outcome. Verdict limited, truth not_discriminated (runtime mutant survives, cargo test tests_passed), outcome abstained.
  • Changelog fragment under Internal / CI.

Checks run

  • cargo fmt --check: pass
  • cargo xtask verdict-corpus check --cases ... and check-all: pass
  • cargo xtask check-traceability: pass
  • cargo xtask check-changelog-fragments: pass
  • cargo xtask check-fixture-contracts: fails on fixtures/module_reach_control_qualified (SPEC says weakly_exposed, check.json says exposed); untouched by this PR, so inherited and not repaired here
  • cargo xtask precommit: SIGKILLed (OOM) mid-compile; not established locally
  • relabel not run (not needed beyond the manual mutant run above)

Generated by Claude Code

…not product (#11545)

Add verdict-corpus case arbitrary_impl_change_stimulus_not_product with an
authored subject (sole registry quickcheck dependency). ripr emits
static_unknown with the test-input generator explanation (RIPR-SPEC-0153);
runtime truth is not_discriminated (mutant survives), so the row scores
abstained. Slice 1 of #11545; derive/alias/module coverage remains open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLSoNkcHb5xqvctzMo3
@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 Nov 8, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 152 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 913993af-fc2c-4e15-b22c-c75a89d1c1fb
Commits

Reviewing files that changed from the base of the PR and between 66784c9 and 0595c90.

Files ignored due to path filters: 1

  • fixtures/rust-verdict-corpus/subjects/authored-quickcheck-arbitrary-stimulus/Cargo.lock is excluded by !**/*.lock
Files selected for processing: 9

  • changelog.d/arbitrary-impl-stimulus-corpus-11545.md
  • docs/CLI_REFERENCE.md
  • fixtures/rust-verdict-corpus/cases/arbitrary_impl_change_stimulus_not_product.diff
  • fixtures/rust-verdict-corpus/cases/arbitrary_impl_change_stimulus_not_product.json
  • fixtures/rust-verdict-corpus/expected/rows/arbitrary_impl_change_stimulus_not_product.json
  • fixtures/rust-verdict-corpus/subjects/authored-quickcheck-arbitrary-stimulus.json
  • fixtures/rust-verdict-corpus/subjects/authored-quickcheck-arbitrary-stimulus/Cargo.toml
  • fixtures/rust-verdict-corpus/subjects/authored-quickcheck-arbitrary-stimulus/src/lib.rs.txt
  • fixtures/rust-verdict-corpus/subjects/authored-quickcheck-arbitrary-stimulus/tests/gap.rs.txt
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

SOURCE_REVIEW_READY — head 0980122

A fresh-context subagent reviewed the diff against #11545 and RIPR-SPEC-0153 (lines 167-181). The stimulus is a changed impl quickcheck::Arbitrary body in a one-dependency subject, and the retained-file hashes match the subject JSON. The pinned limited / static_unknown / abstained row with truth not_discriminated matches the spec, which credits no product test. Wiring matches recent corpus-only PRs, the traceability entry exists, and the changelog fragment is Internal / CI. Nothing unrelated is touched.


Generated by Claude Code

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review November 8, 2026 15:12
@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 2 potential issues.

⚠️ 1 issue in files not directly in the diff

⚠️ Generator explanation remains untested

If ripr replaces the generator-specific reason with generic uncertainty, observed_classifications stays static_unknown and the corpus check passes. The case then reports unchanged coverage while users lose the promised stimulus guidance.

Devin Review

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

SOURCE_REVIEW_READY — head 0980122

A fresh-context review of the corpus row came back clean. Both Devin notes were answered with source evidence on the PR.


Generated by Claude Code

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

ripr static exposure check

Commit 0595c90fc5c2 · run · advisory, static evidence only (not a mutation run).

#ripr agent static-advisory base=66784c9c200670145175d513e1fc4680ef63b787 findings=0 gaps=0
done=no changed behavior found in scope; static advisory, not runtime proof

Took 1s.

@EffortlessSteven EffortlessSteven self-assigned this Nov 8, 2026

Copy link
Copy Markdown
Member Author

The Rust gates failure on 0980122 (check-fixture-contracts) comes from main, not this PR. CI merged this head into main at 00744ab, which doesn't yet include #13773, the fix for the stale expected-classes line in #13771. Running cargo xtask check-fixture-contracts locally on this head merged with current main passes.

Main also has a separate cli_reference_doc break (#13793), which #13778 fixes and which is green. Once #13778 lands, I'll merge main into this branch and re-request qualification.


Generated by Claude Code

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

SOURCE_REVIEW_READY — head 4e8c5db

The PR's own source is unchanged from 0980122. This head only merges main, which brings in the fixes for main's SPEC and CLI reference breaks (#13773, #13778).


Generated by Claude Code

#13778 reblessed docs/CLI_REFERENCE.md against a base without #13667,
so main's cli_reference_doc test fails on the missing completions entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLSoNkcHb5xqvctzMo3

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

SOURCE_REVIEW_READY — head 0595c90

The only addition is a rebless of docs/CLI_REFERENCE.md that adds the ripr completions entry from #13667. Main's stale reference also fails cli_reference_doc after #13778. Blessed with RIPR_BLESS_CLI_REFERENCE=1 cargo test -p ripr --test cli_reference_doc, and the plain run then passes locally.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants