-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
154 lines (130 loc) · 3.61 KB
/
config.yaml
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
events:
query:
start_date: "2009-01-01"
end_date: "2024-07-31"
per_page: 1000
distance_categories:
- sprint
- standard
sports:
- swim
# - t1
- bike
# - t2
- run
program_names:
- Elite Men
- Elite Women
# todo: currently not supported:
# - U23 Men
# - U23 Women
# - Junior Men
# - Junior Women
# get_events_categories()
category_ids:
# 483: Age-Group Event
# 612: Arena Games Finals
# 610: Arena Games Series
# 340: Continental Championships
# 341: Continental Cup
# 342: Continental Junior Cup
# 623: Continental Para Cup
# 477: Development Regional Cup
343: Major Games
# 344: Multisport Series
# 352: Qualification Event
345: Recognised Event
346: Recognised Games
# 347: Regional Championships
# 640: T100 Triathlon World Tour
624: World Championship Finals
351: World Championship Series
# 348: World Championships
349: World Cup
# 631: World Indoor Cup
# 449: World Para Cup
# 448: World Para Series
# 350: World Paratriathlon Event
# using own names, and merging categories together
event_category_mapping:
343: games
345: games
346: games
624: wcs
351: wcs
349: world-cup
# 348: world-champs
# get_events_specifications()
specification_ids:
# - [ 453, "Aquabike" ]
# - [ 353, "Aquathlon" ]
# - [ 408, "Cross Duathlon" ]
# - [ 354, "Cross Triathlon" ]
# - [ 355, "Duathlon" ]
# - [ 356, "Long Distance Triathlon" ]
- [ 357, "Triathlon" ]
# - [ 595, "Winter Duathlon" ]
# - [ 358, "Winter Triathlon" ]
expected_distances:
sprint:
- [ 700, 800 ]
- [ 18, 23 ]
- [ 4.5, 5.5 ]
standard:
- [ 1400, 1600 ]
- [ 36, 44 ]
- [ 9, 11 ]
pack_duration_s: 10
# fallback when no info about wetsuit: possibility to download pictures of the event, and manually validate wetsuit: yes/no
label_manually: false
mean_computation:
use_best_in_each_sport: true
# todo: be careful with indexes: python indexing starts at 0
# 5th-9th
i_first: 4
i_last: 9
# top3
# i_first: 0
# i_last: 3
# top10
# i_first: 0
# i_last: 10
cleaning:
n_results_min: 25
min_duration_s: 180
swim_diff_percent_max: 0.22
sport_outliers: # todo: decide how many outliers to remove. 0=swim, 1=bike, 2=run
- [ 0, 54303 ] # 2012 Mooloolaba ITU Triathlon World Cup
- [ 1, 165396 ] # 2022 World Triathlon Cup Pontevedra
- [ 1, 184828 ] # 2024 World Triathlon Cup Hong Kong
- [ 2, 80081 ] # 2014 Tongyeong ITU Triathlon World Cup
- [ 2, 78733 ] # 2014 New Plymouth ITU Triathlon World Cup
- [ 2, 153774 ] # 2021 World Triathlon Cup Huatulco
- [ 2, 109660 ] # 2017 Madrid ITU Triathlon World Cup
- [ 2, 45133 ] # 2011 Huatulco ITU Triathlon World Cup
# - [2, 175736] # 2023 World Triathlon Cup Brasilia
remove_extreme_diffs: false
quantile_min: 0.1
quantile_max: 0.9
t1_with_wetsuit:
# ignore the last5
i_first: 0
i_last: -5
events:
max_year_gap: 15
min_t1_delta: 4
max_t1_delta: 16
wm:
# model: "1d"
model: "1.5d"
# model: "2d"
helmet: 3
min_t1: 10 # how many seconds should t1 last (without wetsuit)? The larger, the less important the part of "static phase putting the helmet on", therefore the more focus on the running part.
wetsuit_benefit_from_recurring_events:
max_year_gap: 5
min_wet_gain_percent: -5
max_wet_gain_percent: 14
n_repetitions_min: 4
seasons:
suffix: "w"
# suffix: "m"