Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    risk: &ProjectRisk,
    signals: &[RiskSignal],
    delta: Option<i32>,
    policy: Option<&Policy>,
) -> Result<PolicyDecision, RustinelError>
Expand description

Evaluate the policy against the project risk, the collected signals, and an optional score delta (present for diff, absent for check).