Sessions 7e+7f: Grade adapter, normalize consolidation, computeFeatures, analyzeViaEngine1, scan/parlay migrated to engine1
This commit is contained in:
+16
-2
@@ -411,8 +411,22 @@ No circular imports detected.
|
||||
### ARCH — Architecture
|
||||
|
||||
- **[ARCH-1] Dual grading paths.** Severity: Medium. Status:
|
||||
**PARTIAL in Session 7e** — Step 1 of the migration (the adapter)
|
||||
is complete and tested. Steps 2-6 deferred per ESCAPE HATCH.
|
||||
**PARTIAL in Session 7f** — /api/scan/parlay migrated to engine1.
|
||||
/api/analyze/{prop,batch} stayed on legacy after Escape Hatch
|
||||
(integration test asserts specific legacy-engine grade values).
|
||||
/api/bets/* doesn't touch the legacy path at all (verified by grep).
|
||||
Dead-code removal blocked because /api/analyze still imports
|
||||
analyzeProp.
|
||||
|
||||
Adapter, computeFeaturesForProp, and analyzeViaEngine1 helpers all
|
||||
shipped and tested. Future migration can flip the analyze route any
|
||||
time the integration test mocks are updated to drive the new
|
||||
upstream chain.
|
||||
|
||||
ORIGINAL Session 7e ARCH-1 narrative below for history.
|
||||
|
||||
**PARTIAL (carried from 7e)** — Step 1 of the migration (the adapter)
|
||||
is complete and tested. Steps 2-6 partially executed.
|
||||
Step 1 ✓ — `src/utils/gradeAdapter.js` translates engine1 output
|
||||
into the legacy shape `DemoScan` reads. 26 unit
|
||||
tests covering grade collapse, confidence math,
|
||||
|
||||
Reference in New Issue
Block a user