-
Notifications
You must be signed in to change notification settings - Fork 0
/
calc_tba_team_schema.yml
54 lines (49 loc) · 1 KB
/
calc_tba_team_schema.yml
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
# Used for calculating team data based on tba data
#
# Example:
#
# {
# "team_number": "9760",
# "team_name": "DreamcRushers",
# "foul_cc": 3.2848,
# "leave_successes": 4,
# "lfm_leave_successes": 2
# }
#
# Contains information about this schema file
schema_file:
# Version of schema file
# Incremented every merged schema change
version: 1
data:
team_number:
type: str
# Special calculations that can't be grouped into other calcs
calculations:
team_name:
type: str
# Foul calculated contribution
foul_cc:
type: float
# Calcs based on counting team in match bools
counts:
leave_successes:
type: int
tim_fields:
tba_tim.leave: true
lfm_leave_successes:
type: int
tim_fields:
tba_tim.leave: true
leave_success_rate:
type: float
tim_fields:
tba_tim.leave: true
spotlight_successes:
type: int
tim_fields:
tba_tim.spotlight: true
lfm_spotlight_successes:
type: int
tim_fields:
tba_tim.spotlight: true