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 changed arm head also emits a return_value probe for the unchanged arm body, which reads as a gap #7074
The test every_log_level_spelling_parses pins each spelling. ripr emits two findings on the line:
match_arm"warning" | "warn" =>: exposed. This one is correct.
return_valueOk(LogLevel::Warn): weakly_exposed, with "No complete owner-bound propagation witness found for returned value".
The edit touches only the arm head. The return value Ok(LogLevel::Warn) is byte-identical on both sides, so it is not changed behavior. Because it projects to a gap, the line reads as a false actionable.
Proposed fix (narrow). In the canonical-shape branch of probes_for_file (analysis/probes/diff.rs), drop a ReturnValue shape when both of these hold:
its text lies wholly in the text the old and new lines share (the edit never touches it);
another canonical shape on the same line holds the whole edit, so the line keeps a probe for what changed.
If no other shape holds the edit, nothing is dropped.
Spec: RIPR-SPEC-0122 (probe before/after). Product contract: "for the behavior changed in this diff".
What landed: probes/diff.rs drops a return value that lies wholly in text the old and new lines share, but only when another shape on the line holds the whole edit, so a changed line keeps a probe. The corpus row config-log-level-warn moves gap -> credited (ideal); five rows lose one scored finding with no verdict change. Required check (Ripr Rust Small Result) green on the merged head via Routed Rust Small run 37851499066; review threads from the codex, CodeRabbit and Graphite rounds addressed and resolved; cargo xtask verdict-corpus check no drift on the merged base (350 cases, 59/350 false).
Residual: none known for this claim; the clause-specific behaviors are pinned by the four probes/diff.rs tests named in the PR body.
Activity
False verdicts: drop an unchanged arm return value (#7074); field pin…
EffortlessSteven commentedon Oct 8, 2026
Landed in #7084 (squash merge 0340bf5, PR head 62371b0).
What landed:
probes/diff.rsdrops a return value that lies wholly in text the old and new lines share, but only when another shape on the line holds the whole edit, so a changed line keeps a probe. The corpus rowconfig-log-level-warnmoves gap -> credited (ideal); five rows lose one scored finding with no verdict change. Required check (Ripr Rust Small Result) green on the merged head via Routed Rust Small run 37851499066; review threads from the codex, CodeRabbit and Graphite rounds addressed and resolved;cargo xtask verdict-corpus checkno drift on the merged base (350 cases, 59/350 false).Residual: none known for this claim; the clause-specific behaviors are pinned by the four
probes/diff.rstests named in the PR body.Next owner: issue owner may close as delivered.
EffortlessSteven commentedon Oct 17, 2026
Closing as delivered by #7084 (merged as 0340bf5); the delivery comment records no residual.
Generated by Claude Code