feat: Calculer automatiquement les moyennes après chaque saisie de notes
Some checks failed
CI / Backend Tests (push) Has been cancelled
CI / Frontend Tests (push) Has been cancelled
CI / E2E Tests (push) Has been cancelled
CI / Naming Conventions (push) Has been cancelled
CI / Build Check (push) Has been cancelled

Les enseignants ont besoin de moyennes à jour immédiatement après la
publication ou modification des notes, sans attendre un batch nocturne.

Le système recalcule via Domain Events synchrones : statistiques
d'évaluation (min/max/moyenne/médiane), moyennes matières pondérées
(normalisation /20), et moyenne générale par élève. Les résultats sont
stockés dans des tables dénormalisées avec cache Redis (TTL 5 min).

Trois endpoints API exposent les données avec contrôle d'accès par rôle.
Une commande console permet le backfill des données historiques au
déploiement.
This commit is contained in:
2026-03-30 06:22:03 +02:00
parent b70d5ec2ad
commit b7dc27f2a5
786 changed files with 118783 additions and 316 deletions

View File

@@ -0,0 +1,165 @@
# Problem Solving Session: {{problem_title}}
**Date:** {{date}}
**Problem Solver:** {{user_name}}
**Problem Category:** {{problem_category}}
---
## 🎯 PROBLEM DEFINITION
### Initial Problem Statement
{{initial_problem}}
### Refined Problem Statement
{{refined_problem_statement}}
### Problem Context
{{problem_context}}
### Success Criteria
{{success_criteria}}
---
## 🔍 DIAGNOSIS AND ROOT CAUSE ANALYSIS
### Problem Boundaries (Is/Is Not)
{{problem_boundaries}}
### Root Cause Analysis
{{root_cause_analysis}}
### Contributing Factors
{{contributing_factors}}
### System Dynamics
{{system_dynamics}}
---
## 📊 ANALYSIS
### Force Field Analysis
**Driving Forces (Supporting Solution):**
{{driving_forces}}
**Restraining Forces (Blocking Solution):**
{{restraining_forces}}
### Constraint Identification
{{constraints}}
### Key Insights
{{key_insights}}
---
## 💡 SOLUTION GENERATION
### Methods Used
{{solution_methods}}
### Generated Solutions
{{generated_solutions}}
### Creative Alternatives
{{creative_alternatives}}
---
## ⚖️ SOLUTION EVALUATION
### Evaluation Criteria
{{evaluation_criteria}}
### Solution Analysis
{{solution_analysis}}
### Recommended Solution
{{recommended_solution}}
### Rationale
{{solution_rationale}}
---
## 🚀 IMPLEMENTATION PLAN
### Implementation Approach
{{implementation_approach}}
### Action Steps
{{action_steps}}
### Timeline and Milestones
{{timeline}}
### Resource Requirements
{{resources_needed}}
### Responsible Parties
{{responsible_parties}}
---
## 📈 MONITORING AND VALIDATION
### Success Metrics
{{success_metrics}}
### Validation Plan
{{validation_plan}}
### Risk Mitigation
{{risk_mitigation}}
### Adjustment Triggers
{{adjustment_triggers}}
---
## 📝 LESSONS LEARNED
### Key Learnings
{{key_learnings}}
### What Worked
{{what_worked}}
### What to Avoid
{{what_to_avoid}}
---
_Generated using BMAD Creative Intelligence Suite - Problem Solving Workflow_