medium complexity extracted Encrypted Assignment Management Confidence: 100%
6
Components
58
Shared
0
User Stories
Yes
Analyzed

Description

This feature tracks the cumulative number of assignments completed by each peer mentor within a given period and automatically flags when honorarium thresholds are reached. Blindeforbundet operates a tiered honorarium model where a base office honorarium is triggered at the 3rd completed assignment, and a higher rate applies from the 15th onward. The system maintains accurate per-peer-mentor counters, displays current progress toward thresholds, and surfaces alerts to coordinators when tier boundaries are crossed so that honorarium payments can be processed correctly.

User Flow

Assignment Count & Honorarium Threshold Tracking user flow
Click to expand

Analysis

Business Value

Manual tracking of assignment counts against honorarium tiers is error-prone and creates administrative burden for coordinators who must cross-reference spreadsheets against completed assignments. Incorrect honorarium payments — either overpayments or missed payments — damage trust with peer mentors and create financial reconciliation issues. Automating threshold tracking eliminates this error category entirely and ensures peer mentors are correctly compensated without coordinator intervention. It also provides peer mentors with transparent visibility into their own progress toward the next honorarium tier, which serves as a motivational feedback loop that encourages continued engagement with the platform.

Implementation Notes

The honorarium_thresholds table stores per-local-association threshold configurations (e.g., tier 1 at 3 assignments, tier 2 at 15), allowing each association to define their own rules. Assignment completion events increment a counter in a dedicated materialized view or denormalized counter column for performance. Threshold crossings emit notification events routed through the push notification service to alert coordinators. The peer mentor's home screen or statistics widget displays current assignment count and distance to next threshold. Counter logic must be idempotent and handle edge cases such as assignment cancellation after counting. The feature should integrate with the reimbursement and reporting pipeline so threshold data is available for Bufdir and internal accounting exports.

Components (64)

User Interface (2)

Service Layer (2)

Data Layer (1)

Infrastructure (1)

Shared Components

These components are reused across multiple features

Infrastructure (20)

User Stories

No user stories have been generated for this feature yet.