pub fn authored_dedup_key(
family: &str,
target_ref: &str,
action: ActionKind,
content: &str,
) -> StringExpand description
The dedup key of an AUTHORED executable proposal: dedup_key plus a
fingerprint of the proposal’s content. An analyzer finding is “this
target has this kind of problem”, so content is rightly excluded; an
authored lesson is “do this”, and two different lessons on the same
entity must both reach the queue while the same lesson re-authored must
not. The fingerprint is over the normalized text — case-folded, non-
alphanumerics dropped, whitespace collapsed — so a rewording that changes
no word is the same lesson and one that changes a word is a new one (a
semantic near-duplicate is the reviewer’s call, not this key’s).