Project

General

Profile

Actions

User Story #593

open

Feature #533: Authentication Hum Rahi

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

User Story 5 (BE): Geospatial Duplicate Detection

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:

0%

Estimated time:
(Total: 0:00 h)

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):
    1. System must search the database for existing reports within X meters and Y minutes.
    2. 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.

Subtasks 5 (5 open0 closed)

Task #638: Implement Distance Calculation LogicTo DoYousuf Khan

Actions
Task #639: Implement Time Window FilteringTo DoYousuf Khan

Actions
Task #640: Implement Duplicate Detection QueryTo DoYousuf Khan

Actions
Task #641: Persist Duplicate Flag in Incident EntityTo DoYousuf Khan

Actions
Task #642: Optimize Spatial Query PerformanceTo DoYousuf Khan

Actions
Actions

Also available in: Atom PDF