-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.ab.template.json
More file actions
115 lines (115 loc) · 3.34 KB
/
config.ab.template.json
File metadata and controls
115 lines (115 loc) · 3.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"league": {
"league_id": 123456,
"team_id": 1,
"year": 2025,
"swid": null,
"espn_s2": null
},
"profile": "default",
"simulation": {
"simulations": 5000,
"seeds": 7,
"alpha_config": {
"alpha_blend": 0.35,
"candidate_pool_size": 30
}
},
"evaluation": {
"weeks": "auto",
"use_context": false,
"lookback_seasons": 3,
"include_playoffs": false
},
"gate": {
"min_weekly_points_lift": 0.0,
"max_downside_probability": 0.4,
"min_successful_seeds": 3
},
"alpha_provider": {
"class_path": "alpha_sim_framework.providers:CompositeSignalProvider",
"kwargs": {
"enable_extended_signals": false,
"weights": {
"projection_residual": 0.2,
"usage_trend": 0.12,
"injury_opportunity": 0.14,
"matchup_unit": 0.1,
"game_script": 0.09,
"volatility_aware": 0.08,
"weather_venue": 0.07,
"market_sentiment_contrarian": 0.07,
"waiver_replacement_value": 0.06,
"short_term_schedule_cluster": 0.07,
"player_tilt_leverage": 0.08,
"vegas_props": 0.1,
"win_probability_script": 0.07,
"backup_quality_adjustment": 0.04,
"red_zone_opportunity": 0.05,
"snap_count_percentage": 0.05,
"line_movement": 0.04
},
"caps": {
"player_tilt_leverage": [-1.5, 1.5],
"vegas_props": [-2.0, 2.0],
"win_probability_script": [-1.75, 1.75],
"backup_quality_adjustment": [-0.75, 0.75],
"red_zone_opportunity": [-1.25, 1.25],
"snap_count_percentage": [-1.0, 1.0],
"line_movement": [-1.25, 1.25],
"total_adjustment": [-6.0, 6.0],
"matchup_multiplier": [0.85, 1.15]
},
"runtime": {
"timeout_seconds": 2.0,
"retries": 1,
"cache_ttl_seconds": 300,
"degrade_gracefully": true,
"as_of_utc": null,
"as_of_date": null,
"as_of_snapshot_enabled": true,
"as_of_snapshot_root": "data/feed_snapshots",
"as_of_mode": "backward_publish_time",
"as_of_missing_policy": "degrade_warn",
"as_of_publication_lag_seconds_by_feed": {
"weather": 3600,
"market": 7200,
"odds": 3600,
"injury_news": 10800,
"nextgenstats": 21600
},
"as_of_max_staleness_seconds_by_feed": {
"weather": 21600,
"market": 172800,
"odds": 21600,
"injury_news": 172800,
"nextgenstats": 604800
},
"as_of_snapshot_retention_days": 365,
"canonical_contract_mode": "warn",
"canonical_contract_domains": ["weather", "market", "odds", "injury_news", "nextgenstats"]
},
"external_feeds": {
"enabled": true,
"endpoints": {
"weather": "${WEATHER_ENDPOINT}",
"market": "${MARKET_ENDPOINT}",
"odds": "${ODDS_ENDPOINT}",
"injury_news": "${INJURY_ENDPOINT}",
"nextgenstats": "${NEXTGENSTATS_ENDPOINT}"
},
"api_keys": {
"weather": "${WEATHER_API_KEY}",
"market": "${MARKET_API_KEY}",
"odds": "${ODDS_API_KEY}",
"injury_news": "${INJURY_API_KEY}",
"nextgenstats": "${NEXTGENSTATS_API_KEY}"
},
"static_payloads": {}
}
}
},
"output": {
"output_dir": "reports/ab_runs"
}
}