Repository navigation
feat(mentors): admin mentor engagement report - #374
Merged
Merged
Conversation
GET /api/admin/mentor-engagement/<event_id> joins mentor check-ins with mentor-panel activity per mentor, ranked most engaged first, with a suggested Heart Certificate level. Adds api/mentors/tests to CI. Co-Authored-By: Claude Fable 5.2 <[email protected]>
| @auth.require_org_member_with_permission("volunteer.admin", req_to_org_id=getOrgId) | ||
| def mentor_engagement_api(event_id): | ||
| try: | ||
| return get_mentor_engagement(event_id), 200 |
Co-Authored-By: Claude Fable 5.2 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
GET /api/admin/mentor-engagement/<event_id>(volunteer.admin).rank) and carry a suggestedlevelfor Heart Certificates:engaged= checked in and at least 5 panel actions on at least 1 team. It is a suggestion only; nothing issues a certificate.unmatched.api/mentors/teststo the CI test loop (it was not being run).Notes
Testing
pytest api/mentors/tests— 22 passed. Not yet run against real fall-2026 data.🤖 Generated with Claude Code