-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsample.config.json
55 lines (55 loc) · 2.1 KB
/
sample.config.json
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
{
"projection_path": "projections.csv",
"player_path": "player_ids.csv",
"boom_bust_path": "boom_bust.csv",
"late_swap_path": "live_lineups.csv", // if using late swap opto or late swap sims
"contest_structure_path": "contest_structure.csv",
"live_contest_path" : "contest-standings-153575808.csv", // if using late swap sims
"at_most": {
"1": [
["Bam Adebayo", "Dewayne Dedmon"],
["Josh Giddey", "Shai Gilgeous-Alexander", "Kenrich Williams"]
],
"2": [["Jaylen Brown", "Jayson Tatum", "Marcus Smart", "Al Horford"]]
},
"at_least": {
"1": [
[
"Giannis Antetokounmpo",
"Stephen Curry",
"Shai Gilgeous-Alexander"
],
["Dejounte Murray", "Bam Adebayo", "Bobby Portis"]
],
"2": [
[
"Devin Booker",
"Terry Rozier",
"Kyle Lowry",
"Paul George",
"Jaden Ivey"
]
]
},
"matchup_limits": {
"SAC@IND": 3
},
"matchup_at_least": {
"DAL@HOU": 2
},
"team_limits": {
"DAL": 2,
"WAS": 4
},
//custom correlations allow for specific player -> position and player -> player assignments
"custom_correlations" : {
"Trae Young": {"Opp PG": 0.69, "SG":-0.42},
"Damian Lillard" : {"Giannis Antetokounmpo": 0.25}
},
"global_team_limit": 5,
"projection_minimum": 15,
"randomness": 100,
"default_var" : 0.3, //default variance to be multiplied by fpts to create a stddev if one is not provided
"max_pct_off_optimal" : 0.15, // max percentage a lineup's projection can be from the optimal. note that for late swap sims, there is a backoff factor if the function can't find a valid lineup that fits within the fpts constraint
"min_lineup_salary" : 49000 // minimum salary that is allowed to be generated for the contest sim. note that for late swap sims, there is a backoff factor if the function can't find a valid lineup that fits within the fpts constraint
}