MEDIUM story-organizational-hierarchy-structure-management-organization-admin-005 8 pts

User Story

As a Organization Administrator
I want to view and resolve cases where the same activity has been registered by multiple coordinators across different chapters
So that Bufdir reports and internal statistics are not inflated by duplicate activity counts

Acceptance Criteria

  • Given activities have been registered across multiple chapters, when the duplicate detector runs, then it surfaces records where the same peer mentor, date, activity type, and approximate duration appear in more than one chapter's activity log
  • Given a duplicate set is detected, when I open the duplicate review interface, then I see a side-by-side comparison of the duplicate records including which coordinator submitted each
  • Given I review a duplicate pair, when I mark one record as the canonical version, then the other is flagged as a duplicate and excluded from statistics and Bufdir aggregations
  • Given a resolution has been applied, when I view statistics for the affected chapter, then the activity count correctly reflects only the canonical record
  • Given the duplicate detector has not been run recently, when I trigger a manual scan from the admin portal, then results appear within 30 seconds for datasets up to 10,000 activity records

Business Value

Duplicate activity records directly inflate Bufdir grant reporting figures, which is a compliance and funding risk. For NHF with 1,400 local chapters and complex multi-chapter membership, duplicate registrations are a systemic and foreseeable problem. Early detection and resolution maintains data integrity and protects the organizations' credibility with Bufdir and other funders.