HIGH story-duplicate-activity-detection-organization-admin-003 13 pts
13
Story Points
High
Priority
Duplicate Activity Detection
Feature

User Story

As a Organization Administrator
I want the duplicate detection system to check for matching activities registered by coordinators in other chapters that a shared peer mentor belongs to
So that I can prevent the same peer mentor's single activity from being credited to multiple chapters simultaneously, which would violate Bufdir reporting rules

Acceptance Criteria

  • Given a peer mentor belongs to two chapters, When a coordinator in Chapter B registers an activity that matches an existing activity logged under Chapter A for the same peer mentor, Then a duplicate warning is triggered referencing the Chapter A record
  • Given a cross-chapter duplicate warning is displayed, When the coordinator views it, Then the warning clearly states which chapter the conflicting record belongs to and who registered it
  • Given a peer mentor is added to a second chapter, When the system processes the new chapter affiliation, Then a retroactive duplicate check runs against the peer mentor's existing activity history and flags any cross-chapter conflicts into the deduplication queue
  • Given the coordinator resolves a cross-chapter duplicate by selecting 'Assign to My Chapter', Then the activity is credited only to the coordinator's chapter and a log entry is written for audit purposes
  • Given cross-chapter detection runs, When no conflicts are found, Then no warnings are shown and the submission proceeds normally

Business Value

Multi-chapter membership is a structural reality in NHF with 1,400 chapters. Without cross-chapter duplicate detection, a single peer mentor's one-hour activity could appear in Bufdir reports for five separate chapters, quintupling the apparent volume of peer support delivered. This misrepresentation risks NHF's credibility with Bufdir and could constitute a funding compliance violation.