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.
66 lines
1.2 KiB
Markdown
66 lines
1.2 KiB
Markdown
---
|
|
name: 'step-01-assess'
|
|
description: 'Load an existing output for editing'
|
|
nextStepFile: './step-02-apply-edit.md'
|
|
---
|
|
|
|
# Step 1: Assess Edit Target
|
|
|
|
## STEP GOAL:
|
|
|
|
Identify which output should be edited and load it.
|
|
|
|
## 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:
|
|
|
|
- 🎯 Ask the user which output file to edit
|
|
- 🚫 Do not edit until target is confirmed
|
|
|
|
## EXECUTION PROTOCOLS:
|
|
|
|
- 🎯 Follow the MANDATORY SEQUENCE exactly
|
|
|
|
## CONTEXT BOUNDARIES:
|
|
|
|
- Available context: existing outputs
|
|
- Focus: select edit target
|
|
- Limits: no edits yet
|
|
|
|
## MANDATORY SEQUENCE
|
|
|
|
**CRITICAL:** Follow this sequence exactly.
|
|
|
|
### 1. Identify Target
|
|
|
|
Ask the user to provide the output file path or select from known outputs.
|
|
|
|
### 2. Load Target
|
|
|
|
Read the provided output file in full.
|
|
|
|
### 3. Confirm
|
|
|
|
Confirm the target and proceed to edit.
|
|
|
|
Load next step: `{nextStepFile}`
|
|
|
|
## 🚨 SYSTEM SUCCESS/FAILURE METRICS:
|
|
|
|
### ✅ SUCCESS:
|
|
|
|
- Target identified and loaded
|
|
|
|
### ❌ SYSTEM FAILURE:
|
|
|
|
- Proceeding without a confirmed target
|