12 - Publication corrections

Workflow

1. Créer test avec résultats masqués 2. Élèves passent le test 3. Prof analyse résultats 4. Prof publie corrections

Méthode publishCorrections()

$testCode->update([
    'allow_individual_results' => true,
    'corrections_published_at' => now()
]);

3 niveaux visibilité

allow_individual
corrections_published
Élève voit

0

NULL

Rien

1

NULL

Score

1

NOW()

Score + Corrections

Interface admin

Non publié:

⏳ Corrections non publiées
[Publier les corrections]

Publié:

✅ Publié le 20/01 14:30
[Masquer les corrections]

Last updated