Actions
User Story #593
openFeature #533: Authentication Hum Rahi
EPIC #587: Epic: E2.2 AI-Powered Server Processing
User Story 5 (BE): Geospatial Duplicate Detection
Start date:
Due date:
% Done:
0%
Estimated time:
(Total: 0:00 h)
Reviewer:
Description
User Story 5 (BE): Geospatial Duplicate Detection¶
Story: As a System Admin, I want to flag reports coming from the same location within a short window, so that the Police Panel isn't cluttered with 50 reports for the same pothole.
-
In-Scope:
- Spatial query to identify reports within a 50-meter radius.
- Time-window check (10-minute threshold).
- Flagging logic (marking as
Is_Duplicate = True).
- Out-of-Scope: Automatically deleting reports (flags only).
-
Acceptance Criteria (AC):
- System must search the database for existing reports within X meters and Y minutes.
- Duplicate reports must be linked to the "Original" report ID.
-
Validation Rules:
- Radius: 50 meters.
- Time: 10 minutes.
- DoD: Spatial index optimized for performance, SQL/NoSQL query benchmarked.
Actions