Skip to content

test(python): fixtures and honesty cases for #9861 review repairs (#9423) - #10235

Merged
EffortlessSteven merged 1 commit into
mainfrom
claude/py-module-exact-fixtures-2
Oct 25, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
claude/py-module-exact-fixtures-2

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Governing issue or accepted claim: #9423 (parent #9412); follow-up to #9861, split out only for the admission size limit
Acceptance delta (one sentence): the public CLI is pinned to keep abstaining (static_unknown, never promoted) on the thirteen false-promotion shapes found in review of #9861, each as a fixture with a matching evidence-promotion honesty case.

Change

  • 13 fixtures python_module_* (reader/test-reader replacement, continuation and backslash return, generator and formatted-generator tests, prior and same-line failing asserts) and python_conditional_* (foreign callable/version writes, version attribute and annotated writes, walrus replacement), each with expected output goldens.
  • 13 cases appended to fixtures/evidence-promotion-honesty-corpus/corpus.json (must_not_promote, must_not_report_clean).
  • Traceability fixture entries for all 13.
  • No source change; the repairs landed in feat(python): credit module-level constant and live conditional-def edits through a proven exact assertion (#9423) #9861.

Verification

cargo xtask precommit exit 0 (includes goldens check); cargo xtask check-evidence-promotion-honesty passes.



Generated by Claude Code

…repairs (#9423)

Thirteen fixtures plus their evidence-promotion honesty cases pin the false
promotions found in review of #9861 (reader replacement, version-attribute and
walrus replacement, continuation/backslash return, generator and prior-assert
tests), so the public CLI keeps abstaining on each.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Md92nb17wXfHAmQNvaWYu3
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 25, 2026 05:34
@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!

@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 25, 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 8 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 165 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: 89b55b68-6787-4281-98c8-69077589afdf
Commits

Reviewing files that changed from the base of the PR and between 875d1f2 and b61effc.

Files selected for processing: 122
  • .ripr/traceability.toml
  • fixtures/evidence-promotion-honesty-corpus/corpus.json
  • fixtures/python_conditional_foreign_callable_write/SPEC.md
  • fixtures/python_conditional_foreign_callable_write/diff.patch
  • fixtures/python_conditional_foreign_callable_write/expected/CHANGELOG.md
  • fixtures/python_conditional_foreign_callable_write/expected/check.json
  • fixtures/python_conditional_foreign_callable_write/expected/human-full.txt
  • fixtures/python_conditional_foreign_callable_write/expected/human.txt
  • fixtures/python_conditional_foreign_callable_write/input/app.py
  • fixtures/python_conditional_foreign_callable_write/input/ripr.toml
  • fixtures/python_conditional_foreign_callable_write/input/tests/test_versioned.py
  • fixtures/python_conditional_foreign_callable_write/input/versioned.py
  • fixtures/python_conditional_foreign_version_write/SPEC.md
  • fixtures/python_conditional_foreign_version_write/diff.patch
  • fixtures/python_conditional_foreign_version_write/expected/CHANGELOG.md
  • fixtures/python_conditional_foreign_version_write/expected/check.json
  • fixtures/python_conditional_foreign_version_write/expected/human-full.txt
  • fixtures/python_conditional_foreign_version_write/expected/human.txt
  • fixtures/python_conditional_foreign_version_write/input/app.py
  • fixtures/python_conditional_foreign_version_write/input/ripr.toml
  • fixtures/python_conditional_foreign_version_write/input/tests/test_versioned.py
  • fixtures/python_conditional_foreign_version_write/input/versioned.py
  • fixtures/python_conditional_version_annotated_write/SPEC.md
  • fixtures/python_conditional_version_annotated_write/diff.patch
  • fixtures/python_conditional_version_annotated_write/expected/CHANGELOG.md
  • fixtures/python_conditional_version_annotated_write/expected/check.json
  • fixtures/python_conditional_version_annotated_write/expected/human-full.txt
  • fixtures/python_conditional_version_annotated_write/expected/human.txt
  • fixtures/python_conditional_version_annotated_write/input/ripr.toml
  • fixtures/python_conditional_version_annotated_write/input/tests/test_versioned.py
  • fixtures/python_conditional_version_annotated_write/input/versioned.py
  • fixtures/python_conditional_version_attribute_write/SPEC.md
  • fixtures/python_conditional_version_attribute_write/diff.patch
  • fixtures/python_conditional_version_attribute_write/expected/CHANGELOG.md
  • fixtures/python_conditional_version_attribute_write/expected/check.json
  • fixtures/python_conditional_version_attribute_write/expected/human-full.txt
  • fixtures/python_conditional_version_attribute_write/expected/human.txt
  • fixtures/python_conditional_version_attribute_write/input/ripr.toml
  • fixtures/python_conditional_version_attribute_write/input/tests/test_versioned.py
  • fixtures/python_conditional_version_attribute_write/input/versioned.py
  • fixtures/python_conditional_walrus_replacement/SPEC.md
  • fixtures/python_conditional_walrus_replacement/diff.patch
  • fixtures/python_conditional_walrus_replacement/expected/CHANGELOG.md
  • fixtures/python_conditional_walrus_replacement/expected/check.json
  • fixtures/python_conditional_walrus_replacement/expected/human-full.txt
  • fixtures/python_conditional_walrus_replacement/expected/human.txt
  • fixtures/python_conditional_walrus_replacement/input/ripr.toml
  • fixtures/python_conditional_walrus_replacement/input/tests/test_versioned.py
  • fixtures/python_conditional_walrus_replacement/input/versioned.py
  • fixtures/python_module_backslash_return/SPEC.md
  • fixtures/python_module_backslash_return/diff.patch
  • fixtures/python_module_backslash_return/expected/CHANGELOG.md
  • fixtures/python_module_backslash_return/expected/check.json
  • fixtures/python_module_backslash_return/expected/human-full.txt
  • fixtures/python_module_backslash_return/expected/human.txt
  • fixtures/python_module_backslash_return/input/ripr.toml
  • fixtures/python_module_backslash_return/input/settings.py
  • fixtures/python_module_backslash_return/input/tests/test_settings.py
  • fixtures/python_module_continuation_return/SPEC.md
  • fixtures/python_module_continuation_return/diff.patch
  • fixtures/python_module_continuation_return/expected/CHANGELOG.md
  • fixtures/python_module_continuation_return/expected/check.json
  • fixtures/python_module_continuation_return/expected/human-full.txt
  • fixtures/python_module_continuation_return/expected/human.txt
  • fixtures/python_module_continuation_return/input/ripr.toml
  • fixtures/python_module_continuation_return/input/settings.py
  • fixtures/python_module_continuation_return/input/tests/test_settings.py
  • fixtures/python_module_formatted_generator_test/SPEC.md
  • fixtures/python_module_formatted_generator_test/diff.patch
  • fixtures/python_module_formatted_generator_test/expected/CHANGELOG.md
  • fixtures/python_module_formatted_generator_test/expected/check.json
  • fixtures/python_module_formatted_generator_test/expected/human-full.txt
  • fixtures/python_module_formatted_generator_test/expected/human.txt
  • fixtures/python_module_formatted_generator_test/input/ripr.toml
  • fixtures/python_module_formatted_generator_test/input/settings.py
  • fixtures/python_module_formatted_generator_test/input/tests/test_settings.py
  • fixtures/python_module_generator_test/SPEC.md
  • fixtures/python_module_generator_test/diff.patch
  • fixtures/python_module_generator_test/expected/CHANGELOG.md
  • fixtures/python_module_generator_test/expected/check.json
  • fixtures/python_module_generator_test/expected/human-full.txt
  • fixtures/python_module_generator_test/expected/human.txt
  • fixtures/python_module_generator_test/input/ripr.toml
  • fixtures/python_module_generator_test/input/settings.py
  • fixtures/python_module_generator_test/input/tests/test_settings.py
  • fixtures/python_module_prior_failing_assert/SPEC.md
  • fixtures/python_module_prior_failing_assert/diff.patch
  • fixtures/python_module_prior_failing_assert/expected/CHANGELOG.md
  • fixtures/python_module_prior_failing_assert/expected/check.json
  • fixtures/python_module_prior_failing_assert/expected/human-full.txt
  • fixtures/python_module_prior_failing_assert/expected/human.txt
  • fixtures/python_module_prior_failing_assert/input/ripr.toml
  • fixtures/python_module_prior_failing_assert/input/settings.py
  • fixtures/python_module_prior_failing_assert/input/tests/test_settings.py
  • fixtures/python_module_reader_replacement/SPEC.md
  • fixtures/python_module_reader_replacement/diff.patch
  • fixtures/python_module_reader_replacement/expected/CHANGELOG.md
  • fixtures/python_module_reader_replacement/expected/check.json
  • fixtures/python_module_reader_replacement/expected/human-full.txt
  • fixtures/python_module_reader_replacement/expected/human.txt
  • fixtures/python_module_reader_replacement/input/app.py
  • fixtures/python_module_reader_replacement/input/ripr.toml
  • fixtures/python_module_reader_replacement/input/settings.py
  • fixtures/python_module_reader_replacement/input/tests/test_settings.py
  • fixtures/python_module_same_line_prior_assert/SPEC.md
  • fixtures/python_module_same_line_prior_assert/diff.patch
  • fixtures/python_module_same_line_prior_assert/expected/CHANGELOG.md
  • fixtures/python_module_same_line_prior_assert/expected/check.json
  • fixtures/python_module_same_line_prior_assert/expected/human-full.txt
  • fixtures/python_module_same_line_prior_assert/expected/human.txt
  • fixtures/python_module_same_line_prior_assert/input/ripr.toml
  • fixtures/python_module_same_line_prior_assert/input/settings.py
  • fixtures/python_module_same_line_prior_assert/input/tests/test_settings.py
  • fixtures/python_module_test_reader_replacement/SPEC.md
  • fixtures/python_module_test_reader_replacement/diff.patch
  • fixtures/python_module_test_reader_replacement/expected/CHANGELOG.md
  • fixtures/python_module_test_reader_replacement/expected/check.json
  • fixtures/python_module_test_reader_replacement/expected/human-full.txt
  • fixtures/python_module_test_reader_replacement/expected/human.txt
  • fixtures/python_module_test_reader_replacement/input/ripr.toml
  • fixtures/python_module_test_reader_replacement/input/settings.py
  • fixtures/python_module_test_reader_replacement/input/tests/test_settings.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@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 one verification check before upstream.

Verification questions

  • Confirm the honesty corpus checks only analyzer output shape/count/class and explicit non-promotion; it does not independently prove each fixture's Python old/new observation or test execution claim.

Refuted

  • The fixture test assertions execute and distinguish the old and new module values.; refuted because: This does not hold: several assertions are deliberately unreachable, replaced, or deferred; the fixtures model these identities specifically to prevent credit.
  • This fixture-only PR might alter a public analyzer or helper route.; refuted because: The changed-file set contains only traceability metadata, the honesty corpus, and fixture inputs/docs/goldens; it contains no analyzer, helper, CLI, or other production-source change.
  • The duplicated fixture cases create an architecture problem requiring a shared helper or production-code refactor.; refuted because: These are deliberately isolated regression fixtures for distinct Python counterexamples; introducing a helper in this fixture-only PR would broaden scope and weaken fixture independence. Duplication is bounded to fixture data.
  • The PR body overclaims complete verification despite absent sensor receipts.; refuted because: The PR body reports successful cargo xtask precommit and honesty checks, while this lane only lacks the separately scheduled cargo-test receipt; the available tokmd and ast-grep evidence is present, and no seeded review comment contradicts the reported commands.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • The SPECs claim actual Python execution passes on both revisions, but the added fixture files contain no executable red/green harness or base-revision fixture proving that invariant.
  • The local evidence packet does not yet contain the always-on cargo-test receipt.

Copy link
Copy Markdown
Member Author

Review of record, head b61effc0cdc6009302a5ffdf5278be6de6187489.

Qualification: run 40166023182 (Rust gates + Ripr Rust Small Result) is success on this head against main 875d1f2a.

Angles:

  • Scope: data-only diff (13 fixtures, 13 honesty cases, traceability entries); no analyzer, CLI or output source change. The bot packet review reached the same conclusion and raised no concrete finding.
  • Expectations vs behavior: each fixture's expected goldens are produced by the landed analyzer (goldens check passes in CI and locally), and each honesty case asserts must_not_promote/must_not_report_clean on its own fixture; the honesty check passes with all controls retaining exposed.
  • Provenance: the Python old/new executions behind each shape were recorded by the independent CPython traces on feat(python): credit module-level constant and live conditional-def edits through a proven exact assertion (#9423) #9861; this PR adds no execution claim of its own.
  • Threads: none open; only bot quota notices.

Squash-merging on this exact head.


Generated by Claude Code

@EffortlessSteven
EffortlessSteven merged commit aeb7777 into main Oct 25, 2026
45 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/py-module-exact-fixtures-2 branch October 25, 2026 06:20
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