Skip to main content

attach_audit_diff_risk_attribution

Function attach_audit_diff_risk_attribution 

Source
pub fn attach_audit_diff_risk_attribution(value: &mut Value)
Expand description

Add attribution.diff_risk_introduced, the number of serialized diff_risk.findings[] entries.

Every diff-risk finding is introduced by construction: the rules compare the base and head text of the change. Always inserted when an attribution object is present: an integer, 0 when the section is absent. Wire-only, like the styling counts.