Skip to content

TRI-06 | Composite Aggregator #33

Description

@Manish281005

Task: TRI-06 | Composite Aggregator

Estimated Hours: 1h | Owner: MK | Priority: P0 | Status: Completed

Definition:
Combines all five triage axis scores with their respective weights (deadline 30%, authority 25%, sentiment 20%, decay 15%, action 10%) into a single composite priority score 0–100. Maps to priority level (CRITICAL/HIGH/MEDIUM/LOW) and approval mode.

Acceptance Criteria:

  • Accepts list of AxisScore objects
  • Computes: composite = sum(axis.raw_score * axis.weight); result 0.0–1.0
  • Scales to 0–100 for display
  • Priority mapping: 75–100 → CRITICAL, 50–74 → HIGH, 25–49 → MEDIUM, 0–24 → LOW
  • Approval mode: CRITICAL → GATE, others → SUGGEST
  • Returns TriageResult with all axes + composite score + priority + approval_mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions