c8c0962e56
Core intelligence for BetonBLK prop analysis: - POST /api/analyze/prop — single prop analysis - POST /api/analyze/batch — multi-prop analysis for parlay scanner - 6-step pipeline: season avg → recent form → situational splits → cross-book lines → kill conditions → grade (A/B/C/D) - 6 kill conditions: low_minutes, small_sample, b2b_high_usage, blowout_risk, split_conflict, no_opponent_data - Composite scoring with confidence (30-95), bonuses, penalties - Added spreads market to Odds API fetch (zero extra credits) - Full reasoning output with step-by-step breakdown 36 new tests (unit + integration), 128 total across all features Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
306 B
JavaScript
12 lines
306 B
JavaScript
require('dotenv').config();
|
|
const express = require('express');
|
|
const oddsRoutes = require('./routes/odds');
|
|
const analyzeRoutes = require('./routes/analyze');
|
|
|
|
const app = express();
|
|
app.use(express.json());
|
|
app.use('/api/odds', oddsRoutes);
|
|
app.use('/api/analyze', analyzeRoutes);
|
|
|
|
module.exports = app;
|