Project

General

Profile

Actions

User Story #591

open

Feature #533: Authentication Hum Rahi

EPIC #587: Epic: E2.2 AI-Powered Server Processing

User Story 3 (BE/AI): Automatic Severity & Response Logic

Added by Islam Mansoori about 1 month ago. Updated 18 days ago.

Status:
To Do
Priority:
low
Assignee:
-
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
(Total: 0:00 h)

Description

User Story 3 (BE/AI): Automatic Severity & Response Logic

Story: As a Police Dispatcher, I want the system to assign a severity level and recommended action, so that I can prioritize life-threatening situations first.

  • In-Scope:
    • Rule-based logic combined with AI to assign levels (Critical/High/Medium/Low).
    • Mapping categories to actions (e.g., "Accident" + "High Severity" → "Dispatch Ambulance").
  • Out-of-Scope: Automatic dispatching of units (recommendation only).
  • Acceptance Criteria (AC):
    1. Reports with "Fire" or "Injury" detected must be flagged as "Critical" automatically.
    2. System must generate a text-based "Recommended Action" for the Police Panel.
  • Validation Rules:
    • Severity levels restricted to predefined Enum: [CRITICAL, HIGH, MEDIUM, LOW].
  • Error Messages:
    • "Heuristic Error: Unable to determine response action."
  • DoD: Logic verified by stakeholders (Police/Akram), code reviewed for edge cases.

Subtasks 4 (0 open4 closed)

Task #629: Define Severity Enum and Mapping RulesBackend completedzaid ali

Actions
Task #630: Implement AI-Based Severity Mapping LogicBackend completedzaid ali

Actions
Task #631: Update Incident Entity with Severity and ActionBackend completedzaid ali

Actions
User Story #632: Validate Rule Logic with Stakeholder RequirementsBackend completedzaid ali

Actions
Actions

Also available in: Atom PDF