pub struct NextWorkCandidate {
pub work: WorkItem,
pub score: f64,
pub critical: bool,
pub criticality: Option<f64>,
pub criticality_basis: CriticalityBasis,
pub drag_hours: f64,
pub total_float_hours: f64,
pub downstream_count: usize,
pub capability_match: bool,
pub reasons: Vec<String>,
}Expand description
Ready task with a reproducible priority score and its explanation.
Fields§
§work: WorkItemWork-item projection represented by this result.
score: f64Ranking score composed from criticality, priority, downstream work, and float.
critical: boolWhether total float is within numerical tolerance of zero.
criticality: Option<f64>Fraction of sampled schedules in which each activity is critical.
criticality_basis: CriticalityBasisProjection the score’s criticality component used.
drag_hours: f64Hours the deterministic finish would move if this task took no time: zero off the critical path, and negative when shortening it would delay the finish. Reported for context; the score does not use it.
total_float_hours: f64Delay available without postponing project completion.
downstream_count: usizeCount of distinct transitively dependent work items.
capability_match: boolWhether this work fits the requested capability set.
reasons: Vec<String>Human-readable factors contributing to this recommendation.