Skip to content

eval(verdict-corpus): 37 TypeScript cases complete spec-example coverage - #7731

Merged
EffortlessSteven merged 5 commits into
mainfrom
claude/project-thread-13ig98
Oct 14, 2026
Merged

EffortlessSteven merged 5 commits into
mainfrom
claude/project-thread-13ig98

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

Before: the TypeScript ledger covered 67 of 103 spec examples after #7684. The uncovered ones were RIPR-SPEC-0246, 0247, 0248, 0249, 0250, 0251, 0254 and 0256 variant and negative examples.

After: 37 new cases, each labeled by running its subject's own tests, cover all 103 examples, and the floor is 103.

How truth was taken: each subject was copied to scratch outside the repo. Its own test command ran on the unedited package (green), then on the edit, then on each mutant with mutated_line. Toolchain: Node 22.22.0, jest 30.5.2, ts-jest 29.4.14, typescript 5.9.3, and vitest 4.1.11 as the cart subject pins it. New tests sit in new src/test file pairs. Bless added 37 rows and moved none.

What ripr does on these cases: 25 ideal, 2 abstained, 8 false actionable and 2 false exposed. Each wrong verdict is the grade its cited example states.

TS false verdicts move from 8/127 to 18/164, because these cases measure gaps that already existed.

Calls for review:

Swarm / Source Boundary

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

Source-of-truth Links

  • Specs: RIPR-SPEC-0219, 0245, 0246–0251, 0254, 0256.

Scope Classification

  • Evidence and test only. No production code changes. The TS validity test now pins a floor of at least 103.

Proof

cargo xtask verdict-corpus validate --language typescript  # exit 0: 164 cases valid; 103/103
cargo xtask verdict-corpus check-all                       # exit 0
cargo test -p xtask verdict_corpus                         # exit 0, 119 passed
cargo fmt --check && cargo xtask precommit                 # exit 0

Claim Boundary

  • May claim: every TypeScript spec acceptance example has a case with runtime truth, and ripr's reading of each is measured.
  • Must not claim: the wrong verdicts are fixed. They are the specs' current conservative grades.

Rollback

Revert the squash commit.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UkJX24i4awmd7UoVV5CXkP


Generated by Claude Code

…ples

Adds runtime-labeled TypeScript cases for every acceptance example the
ledger left uncovered: RIPR-SPEC-0246 #3-5/#7/#9/#10, 0247 #3/#5, 0248
#7-10, 0249 #3/#5-9, 0250 #4-6, 0251 #2-7, 0254 #2-5 and 0256 #2-6.
Coverage 67/103 -> 103/103, floor 103 (ledger and the pinned xtask
assertion). Truth comes from running each subject's own test command on
the unedited package, on the edit, and on each listed mutant in a scratch
copy; new tests sit in new src/test file pairs, so re-bless added 37 rows
and moved none.

ripr: 25 ideal, 2 abstained, 8 false actionable, 2 false exposed. Every
false verdict is the grade the cited example states: 0248 #10 (substring
toThrow on an error seam) and 0246 #3 (field dropped under toEqual of an
input that already holds it) are spec-accepted false exposed; the false
actionable rows are the refused shapes whose tests still discriminate.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UkJX24i4awmd7UoVV5CXkP
@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!

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

coderabbitai Bot commented Oct 13, 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: 61eb6e9d-9934-4568-be25-a8a8581117f0
📥 Commits

Reviewing files that changed from the base of the PR and between ec2dcb7 and 4bfe3a1.

📒 Files selected for processing: 194
  • changelog.d/7731-ts-verdict-corpus-spec-coverage-batch3.md
  • fixtures/typescript-verdict-corpus/SPEC.md
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex03-spread-drops-field.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex03-spread-drops-field.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex04-foreach-two-literals.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex04-foreach-two-literals.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex05-foreach-variable-element.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex05-foreach-variable-element.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex07-then-rejection-handler.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex07-then-rejection-handler.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex09-async-foreach.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex09-async-foreach.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex10-member-pin-then-toequal.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex10-member-pin-then-toequal.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0247-ex03-second-send.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0247-ex03-second-send.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0247-ex05-spyon-send.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0247-ex05-spyon-send.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-drop-fee-sign-only.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-drop-fee-sign-only.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-drop-literal-zero.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-drop-literal-zero.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-multiplied-term.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-multiplied-term.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-throw-message-term.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-throw-message-term.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex03-subclass-of-pinned.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex03-subclass-of-pinned.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex05-wrapped-pin.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex05-wrapped-pin.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex06-fall-through-if.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex06-fall-through-if.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex07-one-line-if.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex07-one-line-if.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex08-test-local-class.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex08-test-local-class.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex09-message-change.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex09-message-change.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0250-ex04-normalized-result.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0250-ex04-normalized-result.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0250-ex05-non-literal-expected.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0250-ex05-non-literal-expected.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0250-ex06-spread-after-field.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0250-ex06-spread-after-field.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex02-default-binds-other.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex02-default-binds-other.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex03-body-shadows-default.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex03-body-shadows-default.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex04-strong-pin-on-other-default.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex04-strong-pin-on-other-default.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex05-destructured-local.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex05-destructured-local.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex06-one-hop-local.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex06-one-hop-local.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex07-default-drop-fee-nonzero.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex07-default-drop-fee-nonzero.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex07-default-drop-fee-zero.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex07-default-drop-fee-zero.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex02-two-entry-object.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex02-two-entry-object.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex03-after-braced-if.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex03-after-braced-if.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex04-braceless-if.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex04-braceless-if.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex05-direct-mock-call.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex05-direct-mock-call.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex06-called-times.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex06-called-times.json
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex02-awaited-local.diff
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex02-awaited-local.json
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex03-unchanged-key.diff
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex03-unchanged-key.json
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex04-value-to-null.diff
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex04-value-to-null.json
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex05-region-key.diff
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex05-region-key.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0246-ex03-spread-drops-field.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0246-ex04-foreach-two-literals.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0246-ex05-foreach-variable-element.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0246-ex07-then-rejection-handler.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0246-ex09-async-foreach.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0246-ex10-member-pin-then-toequal.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0247-ex03-second-send.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0247-ex05-spyon-send.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0248-drop-fee-sign-only.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0248-drop-literal-zero.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0248-multiplied-term.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0248-throw-message-term.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0249-ex03-subclass-of-pinned.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0249-ex05-wrapped-pin.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0249-ex06-fall-through-if.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0249-ex07-one-line-if.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0249-ex08-test-local-class.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0249-ex09-message-change.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0250-ex04-normalized-result.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0250-ex05-non-literal-expected.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0250-ex06-spread-after-field.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex02-default-binds-other.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex03-body-shadows-default.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex04-strong-pin-on-other-default.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex05-destructured-local.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex06-one-hop-local.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex07-default-drop-fee-nonzero.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex07-default-drop-fee-zero.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0256-ex02-two-entry-object.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0256-ex03-after-braced-if.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0256-ex04-braceless-if.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0256-ex05-direct-mock-call.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0256-ex06-called-times.json
  • fixtures/typescript-verdict-corpus/expected/rows/vitest-spec0254-ex02-awaited-local.json
  • fixtures/typescript-verdict-corpus/expected/rows/vitest-spec0254-ex03-unchanged-key.json
  • fixtures/typescript-verdict-corpus/expected/rows/vitest-spec0254-ex04-value-to-null.json
  • fixtures/typescript-verdict-corpus/expected/rows/vitest-spec0254-ex05-region-key.json
  • fixtures/typescript-verdict-corpus/spec-coverage.toml
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined.json
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/errorsFall.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/errorsLocalClass.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/errorsMessage.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/errorsOneLine.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/errorsSub.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/errorsWrap.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/profileExpected.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/profileNorm.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/profileSpread.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/settingsCopy.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/settingsOk.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/errorsFall.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/errorsLocalClass.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/errorsMessage.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/errorsOneLine.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/errorsSub.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/errorsWrap.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/profileExpected.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/profileNorm.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/profileSpread.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/settingsCopy.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/settingsOk.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles.json
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/addCountsZero.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/capPrice.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/capPriceVar.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/limitMessage.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/orderSum.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/priceFeeSign.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/scaledTotal.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/tickPrice.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/addCountsZero.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/capPrice.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/capPriceVar.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/limitMessage.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/orderSum.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/priceFeeSign.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/scaledTotal.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/tickPrice.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations.json
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/announceMail.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/announceRetry.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/chargeAfterIf.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/chargeBraceless.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/chargeDirect.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/chargeNotify.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/chargeTimes.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/otherDefault.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceDestructured.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceFeeDefault.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceFeeDefaultZero.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceNamedRound.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceOneHop.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceShadowed.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceWeakPin.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/announceMail.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/announceRetry.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/chargeAfterIf.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/chargeBraceless.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/chargeDirect.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/chargeNotify.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/chargeTimes.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceDestructured.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceFeeDefault.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceFeeDefaultZero.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceNamedRound.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceOneHop.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceShadowed.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceWeakPin.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart.json
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/src/unitPriceApple.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/src/unitPriceLocal.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/src/unitPriceNull.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/src/unitPriceRegion.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/test/unitPriceApple.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/test/unitPriceLocal.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/test/unitPriceNull.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/test/unitPriceRegion.test.ts
  • xtask/src/reports/verdict_corpus_tests.rs

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: da6c0079-14d4-4357-a1f7-f82c5da92172
📥 Commits

Reviewing files that changed from the base of the PR and between 15c35c9 and 73988a9.

📒 Files selected for processing: 194
  • changelog.d/7731-ts-verdict-corpus-spec-coverage-batch3.md
  • fixtures/typescript-verdict-corpus/SPEC.md
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex03-spread-drops-field.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex03-spread-drops-field.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex04-foreach-two-literals.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex04-foreach-two-literals.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex05-foreach-variable-element.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex05-foreach-variable-element.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex07-then-rejection-handler.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex07-then-rejection-handler.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex09-async-foreach.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex09-async-foreach.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex10-member-pin-then-toequal.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0246-ex10-member-pin-then-toequal.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0247-ex03-second-send.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0247-ex03-second-send.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0247-ex05-spyon-send.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0247-ex05-spyon-send.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-drop-fee-sign-only.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-drop-fee-sign-only.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-drop-literal-zero.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-drop-literal-zero.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-multiplied-term.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-multiplied-term.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-throw-message-term.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0248-throw-message-term.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex03-subclass-of-pinned.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex03-subclass-of-pinned.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex05-wrapped-pin.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex05-wrapped-pin.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex06-fall-through-if.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex06-fall-through-if.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex07-one-line-if.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex07-one-line-if.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex08-test-local-class.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex08-test-local-class.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex09-message-change.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0249-ex09-message-change.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0250-ex04-normalized-result.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0250-ex04-normalized-result.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0250-ex05-non-literal-expected.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0250-ex05-non-literal-expected.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0250-ex06-spread-after-field.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0250-ex06-spread-after-field.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex02-default-binds-other.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex02-default-binds-other.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex03-body-shadows-default.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex03-body-shadows-default.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex04-strong-pin-on-other-default.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex04-strong-pin-on-other-default.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex05-destructured-local.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex05-destructured-local.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex06-one-hop-local.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex06-one-hop-local.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex07-default-drop-fee-nonzero.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex07-default-drop-fee-nonzero.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex07-default-drop-fee-zero.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0251-ex07-default-drop-fee-zero.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex02-two-entry-object.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex02-two-entry-object.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex03-after-braced-if.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex03-after-braced-if.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex04-braceless-if.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex04-braceless-if.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex05-direct-mock-call.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex05-direct-mock-call.json
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex06-called-times.diff
  • fixtures/typescript-verdict-corpus/cases/jest-spec0256-ex06-called-times.json
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex02-awaited-local.diff
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex02-awaited-local.json
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex03-unchanged-key.diff
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex03-unchanged-key.json
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex04-value-to-null.diff
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex04-value-to-null.json
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex05-region-key.diff
  • fixtures/typescript-verdict-corpus/cases/vitest-spec0254-ex05-region-key.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0246-ex03-spread-drops-field.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0246-ex04-foreach-two-literals.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0246-ex05-foreach-variable-element.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0246-ex07-then-rejection-handler.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0246-ex09-async-foreach.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0246-ex10-member-pin-then-toequal.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0247-ex03-second-send.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0247-ex05-spyon-send.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0248-drop-fee-sign-only.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0248-drop-literal-zero.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0248-multiplied-term.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0248-throw-message-term.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0249-ex03-subclass-of-pinned.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0249-ex05-wrapped-pin.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0249-ex06-fall-through-if.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0249-ex07-one-line-if.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0249-ex08-test-local-class.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0249-ex09-message-change.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0250-ex04-normalized-result.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0250-ex05-non-literal-expected.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0250-ex06-spread-after-field.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex02-default-binds-other.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex03-body-shadows-default.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex04-strong-pin-on-other-default.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex05-destructured-local.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex06-one-hop-local.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex07-default-drop-fee-nonzero.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0251-ex07-default-drop-fee-zero.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0256-ex02-two-entry-object.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0256-ex03-after-braced-if.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0256-ex04-braceless-if.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0256-ex05-direct-mock-call.json
  • fixtures/typescript-verdict-corpus/expected/rows/jest-spec0256-ex06-called-times.json
  • fixtures/typescript-verdict-corpus/expected/rows/vitest-spec0254-ex02-awaited-local.json
  • fixtures/typescript-verdict-corpus/expected/rows/vitest-spec0254-ex03-unchanged-key.json
  • fixtures/typescript-verdict-corpus/expected/rows/vitest-spec0254-ex04-value-to-null.json
  • fixtures/typescript-verdict-corpus/expected/rows/vitest-spec0254-ex05-region-key.json
  • fixtures/typescript-verdict-corpus/spec-coverage.toml
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined.json
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/errorsFall.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/errorsLocalClass.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/errorsMessage.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/errorsOneLine.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/errorsSub.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/errorsWrap.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/profileExpected.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/profileNorm.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/profileSpread.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/settingsCopy.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/settingsOk.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/errorsFall.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/errorsLocalClass.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/errorsMessage.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/errorsOneLine.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/errorsSub.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/errorsWrap.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/profileExpected.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/profileNorm.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/profileSpread.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/settingsCopy.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/test/settingsOk.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles.json
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/addCountsZero.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/capPrice.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/capPriceVar.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/limitMessage.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/orderSum.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/priceFeeSign.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/scaledTotal.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/src/tickPrice.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/addCountsZero.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/capPrice.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/capPriceVar.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/limitMessage.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/orderSum.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/priceFeeSign.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/scaledTotal.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/test/tickPrice.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations.json
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/announceMail.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/announceRetry.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/chargeAfterIf.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/chargeBraceless.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/chargeDirect.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/chargeNotify.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/chargeTimes.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/otherDefault.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceDestructured.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceFeeDefault.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceFeeDefaultZero.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceNamedRound.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceOneHop.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceShadowed.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/src/priceWeakPin.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/announceMail.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/announceRetry.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/chargeAfterIf.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/chargeBraceless.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/chargeDirect.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/chargeNotify.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/chargeTimes.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceDestructured.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceFeeDefault.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceFeeDefaultZero.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceNamedRound.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceOneHop.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceShadowed.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/priceWeakPin.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart.json
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/src/unitPriceApple.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/src/unitPriceLocal.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/src/unitPriceNull.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/src/unitPriceRegion.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/test/unitPriceApple.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/test/unitPriceLocal.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/test/unitPriceNull.test.ts
  • fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/test/unitPriceRegion.test.ts
  • xtask/src/reports/verdict_corpus_tests.rs
🔗 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; 2 remain after this review.

Summary by CodeRabbit

  • New Features
    • Expanded TypeScript verdict-corpus coverage with 37 additional labeled cases, bringing reported specification-example coverage to 103 of 103.
    • Added examples spanning Jest and Vitest scenarios, including asynchronous checks, error handling, mocked calls, object fields, and price lookups.
  • Documentation
    • Updated corpus guidance and coverage tracking to reflect the expanded examples and uncovered-case policy.

Walkthrough

The TypeScript verdict corpus adds 37 Jest and Vitest cases, authored subject fixtures, and expected-result rows. The coverage ledger and its test threshold increase from 67 to 103 examples.

Changes

TypeScript verdict corpus expansion

Layer / File(s) Summary
Jest numeric and async oracle cases
fixtures/typescript-verdict-corpus/cases/jest-spec0246-*, fixtures/typescript-verdict-corpus/cases/jest-spec0248-*, fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-oracles/*
Adds Jest cases and authored subjects for arithmetic, pricing, fees, error messages, and async tests. Case records capture test outcomes and verdict metadata.
Jest object, profile, and predicate cases
fixtures/typescript-verdict-corpus/cases/jest-spec0246-*, fixtures/typescript-verdict-corpus/cases/jest-spec0249-*, fixtures/typescript-verdict-corpus/cases/jest-spec0250-*, fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/*
Adds cases and authored subjects covering object-copy behavior, error-class predicates, and profile field construction.
Jest imports and mock interactions
fixtures/typescript-verdict-corpus/cases/jest-spec0247-*, fixtures/typescript-verdict-corpus/cases/jest-spec0251-*, fixtures/typescript-verdict-corpus/cases/jest-spec0256-*, fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/*
Adds cases and authored subjects for send calls, notifier behavior, and imported-function relationships.
Vitest unit-price lookup cases
fixtures/typescript-verdict-corpus/cases/vitest-spec0254-*, fixtures/typescript-verdict-corpus/subjects/authored-ts-vitest-cart/*
Adds lookup cases for fixed-table prices, nullish fallback, and regional inputs, with corresponding test fixtures.
Coverage ledger and corpus notes
changelog.d/7731-ts-verdict-corpus-spec-coverage-batch3.md, fixtures/typescript-verdict-corpus/SPEC.md, fixtures/typescript-verdict-corpus/spec-coverage.toml, fixtures/typescript-verdict-corpus/expected/rows/*, xtask/src/reports/verdict_corpus_tests.rs
Adds expected rows and labeling notes. The coverage floor and its test threshold increase from 67 to 103, and the ledger comment now states that uncovered examples remain visible.

Priority: ⬇️ Low

Estimated code review effort: 4 (Complex) | ~45 minutes

Merge Risk: ⚪ Minimal · up to ec2dc

Merge Risk: ⚪ Minimal · up to ec2dc

The new examples and higher coverage floor appear ready to merge, subject to the normal checks.

Pre-merge checks: Passed 3 · Failed 1 · Inconclusive 1

Failed Failed checks: 1 warning · 1 inconclusive

Check name Status Explanation Resolution
Description check Warning The description provides a clear summary, scope boundary, proof commands, claim boundary, and rollback plan, but it omits several template sections, including candidate relationships, support-tier imp… Add the missing template sections. Mark non-applicable sections as none or n/a, and provide the required links, traceability details, checklist results, and CI-impact assessment.
Docstring Coverage Inconclusive Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 34 functions across 50 files. (144 skipped… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 3 passed
Check name Status Explanation
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 37 TypeScript verdict-corpus cases and their coverage objective.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 34 functions across 50 files. (144 skipped: 118 unsupported, 26 over the file limit.)

Full details: Description check

Explanation

The description provides a clear summary, scope boundary, proof commands, claim boundary, and rollback plan, but it omits several template sections, including candidate relationships, support-tier impact, policy impact, traceability, static-language checks, CI economics, engineering checks, and gates.

✨ Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit counts each case with care
Through Jest and Vitest, rows appear
The ledger climbs to one-oh-three
New fixtures join the tally
Then hops away, content and free

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 reviewer attention before upstream: findings remain.

Confirmed findings

  • fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-mined/src/profileSpread.ts:1 — spec0250-ex06 uses overrides={adult:true} for the 18-case to deliberately make the test pass on the edit, so the test asserts the spread overrides the field rather than the changed line. The test as written (buildProfileSpread('bo',18,{adult:true}).toMatchObject({name:'bo',adult:true})) is structurally redundant with respect to the edit. Consider a 17-case call without override so the spread branch isn't the only thing under test; current shape is intentional per hard_case but weaker than ideal.
  • No production code path, no unsafe, no native, no UB narrative applies. Wrong-verdict count rises (8/127 -> 18/164) but these are spec-graded grades, called out in the PR body. The PR is evidence/test only and the only Rust change is a numeric floor bump kept in sync with spec-coverage.toml.

Verification questions

  • Confirm all 37 case JSONs declare case_id matching fixture filename, anchor.file/line matches diff hunk, spec_examples single-entry array, and expected.acceptable_verdicts include the ideal outcome or gap/limited fallbacks per the spec text in reasoning.
  • Confirm ex09-async-foreach truth depends on jest process exit code 1 from an unhandled rejection; the test_command fails but the test framework reports no failing test. The case JSON's failing_test field is 'tickPrice' (the test whose callback raised) but the runtime signal is the wrapper exit, not a per-test failure. Documented in SPEC.md and the case's hard_case.
  • Confirm floor rise (67→103) is justified and bounded: floor ≤ covered_examples is still enforced, schema_version unchanged, and the spec-coverage.toml comment is the only doc-side narration.

Refuted

  • Shared helpers across the 37 new subject files would shrink the diff and reduce duplication; refuted because: Each case must be labelable in isolation; SPEC.md and the existing precedent (jest-mined-bound-local) require that a new case's truth cannot move an older case's. Sharing a helper would couple the cases and break the corpus invariant.

Parked follow-ups

  • addCountsZero test asserts addCountsZero(2,3)===5 which masks the edit's effect for normal inputs; only the listed arithmetic mutant ('a-b') is the discriminating signal. Equivalent true edit (a+b+0 -> a+b) is the case under test, but it relies on the StrykerJS mutant to prove discrimination. Acceptable per labeling method but the discriminated truth is established by a hand-applied arithmetic mutant, not the edit itself. Documented in SPEC.md; parked as low.

Evidence gaps

  • Subject sha256 manifests for jest-mined, jest-oracles, jest-relations, vitest-cart include the 38 newly added files; PR claims each subject was run on its stored package pre-edit (green) and on each mutant with mutated_line.
  • Model proof intent was rejected by deterministic validation.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 13, 2026 22:25
@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.

Devin Review

…clarify cart vitest history

Devin on #7731: the async-forEach case named `tickPrice` as failing although
jest reports no failed test; the command fails through an unhandled
rejection. failing_test now says so, and #7734 tracks representing
process-level kills in the schema. SPEC.md separates the cart subject's
older vitest 3.2.7 labels from the 4.1.11 runs of the new lookup-table cases.

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

@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

  • jest-spec0250-ex06 spread test asserts the 18-case with {adult:true} override; per reviewer sumary this makes the test pass on the edit because the spread overrides the changed entry. Spec accepts this as a hard_case gap outcome; PR body has "Calls for review" entry flagging it. Consider an additional 17-case assertion without override to make the discrimination intent unambiguous, parallel to the other profile*.test.ts cases that don't use overrides.
  • fixtures/typescript-verdict-corpus/SPEC.md:86 — The vitest toolchain sentence and the new vitest-spec0254-* mention sit in different paragraphs; SPEC.md now mixes historical 3.2.7 labels and current 4.1.11 runs but the cart subject's earlier examples still only mention vitest 3.2 in prose. Consider a one-line note that older vitest cases used 3.2.7 while the new lookup-table cases used 4.1.11 to keep toolchain history unambiguous.

Verification questions

  • Confirm cargo-test receipt is scheduled-late; on-edit / on-package green for the 37 new cases and the cargo xtask verdict-corpus validate run are not yet witnessed in evidence available to this lane.
  • Confirm fixtures/typescript-verdict-corpus/subjects/authored-ts-jest-relations/test/announceMail.test.ts:5 — jest.spyOn(mailer,'send') is not restored; running the full package, mailer.send stays spied and a sibling case (e.g. announceRetry in the same subject) that also touches mailer may carry state. Confirm each new spyon-based test calls .mockRestore()/jest.restoreAllMocks in an afterEach, otherwise an unrelated suite can observe the spy.

Refuted

  • ledger floor must be raised above every observed_verdict to avoid undercount; refuted because: spec-coverage.toml floor is a covered-example floor (103), not a verdict-quality threshold; xtask gate at line 1612 asserts floor<=covered, satisfied (103==103).

Parked follow-ups

  • profileSpread 18-case uses {adult:true} override that masks the changed line, so the case labels the spread branch rather than the edit; prior review flagged this as intentional per hard_case but weaker than ideal.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • cargo-test receipt is scheduled-late not landed; the PR body's cargo test -p xtask verdict_corpus exit 0 claim (119 passed) has no in-packet witness yet.

@EffortlessSteven
EffortlessSteven marked this pull request as draft October 13, 2026 23:09
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 13, 2026 23:09
@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 marked this pull request as draft October 14, 2026 00:18
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 14, 2026 00:18
@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!

Copy link
Copy Markdown
Member Author

Review of record

Head: 4bfe3a1. This is 326242e with main merged in upstream; the merge touches no corpus file in this PR.

Angles

  1. Spec citations. All 37 cases cite the example they label, and all 103 ledger entries are consistent with them. The 0249 operand swap is the spec's own Problem edit. 0251 deps(deps): bump dtolnay/rust-toolchain from 1.95 to 1.100 in the github-actions-minor-patch group #2 and chore(repo): configure ripr-swarm repository contract #3 reading no_static_path is acceptable under the spec.
  2. Runtime truth. All 55 new jobs and the 93 older jobs on the touched subjects reproduce. Every subject sha256 matches. The kill in 0246 badge: refresh public endpoints #9 is deterministic, and the unedited package stays green.
  3. Bots.
    • Devin raised two findings, both fixed in 326242e and resolved.
    • CodeRabbit had no actionable comments.
    • ub-review ran three times with nothing blocking:
      • The vitest note is already in SPEC.md.
      • The jest.spyOn in announceMail cannot leak, because jest isolates the module registry per test file and that file has one test.
      • The spread override in 0250 test(lsp): pin post-adoption editor contract #6 is the spec's own example shape and is documented as a hard case.
    • Gemini hit its quota, so its review is missing.
  4. Combined tree. I re-ran cargo xtask verdict-corpus check-all locally on 4bfe3a1, and it exited 0:
    • TypeScript: 164 cases, 17/164 false verdicts, 0 contradictions.
    • Spec examples covered: 104/109 with floor 104, since main added a new spec's examples.
    • Rust, Python and Perl corpora: clean.

Findings and resolutions

CI: green on the head, including the required Ripr Rust Small Result. No open review threads.

Disposition: nothing blocking. Merging.


Generated by Claude Code

@EffortlessSteven
EffortlessSteven merged commit 3ea9a19 into main Oct 14, 2026
29 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/project-thread-13ig98 branch October 14, 2026 01:07
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