Skip to main content

same_reason

Function same_reason 

Source
pub fn same_reason(a: &str, b: &str) -> bool
Expand description

Whether two reviewers gave the same reason for declining an issue.

Looser than same_point, because a reason is one sentence and two models write it with almost no words in common. On the run that prompted this, one wrote “Same root cause and same fix as #485” and the other “This is another manifestation of #485’s unrecorded same-peer reset”: two shared words, and the reader saw the same point twice. Citing the same issue is the signal that survives the rewording.