feat(rapport): Sprint 3.6b — RapportPage enrichie, exercices dynamiques, production modèle, sélecteur NCLC
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8390e8b873
commit
f51caa1b75
22 changed files with 1357 additions and 297 deletions
|
|
@ -31,7 +31,17 @@ export function getReport(id: string): Promise<Report> {
|
|||
message: 'Simulation en cours — rédaction pas encore corrigée.',
|
||||
}
|
||||
}
|
||||
return { ...state.rapport, simulation_id: state.simulation_id }
|
||||
// Sprint 3.6b : reconstruit un Report en combinant rapport (correction) +
|
||||
// exercices / modele (jobs fire-and-forget, portés par SimulationState).
|
||||
return {
|
||||
...state.rapport,
|
||||
simulation_id: state.simulation_id,
|
||||
erreurs_codes: state.rapport.erreurs_codes as Report['erreurs_codes'],
|
||||
exercices: state.exercices as Report['exercices'],
|
||||
exercices_status: state.exercices_status,
|
||||
modele: state.modele as Report['modele'],
|
||||
modele_status: state.modele_status,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue