Add weighted readiness scoring engine and team readiness API#11
Draft
Copilot wants to merge 11 commits into
Draft
Add weighted readiness scoring engine and team readiness API#11Copilot wants to merge 11 commits into
Copilot wants to merge 11 commits into
Conversation
Agent-Logs-Url: https://github.com/Hackaton-NeuroAgents/olympicmind/sessions/85ba7362-6cde-408f-b6d8-2eca09d6ebb5 Co-authored-by: unoursmarin <20300991+unoursmarin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Hackaton-NeuroAgents/olympicmind/sessions/85ba7362-6cde-408f-b6d8-2eca09d6ebb5 Co-authored-by: unoursmarin <20300991+unoursmarin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Hackaton-NeuroAgents/olympicmind/sessions/85ba7362-6cde-408f-b6d8-2eca09d6ebb5 Co-authored-by: unoursmarin <20300991+unoursmarin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Hackaton-NeuroAgents/olympicmind/sessions/85ba7362-6cde-408f-b6d8-2eca09d6ebb5 Co-authored-by: unoursmarin <20300991+unoursmarin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Hackaton-NeuroAgents/olympicmind/sessions/85ba7362-6cde-408f-b6d8-2eca09d6ebb5 Co-authored-by: unoursmarin <20300991+unoursmarin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Hackaton-NeuroAgents/olympicmind/sessions/85ba7362-6cde-408f-b6d8-2eca09d6ebb5 Co-authored-by: unoursmarin <20300991+unoursmarin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Hackaton-NeuroAgents/olympicmind/sessions/85ba7362-6cde-408f-b6d8-2eca09d6ebb5 Co-authored-by: unoursmarin <20300991+unoursmarin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Hackaton-NeuroAgents/olympicmind/sessions/85ba7362-6cde-408f-b6d8-2eca09d6ebb5 Co-authored-by: unoursmarin <20300991+unoursmarin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Hackaton-NeuroAgents/olympicmind/sessions/85ba7362-6cde-408f-b6d8-2eca09d6ebb5 Co-authored-by: unoursmarin <20300991+unoursmarin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Hackaton-NeuroAgents/olympicmind/sessions/85ba7362-6cde-408f-b6d8-2eca09d6ebb5 Co-authored-by: unoursmarin <20300991+unoursmarin@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement core scoring engine for Olympic readiness
Add weighted readiness scoring engine and team readiness API
May 18, 2026
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.
This PR introduces the core readiness scoring flow requested in the issue: compute athlete readiness from recent audit logs (0–100) and expose team-level readiness as the average of member scores.
Core scoring engine
backend/readiness_engine.pyto compute athlete readiness from the latest 3 daily logs.rpe,fatigue) →40%stress,sleep) →40%logistics,environment) →20%Team readiness API
GET /api/v1/teams/{team_id}/readinessteam_id,team_name,member_count)readiness_score(team average)404when the team is not found.Readiness data source
backend/data/readiness_audit_logs.jsoncontaining team membership and audit logs used by the scoring engine.Focused backend coverage
backend/tests/test_readiness_engine.pywith tests for: