View Statistics Aligned with Bufdir Reporting Categories
The statistics dashboard should include a view or section that maps the peer mentor's logged activities to the Bufdir reporting categories. This provides transparency about how their work translates into the official reporting that supports the organization's government grant applications. The bufdir-alignment-validator component ensures that statistics data is consistent with Bufdir's expected format and that category mappings are correctly applied. This is particularly relevant for peer mentors who want to understand the formal value of their contribution.
User Story
Acceptance Criteria
- Given I am viewing my statistics, When I navigate to the Bufdir alignment section, Then I see my activities grouped by Bufdir-compliant categories with counts per category
- Given my logged activities use organization-specific terminology, When displayed in the Bufdir view, Then they are correctly mapped to the appropriate Bufdir category labels
- Given an activity I logged does not map to a recognized Bufdir category, When it is displayed, Then it appears in an 'Other' or 'Unclassified' bucket and I am informed it may not appear in official Bufdir reports
- Given the Bufdir category mappings are updated by the organization administrator, When I next view the dashboard, Then the categorization reflects the updated mappings
- Given I am using a screen reader, When I navigate the Bufdir category breakdown, Then each category is announced with its name and count in a logical reading order
Business Value
Bufdir compliance is identified as a MUST HAVE requirement across all four organizations. Exposing Bufdir category alignment in the peer mentor's personal view creates a feedback loop that improves data quality at the point of entry — mentors who understand how their activities are categorized are more likely to log them correctly, reducing manual correction work for coordinators and administrators during reporting periods.
Components
- Bufdir Alignment Validator service
- Stats Repository data
- Stats Data Models data
- Supabase Stats Database Views infrastructure
- Coordinator Statistics BLoC infrastructure
- Personal Statistics Service service