technicallyfit 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,136 @@
1
+ # Generated by scripts/generate-sdks.mjs from apps/api-node/src/platform/engine/protocol-registry.reference.ts, apps/api-node/src/platform/engine/instrument-registry.reference.ts.
2
+ # Do not edit by hand: run `npm run sdk:generate` at the repository root.
3
+
4
+ """The protocol and instrument registries the API checks measurements against."""
5
+
6
+ from typing import Any
7
+
8
+ PROTOCOL_KEY_PATTERN = "^[a-z][a-z0-9_]{0,63}$"
9
+ OWNER_PROTOCOL_PATTERN = "^owner:[a-zA-Z0-9_-]{1,80}:v[1-9][0-9]{0,8}$"
10
+ PROTOCOL_REGISTRY: dict[str, Any] = {
11
+ "version": 1,
12
+ "entries": [
13
+ {
14
+ "name": "sprint_40yd",
15
+ "quantities": ["sprint_40yd_seconds"],
16
+ "measure": None,
17
+ "unit": "s",
18
+ "setup": "Standing two-point or three-point start on a flat surface, timed over 40 yards.",
19
+ "attempts": 2,
20
+ "aggregation": "best",
21
+ "accepted_error": 0.05,
22
+ "description": "Timed 40-yard sprint from a standing start.",
23
+ },
24
+ {
25
+ "name": "sprint_60yd",
26
+ "quantities": ["sprint_60yd_seconds"],
27
+ "measure": None,
28
+ "unit": "s",
29
+ "setup": "Standing two-point or three-point start on a flat surface, timed over 60 yards.",
30
+ "attempts": 2,
31
+ "aggregation": "best",
32
+ "accepted_error": 0.05,
33
+ "description": "Timed 60-yard sprint from a standing start.",
34
+ },
35
+ {
36
+ "name": "vertical_jump",
37
+ "quantities": ["jump_height"],
38
+ "measure": "countermovement",
39
+ "unit": "cm",
40
+ "setup": "Countermovement vertical jump from a standing start with arm swing or hands on hips held consistent across attempts.",
41
+ "attempts": 3,
42
+ "aggregation": "best",
43
+ "accepted_error": 2,
44
+ "description": "Countermovement vertical jump height test.",
45
+ },
46
+ {
47
+ "name": "lift_max",
48
+ "quantities": [
49
+ "squat_e1rm",
50
+ "hinge_e1rm",
51
+ "push_horizontal_e1rm",
52
+ "push_vertical_e1rm",
53
+ "pull_horizontal_e1rm",
54
+ "pull_vertical_e1rm",
55
+ "single_leg_e1rm",
56
+ ],
57
+ "measure": None,
58
+ "unit": "kg",
59
+ "setup": "One-repetition max or rep-max test on the pattern's reference lift after progressive warm-up sets.",
60
+ "attempts": 1,
61
+ "aggregation": "best",
62
+ "accepted_error": 2.5,
63
+ "description": "Estimated one-repetition max test on a pattern reference lift.",
64
+ },
65
+ ],
66
+ }
67
+
68
+ INSTRUMENT_KEY_PATTERN = "^[a-z][a-z0-9_]{0,63}$"
69
+ INSTRUMENT_REGISTRY: dict[str, Any] = {
70
+ "version": 1,
71
+ "exceeds_error_confidence": 0.6,
72
+ "entries": [
73
+ {
74
+ "name": "timing_gates",
75
+ "typical_error": {
76
+ "sprint_40yd_seconds": 0.02,
77
+ "sprint_60yd_seconds": 0.02,
78
+ },
79
+ "description": "Electronic timing gates using infrared or laser beams.",
80
+ },
81
+ {
82
+ "name": "video_timing",
83
+ "typical_error": {
84
+ "sprint_40yd_seconds": 0.04,
85
+ "sprint_60yd_seconds": 0.04,
86
+ "jump_height": 1.5,
87
+ },
88
+ "description": "High-frame-rate video timing or flight-time analysis.",
89
+ },
90
+ {
91
+ "name": "stopwatch",
92
+ "typical_error": {
93
+ "sprint_40yd_seconds": 0.15,
94
+ "sprint_60yd_seconds": 0.15,
95
+ },
96
+ "description": "Handheld manual stopwatch.",
97
+ },
98
+ {
99
+ "name": "force_plate",
100
+ "typical_error": {
101
+ "jump_height": 0.5,
102
+ "force": 5,
103
+ },
104
+ "description": "Ground-reaction force plate.",
105
+ },
106
+ {
107
+ "name": "contact_mat",
108
+ "typical_error": {
109
+ "jump_height": 1.5,
110
+ },
111
+ "description": "Contact or switch mat measuring flight time.",
112
+ },
113
+ {
114
+ "name": "tape_measure",
115
+ "typical_error": {
116
+ "jump_height": 3,
117
+ },
118
+ "description": "Tape measure or mechanical jump-and-reach vane.",
119
+ },
120
+ {
121
+ "name": "linear_encoder",
122
+ "typical_error": {
123
+ "jump_height": 1.5,
124
+ "bar_velocity": 0.03,
125
+ "squat_e1rm": 2,
126
+ "hinge_e1rm": 2,
127
+ "push_horizontal_e1rm": 2,
128
+ "push_vertical_e1rm": 2,
129
+ "pull_horizontal_e1rm": 2,
130
+ "pull_vertical_e1rm": 2,
131
+ "single_leg_e1rm": 2,
132
+ },
133
+ "description": "Linear position or velocity transducer attached to a bar or body.",
134
+ },
135
+ ],
136
+ }