You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
rust: a same-named function's test in another module lends exposed to an unasserted match arm #6537
ripr: exposed, confidence 1.00. "Related tests appear to reach delay: cold_delay, warm_delay". warm_delay calls coolers::delay, not heaters::delay.
Truth (rustc 1.95, cargo test): mutants 6, 0, 1 of the Warm arm in heaters all pass. Not discriminated. This is a false exposed.
The control that isolates the shape: the same module with a uniquely named enum and function (trap-delay-sibling-arm, Tier::Basic edited and only Tier::Premium asserted) reads weakly_exposed, which is correct. So the credit comes from the other module's test, not from the shared Enum:: qualifier alone.
A test whose call resolves to a different module's function (by path, use, or super::) does not relate to the owner and supplies neither reach nor a confirming token. With only cold_delay left, the arm reads weakly_exposed.
Goal it hurts
Trustworthy verdicts. A false exposed hides a real gap.
The corpus case behind this issue is trap-delay-borrowed-same-name in #6687. It is now isolated: heaters has no test of its own, so the only credit available comes from coolers::tests::warm_delay, which calls coolers::delay. ripr still reports exposed on main 6487826 (corpus 2026-10-04.8). The sibling-arm shape on its own now has a separate case, trap-quota-sibling-arm, which reads correctly as weakly_exposed.
Acceptance addition: the fix should graduate this shape into fixtures/evidence-promotion-honesty-corpus/corpus.json with must_not_promote, per AGENTS.md "graduate confirmed false-promotions". The verdict-corpus case trap-delay-borrowed-same-name (#6687) should then flip from false_exposed to ideal.
fixtures/rust-verdict-corpus/expected/rows/trap-delay-borrowed-same-name.json on main no longer reads exposed. It reads static_unknown, outcome abstained, so the false exposed is gone.
The shape is graduated into fixtures/evidence-promotion-honesty-corpus/corpus.json as rust_same_name_sibling_file_test (and rust_same_name_qualified_other_module), both with must_not_promote.
Residual: the case abstains rather than reading the ideal gap. If that matters, file it as a separate abstention-narrowing issue.
Activity
EffortlessSteven commentedon Oct 5, 2026
The corpus case behind this issue is
trap-delay-borrowed-same-namein #6687. It is now isolated:heatershas no test of its own, so the only credit available comes fromcoolers::tests::warm_delay, which callscoolers::delay. ripr still reportsexposedon main 6487826 (corpus2026-10-04.8). The sibling-arm shape on its own now has a separate case,trap-quota-sibling-arm, which reads correctly asweakly_exposed.Generated by Claude Code
EffortlessSteven commentedon Oct 5, 2026
Acceptance addition: the fix should graduate this shape into
fixtures/evidence-promotion-honesty-corpus/corpus.jsonwithmust_not_promote, per AGENTS.md "graduate confirmed false-promotions". The verdict-corpus casetrap-delay-borrowed-same-name(#6687) should then flip fromfalse_exposedtoideal.Generated by Claude Code
test(corpus): add false-credit traps and negative controls (#6687)
EffortlessSteven commentedon Oct 17, 2026
Closing as fixed on main.
exposedto an unasserted match arm #6537 in its description: a test that only calls another module's same-named function is dropped from related tests and no longer lends owner credit.fixtures/rust-verdict-corpus/expected/rows/trap-delay-borrowed-same-name.jsonon main no longer readsexposed. It readsstatic_unknown, outcomeabstained, so the falseexposedis gone.fixtures/evidence-promotion-honesty-corpus/corpus.jsonasrust_same_name_sibling_file_test(andrust_same_name_qualified_other_module), both withmust_not_promote.Residual: the case abstains rather than reading the ideal
gap. If that matters, file it as a separate abstention-narrowing issue.Generated by Claude Code