-
Notifications
You must be signed in to change notification settings - Fork 0
/
calc_sim_precision_schema.yml
82 lines (78 loc) · 2.17 KB
/
calc_sim_precision_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
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
# Schema for scout precisions in individual matches
#
# Example:
#
# {
# "scout_name": "Bob",
# "match_number": 5,
# "team_number": "1040",
# "alliance_color_is_red": true,
# "sim_precision": 5.7567,
# "auto_speaker_precision": 5.8753,
# "auto_amp_precision": 5.7164,
# "tele_amplified_precision": 3.9882,
# "tele_unamplified_speaker_precision": 6.8448,
# "tele_amp_precision": 0.8378
# }
#
# Contains information about this schema file
schema_file:
# Version of schema file
# Incremented every merged schema change
version: 2
# TODO: Add collection information to data fields once schema is implemented
# Non-calculated data
data:
scout_name:
type: str
match_number:
type: int
team_number:
type: str
alliance_color_is_red:
type: bool
calculations:
sim_precision:
type: float
requires:
unconsolidated_totals.auto_speaker: 5
unconsolidated_totals.auto_amp: 2
unconsolidated_totals.tele_amplified: 5
unconsolidated_totals.tele_unamplified_speaker: 2
unconsolidated_totals.tele_amp: 1
tba_datapoints: [teleopTotalNotePoints, autoTotalNotePoints]
auto_speaker_precision:
type: float
requires:
unconsolidated_totals.auto_speaker: 5
tba_datapoints: [autoSpeakerNotePoints]
auto_amp_precision:
type: float
requires:
unconsolidated_totals.auto_amp: 2
tba_datapoints: [autoAmpNotePoints]
tele_amplified_precision:
type: float
requires:
unconsolidated_totals.tele_amplified: 5
tba_datapoints: [teleopSpeakerNoteAmplifiedPoints]
tele_unamplified_speaker_precision:
type: float
requires:
unconsolidated_totals.tele_unamplified_speaker: 2
tba_datapoints: [teleopSpeakerNotePoints]
tele_total_speaker_precision:
type: float
requires:
unconsolidated_totals.tele_total_speaker_notes: 1
tba_datapoints: [teleopSpeakerNoteCount, teleopSpeakerNoteAmplifiedCount]
tele_amp_precision:
type: float
requires:
unconsolidated_totals.tele_amp: 1
tba_datapoints: [teleopAmpNotePoints]
trap_precision:
type: float
requires:
unconsolidated_totals.trap: 5
tba_datapoints: [endGameNoteInTrapPoints]