Repository navigation
eval(verdict-corpus): labeled TypeScript corpus across jest, vitest, mocha and node:test - #6686
Conversation
`cargo xtask verdict-corpus validate|check|report` take `--language <rust|typescript|python|perl>` and read `fixtures/<language>-verdict-corpus`. corpus.json gains a `language` (absent = rust); a directory declaring another language is refused. Rust keeps its run and report paths and its report bytes; other languages nest under <language>/ and name their language in both report files. Separate directories keep TypeScript, Python and Perl label changes from re-blessing the Rust expected report (RIPR-SPEC-0233). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5
…0238 RIPR-SPEC-0233 is taken by the Python oracle rules spec. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5
…mocha and node:test 101 authored one-line cases in fixtures/typescript-verdict-corpus, each labeled by running its StrykerJS mutants against the package's own tests (every single-line outcome replayed by hand), with at least one case per RIPR-SPEC-0234 acceptance example. Today: 27/62 false actionable, 9/39 false exposed, 0/39 false silent; the DX scoreboard gates all three. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5
…ocabulary Renames ts-nodetest-footer-untested to ts-nodetest-footer-unasserted, rewords three reasonings and the SPEC labeling caveat, and formats the corpus test. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Important Review skippedToo many files! This PR contains 551 files, which is 251 over the limit of 300. To get a review, reduce the PR to 300 files or fewer by splitting it into smaller PRs or changing its base branch. Usage-priced reviews support at most 300 files. ⚙️ Run configuration
⛔ Files ignored due to path filters (2)
📒 Files selected for processing (551)
You can disable this status message by setting the
Comment |
- Refuse a case id that names a corpus language: Rust runs sit beside the other languages' run directories, so such a case would clear them. - The report.json drift error names the re-bless command with --language. - The committed TypeScript corpus test requires both truth directions. - The spec says scoreboard metrics read the committed report, and names the two subjects whose mutants were hand-applied. - SPEC.md records the full 178-mutant replay; three reasonings reworded. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5
Review of recordSubject: findings were made on
Findings and resolutions
Local proof on
Generated by Claude Code |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
1 similar comment
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
…e checks The TypeScript verdict corpus (#6686) showed chai to.throw("literal"), node:assert throws with an anchored regex and rejects with a literal message object each catching every mutant of their line, so the broad_error reading was a false actionable verdict. Rule 4's message-only guard still applies. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH
…ry number Twelve behavior-preserving rewrites shifted an integer threshold (`age >= 18` -> `age > 17`) or negated a comparison, which changes results for fractional inputs or NaN. They now swap operands instead (`18 <= age`), take Stryker's mutant set for the new line, and record the outcome of replaying each mutant with the case's own test command. All 185 mutants were replayed again; no verdict or rate changed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- No native Rust code path in this PR is touched: changes are serde derives on Corpus/Report, a PathBuf-rooted language switch with an allowlist, and fixture data under fixtures/typescript-verdict-corpus which falls under the non-Rust allowlist. unsafe-review sensor reports new_gaps=0, worsened=0.
- The 11 authored subjects are produced in this PR; SPEC.md states the cases were re-labeled with Stryker after the boundary-rewrite correctness push (ccbe3f6), but the trace to that commit and the '185 mutants replayed' claim live only in PR thread text. A reviewer needs a one-line in-corpus link from the SPEC.md to the relabel commit so a future relabel diff is auditable without reading GitHub.
- fixtures/typescript-verdict-corpus/expected/report.json:1 — cases_total=101 plus the 27/62 and 9/39 rates are well-pinned, but the corpus version stamp '2026-10-04.1' is the only thing telling the reader the labels are fresh. Because the validator only checks that the expected report's rows match the corpus's cases, a future relabel that changes row outcome but keeps schema would silently update the report.json. Add a one-line PR-template rule to the spec that re-labeling must bump corpus_version and that the doc-artifacts policy bumps on every relabel.
Verification questions
- Confirm typescript corpus's expected/report.json agrees row-by-row with corpus.json labels and abstained/false_actionable/false_exposed counts (0 contradictions, 27/62, 9/39, 0/39).
- Confirm no active-view or resizable-buffer code is touched by this PR; the ub-active-view lane has nothing concrete to check beyond confirming absence, which was confirmed.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
committed_typescript_corpus_is_valid_and_its_report_agrees_with_its_labelsonly validates internal label↔report consistency; the live verdicts depend oncargo xtask verdict-corpus check --language typescriptactually running ripr, which is gated by cargo-test receipt (late).
|
Fragment preparation for #6800, inspected current head Source inspection found: The shared Return the exact repaired head and source diff here. Actual-checker execution remains pending executable custody as specified in #6800; no new Cargo build or installation is authorized in this source-only lane. |
… corpus fragments Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5
|
Fragment references repaired for #6800. The repaired head is --- a/changelog.d/spec-0238-per-language-verdict-corpora.md
+++ b/changelog.d/spec-0238-per-language-verdict-corpora.md
- (RIPR-SPEC-0238).
+ (RIPR-SPEC-0238, #6686).
--- a/changelog.d/typescript-verdict-corpus.md
+++ b/changelog.d/typescript-verdict-corpus.md
- baseline.
+ baseline (#6686).Dependent heads (#6798, #6612, #6597) can take the Status for tonight's wind-down
Generated by Claude Code |
…corpus fragments Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fpkjmifu5rQMZrM2LZMu6B
…ck (#7150) (#7153) * docs(learnings): stale-basis squash needs a combined-tree compile check (#7150) * docs(learnings): re-route toggles do not refresh the merge ref (#6686) After #7151 repaired main, the toggle-only re-route of #6686 still tested a pre-fix merge ref. Record the push-to-refresh rule and the ancestry check. * docs(learnings): grammar and epistemic precision on the merge-ref rule (#7153 review) Comma after By merge time (Gemini); drop the unsupported only-a-push exclusivity claim while keeping the verified push-recomputes behavior (CodeRabbit).
…pec 0244->0245 (#6686 review)
EffortlessSteven
left a comment
There was a problem hiding this comment.
Adoption review (published head 8667974, COMMENT)
Scope: TypeScript verdict corpus (101 cases, jest/vitest/mocha/node:test) + --language plumbing for verdict-corpus (validate/check/report/bless/split) + SPEC-0245 + scoreboard/registry updates. xtask-only; no ripr production change.
Inspected: language dispatch (safe_id charset, option-before-subcommand parsing, symlinked-corpus refusal at root + check-all parity, --out expected-dir protection), split/bless write paths, the corpus schema/label-law conformance via the check itself, SPEC-0245 (per-language dirs, shared 0219 semantics, no support-tier promotion), and all 14 threads.
Lane delta in 8667974: (1) split refuses nested symlinks (corpus.json/subjects/cases) before any read/write, with a unix-gated 3-link regression test; (2) renumber 0244->0245 — #6864 independently claims 0244 and the filenames differ, so both would have merged into a silent double-claim; main tops at 0243 and no open PR mentions 0245. 10 refs in 8 files, registries green.
Proof (H:/Code/Rust/review-6686 @ 8667974): verdict_corpus suite 76/76; verdict-corpus check --language typescript exit 0 (101 cases, 36/101 false, 0 contradictions — matches the author's stated 36/101); check-spec-numbering/format, traceability, doc-artifacts exit 0; fmt + clippy clean. The new symlink test is unix-gated and runs on Linux CI.
Threads: 14 total, all resolved with replies (boundary-identity mutants, title pointers, provenance qualification, the symlink series, dispatch parsing).
Known blocks (not this PR's fault): drift fails until #7165 merges (stale main receipts — this branch will re-merge then); pilot-ranking fails inherited + advisory (nightly main red, #7167).
Residuals: bless remove_dir_all on a symlinked expected/ deserves the same guard (noted on the split thread, follow-up).
Disposition: REVIEW_READY pending (a) hosted green on exact head 8667974 modulo the two known inherited reds, then (b) re-merge of #7165 + final green. Merging via ordinary protected squash on green + 0 unresolved threads.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 86679747a9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
EffortlessSteven
left a comment
There was a problem hiding this comment.
Review addendum (published head 2aa18d4, COMMENT)
Delta since reviewed 8667974: main-merge (origin/main d018a4f, incl. #7165 receipts + #6864). Receipt conflict resolved by regeneration: took main's verdict-corpus.json + page, re-ran refresh with this branch's tree. Result: verdict-corpus.json byte-identical to main (no-op, as expected for an xtask-only PR — no analyzer verdict moves); page delta vs main is exactly the branch's own 3 TypeScript trust bars regenerated from its dx-scoreboard.json. public-proof --check exits 0, so drift should now pass. Ranking remains expected-red (inherited, advisory, #7167).
Disposition: REVIEW_READY pending hosted green on exact head 2aa18d4 modulo the known inherited ranking red. Merging via ordinary protected squash on green + 0 unresolved threads.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2aa18d42fb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Confirmed findings
parse_corpus_argsispub(crate)and is now exercised by two new tests but not referenced by any non-test code in this PR; once--languageships, the entry point isverdict_corpus, which calls it directly. A future refactor that wants to move parsing to a different module will lose its only caller. Keeping itpub(crate)is correct; documenting thatverdict_corpusis the single production caller would help.- The diff inserts a RIPR-SPEC-0245 row inside a leftover git conflict block (<<<<<<< HEAD / >>>>>>> origin/main) and a competing RIPR-SPEC-0244 row from origin/main. The conflict must be resolved so the README points to one spec per language (0245 here, 0244 stays origin/main) with no merge markers left in tree. Otherwise doc-artifacts and traceability tools will see a malformed index until the next merge. (docs/specs/README.md:263).
- The 9 false-exposed cases (per PR head 27/62 actionable, 9/39 exposed) are spec-true under-credits, not labeler errors. Boundary cases (jest-shipping-boundary-unpinned, vitest-orders-label-snapshot) carry partial_truth with passing mutants matching the partial discriminated state. Acceptance is the spec cells, not oracle weakness.
- authored-ts-jest-alias tsconfig.json now declares baseUrl+paths { @/: [src/] } but the subject's jest.config.js uses moduleNameMapper to resolve @/lib; the static reader with resolve_tsconfig_paths=false cannot see this, so jest-spec0234-ex29 stays an abstention, which matches the row outcome; PR claim truth is preserved.
Verification questions
- Confirm trust metrics trust.verdict_corpus_typescript_* are wired to 'file:fixtures/typescript-verdict-corpus/expected/report.json#false_actionable_rate' but the corpus uses the per-case rows layout; report.json is regenerated, not pinned.
Refuted
- Native Buffer/ArrayBuffer/box-from-slice UB reappeared in the verdict_corpus diff.; refuted because: No Box::from(slice), no slice-to-Box, no JS interop, no SharedArrayBuffer in the diff; unsafe-review reports new_gaps=0, worsened=0; PR is JSON fixture data plus serde derive + PathBuf/Path joins + symlink_metadata checks. Earlier reviewed head refuted the same claim at this code path.
- PathBuf::from on iter.next() yields empty path, zero-length active view, stale-length UB on next resize.; refuted because: Rejected: every --language / --out path passes language_name, symlink_metadata, and corpus.json is_file before write_report runs; no buffer arithmetic touches the path. PR is JSON+serde+PathBuf, no JS/worker/ArrayBuffer/SharedArrayBuffer touchpoints.
- Hypothetical Box::from(slice)/Active-view/TypedArray/SharedArrayBuffer UB seam was raised against this PR; the diff is git-less (xtask CLI + committed TS fixtures), with no slice-to-Box, no SharedArrayBuffer, no worker transferables, so the seam is not present here.
- docs/specs/README.md diff contains unresolved git conflict markers around RIPR-SPEC-0244 vs -0245; HEAD's spec row is a duplicate of origin/main's until markers are resolved.
- Box::from(slice) / Box<[u8]>::from(slice) allocation failure could mask a stale-length active view on a verdict-corpus path.; refuted because: Diff adds no slice-to-Box conversion; render_report_json is the existing serde-derived path and is unchanged in shape. unsafe-review new_gaps=0, worsened=0.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
Parked follow-ups
- bless's remove_dir_all on a symlinked expected/ directory is not covered by reject_nested_symlinks; author flagged it as a follow-up, not a blocker for this PR.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0cbd8febd5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- language_option_parses_in_any_position_and_refuses_misuse covers 3 acceptances and 6 refusal shapes (leading --language with 4 subcommands, drop --language for check-all, double --language, --out on bless, missing --language arg, trailing second subcommand, check-all after --language); the parser is the only piece exercised and the gate depends on it.
Verification questions
- Confirm committed_typescript_corpus_is_valid_and_its_rows_agree_with_its_labels only asserts >=40 cases (real 101) and per-row outcome agreement; it does NOT check subjects/*.json sha stability, which is the other half of the spec's corpus-identity promise.
Refuted
- xtask/src/reports/verdict_corpus.rs adds a slice-to-Box conversion that allocation-fails to a zero-length active view; refuted because: Refuted: the diff has no Box<[u8]>::from(slice) or slice-to-Box conversion. New code is serde-derived JSON, PathBuf joins, String formatting, and fs::symlink_metadata. unsafe-review returns new_gaps=0.
- A xtask path selection could mask the TOPS of an active view or stale TypedArray length in a borrowed region.; refuted because: This PR touches no JS, no_workers, no transferables, no postMessage, no SharedArrayBuffer/ArrayBuffer. xtask paths flow through fs::symlink_metadata, is_file, PathBuf joins and serde-derived JSON only. unsafe-review sensor returns new_gaps=0, worsened=0.
Parked follow-ups
- verdict_corpus::language_flag only prints ' --language ' for non-Rust corpora. The drift hint noun-verb agreement ('re-bless the Rust corpus') is hard-coded for Rust but other languages still read naturally in the new dispatch path. Calibration: small UX cost, the language-specific drift message is already correct; not a defect.
- No sibling UT currently asserts that every subjects/*.json retained_files sha recomputes to the same value after a re-export; a future relabel that mutates a fixture silently bypasses the test layer. Treat as a follow-up rather than block the merge.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
# Conflicts: # docs/PUBLIC_PROOF.md
- The TypeScript scoreboard baseline entries now name their real producer (verdict-corpus:fixtures/typescript-verdict-corpus#<rate>), not the deleted expected/report.json, so the rates are not attributed to an impossible source and revision. - The Rust corpus keeps its spec-example ledger mandatory: validate, report, check and bless fail when fixtures/rust-verdict-corpus loses spec-coverage.toml instead of scoring rows without the floor. Ledgerless operation stays reserved for the non-Rust corpora. - The default corpus resolves through language_corpus_dir, so a symlinked rust-verdict-corpus is refused like a named one. - split refuses a dangling record symlink at its write destination instead of creating the file the link names outside the corpus. Local proof: fmt --check, clippy -p xtask -D warnings, cargo test -p xtask verdict_corpus (86) and dx_scoreboard (62), verdict-corpus validate/check/ check-all/check --language typescript green, public-proof --check green, policy cascade green.
…g split record The CI run failed creating the cases symlink: symlink(2) needs the parent directory, and without subjects/ the subject writes would fail before the run ever reaches the linked record. Create both dirs so the corpus splits normally until the dangling record refusal.
#6686 landed as the per-case corpus and renamed the TypeScript rules spec to RIPR-SPEC-0243. Take main's corpus, harness and docs; adapt rule 4 to the owner-path disposition (#5523) and rule 8 to per-row predicate activations (#5527); re-bless the TypeScript rows (still 21/101) and the scoreboard baseline; cite RIPR-SPEC-0243; update the preview audit fixture now that literal table rows bind; add the RIPR-SPEC-0243 traceability tests. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V
…alse verdicts 36 → 21 (#6798) * eval(verdict-corpus): one labeled corpus per language with --language `cargo xtask verdict-corpus validate|check|report` take `--language <rust|typescript|python|perl>` and read `fixtures/<language>-verdict-corpus`. corpus.json gains a `language` (absent = rust); a directory declaring another language is refused. Rust keeps its run and report paths and its report bytes; other languages nest under <language>/ and name their language in both report files. Separate directories keep TypeScript, Python and Perl label changes from re-blessing the Rust expected report (RIPR-SPEC-0233). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5 * docs(specs): renumber per-language verdict corpora spec to RIPR-SPEC-0238 RIPR-SPEC-0233 is taken by the Python oracle rules spec. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5 * eval(verdict-corpus): labeled TypeScript corpus across jest, vitest, mocha and node:test 101 authored one-line cases in fixtures/typescript-verdict-corpus, each labeled by running its StrykerJS mutants against the package's own tests (every single-line outcome replayed by hand), with at least one case per RIPR-SPEC-0234 acceptance example. Today: 27/62 false actionable, 9/39 false exposed, 0/39 false silent; the DX scoreboard gates all three. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5 * fix(verdict-corpus): keep TypeScript corpus prose inside the static vocabulary Renames ts-nodetest-footer-untested to ts-nodetest-footer-unasserted, rewords three reasonings and the SPEC labeling caveat, and formats the corpus test. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5 * fix(verdict-corpus): review fixes for the TypeScript corpus and harness - Refuse a case id that names a corpus language: Rust runs sit beside the other languages' run directories, so such a case would clear them. - The report.json drift error names the re-bless command with --language. - The committed TypeScript corpus test requires both truth directions. - The spec says scoreboard metrics read the committed report, and names the two subjects whose mutants were hand-applied. - SPEC.md records the full 178-mutant replay; three reasonings reworded. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5 * fix(verdict-corpus): make TypeScript boundary rewrites exact over every number Twelve behavior-preserving rewrites shifted an integer threshold (`age >= 18` -> `age > 17`) or negated a comparison, which changes results for fractional inputs or NaN. They now swap operands instead (`18 <= age`), take Stryker's mutant set for the new line, and record the outcome of replaying each mutant with the case's own test command. All 185 mutants were replayed again; no verdict or rate changed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5 * fix(typescript): RIPR-SPEC-0234 rules 3, 4 and 10 for expect identity and error payloads Rule 10: chai to.throw("msg") and node:assert throws/rejects with an anchored regex or a literal message object read exact_error_variant. Rule 4: an error payload that matches both the old and the new thrown message (or a bare Error class) reads broad_error for that change. Rule 3: a bare expect is read through the Jest/Vitest table only when it is the runner's expect (unbound, runner import, or Vitest context). TypeScript verdict corpus (#6686): false verdicts 36/101 -> 28/101. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * fix(typescript): RIPR-SPEC-0234 rules 5-7 for owner anchors and value observation Rule 5: a default import anchors a bare owner call (and is a non-shadowing binding) only when the owner is the module's default export. Owners exported by a separate `export default price;` or `export { price as default }` are now marked `exported_as_default` so that anchor is kept. Rule 6: in the value-family observation guard, owner and changed-token references (including the one-hop initializer) match whole identifiers: `address` no longer references `add`, `totalAmount` no longer contains `amount`; member segments (`ns.price(`) still count. The effect side-channel substring test is unchanged (Decision 4). Rule 7: the alias-rename local of an `import { owner as local }` that gives the test its ImportAliasOwnerCall relation counts as the owner in the value guard and its one-hop initializer. The relation arm and the guard share one predicate (`import_alias_owner_locals`). Default-import locals get no credit. Verdict corpus: ex16 exposed -> no_static_path, ex22 exposed -> weakly_exposed, ex18/ex19 weakly_exposed -> exposed; no other case moved. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * feat(typescript): RIPR-SPEC-0234 rule 8, mocked changed-line callee reads static_unknown When the changed line calls a symbol the owner file imports and every test file whose own candidates credit `exposed` mocks that module (mock specifier resolved from the test file, import source from the owner file; an unreadable specifier matches), an `exposed` ladder result reads `static_unknown`: reach Yes, observe/discriminate Unknown, `mocked_module`, `gap_state: static_limitation`, `typescript_mock_only_observer` and a `static_probe_unknown` stop reason. When no single file credits exposure on its own, any contributing file that mocks the callee is enough (fail closed). Otherwise a static limit is advisory: an `exposed` finding keeps `static_limit_kind`, the limit's missing text and gap_state but no longer carries `typescript_mock_only_observer`. Corpus: jest-spec0234-ex31 false_exposed -> abstained (limited); no other TypeScript corpus case changes outcome; goldens and fixtures unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * feat(typescript): read inline literal test.each tables one concrete case per row An array-form `test.each([...])` / `it.each([...])` whose rows are inline arrays of literals, with plain identifier callback parameters matching the row length, now yields one assertion per row: the callback body is re-parsed in place with every plain parameter read replaced by the row's literal, so input literals reach the RIPR-SPEC-0027 boundary witness and the expected literal is the assertion's expected value, exactly as a hand-written test per row. Assertion lines stay the original lines. Fail-closed (keeps the row-parameter assertions and typescript_table_case_unresolved): non-literal or variable tables, object rows, destructured/defaulted/rest parameters, row-length mismatch, a parameter used other than as a plain read inside ( or [, a re-declared or shadowed parameter, nested `function`, template substitutions, regex or division, more than 64 rows, or a body that does not re-parse. Tagged template tables stay unresolved. Corpus: jest-tier-test-each-table and vitest-orders-tier-each-boundary-pinned false_actionable -> ideal. Golden typescript_jest_vitest_assertion_facts re-blessed: no class moves; the table finding drops typescript_table_case_unresolved and names the row oracle, and the it.each mock finding names the row's literal payload. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * fix(typescript): thread rule-4 error facts and rule-7 owner through the rule-8 per-file check Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * eval(verdict-corpus): re-bless the TypeScript report after RIPR-SPEC-0234 fixes (36/101 -> 21/101) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * fix(typescript): Unicode-aware identifier boundaries and quoted message keys Review fixes from gemini-code-assist on #6798. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * fix(typescript): tighten rule-4 payload reading after review - node:assert regexes compare against String(err): `Name: message` for a built-in error class, the value for a thrown primitive; a regex without the prefix, or against a user class, no longer credits. - A dropped `;` or a trailing `// comment` no longer hides a message-only change; `\n`-style escapes decode, `\x`/`\u` leave the literal unread. - Only a top-level `message` key counts in an object payload. - `toThrow(Error)` credits only when exactly one side throws a primitive under the same guard (primitives on both sides fail it on both). - Anchored regexes with an unbounded wildcard run (`.*`, `[\s\S]+`) stay broad. - Literal tables fail closed on non-ASCII parameters or bodies. - End-to-end rule-4 tests through analyze_diff; RIPR-SPEC-0243 rule 4/10 wording now says "matches exactly one message", and rule 11 covers literal tables; audit case and changelog wording follow. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * fix(typescript): close review round two on the rule-4 guard - `toThrow(Error)` credits only when one side throws a primitive and the other a built-in error under the same guard (a variable or object throw is not known to be an `Error`); both directions tested. - node:assert regex payloads with flags other than `u` do not compare as plain text. - Anchored regexes with a repeated wildcard (`.{0,}`, `(?:.)*`, `\S+`) stay broad. - Test the non-ASCII table fail-close; spec rule 4/10/11 and changelog text match the implementation. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * chore(public-proof): refresh receipts for the TypeScript baseline The dx-scoreboard baseline moved (TypeScript false actionable 30.6%, false exposed 5.1%), so the public proof receipt and page follow it. The refresh also picks up main's Rust corpus row for `semver-op-greater-eq` (no_static_path -> static_unknown); that row is unchanged by this PR and no-ops once main refreshes it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * fix(typescript): close the Devin review on rules 7 and 8 - Rules 6/7: an owner or alias name spelled inside a string literal, template text or comment is not a reference. `p(150)` followed by `expect('p').toBe('p')` no longer reads `exposed`; the one-hop local initializer is masked the same way. - Rule 8: one changed-line callee must be mocked by every exposing test file. Files that mock different callees each run the other one for real, so `exposed` stands. - Spec rule 8 states both, plus the fail-closed basename match for an unresolved non-relative mock specifier. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * test(typescript): pin the table row re-parse fail-close A synthesized row callback that does not parse, or a callback at the start of a line, returns `None` and leaves the table unresolved; a well-formed callback keeps its assertion on the original line. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * fix(typescript): mask regex literals before owner-name matching A quote or `//` inside a regex literal (`/"/.test(quote(s))`, `/^https:\/\//`) opened a string or comment in the literal masker and hid a later owner reference, turning a real `exposed` into `weakly_exposed`. A `/` where an operand is expected now opens a regex literal (classes and escapes respected, flags masked); division stays code. Known remaining gap: JSX text with an apostrophe still opens a quote. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * fix(typescript): read a regex after an operand keyword `typeof /"/`, `await /'/`, `return /x/` and the like now open a regex literal in the masker; a member name with a keyword's spelling (`x.return / 2`) stays division. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V --------- Co-authored-by: Claude <noreply@anthropic.com>
Main landed the per-language harness (RIPR-SPEC-0245, #6686), the per-case corpus layout and the Python oracle rules as RIPR-SPEC-0238 (#6590). Take main's harness unchanged and migrate the Python corpus onto it: - `verdict-corpus split --language python`, then `bless`: no row moved; rates stay 15/32 false actionable, 6/29 false exposed, 0/29 false silent. - Add `mutated_line` to every rewrite mutant (the labeling script replaced the whole anchor line, so it is the trimmed replacement). - Cite RIPR-SPEC-0238 for the Python examples and RIPR-SPEC-0245 for the harness; case ids keep the `py-spec0233-` draft prefix that 0238 cites. - Python trust metrics read `verdict-corpus:` row sources; the dx-scoreboard source pin now counts eleven corpus rates. - Drop the superseded 0238 per-language spec, its traceability entry and changelog fragment; add the Python section and tests to RIPR-SPEC-0245. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fpkjmifu5rQMZrM2LZMu6B
…nd Hypothesis (#6597) * eval(verdict-corpus): one labeled corpus per language with --language `cargo xtask verdict-corpus validate|check|report` take `--language <rust|typescript|python|perl>` and read `fixtures/<language>-verdict-corpus`. corpus.json gains a `language` (absent = rust); a directory declaring another language is refused. Rust keeps its run and report paths and its report bytes; other languages nest under <language>/ and name their language in both report files. Separate directories keep TypeScript, Python and Perl label changes from re-blessing the Rust expected report (RIPR-SPEC-0233). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5 * docs(specs): renumber per-language verdict corpora spec to RIPR-SPEC-0238 RIPR-SPEC-0233 is taken by the Python oracle rules spec. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5 * eval(verdict-corpus): Python corpus across pytest, unittest and Hypothesis 61 authored cases in fixtures/python-verdict-corpus, each labeled by hand-applied mutant runs against the project's own tests: pytest asserts, parametrize, raises, fixtures, capsys, tmp_path and monkeypatch; unittest assert methods, mocks and mixins; Hypothesis properties; and one case per runnable RIPR-SPEC-0233 acceptance example. The DX scoreboard gates the Python false-actionable, false-exposed and false-silent rates. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fpkjmifu5rQMZrM2LZMu6B * eval(verdict-corpus): name the unreferenced-owner Python case without a prohibited term Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fpkjmifu5rQMZrM2LZMu6B * eval(verdict-corpus): pin the Python corpus in a test and traceability Flip the call-named-type case so the base calls content_kind and the edit renames it, allowlist the subject pyproject.toml markers, and relabel the RIPR-SPEC-0233 cases against the changed subject. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fpkjmifu5rQMZrM2LZMu6B * eval(verdict-corpus): keep patch context spaces in Python case diffs Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fpkjmifu5rQMZrM2LZMu6B * eval(verdict-corpus): relabel the Hypothesis abs case with boundary shifts and fix review findings The abs reference test draws no value in [-3, 3] but 0 under the derandomized profile, so shifting the rewritten boundary passes: the case is not discriminated. Rates move to 15/32, 6/29 and 0/29. Also: the per-library test now needs cases in both truth directions, the trust board summary counts the three new metrics, the 0238 index row shows a subcommand, and SPEC.md lists the RIPR-SPEC-0233 forms left out. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fpkjmifu5rQMZrM2LZMu6B * eval(verdict-corpus): check Python report rows against labels; list every left-out 0233 form Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fpkjmifu5rQMZrM2LZMu6B * eval(verdict-corpus): require a case for each runnable RIPR-SPEC-0233 example Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fpkjmifu5rQMZrM2LZMu6B * docs(changelog): cite #6597 and #6686 in the Python and per-language corpus fragments Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fpkjmifu5rQMZrM2LZMu6B * docs(public-proof): refresh the scoreboard receipt with the Python trust rates The drift check requires metrics/public-proof/dx-scoreboard.json to match metrics/dx-scoreboard/baseline.json; regenerated with `cargo xtask public-proof --refresh-receipts`. PUBLIC_PROOF.md gains the three Python rows (46.9%, 20.7%, 0.0%). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fpkjmifu5rQMZrM2LZMu6B --------- Co-authored-by: Claude <noreply@anthropic.com>
…corpus (#6599, #6600, #6601) (#6750) * docs(specs): RIPR-SPEC-0233 to 0237 for Python, TypeScript, Perl, grip class order and pilot ranking Five proposed specs for verdict behavior that had no spec: - 0233 Python oracle and reach rules - 0234 TypeScript oracle and reach rules - 0235 Perl fact-packet classification - 0236 seam grip classification order (opaque, activation_unknown) - 0237 pilot seam ranking Each makes current correct behavior normative, removes measured over-credit, adds credit only where an existing spec already promises it, and lists acceptance examples for the verdict corpus. Older specs (0005, 0009, 0027, 0028, 0064, 0097, 0098, 0099, 0102, 0104, 0107, 0108, 0230) get pointer amendments, with in-place corrections where their text contradicted the code. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): 0237 Also-in-this-function count covers the ranked set, opaque included The #6294 thread counts the same population as top_actionable_seams and actionable_seams_total so the note agrees with the list beside it. The coordinator adopted that; decision 2 and examples 21-22 now follow it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): fix exact-head review findings on 0098, 0230 and 0233-0237 0237 test mapping no longer claims examples 21-22 fail on #6294 head; 0098 states today's substring match and points to 0234 rule 6 as proposed; 0230 amendment marks owner-unresolved opaque reach as proposed in 0236; 0237 lists review comments as a for_seam caller; session-only references removed from the new specs. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): amend RIPR-SPEC-0233 with #6603 mutation evidence Corpus cases in #6597 show assertAlmostEqual, the callable form of assertRaisesRegex and pytest.raises(...) as exc compared through exc.value each fail on a non-equivalent mutant, so the spec's weakly_exposed reading was a false actionable verdict. Rules 12 to 14 credit those shapes; Decisions 4, 7 and 9 record the reversal and the evidence. Example 11 already reads static_unknown and is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): 0233 rule 10 ignores an equal sibling value; 0234 default-import non-goal A changed dict or list value literal no longer counts when the assertion subscripts a sibling key or index (example 22 gains the equal-value case). 0234's default-import non-goal now matches example 17. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): 0233 rule 14 says how the promoted raises item credits The promoted with item, its body and the bound == comparison form one assertion, so a message-only change (the #6597 ex21 shape) credits through the owner call. A comparison inside the with body does not promote. Example 34 states today's reported kind; test mapping and corpus coverage wording corrected. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): 0233 rule 12 credits only the default assertAlmostEqual tolerance An explicit places= or delta= reads relational_check / weak, since static evidence cannot tell whether the band excludes the pre-change value. Decision 6 records the matching pytest.approx limit as tracked work. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): 0233 rule 12 names the positional tolerance arguments Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): Devin review fixes for 0233 rule 1 and 0234 rule 8 0233 rule 1 ignores whitespace only outside string literals, and Decision 3 records why a class-only raises is not credited. 0234 rule 8 reads module mocks per test file, so an unmocked crediting file keeps exposed (example 33). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): Codex review fixes for 0233 rules 13-14 and 0235; 0234 mock scope notes 0233: callable-form pytest.raises forwards match= to the callable, so it reads broad_error; rule 14 promotes only value-preserving reads of the bound exception (len(str(exc.value)) does not). 0235 Decision 10 records why a partial packet keeps its advisory suggested location. 0234 rule 8 states config-level mocks are not modelled; Decision 5 names the per-file reading. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): 0233 mixed == chains and alternation patterns read weak A comparison chain mixing == with another operator and a match= literal with an unescaped | no longer earn exact credit. Rule 12 records the sub-tolerance limit it shares with pytest.approx. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): 0233 required evidence and example 34 callable case Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): 0234 class payload credits only a changed class; 0233 review nits 0234 rule 4: a PascalCase class payload to toThrow credits exact only when the class is a changed token; a message-only change reads broad_error (example 13). 0233: bracketed | is literal; rule 12 lists only as credit gained. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): 0233 message arguments observe nothing; 0234 self-comparing and substring toThrow payloads read weak Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): exception assertions keep their call text; message-only toThrow payloads read weak 0233: rule 4 reads named operands and keeps whole call text for exception assertions (rules 13 and 14); rule 2 resolves a pattern name bound once to a literal; rule 5 adds bare except:; rule 12 needs a self receiver and treats None tolerance as absent; rule 14 blocks promotion after a mutation through the bound exception. 0234: rule 4 demotes class and substring string payloads only on a message-only change; rule 9 rationale corrected. 0097 amendment matches. 0235 Decision 8 records the omitted-limit gap (#6606). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): 0234 rule 10 credits literal chai and node:assert message checks The TypeScript verdict corpus (#6686) showed chai to.throw("literal"), node:assert throws with an anchored regex and rejects with a literal message object each catching every mutant of their line, so the broad_error reading was a false actionable verdict. Rule 4's message-only guard still applies. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * docs(specs): 0234 rule 4 message-only means the thrown message argument A message-only change is now a throw line whose differing tokens lie in the thrown message argument; the old message joins adjacent + literals and a non-literal operand reads broad; bare Error keeps credit when the old side throws a primitive. 0097 amendment and rule 10 guard follow. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9sAeSuy7rGhZRqN3dTxaH * fix(python): follow RIPR-SPEC-0233 verdict rules found by the Python corpus (#6599, #6600, #6601) Credit now comes from one assertion that observes the owner, with every alignment gate read on that assertion (rule 4). A self-comparison, a mixed == chain or a match= pattern that accepts any message no longer credits exposed; the error-path gate takes only an exact error variant; a method owner is credited through a bound receiver, not its class token; and an expected value computed through the changed owner does not credit. New rules 15 to 19 in RIPR-SPEC-0233: an and chain asserts each conjunct, CONSTANT - 1 is a static boundary operand, an assertion on the stream, file, mock call or field a changed line writes observes it (new alignment_reason strong_oracle_observes_changed_effect_channel), and Hypothesis @given parameters are generated inputs rather than fixtures, with @example rows read as parametrize cases. Python verdict corpus (#6597 head a216a08): 21 wrong verdicts -> 5. Remaining: #6733 (interprocedural) and four #6603 cases. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PmU1fjKwzXeGTi8ya5FamB * fix(python): close review findings on the verdict rules (#6750) - split_top_level matched separators on bytes but sliced strings, which panicked on a non-ASCII identifier in an assertion; compare bytes. - An `and` chain's gate text keeps only its strongest conjuncts, so a weak conjunct on the owner no longer borrows a strong one's credit. - Effect channels: a method owner's call must be on a local bound to its class; a free function must be module-identified; the file or mock read must be the local passed as the changed parameter; a capture must come after an owner call; only assert_called_once_with pins a mock call. - Rule 2 reads a match pattern bound once to a literal and the expected_regex= keyword; rule 19 needs a real @example row, and positional @example values fill the rightmost parameters. - Per-test alignment facts are computed once per finding, not per assertion and branch (24 assertions per test: 48.5s -> 15.0s; base 29.2s). RIPR-SPEC-0233 updated to match. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PmU1fjKwzXeGTi8ya5FamB * Update Python repair-card inventory pin for rule 6 The error-path fixture now aligns orthogonally, so the direct-aligned inventory drops from 6 to 5 and orthogonal rises from 11 to 12. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PmU1fjKwzXeGTi8ya5FamB * fix(python): keep rule 4 credit inside the behavior family; order effect reads (#6750) Review of the merge with #5572 found that rule 4's per-assertion units ignored the RIPR-SPEC-0224 family filter. A `pytest.raises` whose body calls the owner could therefore credit a changed `return`. Units now pass `focus.admits`. The credited assertion no longer overwrites the related-test row, so the row and its `test_oracle` evidence keep naming the selected assertion. Also: - An effect read (captured output, field, file, mock) credits only when it starts at or after the test's first owner call (Devin). - An all-`==` chain is weak only when every link repeats one token sequence: `fee(10) == fee(10) == 30` pins again (Devin). - New pins: the wrong-family case, rule 4 assertion order, the message and mixed-chain exclusions, `assertEqual(x, x)`, and a capture bound after the call. The #5572 property-limit test now carries an `@example` row, so it still discriminates the selection. - Spec 0238: rule 4 reporting text, the rule 16 Non-Goals carve-out, Implementation Mapping. Fragment renamed to 6750-*.md and reworded. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PmU1fjKwzXeGTi8ya5FamB * Satisfy clippy nonminimal_bool in the effect-read ordering check Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PmU1fjKwzXeGTi8ya5FamB * docs(spec-0238): state the effect-read ordering rule in rule 17 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PmU1fjKwzXeGTi8ya5FamB --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Steven · project thread
Summary
Before: nothing measured how often ripr's TypeScript verdicts are wrong, or in which direction.
After:
fixtures/typescript-verdict-corpusholds 101 authored TypeScript cases across jest, vitest, mocha with chai and node:test. It covers RIPR-SPEC-0243 acceptance examples 1 to 32, 34 and 35; example 33 is #7099. Every truth label comes from running the case's mutants (StrykerJS, or hand-applied for two subjects) against the package's own tests, and all mutant outcomes were replayed independently.cargo xtask verdict-corpus check --language typescriptscores the per-case rows, and the DX scoreboard gates the three rates.The false verdicts are filed as #6654 (beyond those already in #6594).
Swarm / Source Boundary
ripr-swarmSource-of-truth Links
Proposal: n/a
Spec: RIPR-SPEC-0244 (per-language corpora; renumbered from 0238, which #6590 took for Python). Cases cite RIPR-SPEC-0243 (TypeScript rules, #6590); case ids containing
spec0234predate that renumber.ADR: n/a
Plan item: verdict-corpus full coverage (TypeScript lane)
Governing issue or accepted claim: #6654 (findings), #6594, #7099 (example 33)
Acceptance delta (one sentence): a runtime-labeled TypeScript corpus scores ripr's TS verdicts and gates their false rates.
Candidate Relationships
Candidate branch:
claude/project-thread-t1kfjiStack parent or prerequisite PR: #6590 and #6658 have both merged; this branch has merged main and adopted the per-case layout (
split+bless, no row moved).Proposed replacement of PR: none
Scope
authored-ts-*, MIT OR Apache-2.0), our own code, no vendored source; each carriesripr.tomlenabling TypeScript.validate,check,report,blessandsplittake--language <language>(any position) and act onfixtures/<language>-verdict-corpus. Only Rust corpora (an allow-list of the non-Rust languages) keep the cargo-command and Rust test-name label rules; other languages need one test title perfailing_test. Drift and--outrefusals name thebless --languagecommand.trust.verdict_corpus_typescript_false_{actionable,exposed,silent}read the committed rows throughverdict-corpus:sources; baseline entries added.Scope Classification
Production delta:
Evidence/support delta:
Single acceptance criterion:
cargo xtask verdict-corpus check --language typescriptreproduces the committed rows.Non-goals:
Support-tier Impact
Policy Impact
Proof
On head
1adf9ef:Negative experiment (earlier head): raising the expected false-exposed numerator to 10/39 failed the gate with
regressed trust.verdict_corpus_typescript_false_exposed: baseline 0.2308 -> current 0.2564.Review of record: see the PR comment.
Claim Boundary
May claim: on these authored cases, ripr's TypeScript verdicts are wrong at the rates above. Must not claim: a rate for real-world TypeScript code.
Rollback
Revert the squash commit; the corpus is evidence only.
Spec-Test-Code Traceability
xtask/src/reports/verdict_corpus_tests.rs(committed_typescript_corpus_is_valid_and_its_rows_agree_with_its_labels,language_names_its_own_corpus_directory_and_nothing_else,only_a_rust_corpus_holds_labels_to_cargo_commands_and_rust_test_names,language_option_parses_in_any_position_and_refuses_misuse,a_report_and_its_rebless_hint_name_the_corpus_language)xtask/src/reports/verdict_corpus.rs,xtask/src/command.rsfixtures/typescript-verdict-corpus/expected/rows/trust.verdict_corpus_typescript_*Static Language Check
killed,survived,untested,proven, andadequate.CI Economics
n/a
🤖 Generated with Claude Code
https://claude.ai/code/session_01UJ4NsYR4vJfn1cC6yRC1N5