Commit graph

8 commits

Author SHA1 Message Date
7cac057062 feat(eo): align correction EO on 3.6a format + Deepgram token + T1 presentation generation
Sprint 4a:
- correctEO aligned on CorrectionRapport format (revelation, diagnostic, criteres, conseil_nclc, erreurs_codes)
- nclc_cible parameter (default 9, accepts 9|10)
- Fire-and-forget modele + exercices jobs (same pattern as EE)
- EO-specific DeepSeek prompt (oral transcript tolerance, 4 TCF criteria)
- Gemini transcribeAudio: 30s timeout + 1 retry
- POST /presentations/generate: 5-field questionnaire → DeepSeek generates oral presentation (~220-260 words, NCLC 7-8)
- Migration 006_sprint_4a_eo.sql (documentation only — no audio storage)

Sprint 4b:
- POST /transcriptions/token: Deepgram temporary API key (600s TTL)
- Removed audio storage pipeline (audioStorage.ts, XOR validation, 14MB limit)
- Backend receives transcript text only, no audio files
- TD-10/TD-11 resolved (Sprint 3.6c), TD-16/17/18 resolved (4b cleanup)

Typecheck: OK · Tests: 241/241 

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 05:04:26 +03:00
14d8d73991 fix(corrections): race condition modele_status + logs diagnostiques
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 20:13:56 +03:00
63bc43ddcf feat(corrections): Sprint 3.6a — nouveaux prompts + taxonomie erreurs + génération parallèle
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 17:27:29 +03:00
ecb478e10c fix(simulations): déplacer incrément simulations_used après correction réussie (Option B) 2026-04-21 02:01:13 +03:00
6ca2412304 feat(corrections): enrichir réponse avec simulation_id 2026-04-20 04:31:57 +03:00
f08be960b0 fix: imports ESM avec extensions .js — NodeNext compatible Render — 117/117 tests 2026-04-17 01:04:16 +03:00
f4f8c55ce7 feat: POST /corrections/eo — Gemini transcription + DeepSeek EO — 84/84 tests 2026-04-16 17:43:46 +03:00
77d5a8373e feat: POST /corrections/ee — DeepSeek rapport complet — 73/73 tests 2026-04-16 17:14:45 +03:00