Skip to content

Conversation

@ShravyaKudlu
Copy link

@ShravyaKudlu ShravyaKudlu commented Dec 6, 2025

Description

Implements # (WBS) phase 4 class performance report
Result:
Adds backend capability for generating aggregated class-level reports,
enabling educators and PMs to compare and visualize group-level performance trends.

Returns: class-level analytics including per-student summaries.
Implement aggregation queries using existing performance and activity datasets.
Ensure efficient data retrieval through pagination or caching for large classes.

Main changes explained:

Features:

Aggregate performance data for all students within a class or group.
Include metrics such as:

  1. Average completion rate per topic.
  2. Distribution of performance levels (e.g., % Excellent / Satisfactory / Needs Improvement).
  3. Comparative analytics between students.
  4. Support filtering by subject, time range, or educator.

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. log as admin user
  5. Endpoint: GET /educator/reports/class/:classId
  6. Verify the functionality

Screenshots or videos of changes:

image

Note:

For Now I have used the build in database and connected to my mongoDB schema and with my own DB name added
Please update mongoDB add your schema and test it.

@ShravyaKudlu ShravyaKudlu marked this pull request as ready for review December 12, 2025 23:46
@ShravyaKudlu ShravyaKudlu changed the title Shravya - phase4 - Class Performance Report Shravya - Phase4 - Class Performance Report Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants