/**
 * RIE Strategy: MLB
 *
 * FanGraphs sabermetrics (wRC+, FIP, xFIP, Statcast, projections) +
 * phase-aware baseball modeling (F5, bullpen, context) +
 * PIFF props + DVP + Grok analysis + RAG.
 * Pitcher-batter matchups, bullpen separation, and park/weather context are key.
 */

import { BaseStrategy } from './base.strategy';
import { StrategyProfile } from '../types';

export class MlbStrategy extends BaseStrategy {
  league = 'mlb';

  getProfile(): StrategyProfile {
    return {
      league: 'mlb',
      signalWeights: {
        grok: 0.20,
        mlb_matchup: 0.25,
        mlb_phase: 0.25,
        fangraphs: 0.15,
        piff: 0.05,
        dvp: 0.05,
        rag: 0.05,
      },
      requiredSignals: ['grok'],
      optionalSignals: ['mlb_matchup', 'mlb_phase', 'fangraphs', 'piff', 'dvp', 'rag'],
      ragQueries: [
        'baseball pitcher batter matchup park factor run scoring model',
        'MLB first five innings starting pitcher bullpen weather travel rest injuries model',
        'MLB sabermetrics FanGraphs wRC+ FIP expected run production',
      ],
    };
  }
}
