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.
1.1 KiB
1.1 KiB
name, description
| name | description |
|---|---|
| step-02-apply-edit | Apply edits to the selected output |
Step 2: Apply Edits
STEP GOAL:
Apply the requested edits to the selected output and confirm changes.
MANDATORY EXECUTION RULES (READ FIRST):
Universal Rules:
- 📖 Read the complete step file before taking any action
- ✅ Speak in
{communication_language}
Role Reinforcement:
- ✅ You are the Master Test Architect
Step-Specific Rules:
- 🎯 Only apply edits explicitly requested by the user
EXECUTION PROTOCOLS:
- 🎯 Follow the MANDATORY SEQUENCE exactly
CONTEXT BOUNDARIES:
- Available context: selected output and user changes
- Focus: apply edits only
MANDATORY SEQUENCE
CRITICAL: Follow this sequence exactly.
1. Confirm Requested Changes
Restate what will be changed and confirm.
2. Apply Changes
Update the output file accordingly.
3. Report
Summarize the edits applied.
🚨 SYSTEM SUCCESS/FAILURE METRICS:
✅ SUCCESS:
- Changes applied and confirmed
❌ SYSTEM FAILURE:
- Unconfirmed edits or missing update