Session 28: Parlay builder, line movement tracker, book comparison — 3 features, zero credits (1623 tests)

This commit is contained in:
Kev
2026-06-13 12:37:08 -04:00
parent 66fafd8429
commit c48aecd510
23 changed files with 1567 additions and 1 deletions
+4
View File
@@ -346,6 +346,10 @@ async function getOdds(sport) {
movements = moveResult.movements || [];
const cascadeResult = await cascade.detectScratches(sport, props);
scratchedPlayers = cascadeResult.scratchedPlayers || [];
// Session 28 — append a rolling line-history snapshot per prop so the
// sparkline / biggest-movers views have data. Redis-only, free.
const lineSnapshots = require('./lineSnapshotService');
await lineSnapshots.recordSnapshots(sport, props);
} catch (e) {
// Non-fatal — log and continue
console.warn('[VYNDR] Movement/cascade detection error:', e.message);