pub struct TriageScoringOptions {
pub base_score_weight: f64,
pub unblock_boost_weight: f64,
pub quick_win_weight: f64,
pub unblock_threshold: usize,
pub quick_win_max_depth: usize,
pub enable_label_health: bool,
pub enable_claim_penalty: bool,
pub enable_attention_score: bool,
pub claimed_by_agent: Option<String>,
pub weight_adjustments: HashMap<String, f64>,
}Expand description
Configurable scoring weights and thresholds for triage (matches Go’s TriageScoringOptions).
Fields§
§base_score_weight: f64Weight for the base ImpactScore (0.0–1.0).
unblock_boost_weight: f64Weight for the unblock boost (0.0–1.0).
quick_win_weight: f64Weight for the quick-win bonus (0.0–1.0).
unblock_threshold: usizeIssues that unblock >= this many others get the full unblock boost.
quick_win_max_depth: usizeIssues with critical_depth <= this are considered quick wins.
enable_label_health: boolPhase 2: incorporate label health into scoring.
enable_claim_penalty: boolPhase 3: penalize items already claimed by another agent.
enable_attention_score: boolPhase 4: boost items in high-attention labels.
claimed_by_agent: Option<String>Identity of the agent computing triage (for claim penalty).
weight_adjustments: HashMap<String, f64>Per-component weight multipliers from feedback (e.g. “PageRank” -> 1.1). Applied multiplicatively to the default component weights during scoring.
Trait Implementations§
Source§impl Clone for TriageScoringOptions
impl Clone for TriageScoringOptions
Source§fn clone(&self) -> TriageScoringOptions
fn clone(&self) -> TriageScoringOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TriageScoringOptions
impl Debug for TriageScoringOptions
Source§impl Default for TriageScoringOptions
impl Default for TriageScoringOptions
Auto Trait Implementations§
impl Freeze for TriageScoringOptions
impl RefUnwindSafe for TriageScoringOptions
impl Send for TriageScoringOptions
impl Sync for TriageScoringOptions
impl Unpin for TriageScoringOptions
impl UnsafeUnpin for TriageScoringOptions
impl UnwindSafe for TriageScoringOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more