CyberNative AI LLC commited on
Commit
0730b30
·
0 Parent(s):

holdcheck: static page for SO-100/101 arm play

Browse files
.gitattributes ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ *.wasm filter=lfs diff=lfs merge=lfs -text
2
+ *.whl filter=lfs diff=lfs merge=lfs -text
3
+ *.zip filter=lfs diff=lfs merge=lfs -text
4
+ *.woff2 filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: holdcheck
3
+ sdk: static
4
+ app_file: index.html
5
+ license: apache-2.0
6
+ short_description: Measure your SO-100/101 arm's play from its own LeRobot data
7
+ tags:
8
+ - lerobot
9
+ - robotics
10
+ - so100
11
+ - so101
12
+ pinned: false
13
+ ---
14
+
15
+ # holdcheck
16
+
17
+ Paste the id of a LeRobot dataset you recorded with an SO-100 or SO-101. Your browser measures each joint's play and settle scatter, and how far the gripper can miss, against 371 other SO arms.
18
+
19
+ The analysis runs in your browser and the dataset is read directly from Hugging Face. We receive nothing you paste. Hugging Face hosts the page and sees the visit. No analytics. The page's scripts, including the open-source Python runtime it uses, and its fonts are served from the page's own host, not from a CDN.
20
+
21
+ A typical arm places 95% of targets within 3.6 mm when it approaches from one side, and within 9.2 mm from any side. These are the servos alone, a lower bound at the tool.
22
+
23
+ Got a card? Post it in the Community tab, especially if it disagrees with what you see on your bench.
24
+
25
+ Source, method and limits: https://github.com/CyberNative-AI/holdcheck
26
+
27
+ Prepared by CyberNative AI LLC, an AI-run company, using AI agents.
THIRD-PARTY.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Third-party files
2
+
3
+ Files in this Space that we did not write. They are served from the page's own host, so no script or font is fetched from a CDN. Licence texts are in `pyodide/licenses/` unless stated; `pyodide/licenses/SOURCES.md` gives each text's upstream source and hash. The wheels are unmodified.
4
+
5
+ | files | project and version | licence | licence text |
6
+ |---|---|---|---|
7
+ | `pyodide/pyodide.mjs`, `pyodide.asm.mjs`, `pyodide.asm.wasm`, `pyodide-lock.json` | Pyodide (runtime for Python 3.14.2, ABI 2026_0) | MPL-2.0 | `pyodide/LICENSE-Pyodide-MPL-2.0.txt` |
8
+ | CPython inside the Pyodide runtime, and `pyodide/python_stdlib.zip` | CPython 3.14.2 | PSF License Version 2 (and the history notices in the text) | `LICENSE-CPython-3.14.2.txt` |
9
+ | `pyodide/numpy-2.4.6-*.whl` | NumPy 2.4.6 | BSD-3-Clause, with bundled licences | inside the wheel (`numpy-2.4.6.dist-info/`) |
10
+ | `pyodide/pyarrow-22.0.0-*.whl` | Apache Arrow 22.0.0 | Apache-2.0, with bundled third-party notices | `LICENSE-Arrow-22.0.0.txt`, `NOTICE-Arrow-22.0.0.txt` (the wheel carries none) |
11
+ | `pyodide/pyodide_unix_timezones-1.0.0-*.whl` | pyodide-unix-timezones 1.0.0 | MIT | `LICENSE-pyodide-unix-timezones.txt` |
12
+ | `fonts/DMSans-*`, `DMMono-*` | DM Sans, DM Mono | SIL Open Font License 1.1 | `fonts/LICENSE-DM-*.txt` |
13
+ | `fonts/Syne-*` | Syne | SIL Open Font License 1.1 | `fonts/LICENSE-Syne.txt` |
14
+
15
+ `py/tipmap.json` is derived from the SO-101 model in MuJoCo Menagerie, `robotstudio_so101/so101.xml` (Apache-2.0). The model file and the script that rebuilds the map are in the source repository. The corpus figures are derived from `lerobot/community_dataset_v3` (Apache-2.0).
app.js ADDED
@@ -0,0 +1,491 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Arm play check: page logic. The measuring runs in worker.js; this file only reads the form,
2
+ // shows progress and lays out the card it gets back. Every number shown is a string the engine
3
+ // formatted from the card; nothing is recomputed here.
4
+
5
+ const $ = (id) => document.getElementById(id);
6
+ const ENGINE_TIMEOUT_MS = 240000;
7
+ const JOINT_NAMES = {
8
+ shoulder_pan: "Shoulder pan", shoulder_lift: "Shoulder lift", elbow_flex: "Elbow flex",
9
+ wrist_flex: "Wrist flex", wrist_roll: "Wrist roll",
10
+ };
11
+
12
+ let worker = null;
13
+ let warm = false;
14
+ let running = false;
15
+ let engineTimer = null;
16
+ let urls = [];
17
+
18
+ function el(tag, cls, text) {
19
+ const e = document.createElement(tag);
20
+ if (cls) e.className = cls;
21
+ if (text != null) e.textContent = text;
22
+ return e;
23
+ }
24
+
25
+ // ---- input -----------------------------------------------------------------------------------
26
+
27
+ const REPO = /^[A-Za-z0-9][A-Za-z0-9._-]*\/[A-Za-z0-9][A-Za-z0-9._-]*$/;
28
+
29
+ function parseInput(raw, rawSub) {
30
+ let s = raw.trim().replace(/[?#].*$/, "");
31
+ let sub = rawSub.trim().replace(/^\/+|\/+$/g, "");
32
+ const m = /^(?:https?:\/\/)?(?:www\.)?(?:hf\.co|huggingface\.co)\/(?:datasets\/)?(.*)$/i.exec(s);
33
+ if (m) s = m[1];
34
+ s = s.replace(/^datasets\//, "").replace(/\/+$/, "");
35
+ let parts = s.split("/").filter(Boolean);
36
+ if (parts.length > 2) {
37
+ // user/name/tree/main/folder..., user/name/folder...
38
+ let rest = parts.slice(2);
39
+ if ((rest[0] === "tree" || rest[0] === "blob" || rest[0] === "resolve") && rest.length >= 2) rest = rest.slice(2);
40
+ rest = rest.filter((x) => x !== "meta" && x !== "data" && !x.endsWith(".json") && !x.endsWith(".parquet"));
41
+ if (!sub && rest.length) sub = rest.join("/");
42
+ parts = parts.slice(0, 2);
43
+ }
44
+ const repo = parts.join("/");
45
+ if (!REPO.test(repo)) return { error: "Give the dataset as user/name, for example lerobot/svla_so101_pickplace." };
46
+ if (sub.split("/").some((x) => x === ".." || x === ".")) return { error: "The folder cannot contain . or .. parts." };
47
+ return { repo, sub };
48
+ }
49
+
50
+ // ---- worker ----------------------------------------------------------------------------------
51
+
52
+ function getWorker() {
53
+ if (worker) return worker;
54
+ worker = new Worker(new URL("worker.js", import.meta.url), { type: "module" });
55
+ worker.onmessage = (ev) => onMessage(ev.data);
56
+ worker.onerror = (ev) => {
57
+ ev.preventDefault();
58
+ if (running) fail({ kind: "engine", message: "the worker did not start" });
59
+ };
60
+ return worker;
61
+ }
62
+
63
+ function warmUp() {
64
+ if (warm || worker) return;
65
+ getWorker().postMessage({ type: "warm" });
66
+ }
67
+
68
+ function stopWorker() {
69
+ if (worker) worker.terminate();
70
+ worker = null;
71
+ warm = false;
72
+ }
73
+
74
+ // ---- progress --------------------------------------------------------------------------------
75
+
76
+ const ORDER = ["info", "data", "engine", "measure"];
77
+
78
+ function step(name, state) {
79
+ const li = document.querySelector(`#hc-steps li[data-step="${name}"]`);
80
+ if (!li) return;
81
+ li.classList.remove("is-active", "is-done", "is-fail");
82
+ if (state) li.classList.add("is-" + state);
83
+ }
84
+
85
+ function announce(text) {
86
+ $("hc-live").textContent = text;
87
+ }
88
+
89
+ function plural(n, word) {
90
+ return `${n} ${word}${n === 1 ? "" : "s"}`;
91
+ }
92
+
93
+ function mb(n) {
94
+ return n >= 1e6 ? (n / 1e6).toFixed(1) + " MB" : Math.max(1, Math.round(n / 1e3)) + " kB";
95
+ }
96
+
97
+ function onMessage(m) {
98
+ if (m.type === "warm") {
99
+ warm = true;
100
+ if (running) step("engine", "done");
101
+ return;
102
+ }
103
+ if (!running) return;
104
+ if (m.type === "progress") {
105
+ if (m.step === "info") { step("info", "active"); announce("Reading the dataset's description."); }
106
+ if (m.step === "list") {
107
+ clearTimeout(engineTimer);
108
+ warm = true;
109
+ step("info", "done");
110
+ step("engine", "done");
111
+ }
112
+ if (m.step === "data") {
113
+ step("data", "active");
114
+ const bar = $("hc-data-bar");
115
+ bar.max = Math.max(1, m.total || 1);
116
+ bar.value = Math.min(m.done || 0, bar.max);
117
+ $("hc-data-detail").textContent = `${mb(m.done || 0)} of ${mb(m.total || 0)}, ${m.files} file${m.files === 1 ? "" : "s"}`;
118
+ if (!m.done) announce(`Downloading ${m.files} data file${m.files === 1 ? "" : "s"}, ${mb(m.total || 0)}.`);
119
+ }
120
+ if (m.step === "engine-wait") {
121
+ step("info", "done");
122
+ if (!warm) {
123
+ step("engine", "active");
124
+ announce("Starting the measuring engine.");
125
+ clearTimeout(engineTimer);
126
+ engineTimer = setTimeout(() => {
127
+ if (running) { stopWorker(); fail({ kind: "engine", message: "it did not start within four minutes" }); }
128
+ }, ENGINE_TIMEOUT_MS);
129
+ }
130
+ }
131
+ if (m.step === "measure") {
132
+ step("data", "done");
133
+ step("measure", "active");
134
+ announce("Measuring every hold.");
135
+ }
136
+ return;
137
+ }
138
+ clearTimeout(engineTimer);
139
+ if (m.type === "result") show(m.view);
140
+ if (m.type === "fail") fail(m);
141
+ }
142
+
143
+ // ---- states ----------------------------------------------------------------------------------
144
+
145
+ let current = null;
146
+
147
+ function setRunning(on) {
148
+ running = on;
149
+ $("hc-go").disabled = on;
150
+ $("hc-go").textContent = on ? "Checking…" : "Check my arm";
151
+ $("hc-stop").hidden = !on;
152
+ document.body.classList.toggle("is-running", on);
153
+ }
154
+
155
+ function reset() {
156
+ for (const u of urls) URL.revokeObjectURL(u);
157
+ urls = [];
158
+ $("hc-message").hidden = true;
159
+ $("hc-result").hidden = true;
160
+ $("hc-status").hidden = true;
161
+ for (const s of ORDER) step(s, null);
162
+ $("hc-data-bar").value = 0;
163
+ $("hc-data-detail").textContent = "";
164
+ announce("");
165
+ setPlate(null);
166
+ }
167
+
168
+ function message(label, title, paras, opts = {}) {
169
+ setRunning(false);
170
+ $("hc-status").hidden = !opts.keepSteps;
171
+ $("hc-result").hidden = true;
172
+ $("hc-message-label").textContent = label;
173
+ $("hc-message-title").textContent = title;
174
+ const body = $("hc-message-body");
175
+ body.replaceChildren();
176
+ for (const p of paras) body.append(typeof p === "string" ? el("p", null, p) : p);
177
+ if (opts.view) body.append(downloads(opts.view, true));
178
+ $("hc-message").hidden = false;
179
+ $("hc-message-title").setAttribute("tabindex", "-1");
180
+ $("hc-message-title").focus({ preventScroll: false });
181
+ }
182
+
183
+ function idText() {
184
+ return current.sub ? `${current.repo} (folder ${current.sub})` : current.repo;
185
+ }
186
+
187
+ function fail(m) {
188
+ const stepNow = ORDER.find((s) => document.querySelector(`#hc-steps li[data-step="${s}"].is-active`));
189
+ if (stepNow) step(stepNow, "fail");
190
+ const id = idText();
191
+ const k = m.kind;
192
+ if (k === "missing" && m.message === "subfolder") {
193
+ return message("Not found", "That folder has no dataset in it.", [
194
+ `${current.repo} has no meta/info.json under ${current.sub}. Give the folder that holds meta/ and data/, as it appears in the dataset's file list on Hugging Face.`,
195
+ ]);
196
+ }
197
+ if (k === "missing") {
198
+ return message("Not found", "Hugging Face did not give us that dataset.", [
199
+ `No public dataset answers to ${current.repo}. Check the id (user/name, as in the dataset's address). Private and gated datasets cannot be read from a browser page; this check only reads public ones.`,
200
+ ]);
201
+ }
202
+ if (k === "layout" && m.message === "no-columns") {
203
+ return message("Not an arm recording", "This dataset has no leader and follower columns.", [
204
+ `${id} does not record both action and observation.state, so there is no command to compare the arm with. The check reads LeRobot teleoperation recordings, where a leader arm drives a follower.`,
205
+ ]);
206
+ }
207
+ if (k === "layout" && m.message === "no-data") {
208
+ return message("No recordings", "No joint recordings found.", [
209
+ `${id} has a description but no data/*.parquet files next to it. If the recording sits in a folder of a larger repository, give that folder.`,
210
+ ]);
211
+ }
212
+ if (k === "layout") return message("Not readable", "The dataset's description could not be read.", [m.message]);
213
+ if (k === "large") {
214
+ return message("Too large for a browser tab", "This dataset is too large to measure here.", [
215
+ `${id} has ${Number(m.frames || 0).toLocaleString("en-US")} frames and ${mb(m.total || 0)} of joint data. A browser tab can run out of memory above 600,000 frames or 400 MB. One dataset of an hour or less with the same arm is enough for the figures.`,
216
+ ]);
217
+ }
218
+ if (k === "network") {
219
+ return message("No connection", "Hugging Face could not be reached.", [
220
+ `${m.message} Check your connection and try again. Some networks and extensions block huggingface.co or its file servers.`,
221
+ ], { keepSteps: true });
222
+ }
223
+ return message("Engine", "The measuring engine stopped in this tab.", [
224
+ `In this browser the engine failed: ${m.message}. The check runs in a current Chrome, Edge, Firefox or Safari with WebAssembly on; try one of those, or reload the page.`,
225
+ ], { keepSteps: true });
226
+ }
227
+
228
+ // ---- result ----------------------------------------------------------------------------------
229
+
230
+ function strip(v, pct, label) {
231
+ // Placement against other arms; lower is tighter. Scale: 0 to a little past the 90th percentile
232
+ // (or past this arm's value), capped at three times the 90th percentile.
233
+ const wrap = el("div", "hc-strip");
234
+ if (!pct) return null;
235
+ const top = Math.min(Math.max(pct.p90 * 1.25, v * 1.08), pct.p90 * 3);
236
+ const x = (n) => Math.max(0, Math.min(100, (n / top) * 100));
237
+ const wide = el("span", "hc-strip-wide");
238
+ wide.style.setProperty("--a", x(pct.p10) + "%");
239
+ wide.style.setProperty("--b", x(pct.p90) + "%");
240
+ const mid = el("span", "hc-strip-band");
241
+ mid.style.setProperty("--a", x(pct.p25) + "%");
242
+ mid.style.setProperty("--b", x(pct.p75) + "%");
243
+ const med = el("span", "hc-strip-mid");
244
+ med.style.setProperty("--a", x(pct.p50) + "%");
245
+ const you = el("span", "hc-strip-you" + (v > top ? " is-off" : ""));
246
+ you.style.setProperty("--a", x(v) + "%");
247
+ wrap.append(wide, mid, med, you);
248
+ wrap.setAttribute("role", "img");
249
+ wrap.setAttribute("aria-label", label);
250
+ return wrap;
251
+ }
252
+
253
+ function tipFigure(name, fig, arms) {
254
+ const d = el("div", "hc-fig");
255
+ d.append(el("span", "label", name));
256
+ const n = el("p", "hc-fig-num", fig.text);
257
+ n.append(el("small", null, " mm"));
258
+ d.append(n);
259
+ d.append(el("p", "hc-fig-what", "95% of arrivals land within this distance of the target, sideways."));
260
+ const s = strip(fig.v, fig.pct, `${fig.text} millimetres; ${fig.place || "no comparison"} among ${arms || "other"} arms`);
261
+ if (s) d.append(s);
262
+ if (fig.place) d.append(el("p", "hc-place", fig.place + (arms ? `, ${arms} arms` : "")));
263
+ return d;
264
+ }
265
+
266
+ function setPlate(tip) {
267
+ const fig = $("hc-plate");
268
+ const yours = tip && tip.one_side_p95_mm ? [tip.one_side_p95_mm.v, tip.either_side_p95_mm.v] : null;
269
+ drawPlate($("hc-plate-draw"), yours);
270
+ const cap = $("hc-plate-cap");
271
+ cap.replaceChildren();
272
+ if (yours) {
273
+ cap.append(el("span", "label", "Your arm and a typical one, from above"));
274
+ cap.append(`95% of arrivals land inside each circle. Yours (blue): ${tip.one_side_p95_mm.text} mm from one side, ${tip.either_side_p95_mm.text} mm from any side. Typical (grey): ${fig.dataset.one} and ${fig.dataset.either} mm. Grid 5 mm.`);
275
+ $("hc-plate-draw").setAttribute("aria-label", `Seen from above at the gripper. This arm: 95 percent of arrivals within ${tip.one_side_p95_mm.text} millimetres from one side and ${tip.either_side_p95_mm.text} from any side. A typical SO arm: ${fig.dataset.one} and ${fig.dataset.either}.`);
276
+ } else {
277
+ cap.append(el("span", "label", "A typical SO arm, from above"));
278
+ cap.append(`95% of arrivals at a target land inside each circle. Inner: approaching from one side, ${fig.dataset.one} mm. Outer: from any side, ${fig.dataset.either} mm. Grid 5 mm.`);
279
+ $("hc-plate-draw").setAttribute("aria-label", `A typical SO arm, seen from above at the gripper: 95 percent of arrivals land within ${fig.dataset.one} millimetres of the target when the arm approaches from one side, and within ${fig.dataset.either} millimetres when it approaches from any side.`);
280
+ }
281
+ }
282
+
283
+ const NS = "http://www.w3.org/2000/svg";
284
+ function svg(tag, attrs, cls) {
285
+ const e = document.createElementNS(NS, tag);
286
+ for (const [k, v] of Object.entries(attrs || {})) e.setAttribute(k, String(v));
287
+ if (cls) e.setAttribute("class", cls);
288
+ return e;
289
+ }
290
+
291
+ function drawPlate(host, yours) {
292
+ const fig = $("hc-plate");
293
+ const typ = [Number(fig.dataset.oneV), Number(fig.dataset.eitherV)];
294
+ const big = Math.max(typ[1], yours ? yours[1] : 0);
295
+ const R = Math.max(12.5, Math.ceil((big * 1.12) / 5) * 5);
296
+ const s = svg("svg", { viewBox: `${-R} ${-R} ${2 * R} ${2 * R}`, "aria-hidden": "true", focusable: "false" });
297
+ for (let g = -Math.floor(R / 5) * 5; g <= R; g += 5) {
298
+ s.append(svg("line", { x1: g, y1: -R, x2: g, y2: R, "vector-effect": "non-scaling-stroke" }, g === 0 ? "hc-axis" : "hc-grid"));
299
+ s.append(svg("line", { x1: -R, y1: g, x2: R, y2: g, "vector-effect": "non-scaling-stroke" }, g === 0 ? "hc-axis" : "hc-grid"));
300
+ }
301
+ const ring = (r, cls) => s.append(svg("circle", { cx: 0, cy: 0, r, "vector-effect": "non-scaling-stroke" }, cls));
302
+ ring(typ[1], yours ? "hc-ring-typ hc-ring-out" : "hc-ring hc-ring-out");
303
+ ring(typ[0], yours ? "hc-ring-typ" : "hc-ring");
304
+ if (yours) {
305
+ ring(yours[1], "hc-ring-you hc-ring-out");
306
+ ring(yours[0], "hc-ring-you");
307
+ }
308
+ s.append(svg("circle", { cx: 0, cy: 0, r: R / 60 }, "hc-target"));
309
+ host.replaceChildren(s);
310
+ }
311
+
312
+ function downloads(view, compact) {
313
+ const box = el("div", "hc-downloads");
314
+ const base = ("holdcheck-" + current.repo + (current.sub ? "-" + current.sub : "")).replace(/[^A-Za-z0-9._-]+/g, "_").slice(0, 120);
315
+ const add = (text, type, name, label, cls) => {
316
+ const u = URL.createObjectURL(new Blob([text], { type }));
317
+ urls.push(u);
318
+ const a = el("a", cls, label);
319
+ a.href = u;
320
+ a.download = name;
321
+ box.append(a);
322
+ return a;
323
+ };
324
+ const j = add(view.json + "\n", "application/json", base + ".json", "Download card (JSON)", "hc-dl");
325
+ j.id = compact ? "hc-dl-json-2" : "hc-dl-json";
326
+ if (!compact) add(view.text + "\n", "text/plain", base + ".txt", "Download as text", "hc-dl hc-dl-2").id = "hc-dl-text";
327
+ return box;
328
+ }
329
+
330
+ function show(view) {
331
+ window.__hcView = view; // read by the parity check harness
332
+ if (view.state === "error") {
333
+ return message("Not readable", "The recording could not be measured.", [
334
+ `The engine could not read ${idText()}: ${view.message}`,
335
+ ], { view });
336
+ }
337
+ if (view.state === "skip") {
338
+ const what = view.robot_type ? `It is recorded as ${view.robot_type}` : "Its description names no robot type";
339
+ return message("Not an SO-style arm", "This is not a single SO-100 or SO-101 arm.", [
340
+ `${what}, and its joints are not the six of one SO-style arm (shoulder pan, shoulder lift, elbow flex, wrist flex, wrist roll, gripper). The check measures one SO-100 or SO-101 follower; two-arm rigs and other arms are left out.`,
341
+ `Reason on the card: ${view.message}.`,
342
+ ], { view });
343
+ }
344
+ if (view.state === "few") {
345
+ const ul = el("ul", "hc-why");
346
+ for (const r of view.rows) ul.append(el("li", null, `${JOINT_NAMES[r.joint]}: not measured, ${r.why}`));
347
+ return message("Too few holds", "Not enough still moments to measure.", [
348
+ `${idText()} has ${plural(view.episodes, "episode")} and ${view.frames.toLocaleString("en-US")} frames, but no joint has 8 holds arriving from above and 8 from below. A hold is the leader kept still for half a second after a move of at least a degree.`,
349
+ ul,
350
+ "Record or pick a dataset with more pauses: placing, aligning and waiting all count. A few dozen episodes of pick and place is usually enough.",
351
+ ], { view });
352
+ }
353
+ setRunning(false);
354
+ $("hc-status").hidden = true;
355
+ $("hc-message").hidden = true;
356
+
357
+ $("hc-for").textContent = `${idText()} · ${view.robot_type || "no robot type"} · ${plural(view.episodes, "episode")}, ${view.frames.toLocaleString("en-US")} frames at ${view.fps} fps`;
358
+
359
+ const tipBox = $("hc-tip");
360
+ tipBox.replaceChildren();
361
+ const t = view.tip;
362
+ if (t.one_side_p95_mm) {
363
+ tipBox.append(tipFigure("Arriving from one side", t.one_side_p95_mm, t.arms));
364
+ tipBox.append(tipFigure("Arriving from any side", t.either_side_p95_mm, t.arms));
365
+ $("hc-do").textContent = `Leave at least ${t.either_side_p95_mm.text} mm of lead-in or tolerance around each target, or approach every target from the same side and ${t.one_side_p95_mm.text} mm will do.`;
366
+ $("hc-tip-limit").parentElement.hidden = false;
367
+ } else {
368
+ tipBox.append(el("p", "hc-fig-none", `At the gripper: ${t.not_computed}. The gripper figures need all five arm joints measured.`));
369
+ $("hc-do").textContent = "Use the per-joint figures below; record more holds on the joints that were not measured to get the gripper figures.";
370
+ $("hc-tip-limit").parentElement.hidden = true;
371
+ }
372
+ setPlate(t.one_side_p95_mm ? t : null);
373
+
374
+ const tbl = el("table", "hc-joints");
375
+ const cap = el("caption", "hc-vh", "Lost motion, scatter and bias per joint, each placed among other SO arms");
376
+ const head = el("thead");
377
+ const hr = el("tr");
378
+ for (const [h, c] of [["Joint", ""], ["Lost motion, deg", "num"], ["Scatter, deg", "num"], ["Bias, deg", "num"]]) {
379
+ const th = el("th", c, h);
380
+ th.scope = "col";
381
+ hr.append(th);
382
+ }
383
+ head.append(hr);
384
+ const body = el("tbody");
385
+ let anyFree = false, anyAll = false;
386
+ for (const r of view.rows) {
387
+ const tr = el("tr");
388
+ const th = el("th");
389
+ th.scope = "row";
390
+ th.append(el("span", "hc-jn", JOINT_NAMES[r.joint]));
391
+ if (r.holds != null) th.append(el("span", "hc-jm", `${r.holds} holds${r.arms ? ` · vs ${r.arms} arms` : ""}`));
392
+ tr.append(th);
393
+ if (r.why) {
394
+ const td = el("td", "hc-nm", `Not measured: ${r.why}`);
395
+ td.colSpan = 3;
396
+ tr.append(td);
397
+ body.append(tr);
398
+ continue;
399
+ }
400
+ const lm = el("td", "num hc-cell");
401
+ lm.dataset.label = "Lost motion, deg";
402
+ lm.append(el("span", "hc-v", r.lost_motion), el("span", "hc-ci", `90%: ${r.ci90}`));
403
+ const s1 = strip(r.lost_motion_v, r.lost_motion_pct, `lost motion ${r.lost_motion} degrees, ${r.lost_motion_place}`);
404
+ if (s1) lm.append(s1);
405
+ if (r.lost_motion_place) lm.append(el("span", "hc-place", r.lost_motion_place));
406
+ const sc = el("td", "num hc-cell");
407
+ sc.dataset.label = "Scatter, deg";
408
+ sc.append(el("span", "hc-v", r.scatter), el("span", "hc-ci", r.scatter_from));
409
+ const s2 = strip(r.scatter_v, r.scatter_pct, `scatter ${r.scatter} degrees, ${r.scatter_place}`);
410
+ if (s2) sc.append(s2);
411
+ if (r.scatter_place) sc.append(el("span", "hc-place", r.scatter_place));
412
+ if (r.scatter_from === "free holds") anyFree = true; else anyAll = true;
413
+ const bi = el("td", "num hc-cell hc-bias");
414
+ bi.dataset.label = "Bias, deg";
415
+ bi.append(el("span", "hc-v", r.bias));
416
+ tr.append(lm, sc, bi);
417
+ body.append(tr);
418
+ }
419
+ tbl.append(cap, head, body);
420
+ $("hc-joints").replaceChildren(tbl);
421
+ $("hc-scatter-note").hidden = !(anyFree || anyAll);
422
+
423
+ const dl = downloads(view, false);
424
+ document.querySelector("#hc-result .hc-downloads").replaceWith(dl);
425
+
426
+ const facts = $("hc-facts");
427
+ facts.replaceChildren();
428
+ const fact = (k, v) => { facts.append(el("dt", null, k), el("dd", null, v)); };
429
+ fact("Dataset", current.repo);
430
+ if (current.sub) fact("Folder", current.sub);
431
+ fact("Recorded as", view.robot_type || "none given");
432
+ fact("Layout", view.codebase_version || "not given");
433
+ fact("Episodes", String(view.episodes));
434
+ fact("Frames", view.frames.toLocaleString("en-US"));
435
+
436
+ $("hc-result").hidden = false;
437
+ const h = $("hc-tip-h");
438
+ h.setAttribute("tabindex", "-1");
439
+ h.focus({ preventScroll: false });
440
+ announce("Measured. The card is below.");
441
+ }
442
+
443
+ // ---- wiring ----------------------------------------------------------------------------------
444
+
445
+ function start(ev) {
446
+ ev.preventDefault();
447
+ const p = parseInput($("hc-id").value, $("hc-sub").value);
448
+ const err = $("hc-id-error");
449
+ if (p.error) {
450
+ err.textContent = p.error;
451
+ err.hidden = false;
452
+ $("hc-id").setAttribute("aria-invalid", "true");
453
+ $("hc-id").focus();
454
+ return;
455
+ }
456
+ err.hidden = true;
457
+ $("hc-id").removeAttribute("aria-invalid");
458
+ $("hc-id").value = p.repo;
459
+ $("hc-sub").value = p.sub;
460
+ current = p;
461
+ reset();
462
+ const q = new URLSearchParams({ dataset: p.repo });
463
+ if (p.sub) q.set("folder", p.sub);
464
+ history.replaceState(null, "", "?" + q.toString());
465
+ setRunning(true);
466
+ $("hc-status").hidden = false;
467
+ if (warm) step("engine", "done");
468
+ step("info", "active");
469
+ getWorker().postMessage({ type: "check", repo: p.repo, sub: p.sub });
470
+ }
471
+
472
+ function stop() {
473
+ stopWorker();
474
+ clearTimeout(engineTimer);
475
+ setRunning(false);
476
+ reset();
477
+ $("hc-id").focus();
478
+ }
479
+
480
+ function init() {
481
+ const q = new URLSearchParams(location.search);
482
+ if (q.get("dataset")) $("hc-id").value = q.get("dataset").slice(0, 300);
483
+ if (q.get("folder")) $("hc-sub").value = q.get("folder").slice(0, 300);
484
+ setPlate(null);
485
+ $("hc-form").addEventListener("submit", start);
486
+ $("hc-stop").addEventListener("click", stop);
487
+ // Start the engine download once someone reaches for the form, so it is ready sooner.
488
+ for (const e of ["focusin", "pointerdown"]) $("hc-form").addEventListener(e, warmUp, { once: true });
489
+ }
490
+
491
+ init();
fonts/DMMono-Medium-Latin1.woff2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fed01b4cfe72c903827198e77d44c83d5cf2637ee6e45af05202c0434e3eef6c
3
+ size 14444
fonts/DMMono-Regular-Latin1.woff2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee400a88375948cb29288b57c8617421660f1ebe21f0e01bed5a81c1a2dab6f3
3
+ size 14220
fonts/DMSans-Text-Latin1-400-600.woff2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1a50987608feb5e5a81a3a5f42d823ea8273604f7439a3949c26e5a45ff3ed7
3
+ size 21420
fonts/LICENSE-DM-Mono.txt ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2020 The DM Mono Project Authors (https://www.github.com/googlefonts/dm-mono)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
fonts/LICENSE-DM-Sans.txt ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2014 The DM Sans Project Authors (https://github.com/googlefonts/dm-fonts)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
fonts/LICENSE-Syne.txt ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2017 The Syne Project Authors (https://gitlab.com/bonjour-monde/fonderie/syne-typeface)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
fonts/Syne-Display-Latin1-500-700.woff2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40f909f6b59d53c33d69dc2a880d93bbca234501da5cc6db2ccfaf49a6232d33
3
+ size 21440
holdcheck.css ADDED
@@ -0,0 +1,394 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Object Atlas tokens and document base, from the company kit. Page rules follow at the end. */
2
+ @font-face { font-family: "CN Display"; font-weight: 500 700; font-display: swap;
3
+ src: url("fonts/Syne-Display-Latin1-500-700.woff2") format("woff2"); }
4
+ @font-face { font-family: "CN Text"; font-weight: 400 600; font-display: swap;
5
+ src: url("fonts/DMSans-Text-Latin1-400-600.woff2") format("woff2"); }
6
+ @font-face { font-family: "DM Mono"; font-weight: 400; font-display: swap;
7
+ src: url("fonts/DMMono-Regular-Latin1.woff2") format("woff2"); }
8
+ @font-face { font-family: "DM Mono"; font-weight: 500; font-display: swap;
9
+ src: url("fonts/DMMono-Medium-Latin1.woff2") format("woff2"); }
10
+
11
+ /* CyberNative brand kit — web tokens. Object Atlas.
12
+ *
13
+ * The field is graphite: header, footer and the home page, where the work is shown as authored
14
+ * silver objects. Reading pages stay on a light silver sheet with graphite ink, because long reading
15
+ * and forms read better light. Pale blue is the one highlight on the field; on the sheet its deep cut
16
+ * marks links, focus and the action. The --wp-* names are kept from v2 so every existing page and the
17
+ * account surface re-render from these values without markup changes; the names say what a colour
18
+ * does, not what it is (--wp-cobalt is the field). The --oa-* names are the Object Atlas source
19
+ * values: the shared header and footer read only these, so a page palette cannot recolour them.
20
+ * Contrast (WCAG, measured): ink on sheet 15.92, muted on sheet 6.29 (panel 6.72), blue-deep on sheet
21
+ * 6.92, rust on sheet 6.09; paper on graphite 14.96, muted on graphite 8.81, blue on graphite 10.77.
22
+ */
23
+ :root {
24
+ color-scheme: light;
25
+
26
+ /* Object Atlas source values */
27
+ --oa-ground: #151518; /* graphite: the field */
28
+ --oa-ground-2: #1e1f23; /* field shade: hover, raised plates */
29
+ --oa-paper: #e8e9e7; /* paper: text on the field */
30
+ --oa-muted: #b2b4bd; /* secondary text on the field 8.81:1 */
31
+ --oa-blue: #b2c8f0; /* the highlight on the field 10.77:1 */
32
+ --oa-line: #3c3d45; /* dividers on the field; never the only sign of meaning */
33
+ --oa-control: #7c7f8a; /* control outlines on the field 4.56:1 */
34
+ --oa-sheet: #eff0ec; /* the reading sheet */
35
+ --oa-blue-deep: #2d4f93; /* links, focus and marks on the sheet 6.92:1 */
36
+ --oa-font-display: "CN Display", "CN Display Fallback", Arial, sans-serif;
37
+ --oa-font-body: "CN Text", "CN Text Fallback", Arial, sans-serif;
38
+
39
+ /* Surfaces */
40
+ --wp-paper: var(--oa-sheet); /* the reading surface */
41
+ --wp-panel: #f7f7f5; /* figures, tables, inputs */
42
+ --wp-ink: #151518; /* text, rules, frames 15.92:1 on sheet */
43
+ --wp-muted: #55575f; /* metadata, captions 6.29:1 on sheet, 6.72 on panel */
44
+ --wp-hair: #cfd1d6; /* ledger lines only; never the only divider of meaning */
45
+
46
+ /* The field */
47
+ --wp-cobalt: var(--oa-ground); /* the field: graphite 14.96:1 with paper */
48
+ --wp-cobalt-deep: var(--oa-ground-2);
49
+ --wp-pale: var(--oa-muted); /* metadata on the field 8.81:1 */
50
+
51
+ /* Meaning. Each colour has one job. */
52
+ --wp-bio: #151518; /* the action on the sheet: a graphite plate, paper type 14.96:1 */
53
+ --wp-on-bio: var(--oa-paper); /* text on the action and on the field */
54
+ --wp-cited: #d9e3f5; /* highlight behind a value that has a source (ink 14.11:1) */
55
+ --wp-flag: #e2e3df; /* highlight behind a value that was left blank (ink 14.13:1) */
56
+ --wp-rust: #9a3b16; /* flag text and the "Limit" label 6.09:1 on sheet */
57
+ --wp-link: var(--wp-ink); /* inline links: ink, told apart by the blue-deep underline */
58
+ --wp-deep: var(--wp-cobalt);/* a field section; paper text 14.96:1 */
59
+ --wp-deep-label: var(--wp-pale);
60
+ --wp-focus: var(--oa-blue-deep); /* focus ring on the sheet, 6.92:1. Not a fill, not a label */
61
+ --wp-focus-field: var(--oa-blue); /* focus ring and action on the field, 10.77:1 */
62
+
63
+ /* Type: Syne for display, DM Sans for text, DM Mono for labels and values. */
64
+ --wp-font-display: "CN Display", "CN Display Fallback", Arial, sans-serif;
65
+ --wp-font-body: "CN Text", "CN Text Fallback", Arial, sans-serif;
66
+ --wp-font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
67
+
68
+ --wp-text-hero: clamp(2.5rem, 5.6vw, 4.75rem); /* one per page, lh .97, weight 500-600 */
69
+ --wp-text-title: clamp(1.875rem, 3.4vw, 3rem); /* section title, lh 1.02 */
70
+ --wp-text-h3: 1.25rem; /* text cut 600, lh 1.3 */
71
+ --wp-text-lede: clamp(1.125rem, 1.6vw, 1.3125rem); /* lh 1.5 */
72
+ --wp-text-body: 1.0625rem; /* lh 1.6, never smaller for reading text */
73
+ --wp-text-ledger: 0.9375rem; /* tabular source values */
74
+ --wp-text-price: 2rem; /* service record prices */
75
+ --wp-text-meta: 0.875rem; /* short metadata only, < 40 chars */
76
+ --wp-text-cite: 0.8125rem; /* mono, cite chips and labels only */
77
+
78
+ /* Space: 4px base */
79
+ --wp-1: 0.25rem; --wp-2: 0.5rem; --wp-3: 0.75rem; --wp-4: 1rem; --wp-6: 1.5rem;
80
+ --wp-8: 2rem; --wp-12: 3rem; --wp-16: 4rem; --wp-24: 6rem; --wp-32: 8rem;
81
+
82
+ /* Shape */
83
+ --wp-rule: 1px; /* ledger and table lines */
84
+ --wp-rule-strong: 2px; /* section rules, figure frames */
85
+ --wp-radius: 4px; /* inputs; figures and tables are square */
86
+ --wp-pill: 999px; /* buttons: a rounded plate, as on the field */
87
+ --wp-page: 80rem; /* 1280px */
88
+ --wp-measure: 66ch;
89
+ --wp-gutter: clamp(1.25rem, 3.4vw, 3rem);
90
+ --wp-tap: 48px; /* minimum interactive height */
91
+ }
92
+
93
+ [data-edition="night"] {
94
+ color-scheme: dark;
95
+ --wp-paper: #0e1236;
96
+ --wp-panel: #161b4a;
97
+ --wp-ink: #f4efe3;
98
+ --wp-muted: #c9cdf2;
99
+ --wp-hair: #2c3370;
100
+ --wp-link: #c9cdf2;
101
+ --wp-cited: #1d2bc4;
102
+ --wp-flag: #5a2a14;
103
+ --wp-rust: #f0a27c;
104
+ --wp-focus: #ffd166;
105
+ }
106
+
107
+ /* v1.x aliases — delete once no stylesheet reads them. */
108
+ :root, [data-edition="night"] {
109
+ --cn-color-canvas: var(--wp-paper);
110
+ --cn-color-panel: var(--wp-panel);
111
+ --cn-color-ink: var(--wp-ink);
112
+ --cn-color-muted: var(--wp-muted);
113
+ --cn-color-link: var(--wp-link);
114
+ --cn-color-leaf: var(--wp-pale); /* v1 green chips and bars: ink sits on them */
115
+ --cn-color-leaf-strong: var(--wp-deep);
116
+ --cn-color-mint: var(--wp-cited);
117
+ --cn-color-amber: var(--wp-ink); /* v1 decorative magenta shadows become ink, then go */
118
+ --cn-color-line: var(--wp-hair);
119
+ --cn-color-danger: var(--wp-rust);
120
+ --cn-offset: 0px; /* v1 offset shadows collapse to nothing */
121
+ --cn-offset-figure: 0px;
122
+ }
123
+
124
+
125
+ *, *::before, *::after { box-sizing: border-box; }
126
+ html { background: var(--oa-ground); -webkit-text-size-adjust: 100%; }
127
+ body { background: var(--wp-paper); color: var(--wp-ink); font: 400 var(--wp-text-body)/1.6 var(--wp-font-body);
128
+ margin: 0; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
129
+ .wrap { margin: 0 auto; max-width: 68rem; padding: 0 var(--wp-gutter); }
130
+ a { color: var(--wp-link); text-decoration-color: var(--oa-blue-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
131
+ :focus-visible { outline: 2px solid var(--wp-focus); outline-offset: 3px; }
132
+
133
+ /* The field: graphite, with the mark and the lowercase name. */
134
+ .field { background: var(--oa-ground); color: var(--oa-paper); }
135
+ .field > .wrap:first-child { align-items: center; display: flex; gap: var(--wp-6); justify-content: space-between; min-height: 76px; }
136
+ .brand { align-items: center; color: var(--oa-paper); display: inline-flex; gap: 10px; text-decoration: none; }
137
+ .brand svg { display: block; height: 32px; width: 32px; }
138
+ .brand span { font: 600 1.5rem/1 var(--oa-font-display); letter-spacing: -0.054em; text-transform: lowercase; }
139
+ .label { color: var(--wp-muted); font: 500 var(--wp-text-cite)/1.4 var(--wp-font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
140
+ .field .label { color: var(--oa-muted); text-align: right; }
141
+ .field .opening .label { text-align: left; }
142
+ .field .label b { color: var(--oa-blue); font-weight: 500; }
143
+
144
+ /* The opening sits on the field: one large line, set tight, off-centre, with one pale-blue phrase
145
+ (the <em>) as on the home page. Reading starts on the sheet below it. */
146
+ .opening { padding-bottom: var(--wp-12); padding-top: var(--wp-16); }
147
+ .opening::before { border-top: var(--wp-rule) solid var(--oa-line); content: ""; display: block; margin-top: calc(-1 * var(--wp-16)); padding-top: var(--wp-16); }
148
+ h1, h2 { font-family: var(--wp-font-display); font-weight: 500; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
149
+ h1 { color: var(--oa-paper); font-size: var(--wp-text-hero); line-height: 0.97; max-width: 15ch; }
150
+ h1 em { color: var(--oa-blue); font-style: normal; }
151
+ .lede { color: var(--oa-paper); font-size: var(--wp-text-lede); line-height: 1.5; margin: var(--wp-8) 0 0; max-width: 44ch; }
152
+ .meta { border-top: var(--wp-rule) solid var(--oa-line); display: flex; flex-wrap: wrap; gap: var(--wp-2) var(--wp-8);
153
+ list-style: none; margin: var(--wp-12) 0 0; max-width: none; padding: var(--wp-4) 0 0; }
154
+ .meta li { color: var(--oa-muted); font: 400 var(--wp-text-cite)/1.4 var(--wp-font-mono); letter-spacing: 0.04em; margin: 0; text-transform: uppercase; }
155
+ .meta b { color: var(--oa-paper); font-weight: 500; }
156
+ main.wrap > section:first-child { padding-top: var(--wp-16); }
157
+
158
+ /* Sections: a numbered margin label beside the reading column. */
159
+ section { border-bottom: var(--wp-rule) solid var(--wp-ink); display: grid; gap: var(--wp-6) var(--wp-12);
160
+ grid-template-columns: minmax(8rem, 1fr) minmax(0, 3.2fr); padding: var(--wp-12) 0; }
161
+ section > .label { padding-top: 0.6rem; }
162
+ h2 { font-size: var(--wp-text-title); line-height: 1.02; margin-bottom: var(--wp-6); max-width: 20ch; }
163
+ h3 { font: 600 var(--wp-text-h3)/1.3 var(--wp-font-body); margin: var(--wp-8) 0 var(--wp-2); }
164
+ p, ul, ol { margin: 0 0 var(--wp-4); max-width: var(--wp-measure); }
165
+ li + li { margin-top: var(--wp-2); }
166
+ code, kbd { background: var(--wp-flag); font: 400 0.9em var(--wp-font-mono); padding: 0.1em 0.3em; }
167
+ pre { background: var(--oa-ground); color: var(--oa-paper); font: 400 var(--wp-text-ledger)/1.55 var(--wp-font-mono);
168
+ margin: var(--wp-6) 0; overflow-x: auto; padding: var(--wp-6); }
169
+ pre code { background: none; padding: 0; }
170
+ /* The highlight is drawn outside the text box, so it never opens a gap before punctuation. */
171
+ mark, .cited { background: var(--wp-cited); box-decoration-break: clone; -webkit-box-decoration-break: clone;
172
+ box-shadow: 0.18em 0 0 var(--wp-cited), -0.18em 0 0 var(--wp-cited); color: inherit; padding: 0.04em 0; }
173
+
174
+ /* The answer: the one number or sentence the page exists for, on the field. */
175
+ .answer { background: var(--oa-ground); color: var(--oa-paper); display: grid; gap: var(--wp-6) var(--wp-12);
176
+ grid-template-columns: auto minmax(0, 1fr); margin: var(--wp-6) 0; padding: var(--wp-8); }
177
+ /* Figures are DM Sans with tabular numerals: Syne's 0 reads as an O. */
178
+ .answer .num { color: var(--oa-blue); font: 500 clamp(3rem, 8vw, 5.5rem)/0.9 var(--wp-font-body); font-variant-numeric: tabular-nums lining-nums;
179
+ letter-spacing: -0.04em; white-space: nowrap; }
180
+ .answer .num small { font-size: 0.42em; letter-spacing: 0; margin-left: 0.08em; }
181
+ .answer p { align-self: end; font-size: var(--wp-text-lede); line-height: 1.45; margin: 0; }
182
+ .answer .label { color: var(--oa-muted); display: block; margin-bottom: var(--wp-2); }
183
+
184
+ /* Ledger tables: square, ink rules, mono figures. */
185
+ .table { margin: var(--wp-6) 0; overflow-x: auto; }
186
+ table { border-collapse: collapse; border-top: var(--wp-rule-strong) solid var(--wp-ink); font-size: var(--wp-text-ledger); width: 100%; }
187
+ th, td { border-bottom: var(--wp-rule) solid var(--wp-hair); padding: var(--wp-3) var(--wp-4) var(--wp-3) 0; text-align: left; vertical-align: baseline; }
188
+ thead th { border-bottom-color: var(--wp-ink); color: var(--wp-muted); font: 500 var(--wp-text-cite)/1.4 var(--wp-font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
189
+ td.num, th.num { font-family: var(--wp-font-mono); font-variant-numeric: tabular-nums; padding-right: 0; text-align: right; white-space: nowrap; }
190
+ tbody tr:last-child td { border-bottom-color: var(--wp-ink); }
191
+
192
+ /* Figures: a framed panel. Series are graphite, blue-deep, pale blue and grey, each with the ink
193
+ outline. Rust is never a series: it marks a limit or an over-limit value. */
194
+ figure { background: var(--wp-panel); border: var(--wp-rule-strong) solid var(--wp-ink); margin: var(--wp-6) 0; padding: var(--wp-6); }
195
+ figcaption { color: var(--wp-muted); font-size: var(--wp-text-meta); margin-top: var(--wp-4); }
196
+ .bars { --s1: var(--wp-ink); --s2: var(--oa-blue-deep); --s3: var(--oa-blue); --s4: var(--oa-control);
197
+ align-items: center; display: grid; gap: var(--wp-3) var(--wp-4); grid-template-columns: max-content minmax(0, 1fr); margin: 0; padding: 0; }
198
+ .bars .name { font-size: var(--wp-text-ledger); }
199
+ .bars .track { align-items: center; background: linear-gradient(var(--wp-hair), var(--wp-hair)) 0 50% / 100% 1px no-repeat; display: flex; position: relative; }
200
+ .bars .bar { background: var(--s1); border: var(--wp-rule-strong) solid var(--wp-ink); flex: 0 0 auto; height: 1.5rem; width: var(--v); }
201
+ .bars .s2 .bar { background: var(--s2); } .bars .s3 .bar { background: var(--s3); } .bars .s4 .bar { background: var(--s4); }
202
+ .bars .val { background: var(--wp-panel); position: relative; z-index: 1; font: 500 var(--wp-text-ledger)/1 var(--wp-font-mono); font-variant-numeric: tabular-nums; padding: 0 0.5em; }
203
+ .bars .over .val { color: var(--wp-rust); }
204
+ .bars .at { border-left: var(--wp-rule-strong) dashed var(--wp-rust); inset: -0.45rem auto -0.45rem var(--at); position: absolute; }
205
+ .key { color: var(--wp-rust); font: 500 var(--wp-text-cite)/1.4 var(--wp-font-mono); letter-spacing: 0.04em; margin: var(--wp-4) 0 0; text-transform: uppercase; }
206
+ @media (max-width: 720px) { .bars { grid-template-columns: minmax(0, 1fr); row-gap: var(--wp-1); } .bars .track { margin-bottom: var(--wp-3); } }
207
+
208
+ /* Limits and open questions sit beside the claim they limit. */
209
+ .limit { border-left: var(--wp-rule-strong) solid var(--wp-rust); margin: var(--wp-6) 0; padding: var(--wp-1) 0 var(--wp-1) var(--wp-4); }
210
+ .limit .label { color: var(--wp-rust); display: block; margin-bottom: var(--wp-2); }
211
+
212
+ .close { background: var(--oa-ground); color: var(--oa-muted); }
213
+ .close .wrap { display: flex; flex-wrap: wrap; gap: var(--wp-4); justify-content: space-between; padding-bottom: var(--wp-8); padding-top: var(--wp-8); }
214
+ .close .label { color: var(--oa-muted); }
215
+
216
+ @media (max-width: 720px) {
217
+ section, .answer { grid-template-columns: minmax(0, 1fr); }
218
+ .opening { padding-top: var(--wp-12); }
219
+ }
220
+ @page { margin: 14mm 0; size: A4; }
221
+ @media print {
222
+ html { background: none; }
223
+ section, figure, .answer, table { break-inside: avoid; }
224
+ h2, h3 { break-after: avoid; }
225
+ }
226
+
227
+ /* ---- Arm play check -------------------------------------------------------------------------
228
+ The page's object is a target seen from above: circles that hold 95% of the gripper's arrivals.
229
+ The form sits on the field beside it; the card reads on the sheet below. */
230
+ [hidden] { display: none !important; }
231
+ .hc-skip { background: var(--oa-blue); color: var(--oa-ground); left: var(--wp-4); padding: var(--wp-3) var(--wp-4); position: absolute; top: -10rem; z-index: 2; }
232
+ .hc-skip:focus { top: var(--wp-4); }
233
+ .field .label { margin: 0; }
234
+ .field .brand { min-height: var(--wp-tap); }
235
+
236
+ .hc-opening { align-items: start; display: grid; gap: var(--wp-12) var(--wp-16); grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 1fr); }
237
+ .hc-opening::before { grid-column: 1 / -1; }
238
+ .hc-opening h1 { max-width: 12ch; }
239
+ .hc-plate { align-self: end; }
240
+ .hc-opening .lede { max-width: 40ch; }
241
+
242
+ .hc-form { margin: var(--wp-8) 0 0; max-width: 34rem; }
243
+ .hc-field { margin: 0 0 var(--wp-6); }
244
+ .hc-field label { color: var(--oa-paper); display: block; font: 500 var(--wp-text-cite)/1.4 var(--wp-font-mono); letter-spacing: 0.04em; margin-bottom: var(--wp-2); text-transform: uppercase; }
245
+ .hc-field label span { color: var(--oa-muted); margin-left: 0.5em; }
246
+ .hc-field input { background: var(--oa-ground-2); border: var(--wp-rule) solid var(--oa-control); border-radius: var(--wp-radius); color: var(--oa-paper);
247
+ font: 400 1.0625rem/1.3 var(--wp-font-mono); min-height: var(--wp-tap); padding: var(--wp-3) var(--wp-4); width: 100%; }
248
+ .hc-field input:hover { border-color: var(--oa-muted); }
249
+ .hc-field input:focus-visible { border-color: var(--oa-blue); outline: 2px solid var(--wp-focus-field); outline-offset: 2px; }
250
+ .hc-field input[aria-invalid="true"] { border-color: #f0a27c; }
251
+ .hc-hint { color: var(--oa-muted); font-size: var(--wp-text-meta); margin: var(--wp-2) 0 0; }
252
+ .hc-hint code, .hc-ask .lede code { background: var(--oa-ground-2); color: var(--oa-paper); }
253
+ .hc-error { color: #f0a27c; font-size: var(--wp-text-meta); font-weight: 600; margin: var(--wp-2) 0 0; }
254
+ .hc-actions { align-items: center; display: flex; flex-wrap: wrap; gap: var(--wp-4); }
255
+ #hc-go, #hc-stop { border-radius: var(--wp-pill); cursor: pointer; font: 600 1.0625rem/1 var(--wp-font-body); min-height: var(--wp-tap); padding: 0 var(--wp-8); }
256
+ #hc-go { background: var(--oa-blue); border: 2px solid var(--oa-blue); color: var(--oa-ground); }
257
+ #hc-go:hover { background: var(--oa-paper); border-color: var(--oa-paper); }
258
+ #hc-go:disabled { cursor: progress; opacity: 0.75; }
259
+ #hc-stop { background: transparent; border: 2px solid var(--oa-control); color: var(--oa-paper); }
260
+ #hc-stop:hover { border-color: var(--oa-paper); }
261
+ #hc-go:focus-visible, #hc-stop:focus-visible, .field a:focus-visible { outline: 2px solid var(--wp-focus-field); outline-offset: 3px; }
262
+
263
+ /* The plate: a framed panel on the field. Rings are drawn with non-scaling strokes. */
264
+ .hc-plate { background: var(--oa-ground-2); border: var(--wp-rule) solid var(--oa-line); margin: 0; padding: var(--wp-6); }
265
+ .hc-plate-draw svg { aspect-ratio: 1; display: block; height: auto; margin: 0 auto; max-width: 22rem; width: 100%; }
266
+ .hc-plate .hc-grid { stroke: var(--oa-line); stroke-width: 1; }
267
+ .hc-plate .hc-axis { stroke: var(--oa-control); stroke-width: 1; }
268
+ .hc-plate .hc-ring { fill: none; stroke: var(--oa-blue); stroke-width: 2; }
269
+ .hc-plate .hc-ring-typ { fill: none; stroke: var(--oa-muted); stroke-width: 1.5; }
270
+ .hc-plate .hc-ring-you { fill: none; stroke: var(--oa-blue); stroke-width: 3; }
271
+ .hc-plate .hc-ring-out { stroke-dasharray: 6 5; }
272
+ .hc-plate .hc-target { fill: var(--oa-paper); }
273
+ .hc-plate figcaption { color: var(--oa-muted); font-size: var(--wp-text-meta); line-height: 1.5; margin-top: var(--wp-4); }
274
+ .hc-plate figcaption .label { color: var(--oa-paper); display: block; margin-bottom: var(--wp-1); }
275
+
276
+ /* Progress */
277
+ .hc-status { border-bottom: var(--wp-rule) solid var(--wp-ink); padding: var(--wp-12) 0; }
278
+ .hc-steps { counter-reset: s; list-style: none; margin: 0; max-width: 40rem; padding: 0; }
279
+ .hc-steps li { align-items: baseline; color: var(--wp-muted); display: grid; gap: var(--wp-1) var(--wp-4); grid-template-columns: 1.25rem minmax(0, 1fr); margin: 0; padding: var(--wp-2) 0; }
280
+ .hc-steps li + li { margin: 0; }
281
+ .hc-steps .hc-sub { color: var(--wp-muted); display: block; font: 400 var(--wp-text-cite)/1.5 var(--wp-font-mono); }
282
+ .hc-steps progress { grid-column: 2; height: 0.5rem; width: 100%; -webkit-appearance: none; appearance: none; background: var(--wp-hair); border: 0; }
283
+ .hc-steps progress::-webkit-progress-bar { background: var(--wp-hair); }
284
+ .hc-steps progress::-webkit-progress-value { background: var(--wp-ink); }
285
+ .hc-steps progress::-moz-progress-bar { background: var(--wp-ink); }
286
+ .hc-steps li:not(.is-active):not(.is-done) progress { display: none; }
287
+ .hc-tick { border: 2px solid var(--wp-hair); border-radius: 50%; display: inline-block; height: 0.875rem; transform: translateY(0.1rem); width: 0.875rem; }
288
+ .hc-steps li.is-active { color: var(--wp-ink); font-weight: 600; }
289
+ .hc-steps li.is-active .hc-tick { animation: hc-pulse 1.2s ease-in-out infinite; border-color: var(--oa-blue-deep); }
290
+ .hc-steps li.is-done { color: var(--wp-ink); }
291
+ .hc-steps li.is-done .hc-tick { background: var(--wp-ink); border-color: var(--wp-ink); }
292
+ .hc-steps li.is-fail { color: var(--wp-rust); }
293
+ .hc-steps li.is-fail .hc-tick { border-color: var(--wp-rust); border-radius: 0; }
294
+ @keyframes hc-pulse { 50% { background: var(--oa-blue); } }
295
+ @media (prefers-reduced-motion: reduce) { .hc-steps li.is-active .hc-tick { animation: none; background: var(--oa-blue); } }
296
+ .hc-live { margin: var(--wp-4) 0 0; }
297
+ .hc-live:empty { display: none; }
298
+
299
+ /* Messages: not an SO arm, too few holds, not found. */
300
+ .hc-message { border-bottom: var(--wp-rule) solid var(--wp-ink); border-left: 4px solid var(--wp-ink); margin: var(--wp-12) 0 0; padding: var(--wp-2) 0 var(--wp-12) var(--wp-6); }
301
+ .hc-message h2 { font-size: clamp(1.625rem, 3vw, 2.5rem); margin: var(--wp-2) 0 var(--wp-6); max-width: 24ch; }
302
+ .hc-message h2:focus { outline: none; }
303
+ .hc-message p, .hc-message li, .hc-for { overflow-wrap: anywhere; }
304
+ .hc-why { font-family: var(--wp-font-mono); font-size: var(--wp-text-ledger); }
305
+
306
+ /* Sections of the card */
307
+ .hc-sec h2:focus { outline: none; }
308
+ .hc-for { color: var(--wp-muted); font: 400 var(--wp-text-meta)/1.5 var(--wp-font-mono); overflow-wrap: anywhere; }
309
+ .hc-answer { background: var(--oa-ground); color: var(--oa-paper); display: grid; gap: var(--wp-8); grid-template-columns: repeat(2, minmax(0, 1fr)); margin: var(--wp-6) 0; padding: var(--wp-8); }
310
+ .hc-fig .label { color: var(--oa-muted); display: block; }
311
+ .hc-fig-num { color: var(--oa-blue); font: 500 clamp(3rem, 7vw, 4.75rem)/0.95 var(--wp-font-body); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.04em; margin: var(--wp-3) 0 var(--wp-2); white-space: nowrap; }
312
+ .hc-fig-num small { font-size: 0.4em; letter-spacing: 0; }
313
+ .hc-fig-what { color: var(--oa-paper); font-size: var(--wp-text-meta); margin: 0 0 var(--wp-4); }
314
+ .hc-fig-none { grid-column: 1 / -1; margin: 0; }
315
+ .hc-do { font: 500 var(--wp-text-lede)/1.45 var(--wp-font-body); max-width: 46ch; }
316
+
317
+ /* Placement strip: 8 in 10 of other arms (p10-p90), the middle half (p25-p75), the median, this arm. */
318
+ .hc-strip { height: 1.5rem; margin: var(--wp-2) 0 var(--wp-1); position: relative; }
319
+ .hc-strip::before { background: currentColor; content: ""; height: 1px; left: 0; opacity: 0.35; position: absolute; right: 0; top: 50%; }
320
+ .hc-strip span { position: absolute; }
321
+ .hc-strip-wide { background: var(--wp-hair); height: 0.5rem; left: var(--a); right: calc(100% - var(--b)); top: 0.5rem; }
322
+ .hc-strip-band { background: var(--oa-blue); border: 1px solid var(--oa-blue-deep); height: 0.75rem; left: var(--a); right: calc(100% - var(--b)); top: 0.375rem; }
323
+ .hc-strip-mid { background: var(--wp-ink); height: 1.125rem; left: var(--a); top: 0.1875rem; transform: translateX(-1px); width: 2px; }
324
+ .hc-strip-you { background: var(--wp-ink); border: 2px solid var(--wp-paper); border-radius: 50%; height: 1.125rem; left: var(--a); top: 0.1875rem; transform: translateX(-50%); width: 1.125rem; }
325
+ .hc-strip-you.is-off { border-radius: 0; clip-path: polygon(0 0, 100% 50%, 0 100%); }
326
+ .hc-answer .hc-strip { color: var(--oa-muted); }
327
+ .hc-answer .hc-strip-wide { background: var(--oa-line); }
328
+ .hc-answer .hc-strip-band { background: var(--oa-control); border-color: var(--oa-muted); }
329
+ .hc-answer .hc-strip-mid { background: var(--oa-paper); }
330
+ .hc-answer .hc-strip-you { background: var(--oa-blue); border-color: var(--oa-ground); }
331
+ .hc-place { color: var(--wp-muted); display: block; font: 400 var(--wp-text-cite)/1.4 var(--wp-font-mono); }
332
+ .hc-answer .hc-place { color: var(--oa-muted); margin: 0; }
333
+
334
+ /* Per-joint table */
335
+ .hc-table { margin: var(--wp-6) 0 var(--wp-4); }
336
+ table.hc-joints { min-width: 0; table-layout: fixed; }
337
+ .hc-joints thead th:first-child { width: 24%; }
338
+ .hc-joints thead th:last-child { width: 12%; }
339
+ .hc-joints th, .hc-joints td { padding: var(--wp-4) var(--wp-4) var(--wp-4) 0; vertical-align: top; }
340
+ .hc-joints td.num, .hc-joints th.num { text-align: left; white-space: normal; padding-right: var(--wp-6); }
341
+ .hc-joints td.hc-bias { padding-right: 0; text-align: right; }
342
+ .hc-joints thead th.num:last-child { text-align: right; padding-right: 0; }
343
+ .hc-joints tbody th { font-weight: 400; }
344
+ .hc-jn { display: block; font-weight: 600; }
345
+ .hc-jm { color: var(--wp-muted); display: block; font: 400 var(--wp-text-cite)/1.5 var(--wp-font-mono); }
346
+ .hc-v { display: block; font: 500 1.375rem/1.2 var(--wp-font-mono); font-variant-numeric: tabular-nums; }
347
+ .hc-ci { color: var(--wp-muted); display: block; font: 400 var(--wp-text-cite)/1.5 var(--wp-font-mono); }
348
+ .hc-nm { color: var(--wp-muted); font-family: var(--wp-font-mono); }
349
+ .hc-vh { clip: rect(0 0 0 0); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
350
+ .hc-key { align-items: center; color: var(--wp-muted); display: flex; flex-wrap: wrap; font: 400 var(--wp-text-cite)/1.5 var(--wp-font-mono); gap: var(--wp-2) var(--wp-3); }
351
+ .hc-key > span { align-items: center; display: inline-flex; gap: var(--wp-2); white-space: nowrap; }
352
+ .hc-key i { display: inline-block; flex: 0 0 auto; }
353
+ .hc-key-wide { background: var(--wp-hair); height: 0.5rem; width: 1.5rem; }
354
+ .hc-key-band { background: var(--oa-blue); border: 1px solid var(--oa-blue-deep); height: 0.75rem; width: 1.5rem; }
355
+ .hc-key-mid { background: var(--wp-ink); height: 1rem; width: 2px; }
356
+ .hc-key-you { background: var(--wp-ink); border-radius: 50%; height: 0.875rem; width: 0.875rem; }
357
+ .hc-note { color: var(--wp-muted); font-size: var(--wp-text-meta); }
358
+
359
+ /* Downloads and facts */
360
+ .hc-downloads { display: flex; flex-wrap: wrap; gap: var(--wp-4); margin: var(--wp-6) 0; }
361
+ .hc-dl { align-items: center; background: var(--wp-bio); border: 2px solid var(--wp-bio); border-radius: var(--wp-pill); color: var(--wp-on-bio); display: inline-flex;
362
+ font-weight: 600; min-height: var(--wp-tap); padding: 0 var(--wp-6); text-decoration: none; }
363
+ .hc-dl:hover { background: var(--oa-ground-2); }
364
+ .hc-dl-2 { background: transparent; color: var(--wp-ink); }
365
+ .hc-dl-2:hover { background: var(--wp-panel); }
366
+ .hc-facts { display: grid; font-size: var(--wp-text-ledger); gap: var(--wp-2) var(--wp-6); grid-template-columns: max-content minmax(0, 1fr); margin: var(--wp-6) 0 0; }
367
+ .hc-facts dt { color: var(--wp-muted); font: 500 var(--wp-text-cite)/1.9 var(--wp-font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
368
+ .hc-facts dd { font-family: var(--wp-font-mono); margin: 0; overflow-wrap: anywhere; }
369
+
370
+ @media (max-width: 900px) {
371
+ .hc-opening { grid-template-columns: minmax(0, 1fr); }
372
+ .hc-plate { max-width: 30rem; }
373
+ }
374
+ @media (max-width: 720px) {
375
+ .hc-answer { grid-template-columns: minmax(0, 1fr); padding: var(--wp-6); }
376
+ .hc-opening { gap: var(--wp-8); }
377
+ table.hc-joints, .hc-joints tbody, .hc-joints tr, .hc-joints th, .hc-joints td { display: block; width: 100%; }
378
+ .hc-joints thead { display: none; }
379
+ .hc-joints tr { border-bottom: var(--wp-rule) solid var(--wp-ink); padding: var(--wp-4) 0; }
380
+ .hc-joints tbody tr:last-child { border-bottom-width: 2px; }
381
+ .hc-joints th, .hc-joints td, .hc-joints td.num, .hc-joints td.hc-bias { border: 0; padding: 0 0 var(--wp-4); text-align: left; }
382
+ .hc-joints td.hc-cell::before { color: var(--wp-muted); content: attr(data-label); display: block; font: 500 var(--wp-text-cite)/1.4 var(--wp-font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
383
+ .hc-joints td.hc-bias { align-items: baseline; display: flex; gap: var(--wp-3); padding-bottom: 0; }
384
+ .hc-joints td.hc-bias .hc-v { font-size: 1rem; }
385
+ }
386
+
387
+ /* What we receive, the community line and the source link */
388
+ .hc-ask .lede a { color: var(--oa-paper); text-decoration-color: var(--oa-blue); }
389
+ .hc-community { margin: 0 0 var(--wp-6); max-width: var(--wp-measure); }
390
+ .hc-privacy { border-left: var(--wp-rule-strong) solid var(--oa-blue-deep); margin: var(--wp-6) 0; padding: var(--wp-1) 0 var(--wp-1) var(--wp-4); }
391
+ .hc-privacy .label { color: var(--oa-blue-deep); display: block; margin-bottom: var(--wp-2); }
392
+ .hc-privacy p { margin: 0; }
393
+ .hc-privacy:target, .hc-privacy:focus { background: var(--wp-panel); outline: none; }
394
+ .hc-source a { align-items: center; display: inline-flex; font-weight: 600; min-height: var(--wp-tap); }
index.html ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self' 'wasm-unsafe-eval'; worker-src 'self'; connect-src 'self' https://huggingface.co https://*.hf.co; style-src 'self'; font-src 'self'; img-src 'self'; base-uri 'none'; form-action 'none'; object-src 'none'">
7
+ <meta name="referrer" content="no-referrer">
8
+ <title>Arm play check for SO-100 and SO-101 · CyberNative</title>
9
+ <meta name="description" content="Paste the Hugging Face id of a LeRobot dataset you recorded. Your browser measures each joint's play and settle scatter, and how far the gripper can miss, against 371 other SO arms.">
10
+ <link rel="stylesheet" href="holdcheck.css">
11
+ <link rel="icon" href="mark-favicon.svg" type="image/svg+xml">
12
+ <script type="module" src="app.js"></script>
13
+ </head>
14
+ <body>
15
+ <a class="hc-skip" href="#hc-main">Skip to the check</a>
16
+ <header class="field">
17
+ <div class="wrap">
18
+ <a class="brand" href="https://cybernative.ai/" target="_blank" rel="noopener">
19
+ <svg viewBox="150 130 960 960" fill="currentColor" aria-hidden="true"><path d="M421 169H813Q822 169 828 176L908 261Q918 270 908 279L865 313Q861 317 852 317H491Q472 317 457 332L371 417Q356 432 356 450V756Q356 779 372 796L427 852Q444 870 465 870H711Q724 870 733 880L824 973Q833 982 824 991L784 1030Q778 1036 766 1036H424Q396 1036 377 1017L220 861Q199 840 199 813V421Q199 391 219 371L391 185Q404 169 421 169Z"/><path d="M401 402H510Q532 402 548 418L949 835Q959 846 959 831V554Q959 537 971 524L1062 425Q1073 413 1073 429V980L1017 1055Q1005 1071 994 1059L392 419Q379 402 401 402Z"/></svg>
20
+ <span>CyberNative</span>
21
+ </a>
22
+ <p class="label"><b>Tool</b> · SO-100 / SO-101</p>
23
+ </div>
24
+ <div class="wrap opening hc-opening" id="hc-main">
25
+ <div class="hc-ask">
26
+ <h1>How far does your arm <em>miss by</em>?</h1>
27
+ <p class="lede">Paste the id of a LeRobot dataset you recorded with an SO-100 or SO-101. Your browser reads its joint recordings from Hugging Face and measures each joint's play and settle scatter, then what they mean at the gripper, against 371 other arms. <a href="#hc-privacy">We receive nothing you paste.</a></p>
28
+ <form class="hc-form" id="hc-form" novalidate>
29
+ <div class="hc-field">
30
+ <label for="hc-id">Dataset id on Hugging Face</label>
31
+ <input id="hc-id" name="id" type="text" value="lerobot/svla_so101_pickplace" autocomplete="off" autocapitalize="off" spellcheck="false" inputmode="url" aria-describedby="hc-id-hint hc-id-error" required>
32
+ <p class="hc-hint" id="hc-id-hint"><code>user/name</code>, or paste the dataset's address.</p>
33
+ <p class="hc-error" id="hc-id-error" hidden></p>
34
+ </div>
35
+ <div class="hc-field">
36
+ <label for="hc-sub">Folder inside it <span>optional</span></label>
37
+ <input id="hc-sub" name="sub" type="text" value="" autocomplete="off" autocapitalize="off" spellcheck="false" aria-describedby="hc-sub-hint">
38
+ <p class="hc-hint" id="hc-sub-hint">Only when your recording sits in a larger repository: the folder that holds <code>meta/</code> and <code>data/</code>.</p>
39
+ </div>
40
+ <div class="hc-actions">
41
+ <button type="submit" id="hc-go">Check my arm</button>
42
+ <button type="button" id="hc-stop" class="hc-quiet" hidden>Stop</button>
43
+ </div>
44
+ </form>
45
+ </div>
46
+ <figure class="hc-plate" id="hc-plate" data-one="3.6" data-either="9.2" data-one-v="3.63" data-either-v="9.23">
47
+ <div class="hc-plate-draw" id="hc-plate-draw" role="img" aria-label="A typical SO arm, seen from above at the gripper: 95 percent of arrivals land within 3.6 millimetres of the target when the arm approaches from one side, and within 9.2 millimetres when it approaches from any side."></div>
48
+ <figcaption id="hc-plate-cap"><span class="label">A typical SO arm, from above</span>95% of arrivals at a target land inside each circle. Inner: approaching from one side, 3.6 mm. Outer: from any side, 9.2 mm. Grid 5 mm.</figcaption>
49
+ </figure>
50
+ </div>
51
+ </header>
52
+
53
+ <main class="wrap">
54
+ <div class="hc-status" id="hc-status" hidden>
55
+ <ol class="hc-steps" id="hc-steps">
56
+ <li data-step="info"><span class="hc-tick" aria-hidden="true"></span><span>Read the dataset's description</span></li>
57
+ <li data-step="engine"><span class="hc-tick" aria-hidden="true"></span><span>Start the measuring engine in this tab <span class="hc-sub">26 MB, once per visit</span></span></li>
58
+ <li data-step="data"><span class="hc-tick" aria-hidden="true"></span><span>Download the joint recordings <span class="hc-sub" id="hc-data-detail"></span></span>
59
+ <progress id="hc-data-bar" max="1" value="0" aria-label="Download progress"></progress></li>
60
+ <li data-step="measure"><span class="hc-tick" aria-hidden="true"></span><span>Measure every hold <span class="hc-sub">seconds; a few minutes for very long recordings</span></span></li>
61
+ </ol>
62
+ <p class="hc-live" id="hc-live" role="status" aria-live="polite"></p>
63
+ </div>
64
+
65
+ <div class="hc-message" id="hc-message" role="alert" hidden>
66
+ <p class="label" id="hc-message-label">Not measured</p>
67
+ <h2 id="hc-message-title"></h2>
68
+ <div id="hc-message-body"></div>
69
+ </div>
70
+
71
+ <div id="hc-result" hidden>
72
+ <section class="hc-sec" aria-labelledby="hc-tip-h">
73
+ <p class="label">01 · At the gripper</p>
74
+ <div>
75
+ <h2 id="hc-tip-h">How far your gripper can land from where it was sent.</h2>
76
+ <p class="hc-for" id="hc-for"></p>
77
+ <div class="hc-answer" id="hc-tip"></div>
78
+ <p class="hc-do" id="hc-do"></p>
79
+ <div class="limit"><span class="label">Limit</span><span id="hc-tip-limit">A placement whose lead-in or tolerance is smaller than these will miss about 1 time in 20 or more from this arm's servos alone, before camera, calibration and printed-part play are added. Approaching every target from the same side removes the lost-motion part.</span></div>
80
+ </div>
81
+ </section>
82
+
83
+ <section class="hc-sec" aria-labelledby="hc-joints-h">
84
+ <p class="label">02 · Per joint</p>
85
+ <div>
86
+ <h2 id="hc-joints-h">Where each joint sits among other SO arms.</h2>
87
+ <p><b>Lost motion</b>: how far apart the follower settles when it arrives at the same command from above and from below. <b>Scatter</b>: how much it varies arriving from one side. Both at the servo's output shaft. 1 encoder step = 0.088 deg.</p>
88
+ <div class="hc-table" id="hc-joints"></div>
89
+ <p class="hc-key"><span><i class="hc-key-you" aria-hidden="true"></i>this arm</span> <span><i class="hc-key-mid" aria-hidden="true"></i>median of other arms</span> <span><i class="hc-key-band" aria-hidden="true"></i>their middle half</span> <span><i class="hc-key-wide" aria-hidden="true"></i>8 in 10 of them</span> <span>Left is tighter.</span></p>
90
+ <p class="hc-note" id="hc-scatter-note">Scatter is from holds of 1 s or more with an empty gripper where the recording has enough of them.</p>
91
+ </div>
92
+ </section>
93
+
94
+ <section class="hc-sec" aria-labelledby="hc-card-h">
95
+ <p class="label">03 · The card</p>
96
+ <div>
97
+ <h2 id="hc-card-h">Keep the card.</h2>
98
+ <p>The card holds every figure above and the ones behind them: the 90% intervals in encoder steps, hold counts by direction, settle creep, and the measuring settings. Measure again after you tighten a horn or change a servo and compare the two.</p>
99
+ <div class="hc-downloads">
100
+ <a class="hc-dl" id="hc-dl-json" href="#" download="holdcheck-card.json">Download card (JSON)</a>
101
+ <a class="hc-dl hc-dl-2" id="hc-dl-text" href="#" download="holdcheck-card.txt">Download as text</a>
102
+ </div>
103
+ <p class="hc-community">Got a card? <a href="https://huggingface.co/spaces/CyberNative-AI/holdcheck/discussions" target="_blank" rel="noopener">Post it in the Community tab</a>, especially if it disagrees with what you see on your bench.</p>
104
+ <dl class="hc-facts" id="hc-facts"></dl>
105
+ </div>
106
+ </section>
107
+ </div>
108
+
109
+ <section class="hc-sec" aria-labelledby="hc-method-h">
110
+ <p class="label" id="hc-method-n">Method and limits</p>
111
+ <div>
112
+ <h2 id="hc-method-h">What it reads, and what it cannot see.</h2>
113
+ <p>A LeRobot teleoperation recording stores the leader arm (the command, <code>action</code>) and the follower arm (<code>observation.state</code>) at every frame. When you hold the leader still for half a second after moving a joint at least a degree, the follower should settle on the command. The check takes where it settled at the end of every such hold and splits the holds by the direction the joint arrived from.</p>
114
+ <p>Lost motion is the width of a play band fitted to those settled errors, replaying the command from where the approach began; the 90% interval comes from resampling the holds. Scatter is the robust spread of the settled error from one side. A joint needs at least 8 holds from above and 8 from below. The step size is read from the recording itself, so degrees and the -100..100 range both work.</p>
115
+ <p>At the gripper, each joint's scatter and half its lost motion go through the SO-101 arm's geometry at 64 table poses 13 to 25 cm in front of the base, tool pointing down. The figure is the sideways distance that holds 95% of arrivals. SO-100 links differ slightly; the same geometry is used.</p>
116
+ <p>The comparison is 371 SO-100 and SO-101 arms measured the same way from public LeRobot recordings, one value per arm; 280 of them have all five joints measured for the gripper figures.</p>
117
+ <div class="limit"><span class="label">Limit</span>The servo's encoder sits on its output shaft, so play between the shaft and the link (horn screws, printed parts, link bending) does not appear. Every figure here is a lower bound on the play at the tool.</div>
118
+ <div class="limit"><span class="label">Limit</span>A hold where the arm presses on the table or an object reads as error; medians limit this, they do not remove it. Your recording is read from Hugging Face by your browser and measured in this tab. Private and gated datasets cannot be read here.</div>
119
+ <div class="hc-privacy" id="hc-privacy" tabindex="-1"><span class="label">What we receive</span><p>The analysis runs in your browser and the dataset is read directly from Hugging Face. We receive nothing you paste. Hugging Face hosts the page and sees the visit. No analytics. The page's scripts, including the open-source Python runtime it uses, and its fonts are served from the page's own host, not from a CDN.</p></div>
120
+ <p class="hc-source"><a href="https://github.com/CyberNative-AI/holdcheck" target="_blank" rel="noopener">Source, method and limits</a></p>
121
+ </div>
122
+ </section>
123
+ </main>
124
+
125
+ <footer class="close">
126
+ <div class="wrap">
127
+ <p class="label">Prepared by CyberNative AI LLC, an AI-run company, using AI agents</p>
128
+ <p class="label">Arm play check · method 0.3.1</p>
129
+ </div>
130
+ </footer>
131
+ </body>
132
+ </html>
mark-favicon.svg ADDED
py/corpus_summary.json ADDED
@@ -0,0 +1,1742 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tip": {
3
+ "arms": 280,
4
+ "rule": "per arm: median of each joint figure over its datasets, then holdcheck.tip_figures",
5
+ "one_side_p95_mm": {
6
+ "p10": 1.8190000000000002,
7
+ "p25": 2.4875,
8
+ "p50": 3.63,
9
+ "p75": 5.1125,
10
+ "p90": 7.04
11
+ },
12
+ "either_side_p95_mm": {
13
+ "p10": 6.575,
14
+ "p25": 7.495,
15
+ "p50": 9.23,
16
+ "p75": 11.8225,
17
+ "p90": 14.894
18
+ }
19
+ },
20
+ "tally": {
21
+ "cards": 1755,
22
+ "error": 1,
23
+ "skip": 180,
24
+ "measured": 1574
25
+ },
26
+ "lattice_modes": {
27
+ "degrees": 6695,
28
+ "range_m100_100": 2579,
29
+ "unlattice": 165,
30
+ "raw_steps": 5
31
+ },
32
+ "robot_types": {
33
+ "so100": 895,
34
+ "so101": 312,
35
+ "so101_follower": 121,
36
+ "so100_follower": 117,
37
+ "moss": 2,
38
+ "so100-blue": 2,
39
+ "so100-red": 1,
40
+ "piper_follower": 1,
41
+ "koch": 38,
42
+ "koch_follower": 7,
43
+ "so100MovellaDot": 75,
44
+ "so100_with_koch": 3
45
+ },
46
+ "family_rule": "so100: robot_type starts so100; so101: starts so101; koch; mixed (koch with so); other",
47
+ "joints": {
48
+ "shoulder_pan": {
49
+ "loaded": false,
50
+ "contributors": 348,
51
+ "datasets": 978,
52
+ "holds": 158332,
53
+ "lost_motion_deg": {
54
+ "p10": 0.439453125,
55
+ "p25": 0.52734375,
56
+ "p50": 0.7470703125,
57
+ "p75": 0.966796875,
58
+ "p90": 1.2227783203125002
59
+ },
60
+ "scatter_sd_deg": {
61
+ "p10": 0.13030608465237428,
62
+ "p25": 0.1628815981150818,
63
+ "p50": 0.1954596095932771,
64
+ "p75": 0.2606121693047473,
65
+ "p90": 0.39091825395712076
66
+ },
67
+ "bias_deg": {
68
+ "p10": -0.175780537502454,
69
+ "p25": -0.08789109374799861,
70
+ "p50": -0.021972562500400354,
71
+ "p75": 0.043946437495197194,
72
+ "p90": 0.13183543125216005
73
+ },
74
+ "scatter_over_lost_motion": {
75
+ "p10": 0.15555482964967193,
76
+ "p25": 0.20722509483867063,
77
+ "p50": 0.2820684676118649,
78
+ "p75": 0.40202355690856817,
79
+ "p90": 0.55597262785013
80
+ },
81
+ "scatter_sd_free_deg": {
82
+ "p10": 0.13030558427700834,
83
+ "p25": 0.13030608465237797,
84
+ "p50": 0.1851421477689446,
85
+ "p75": 0.24432411721293548,
86
+ "p90": 0.325765211630934
87
+ },
88
+ "arms_with_free_holds": 219,
89
+ "settle_creep_deg": {
90
+ "p10": -0.004856398198286658,
91
+ "p25": 0.0,
92
+ "p50": 0.010341965947698251,
93
+ "p75": 0.028547875081926563,
94
+ "p90": 0.05194812643003189
95
+ },
96
+ "share_lost_motion_over_1deg": 0.20977011494252873,
97
+ "share_lost_motion_over_0p5deg": 0.8247126436781609
98
+ },
99
+ "shoulder_lift": {
100
+ "loaded": true,
101
+ "contributors": 308,
102
+ "datasets": 812,
103
+ "holds": 121553,
104
+ "lost_motion_deg": {
105
+ "p10": 0.0,
106
+ "p25": 0.17578125,
107
+ "p50": 0.791015625,
108
+ "p75": 1.7193603515625,
109
+ "p90": 2.8696289062500004
110
+ },
111
+ "scatter_sd_deg": {
112
+ "p10": 0.19545912697856033,
113
+ "p25": 0.3054053723800466,
114
+ "p50": 0.42349552799963547,
115
+ "p75": 0.6189539020987722,
116
+ "p90": 1.0424519389215487
117
+ },
118
+ "bias_deg": {
119
+ "p10": 0.2636707500048028,
120
+ "p25": 0.4833975000040025,
121
+ "p50": 0.9112326056360179,
122
+ "p75": 1.40802295117386,
123
+ "p90": 2.373044325003456
124
+ },
125
+ "scatter_over_lost_motion": {
126
+ "p10": 0.1397301605747395,
127
+ "p25": 0.28169279811072984,
128
+ "p50": 0.5515367601997229,
129
+ "p75": 1.0192831510585663,
130
+ "p90": 2.2238892462538966
131
+ },
132
+ "scatter_sd_free_deg": {
133
+ "p10": 0.15562441935144833,
134
+ "p25": 0.2500859902251812,
135
+ "p50": 0.3583417327940386,
136
+ "p75": 0.5023152371457893,
137
+ "p90": 0.7497979129188026
138
+ },
139
+ "arms_with_free_holds": 126,
140
+ "settle_creep_deg": {
141
+ "p10": 0.0,
142
+ "p25": 0.006063856534201362,
143
+ "p50": 0.026868798645276533,
144
+ "p75": 0.056656815806320475,
145
+ "p90": 0.08661733891902774
146
+ },
147
+ "share_lost_motion_over_1deg": 0.4383116883116883,
148
+ "share_lost_motion_over_0p5deg": 0.6103896103896104
149
+ },
150
+ "elbow_flex": {
151
+ "loaded": true,
152
+ "contributors": 329,
153
+ "datasets": 925,
154
+ "holds": 149889,
155
+ "lost_motion_deg": {
156
+ "p10": 1.8369140625000002,
157
+ "p25": 2.109375,
158
+ "p50": 2.5927734375,
159
+ "p75": 3.427734375,
160
+ "p90": 4.583496093749999
161
+ },
162
+ "scatter_sd_deg": {
163
+ "p10": 0.19545912697856047,
164
+ "p25": 0.2769004298862929,
165
+ "p50": 0.4234947751202136,
166
+ "p75": 0.5863773809356794,
167
+ "p90": 0.9121425925666129
168
+ },
169
+ "bias_deg": {
170
+ "p10": 0.6943251000462674,
171
+ "p25": 1.0546788750368217,
172
+ "p50": 1.2963760312956265,
173
+ "p75": 1.8676710937700116,
174
+ "p90": 2.373032066728338
175
+ },
176
+ "scatter_over_lost_motion": {
177
+ "p10": 0.07668609214180927,
178
+ "p25": 0.10224783960462125,
179
+ "p50": 0.15299584823191492,
180
+ "p75": 0.23167444630497316,
181
+ "p90": 0.3312539901627394
182
+ },
183
+ "scatter_sd_free_deg": {
184
+ "p10": 0.16288260581546687,
185
+ "p25": 0.22803564814165395,
186
+ "p50": 0.3397294440137018,
187
+ "p75": 0.4886478174464014,
188
+ "p90": 0.7492599867511331
189
+ },
190
+ "arms_with_free_holds": 161,
191
+ "settle_creep_deg": {
192
+ "p10": 0.0,
193
+ "p25": 0.00032192820938541946,
194
+ "p50": 0.01730709722824406,
195
+ "p75": 0.03850842075198567,
196
+ "p90": 0.06954839187626684
197
+ },
198
+ "share_lost_motion_over_1deg": 0.993920972644377,
199
+ "share_lost_motion_over_0p5deg": 0.993920972644377
200
+ },
201
+ "wrist_flex": {
202
+ "loaded": true,
203
+ "contributors": 346,
204
+ "datasets": 936,
205
+ "holds": 160547,
206
+ "lost_motion_deg": {
207
+ "p10": 0.703125,
208
+ "p25": 0.87890625,
209
+ "p50": 1.142578125,
210
+ "p75": 1.494140625,
211
+ "p90": 2.109375
212
+ },
213
+ "scatter_sd_deg": {
214
+ "p10": 0.13030608465237936,
215
+ "p25": 0.19545912697855833,
216
+ "p50": 0.26061216930474806,
217
+ "p75": 0.390918253957122,
218
+ "p90": 0.5863773809356789
219
+ },
220
+ "bias_deg": {
221
+ "p10": -0.39550593750827523,
222
+ "p25": 0.04394643749519861,
223
+ "p50": 0.213285674254939,
224
+ "p75": 0.3515598750112074,
225
+ "p90": 0.5273385000224132
226
+ },
227
+ "scatter_over_lost_motion": {
228
+ "p10": 0.13478124311518078,
229
+ "p25": 0.16512862237428932,
230
+ "p50": 0.22238905114004925,
231
+ "p75": 0.3294636795149764,
232
+ "p90": 0.460458854382543
233
+ },
234
+ "scatter_sd_free_deg": {
235
+ "p10": 0.1303054174852198,
236
+ "p25": 0.14629822709436346,
237
+ "p50": 0.1954591269785639,
238
+ "p75": 0.3721358534740211,
239
+ "p90": 0.6710763359597167
240
+ },
241
+ "arms_with_free_holds": 215,
242
+ "settle_creep_deg": {
243
+ "p10": 0.0,
244
+ "p25": 0.007507866183522335,
245
+ "p50": 0.02929675000053365,
246
+ "p75": 0.05004861458424498,
247
+ "p90": 0.07303261250133031
248
+ },
249
+ "share_lost_motion_over_1deg": 0.653179190751445,
250
+ "share_lost_motion_over_0p5deg": 0.9682080924855492
251
+ },
252
+ "wrist_roll": {
253
+ "loaded": false,
254
+ "contributors": 339,
255
+ "datasets": 909,
256
+ "holds": 140427,
257
+ "lost_motion_deg": {
258
+ "p10": 0.52734375,
259
+ "p25": 0.615234375,
260
+ "p50": 0.72509765625,
261
+ "p75": 0.966796875,
262
+ "p90": 1.23046875
263
+ },
264
+ "scatter_sd_deg": {
265
+ "p10": 0.1303036939700642,
266
+ "p25": 0.13030608465237348,
267
+ "p50": 0.13030705760447014,
268
+ "p75": 0.1954594976252203,
269
+ "p90": 0.32576546181866384
270
+ },
271
+ "bias_deg": {
272
+ "p10": -0.08788785001184667,
273
+ "p25": -0.04394381250640375,
274
+ "p50": 1.2499994541401507e-07,
275
+ "p75": 0.043945125000800424,
276
+ "p90": 0.15052914140027085
277
+ },
278
+ "scatter_over_lost_motion": {
279
+ "p10": 0.1279570380774444,
280
+ "p25": 0.16473263047411163,
281
+ "p50": 0.2021722480503501,
282
+ "p75": 0.2618965656989653,
283
+ "p90": 0.4447758882735487
284
+ },
285
+ "scatter_sd_free_deg": {
286
+ "p10": 0.11401660788070503,
287
+ "p25": 0.13030608465237115,
288
+ "p50": 0.13030691861131483,
289
+ "p75": 0.19545912697856047,
290
+ "p90": 0.3045903825290156
291
+ },
292
+ "arms_with_free_holds": 224,
293
+ "settle_creep_deg": {
294
+ "p10": 0.0,
295
+ "p25": 0.0,
296
+ "p50": 0.01757686652411474,
297
+ "p75": 0.04073378210822836,
298
+ "p90": 0.06354205865481292
299
+ },
300
+ "share_lost_motion_over_1deg": 0.2153392330383481,
301
+ "share_lost_motion_over_0p5deg": 0.9174041297935103
302
+ }
303
+ },
304
+ "by_family": {
305
+ "koch": {
306
+ "shoulder_pan": {
307
+ "loaded": false,
308
+ "contributors": 11,
309
+ "datasets": 42,
310
+ "holds": 9560,
311
+ "lost_motion_deg": {
312
+ "p10": 0.087890625,
313
+ "p25": 0.087890625,
314
+ "p50": 0.263671875,
315
+ "p75": 0.50537109375,
316
+ "p90": 0.703125
317
+ },
318
+ "scatter_sd_deg": {
319
+ "p10": 0.13030594565921688,
320
+ "p25": 0.13030650163184365,
321
+ "p50": 0.1954591269785586,
322
+ "p75": 0.3746304691275094,
323
+ "p90": 0.4886478174464008
324
+ },
325
+ "bias_deg": {
326
+ "p10": -0.0878910382600885,
327
+ "p25": -0.05493143246279602,
328
+ "p50": 1.8749919953372357e-06,
329
+ "p75": 0.07690421424488766,
330
+ "p90": 0.17577900000960767
331
+ },
332
+ "scatter_over_lost_motion": {
333
+ "p10": 0.2707794891885096,
334
+ "p25": 0.4015365774972641,
335
+ "p50": 0.5749277075048015,
336
+ "p75": 1.0192839606228463,
337
+ "p90": 1.8903055114005065
338
+ },
339
+ "scatter_sd_free_deg": {
340
+ "p10": 0.0,
341
+ "p25": 0.0651533840672384,
342
+ "p50": 0.16288371776071978,
343
+ "p75": 0.19545912697856527,
344
+ "p90": 0.2703861535641788
345
+ },
346
+ "arms_with_free_holds": 9,
347
+ "settle_creep_deg": {
348
+ "p10": -0.012555750000228702,
349
+ "p25": -0.0028911266447895056,
350
+ "p50": 0.003255194444503739,
351
+ "p75": 0.012509514299214349,
352
+ "p90": 0.02511150000045741
353
+ },
354
+ "share_lost_motion_over_1deg": 0.0,
355
+ "share_lost_motion_over_0p5deg": 0.2727272727272727
356
+ },
357
+ "shoulder_lift": {
358
+ "loaded": true,
359
+ "contributors": 9,
360
+ "datasets": 34,
361
+ "holds": 6620,
362
+ "lost_motion_deg": {
363
+ "p10": 0.8173828125,
364
+ "p25": 2.109375,
365
+ "p50": 2.900390625,
366
+ "p75": 4.39453125,
367
+ "p90": 4.8515625
368
+ },
369
+ "scatter_sd_deg": {
370
+ "p10": 0.18475874207715143,
371
+ "p25": 0.24413680933830362,
372
+ "p50": 0.3257652116309375,
373
+ "p75": 0.6515304232618824,
374
+ "p90": 0.7427446825185204
375
+ },
376
+ "bias_deg": {
377
+ "p10": -3.1991998500806824,
378
+ "p25": -2.900389500004809,
379
+ "p50": -2.5488189375392283,
380
+ "p75": 0.15381077215883643,
381
+ "p90": 1.3748245921802744
382
+ },
383
+ "scatter_over_lost_motion": {
384
+ "p10": 0.05547119189434341,
385
+ "p25": 0.1037815571986917,
386
+ "p50": 0.1456118787226533,
387
+ "p75": 0.3011518400854859,
388
+ "p90": 0.3675292190815698
389
+ },
390
+ "scatter_sd_free_deg": {
391
+ "p10": 0.2298765289039055,
392
+ "p25": 0.2606121693047369,
393
+ "p50": 0.521224338609487,
394
+ "p75": 0.6515304232618641,
395
+ "p90": 0.7297140740532903
396
+ },
397
+ "arms_with_free_holds": 5,
398
+ "settle_creep_deg": {
399
+ "p10": 0.0166761234384599,
400
+ "p25": 0.021972562500400212,
401
+ "p50": 0.056008492648079014,
402
+ "p75": 0.06804406451736839,
403
+ "p90": 0.10968381090486727
404
+ },
405
+ "share_lost_motion_over_1deg": 0.7777777777777778,
406
+ "share_lost_motion_over_0p5deg": 0.8888888888888888
407
+ },
408
+ "elbow_flex": {
409
+ "loaded": true,
410
+ "contributors": 11,
411
+ "datasets": 39,
412
+ "holds": 8541,
413
+ "lost_motion_deg": {
414
+ "p10": 2.63671875,
415
+ "p25": 2.9443359375,
416
+ "p50": 3.71337890625,
417
+ "p75": 5.020751953125,
418
+ "p90": 5.2734375
419
+ },
420
+ "scatter_sd_deg": {
421
+ "p10": 0.48864781744640057,
422
+ "p25": 0.6375771104923418,
423
+ "p50": 0.9121425925666246,
424
+ "p75": 1.3356373676868247,
425
+ "p90": 1.7171697803040162
426
+ },
427
+ "bias_deg": {
428
+ "p10": -1.2743973750712418,
429
+ "p25": -0.8184783708150862,
430
+ "p50": 0.35157224995837566,
431
+ "p75": 1.274416687488795,
432
+ "p90": 1.9775244375624403
433
+ },
434
+ "scatter_over_lost_motion": {
435
+ "p10": 0.1010859323363867,
436
+ "p25": 0.15338169116249628,
437
+ "p50": 0.2851141681282709,
438
+ "p75": 0.36888342609738484,
439
+ "p90": 0.46242783827253453
440
+ },
441
+ "scatter_sd_free_deg": {
442
+ "p10": 0.3974335581897353,
443
+ "p25": 0.45607129628329973,
444
+ "p50": 0.5212243386095,
445
+ "p75": 0.5863773809356804,
446
+ "p90": 0.6450151190292496
447
+ },
448
+ "arms_with_free_holds": 5,
449
+ "settle_creep_deg": {
450
+ "p10": 0.002359238531675868,
451
+ "p25": 0.017967927464852016,
452
+ "p50": 0.046635642857992377,
453
+ "p75": 0.061270955664130364,
454
+ "p90": 0.07167080271829562
455
+ },
456
+ "share_lost_motion_over_1deg": 1.0,
457
+ "share_lost_motion_over_0p5deg": 1.0
458
+ },
459
+ "wrist_flex": {
460
+ "loaded": true,
461
+ "contributors": 11,
462
+ "datasets": 40,
463
+ "holds": 9179,
464
+ "lost_motion_deg": {
465
+ "p10": 0.68115234375,
466
+ "p25": 1.23046875,
467
+ "p50": 2.0654296875,
468
+ "p75": 3.8671875,
469
+ "p90": 4.5263671875
470
+ },
471
+ "scatter_sd_deg": {
472
+ "p10": 0.4993053477254086,
473
+ "p25": 0.6913854364288607,
474
+ "p50": 1.531096494665376,
475
+ "p75": 2.101185615019524,
476
+ "p90": 2.4430514615286087
477
+ },
478
+ "bias_deg": {
479
+ "p10": -1.7358268125556329,
480
+ "p25": -0.4719538121146183,
481
+ "p50": -0.05662886363161709,
482
+ "p75": 0.2856413437636047,
483
+ "p90": 1.8896480625016014
484
+ },
485
+ "scatter_over_lost_motion": {
486
+ "p10": 0.22731307787347468,
487
+ "p25": 0.4641870566307257,
488
+ "p50": 0.6534842594195467,
489
+ "p75": 0.911819177753337,
490
+ "p90": 1.0957453109330262
491
+ },
492
+ "scatter_sd_free_deg": {
493
+ "p10": 0.25763301432997343,
494
+ "p25": 0.4954819788287327,
495
+ "p50": 0.9121425925666132,
496
+ "p75": 1.5677450809738749,
497
+ "p90": 1.9923296678305211
498
+ },
499
+ "arms_with_free_holds": 8,
500
+ "settle_creep_deg": {
501
+ "p10": 0.0015694687500285743,
502
+ "p25": 0.01649316531703876,
503
+ "p50": 0.03515610000064037,
504
+ "p75": 0.05258677305736031,
505
+ "p90": 0.18758432851863346
506
+ },
507
+ "share_lost_motion_over_1deg": 0.7272727272727273,
508
+ "share_lost_motion_over_0p5deg": 0.9090909090909091
509
+ },
510
+ "wrist_roll": {
511
+ "loaded": false,
512
+ "contributors": 12,
513
+ "datasets": 42,
514
+ "holds": 14605,
515
+ "lost_motion_deg": {
516
+ "p10": 0.1845703125,
517
+ "p25": 0.52734375,
518
+ "p50": 0.933837890625,
519
+ "p75": 1.40625,
520
+ "p90": 1.564453125
521
+ },
522
+ "scatter_sd_deg": {
523
+ "p10": 0.13030570937085206,
524
+ "p25": 0.228037104138074,
525
+ "p50": 0.3583417327940305,
526
+ "p75": 0.5212243386094896,
527
+ "p90": 0.5505455524990258
528
+ },
529
+ "bias_deg": {
530
+ "p10": -0.7481674958108118,
531
+ "p25": -0.16479357762001764,
532
+ "p50": 0.06592228123158587,
533
+ "p75": 0.09887667187619985,
534
+ "p90": 0.21093768596704035
535
+ },
536
+ "scatter_over_lost_motion": {
537
+ "p10": 0.21359400391982286,
538
+ "p25": 0.2486433141218643,
539
+ "p50": 0.34593852399564784,
540
+ "p75": 0.5271449442869398,
541
+ "p90": 0.648634732491808
542
+ },
543
+ "scatter_sd_free_deg": {
544
+ "p10": 0.12053267881652037,
545
+ "p25": 0.22803645742068077,
546
+ "p50": 0.28504532350364176,
547
+ "p75": 0.38277356769372967,
548
+ "p90": 0.6857342137597617
549
+ },
550
+ "arms_with_free_holds": 8,
551
+ "settle_creep_deg": {
552
+ "p10": 0.0,
553
+ "p25": 0.008220356497691376,
554
+ "p50": 0.03515622000002568,
555
+ "p75": 0.048196021101359864,
556
+ "p90": 0.06873468269355974
557
+ },
558
+ "share_lost_motion_over_1deg": 0.4166666666666667,
559
+ "share_lost_motion_over_0p5deg": 0.75
560
+ }
561
+ },
562
+ "mixed": {
563
+ "shoulder_pan": {
564
+ "loaded": false,
565
+ "contributors": 2,
566
+ "datasets": 3,
567
+ "holds": 352,
568
+ "lost_motion_deg": {
569
+ "p10": 0.298828125,
570
+ "p25": 0.3515625,
571
+ "p50": 0.439453125,
572
+ "p75": 0.52734375,
573
+ "p90": 0.580078125
574
+ },
575
+ "scatter_sd_deg": {
576
+ "p10": 0.15636730158284828,
577
+ "p25": 0.19545912697856038,
578
+ "p50": 0.2606121693047473,
579
+ "p75": 0.32576521163093414,
580
+ "p90": 0.36485703702664624
581
+ },
582
+ "bias_deg": {
583
+ "p10": -0.19335918750080044,
584
+ "p25": -0.15380868749959975,
585
+ "p50": -0.08789118749759858,
586
+ "p75": -0.021973687495597416,
587
+ "p90": 0.01757681250560329
588
+ },
589
+ "scatter_over_lost_motion": {
590
+ "p10": 0.215329081262589,
591
+ "p25": 0.22062405867068569,
592
+ "p50": 0.22944902101751344,
593
+ "p75": 0.2382739833643412,
594
+ "p90": 0.24356896077243786
595
+ },
596
+ "scatter_sd_free_deg": {
597
+ "p10": 0.2769004298862938,
598
+ "p25": 0.2769004298862938,
599
+ "p50": 0.2769004298862938,
600
+ "p75": 0.2769004298862938,
601
+ "p90": 0.2769004298862938
602
+ },
603
+ "arms_with_free_holds": 1,
604
+ "settle_creep_deg": {
605
+ "p10": 0.0003995011363709133,
606
+ "p25": 0.0009987528409272832,
607
+ "p50": 0.0019975056818545664,
608
+ "p75": 0.00299625852278185,
609
+ "p90": 0.0035955102273382195
610
+ },
611
+ "share_lost_motion_over_1deg": 0.0,
612
+ "share_lost_motion_over_0p5deg": 0.5
613
+ },
614
+ "shoulder_lift": {
615
+ "loaded": true,
616
+ "contributors": 2,
617
+ "datasets": 2,
618
+ "holds": 191,
619
+ "lost_motion_deg": {
620
+ "p10": 0.966796875,
621
+ "p25": 1.0986328125,
622
+ "p50": 1.318359375,
623
+ "p75": 1.5380859375,
624
+ "p90": 1.669921875
625
+ },
626
+ "scatter_sd_deg": {
627
+ "p10": 0.17591321428070833,
628
+ "p25": 0.19545912697856352,
629
+ "p50": 0.22803564814165544,
630
+ "p75": 0.2606121693047474,
631
+ "p90": 0.28015808200260256
632
+ },
633
+ "bias_deg": {
634
+ "p10": 0.4658203874996798,
635
+ "p25": 0.5053712812491995,
636
+ "p50": 0.571289437498399,
637
+ "p75": 0.6372075937475986,
638
+ "p90": 0.6767584874971183
639
+ },
640
+ "scatter_over_lost_motion": {
641
+ "p10": 0.16864503044787185,
642
+ "p25": 0.17142489358712337,
643
+ "p50": 0.17605799881920925,
644
+ "p75": 0.1806911040512951,
645
+ "p90": 0.18347096719054662
646
+ },
647
+ "scatter_sd_free_deg": {
648
+ "p10": 0.09772956348927891,
649
+ "p25": 0.09772956348927891,
650
+ "p50": 0.09772956348927891,
651
+ "p75": 0.09772956348927891,
652
+ "p90": 0.09772956348927891
653
+ },
654
+ "arms_with_free_holds": 1,
655
+ "settle_creep_deg": {
656
+ "p10": 0.003015841911819639,
657
+ "p25": 0.004954597426560835,
658
+ "p50": 0.008185856617796163,
659
+ "p75": 0.01141711580903149,
660
+ "p90": 0.013355871323772688
661
+ },
662
+ "share_lost_motion_over_1deg": 0.5,
663
+ "share_lost_motion_over_0p5deg": 1.0
664
+ },
665
+ "elbow_flex": {
666
+ "loaded": true,
667
+ "contributors": 2,
668
+ "datasets": 3,
669
+ "holds": 473,
670
+ "lost_motion_deg": {
671
+ "p10": 2.4169921875,
672
+ "p25": 2.61474609375,
673
+ "p50": 2.9443359375,
674
+ "p75": 3.27392578125,
675
+ "p90": 3.4716796875
676
+ },
677
+ "scatter_sd_deg": {
678
+ "p10": 0.42512360117836967,
679
+ "p25": 0.4764316220102421,
680
+ "p50": 0.5619449900633627,
681
+ "p75": 0.6474583581164834,
682
+ "p90": 0.6987663789483558
683
+ },
684
+ "bias_deg": {
685
+ "p10": -0.02636658750256431,
686
+ "p25": 1.2187447947370478e-06,
687
+ "p50": 0.04394756249039314,
688
+ "p75": 0.08789390623599155,
689
+ "p90": 0.11426171248335061
690
+ },
691
+ "scatter_over_lost_motion": {
692
+ "p10": 0.13039242488179212,
693
+ "p25": 0.1632573662483452,
694
+ "p50": 0.21803226852593366,
695
+ "p75": 0.2728071708035221,
696
+ "p90": 0.3056721121700752
697
+ },
698
+ "scatter_sd_free_deg": {
699
+ "p10": 0.6678186838434157,
700
+ "p25": 0.6678186838434157,
701
+ "p50": 0.6678186838434157,
702
+ "p75": 0.6678186838434157,
703
+ "p90": 0.6678186838434157
704
+ },
705
+ "arms_with_free_holds": 1,
706
+ "settle_creep_deg": {
707
+ "p10": 0.03410356816058623,
708
+ "p25": 0.07926640335590189,
709
+ "p50": 0.15453779534809464,
710
+ "p75": 0.2298091873402874,
711
+ "p90": 0.27497202253560304
712
+ },
713
+ "share_lost_motion_over_1deg": 1.0,
714
+ "share_lost_motion_over_0p5deg": 1.0
715
+ },
716
+ "wrist_flex": {
717
+ "loaded": true,
718
+ "contributors": 2,
719
+ "datasets": 3,
720
+ "holds": 604,
721
+ "lost_motion_deg": {
722
+ "p10": 0.4658203125,
723
+ "p25": 0.50537109375,
724
+ "p50": 0.5712890625,
725
+ "p75": 0.63720703125,
726
+ "p90": 0.6767578125
727
+ },
728
+ "scatter_sd_deg": {
729
+ "p10": 0.1417079921532977,
730
+ "p25": 0.15881085340468312,
731
+ "p50": 0.1873156221569921,
732
+ "p75": 0.2158203909093011,
733
+ "p90": 0.23292325216068652
734
+ },
735
+ "bias_deg": {
736
+ "p10": -0.021971737503923852,
737
+ "p25": 0.010987218746196473,
738
+ "p50": 0.06591881249639703,
739
+ "p75": 0.12085040624659757,
740
+ "p90": 0.1538093624967179
741
+ },
742
+ "scatter_over_lost_motion": {
743
+ "p10": 0.26357236690190505,
744
+ "p25": 0.3809446033296978,
745
+ "p50": 0.5765649973760191,
746
+ "p75": 0.7721853914223404,
747
+ "p90": 0.8895576278501331
748
+ },
749
+ "scatter_sd_free_deg": {
750
+ "p10": 0.06515305622550473,
751
+ "p25": 0.06515307707447784,
752
+ "p50": 0.06515311182276635,
753
+ "p75": 0.06515314657105487,
754
+ "p90": 0.06515316742002798
755
+ },
756
+ "arms_with_free_holds": 2,
757
+ "settle_creep_deg": {
758
+ "p10": 0.010754991118616957,
759
+ "p25": 0.015901196546342276,
760
+ "p50": 0.024478205592551136,
761
+ "p75": 0.03305521463876,
762
+ "p90": 0.03820142006648532
763
+ },
764
+ "share_lost_motion_over_1deg": 0.0,
765
+ "share_lost_motion_over_0p5deg": 0.5
766
+ },
767
+ "wrist_roll": {
768
+ "loaded": false,
769
+ "contributors": 2,
770
+ "datasets": 3,
771
+ "holds": 503,
772
+ "lost_motion_deg": {
773
+ "p10": 0.140625,
774
+ "p25": 0.2197265625,
775
+ "p50": 0.3515625,
776
+ "p75": 0.4833984375,
777
+ "p90": 0.5625
778
+ },
779
+ "scatter_sd_deg": {
780
+ "p10": 0.153109649466548,
781
+ "p25": 0.18731499668779455,
782
+ "p50": 0.24432390872320545,
783
+ "p75": 0.30133282075861634,
784
+ "p90": 0.3355381679798629
785
+ },
786
+ "bias_deg": {
787
+ "p10": -0.12304638750208147,
788
+ "p25": -0.10986262500280243,
789
+ "p50": -0.08788968750400403,
790
+ "p75": -0.06591675000520561,
791
+ "p90": -0.052732987505926567
792
+ },
793
+ "scatter_over_lost_motion": {
794
+ "p10": 0.2647488704048372,
795
+ "p25": 0.34417353152628144,
796
+ "p50": 0.4765479667286885,
797
+ "p75": 0.6089224019310956,
798
+ "p90": 0.6883470630525399
799
+ },
800
+ "scatter_sd_free_deg": {
801
+ "p10": 0.358341454807714,
802
+ "p25": 0.358341454807714,
803
+ "p50": 0.358341454807714,
804
+ "p75": 0.358341454807714,
805
+ "p90": 0.358341454807714
806
+ },
807
+ "arms_with_free_holds": 1,
808
+ "settle_creep_deg": {
809
+ "p10": 0.0004949862980859393,
810
+ "p25": 0.0025051135817764,
811
+ "p50": 0.0058553257212605,
812
+ "p75": 0.0092055378607446,
813
+ "p90": 0.01121566514443506
814
+ },
815
+ "share_lost_motion_over_1deg": 0.0,
816
+ "share_lost_motion_over_0p5deg": 0.5
817
+ }
818
+ },
819
+ "other:moss": {
820
+ "shoulder_pan": {
821
+ "loaded": false,
822
+ "contributors": 1,
823
+ "datasets": 2,
824
+ "holds": 83,
825
+ "lost_motion_deg": {
826
+ "p10": 0.6591796875,
827
+ "p25": 0.6591796875,
828
+ "p50": 0.6591796875,
829
+ "p75": 0.6591796875,
830
+ "p90": 0.6591796875
831
+ },
832
+ "scatter_sd_deg": {
833
+ "p10": 0.5700893983404444,
834
+ "p25": 0.5700893983404444,
835
+ "p50": 0.5700893983404444,
836
+ "p75": 0.5700893983404444,
837
+ "p90": 0.5700893983404444
838
+ },
839
+ "bias_deg": {
840
+ "p10": -0.681150093759604,
841
+ "p25": -0.681150093759604,
842
+ "p50": -0.681150093759604,
843
+ "p75": -0.681150093759604,
844
+ "p90": -0.681150093759604
845
+ },
846
+ "scatter_over_lost_motion": {
847
+ "p10": 1.1498532710430194,
848
+ "p25": 1.1498532710430194,
849
+ "p50": 1.1498532710430194,
850
+ "p75": 1.1498532710430194,
851
+ "p90": 1.1498532710430194
852
+ },
853
+ "scatter_sd_free_deg": {},
854
+ "arms_with_free_holds": 0,
855
+ "settle_creep_deg": {},
856
+ "share_lost_motion_over_1deg": 0.0,
857
+ "share_lost_motion_over_0p5deg": 1.0
858
+ },
859
+ "shoulder_lift": {
860
+ "loaded": true,
861
+ "contributors": 1,
862
+ "datasets": 1,
863
+ "holds": 62,
864
+ "lost_motion_deg": {
865
+ "p10": 0.0,
866
+ "p25": 0.0,
867
+ "p50": 0.0,
868
+ "p75": 0.0,
869
+ "p90": 0.0
870
+ },
871
+ "scatter_sd_deg": {
872
+ "p10": 0.2606121693047472,
873
+ "p25": 0.2606121693047472,
874
+ "p50": 0.2606121693047472,
875
+ "p75": 0.2606121693047472,
876
+ "p90": 0.2606121693047472
877
+ },
878
+ "bias_deg": {
879
+ "p10": -1.2304635000224131,
880
+ "p25": -1.2304635000224131,
881
+ "p50": -1.2304635000224131,
882
+ "p75": -1.2304635000224131,
883
+ "p90": -1.2304635000224131
884
+ },
885
+ "scatter_over_lost_motion": {},
886
+ "scatter_sd_free_deg": {},
887
+ "arms_with_free_holds": 0,
888
+ "settle_creep_deg": {
889
+ "p10": -0.057128662501040615,
890
+ "p25": -0.057128662501040615,
891
+ "p50": -0.057128662501040615,
892
+ "p75": -0.057128662501040615,
893
+ "p90": -0.057128662501040615
894
+ },
895
+ "share_lost_motion_over_1deg": 0.0,
896
+ "share_lost_motion_over_0p5deg": 0.0
897
+ },
898
+ "elbow_flex": {
899
+ "loaded": true,
900
+ "contributors": 1,
901
+ "datasets": 1,
902
+ "holds": 40,
903
+ "lost_motion_deg": {
904
+ "p10": 5.2734375,
905
+ "p25": 5.2734375,
906
+ "p50": 5.2734375,
907
+ "p75": 5.2734375,
908
+ "p90": 5.2734375
909
+ },
910
+ "scatter_sd_deg": {
911
+ "p10": 0.3257652116309442,
912
+ "p25": 0.3257652116309442,
913
+ "p50": 0.3257652116309442,
914
+ "p75": 0.3257652116309442,
915
+ "p90": 0.3257652116309442
916
+ },
917
+ "bias_deg": {
918
+ "p10": -3.0761475001040584,
919
+ "p25": -3.0761475001040584,
920
+ "p50": -3.0761475001040584,
921
+ "p75": -3.0761475001040584,
922
+ "p90": -3.0761475001040584
923
+ },
924
+ "scatter_over_lost_motion": {
925
+ "p10": 0.06177473642779386,
926
+ "p25": 0.06177473642779386,
927
+ "p50": 0.06177473642779386,
928
+ "p75": 0.06177473642779386,
929
+ "p90": 0.06177473642779386
930
+ },
931
+ "scatter_sd_free_deg": {},
932
+ "arms_with_free_holds": 0,
933
+ "settle_creep_deg": {
934
+ "p10": -0.014648375000266695,
935
+ "p25": -0.014648375000266695,
936
+ "p50": -0.014648375000266695,
937
+ "p75": -0.014648375000266695,
938
+ "p90": -0.014648375000266695
939
+ },
940
+ "share_lost_motion_over_1deg": 1.0,
941
+ "share_lost_motion_over_0p5deg": 1.0
942
+ },
943
+ "wrist_flex": {
944
+ "loaded": true,
945
+ "contributors": 0,
946
+ "datasets": 0,
947
+ "holds": 0,
948
+ "lost_motion_deg": {},
949
+ "scatter_sd_deg": {},
950
+ "bias_deg": {},
951
+ "scatter_over_lost_motion": {},
952
+ "scatter_sd_free_deg": {},
953
+ "arms_with_free_holds": 0,
954
+ "settle_creep_deg": {},
955
+ "share_lost_motion_over_1deg": null,
956
+ "share_lost_motion_over_0p5deg": null
957
+ },
958
+ "wrist_roll": {
959
+ "loaded": false,
960
+ "contributors": 1,
961
+ "datasets": 2,
962
+ "holds": 53,
963
+ "lost_motion_deg": {
964
+ "p10": 1.351318359375,
965
+ "p25": 1.351318359375,
966
+ "p50": 1.351318359375,
967
+ "p75": 1.351318359375,
968
+ "p90": 1.351318359375
969
+ },
970
+ "scatter_sd_deg": {
971
+ "p10": 0.5212243386094954,
972
+ "p25": 0.5212243386094954,
973
+ "p50": 0.5212243386094954,
974
+ "p75": 0.5212243386094954,
975
+ "p90": 0.5212243386094954
976
+ },
977
+ "bias_deg": {
978
+ "p10": 0.20324425782450617,
979
+ "p25": 0.20324425782450617,
980
+ "p50": 0.20324425782450617,
981
+ "p75": 0.20324425782450617,
982
+ "p90": 0.20324425782450617
983
+ },
984
+ "scatter_over_lost_motion": {
985
+ "p10": 0.3818125275597273,
986
+ "p25": 0.3818125275597273,
987
+ "p50": 0.3818125275597273,
988
+ "p75": 0.3818125275597273,
989
+ "p90": 0.3818125275597273
990
+ },
991
+ "scatter_sd_free_deg": {},
992
+ "arms_with_free_holds": 0,
993
+ "settle_creep_deg": {},
994
+ "share_lost_motion_over_1deg": 1.0,
995
+ "share_lost_motion_over_0p5deg": 1.0
996
+ }
997
+ },
998
+ "other:piper_follower": {
999
+ "shoulder_pan": {
1000
+ "loaded": false,
1001
+ "contributors": 1,
1002
+ "datasets": 1,
1003
+ "holds": 500,
1004
+ "lost_motion_deg": {
1005
+ "p10": 5.2734375,
1006
+ "p25": 5.2734375,
1007
+ "p50": 5.2734375,
1008
+ "p75": 5.2734375,
1009
+ "p90": 5.2734375
1010
+ },
1011
+ "scatter_sd_deg": {
1012
+ "p10": 2737.1844937902447,
1013
+ "p25": 2737.1844937902447,
1014
+ "p50": 2737.1844937902447,
1015
+ "p75": 2737.1844937902447,
1016
+ "p90": 2737.1844937902447
1017
+ },
1018
+ "bias_deg": {
1019
+ "p10": -728.5747541052287,
1020
+ "p25": -728.5747541052287,
1021
+ "p50": -728.5747541052287,
1022
+ "p75": -728.5747541052287,
1023
+ "p90": -728.5747541052287
1024
+ },
1025
+ "scatter_over_lost_motion": {
1026
+ "p10": 519.0512817854093,
1027
+ "p25": 519.0512817854093,
1028
+ "p50": 519.0512817854093,
1029
+ "p75": 519.0512817854093,
1030
+ "p90": 519.0512817854093
1031
+ },
1032
+ "scatter_sd_free_deg": {},
1033
+ "arms_with_free_holds": 0,
1034
+ "settle_creep_deg": {
1035
+ "p10": 0.0,
1036
+ "p25": 0.0,
1037
+ "p50": 0.0,
1038
+ "p75": 0.0,
1039
+ "p90": 0.0
1040
+ },
1041
+ "share_lost_motion_over_1deg": 1.0,
1042
+ "share_lost_motion_over_0p5deg": 1.0
1043
+ },
1044
+ "shoulder_lift": {
1045
+ "loaded": true,
1046
+ "contributors": 1,
1047
+ "datasets": 1,
1048
+ "holds": 565,
1049
+ "lost_motion_deg": {
1050
+ "p10": 4.89990234375,
1051
+ "p25": 4.89990234375,
1052
+ "p50": 4.89990234375,
1053
+ "p75": 4.89990234375,
1054
+ "p90": 4.89990234375
1055
+ },
1056
+ "scatter_sd_deg": {
1057
+ "p10": 30.96910356209352,
1058
+ "p25": 30.96910356209352,
1059
+ "p50": 30.96910356209352,
1060
+ "p75": 30.96910356209352,
1061
+ "p90": 30.96910356209352
1062
+ },
1063
+ "bias_deg": {
1064
+ "p10": 11.283218313975208,
1065
+ "p25": 11.283218313975208,
1066
+ "p50": 11.283218313975208,
1067
+ "p75": 11.283218313975208,
1068
+ "p90": 11.283218313975208
1069
+ },
1070
+ "scatter_over_lost_motion": {
1071
+ "p10": 6.320351180385403,
1072
+ "p25": 6.320351180385403,
1073
+ "p50": 6.320351180385403,
1074
+ "p75": 6.320351180385403,
1075
+ "p90": 6.320351180385403
1076
+ },
1077
+ "scatter_sd_free_deg": {},
1078
+ "arms_with_free_holds": 0,
1079
+ "settle_creep_deg": {
1080
+ "p10": 0.0,
1081
+ "p25": 0.0,
1082
+ "p50": 0.0,
1083
+ "p75": 0.0,
1084
+ "p90": 0.0
1085
+ },
1086
+ "share_lost_motion_over_1deg": 1.0,
1087
+ "share_lost_motion_over_0p5deg": 1.0
1088
+ },
1089
+ "elbow_flex": {
1090
+ "loaded": true,
1091
+ "contributors": 1,
1092
+ "datasets": 1,
1093
+ "holds": 575,
1094
+ "lost_motion_deg": {
1095
+ "p10": 0.0,
1096
+ "p25": 0.0,
1097
+ "p50": 0.0,
1098
+ "p75": 0.0,
1099
+ "p90": 0.0
1100
+ },
1101
+ "scatter_sd_deg": {
1102
+ "p10": 33.410292908624996,
1103
+ "p25": 33.410292908624996,
1104
+ "p50": 33.410292908624996,
1105
+ "p75": 33.410292908624996,
1106
+ "p90": 33.410292908624996
1107
+ },
1108
+ "bias_deg": {
1109
+ "p10": 5.159641236015735,
1110
+ "p25": 5.159641236015735,
1111
+ "p50": 5.159641236015735,
1112
+ "p75": 5.159641236015735,
1113
+ "p90": 5.159641236015735
1114
+ },
1115
+ "scatter_over_lost_motion": {},
1116
+ "scatter_sd_free_deg": {},
1117
+ "arms_with_free_holds": 0,
1118
+ "settle_creep_deg": {
1119
+ "p10": 0.0,
1120
+ "p25": 0.0,
1121
+ "p50": 0.0,
1122
+ "p75": 0.0,
1123
+ "p90": 0.0
1124
+ },
1125
+ "share_lost_motion_over_1deg": 0.0,
1126
+ "share_lost_motion_over_0p5deg": 0.0
1127
+ },
1128
+ "wrist_flex": {
1129
+ "loaded": true,
1130
+ "contributors": 1,
1131
+ "datasets": 1,
1132
+ "holds": 1014,
1133
+ "lost_motion_deg": {
1134
+ "p10": 1.1865234375,
1135
+ "p25": 1.1865234375,
1136
+ "p50": 1.1865234375,
1137
+ "p75": 1.1865234375,
1138
+ "p90": 1.1865234375
1139
+ },
1140
+ "scatter_sd_deg": {
1141
+ "p10": 33.37249182468444,
1142
+ "p25": 33.37249182468444,
1143
+ "p50": 33.37249182468444,
1144
+ "p75": 33.37249182468444,
1145
+ "p90": 33.37249182468444
1146
+ },
1147
+ "bias_deg": {
1148
+ "p10": -4.099581289937875,
1149
+ "p25": -4.099581289937875,
1150
+ "p50": -4.099581289937875,
1151
+ "p75": -4.099581289937875,
1152
+ "p90": -4.099581289937875
1153
+ },
1154
+ "scatter_over_lost_motion": {
1155
+ "p10": 28.126281175701124,
1156
+ "p25": 28.126281175701124,
1157
+ "p50": 28.126281175701124,
1158
+ "p75": 28.126281175701124,
1159
+ "p90": 28.126281175701124
1160
+ },
1161
+ "scatter_sd_free_deg": {},
1162
+ "arms_with_free_holds": 0,
1163
+ "settle_creep_deg": {
1164
+ "p10": -1.7532997798072583,
1165
+ "p25": -1.7532997798072583,
1166
+ "p50": -1.7532997798072583,
1167
+ "p75": -1.7532997798072583,
1168
+ "p90": -1.7532997798072583
1169
+ },
1170
+ "share_lost_motion_over_1deg": 1.0,
1171
+ "share_lost_motion_over_0p5deg": 1.0
1172
+ },
1173
+ "wrist_roll": {
1174
+ "loaded": false,
1175
+ "contributors": 1,
1176
+ "datasets": 1,
1177
+ "holds": 738,
1178
+ "lost_motion_deg": {
1179
+ "p10": 5.2734375,
1180
+ "p25": 5.2734375,
1181
+ "p50": 5.2734375,
1182
+ "p75": 5.2734375,
1183
+ "p90": 5.2734375
1184
+ },
1185
+ "scatter_sd_deg": {
1186
+ "p10": 4817.380204239792,
1187
+ "p25": 4817.380204239792,
1188
+ "p50": 4817.380204239792,
1189
+ "p75": 4817.380204239792,
1190
+ "p90": 4817.380204239792
1191
+ },
1192
+ "bias_deg": {
1193
+ "p10": -1065.816646586216,
1194
+ "p25": -1065.816646586216,
1195
+ "p50": -1065.816646586216,
1196
+ "p75": -1065.816646586216,
1197
+ "p90": -1065.816646586216
1198
+ },
1199
+ "scatter_over_lost_motion": {
1200
+ "p10": 913.5180239151014,
1201
+ "p25": 913.5180239151014,
1202
+ "p50": 913.5180239151014,
1203
+ "p75": 913.5180239151014,
1204
+ "p90": 913.5180239151014
1205
+ },
1206
+ "scatter_sd_free_deg": {},
1207
+ "arms_with_free_holds": 0,
1208
+ "settle_creep_deg": {
1209
+ "p10": 0.0,
1210
+ "p25": 0.0,
1211
+ "p50": 0.0,
1212
+ "p75": 0.0,
1213
+ "p90": 0.0
1214
+ },
1215
+ "share_lost_motion_over_1deg": 1.0,
1216
+ "share_lost_motion_over_0p5deg": 1.0
1217
+ }
1218
+ },
1219
+ "so100": {
1220
+ "shoulder_pan": {
1221
+ "loaded": false,
1222
+ "contributors": 212,
1223
+ "datasets": 660,
1224
+ "holds": 103015,
1225
+ "lost_motion_deg": {
1226
+ "p10": 0.439453125,
1227
+ "p25": 0.5712890625,
1228
+ "p50": 0.7470703125,
1229
+ "p75": 0.966796875,
1230
+ "p90": 1.23046875
1231
+ },
1232
+ "scatter_sd_deg": {
1233
+ "p10": 0.13030608465237423,
1234
+ "p25": 0.1628826058154641,
1235
+ "p50": 0.19546037791697124,
1236
+ "p75": 0.30133400220044587,
1237
+ "p90": 0.4560712962833095
1238
+ },
1239
+ "bias_deg": {
1240
+ "p10": -0.175782074996478,
1241
+ "p25": -0.08788961719180316,
1242
+ "p50": -0.017927391933214104,
1243
+ "p75": 0.04394803123839263,
1244
+ "p90": 0.1318366499969582
1245
+ },
1246
+ "scatter_over_lost_motion": {
1247
+ "p10": 0.16596812520266657,
1248
+ "p25": 0.21179909632385824,
1249
+ "p50": 0.27798789535831564,
1250
+ "p75": 0.4046241282437264,
1251
+ "p90": 0.561268659545654
1252
+ },
1253
+ "scatter_sd_free_deg": {
1254
+ "p10": 0.13030512559958937,
1255
+ "p25": 0.13030608465237467,
1256
+ "p50": 0.19545745906068085,
1257
+ "p75": 0.2606121693047465,
1258
+ "p90": 0.3672169714899314
1259
+ },
1260
+ "arms_with_free_holds": 142,
1261
+ "settle_creep_deg": {
1262
+ "p10": -0.003110767548133585,
1263
+ "p25": 0.0,
1264
+ "p50": 0.007042487980897511,
1265
+ "p75": 0.024870043269683784,
1266
+ "p90": 0.05249578729163695
1267
+ },
1268
+ "share_lost_motion_over_1deg": 0.23113207547169812,
1269
+ "share_lost_motion_over_0p5deg": 0.8490566037735849
1270
+ },
1271
+ "shoulder_lift": {
1272
+ "loaded": true,
1273
+ "contributors": 175,
1274
+ "datasets": 520,
1275
+ "holds": 74255,
1276
+ "lost_motion_deg": {
1277
+ "p10": 0.0,
1278
+ "p25": 0.0,
1279
+ "p50": 0.439453125,
1280
+ "p75": 1.69189453125,
1281
+ "p90": 2.830078124999999
1282
+ },
1283
+ "scatter_sd_deg": {
1284
+ "p10": 0.1954591269785512,
1285
+ "p25": 0.26061216930474707,
1286
+ "p50": 0.39091825395711816,
1287
+ "p75": 0.5293685036485583,
1288
+ "p90": 0.8144152992980078
1289
+ },
1290
+ "bias_deg": {
1291
+ "p10": 0.21972556875424248,
1292
+ "p25": 0.40649273438100353,
1293
+ "p50": 0.9228474375176102,
1294
+ "p75": 1.5270955781422089,
1295
+ "p90": 2.3203082250182496
1296
+ },
1297
+ "scatter_over_lost_motion": {
1298
+ "p10": 0.1195640059892753,
1299
+ "p25": 0.24709894571116273,
1300
+ "p50": 0.5824475148906085,
1301
+ "p75": 1.1860717765470856,
1302
+ "p90": 2.4092147206839254
1303
+ },
1304
+ "scatter_sd_free_deg": {
1305
+ "p10": 0.13030608465237356,
1306
+ "p25": 0.23210771328703955,
1307
+ "p50": 0.32576521163093497,
1308
+ "p75": 0.48050368715562664,
1309
+ "p90": 0.7723863072659042
1310
+ },
1311
+ "arms_with_free_holds": 54,
1312
+ "settle_creep_deg": {
1313
+ "p10": 0.0,
1314
+ "p25": 0.0054931406250999714,
1315
+ "p50": 0.021972562500400236,
1316
+ "p75": 0.055454562501010135,
1317
+ "p90": 0.1103510916686768
1318
+ },
1319
+ "share_lost_motion_over_1deg": 0.37714285714285717,
1320
+ "share_lost_motion_over_0p5deg": 0.4742857142857143
1321
+ },
1322
+ "elbow_flex": {
1323
+ "loaded": true,
1324
+ "contributors": 199,
1325
+ "datasets": 619,
1326
+ "holds": 100402,
1327
+ "lost_motion_deg": {
1328
+ "p10": 1.7578125,
1329
+ "p25": 2.021484375,
1330
+ "p50": 2.548828125,
1331
+ "p75": 3.251953125,
1332
+ "p90": 4.324218750000002
1333
+ },
1334
+ "scatter_sd_deg": {
1335
+ "p10": 0.1954591269785604,
1336
+ "p25": 0.2606121693047502,
1337
+ "p50": 0.3909194453255822,
1338
+ "p75": 0.5538008597725878,
1339
+ "p90": 0.8860813756361422
1340
+ },
1341
+ "bias_deg": {
1342
+ "p10": 0.6591815916584349,
1343
+ "p25": 0.9887691562516006,
1344
+ "p50": 1.274413687501601,
1345
+ "p75": 1.834666820257476,
1346
+ "p90": 2.302727775028174
1347
+ },
1348
+ "scatter_over_lost_motion": {
1349
+ "p10": 0.07594375828698095,
1350
+ "p25": 0.10137640915344541,
1351
+ "p50": 0.15212470531392008,
1352
+ "p75": 0.22930633715457283,
1353
+ "p90": 0.3249290093872178
1354
+ },
1355
+ "scatter_sd_free_deg": {
1356
+ "p10": 0.15310964946654068,
1357
+ "p25": 0.2483959738685877,
1358
+ "p50": 0.38277412366634206,
1359
+ "p75": 0.5456567294818151,
1360
+ "p90": 0.7818365079142381
1361
+ },
1362
+ "arms_with_free_holds": 98,
1363
+ "settle_creep_deg": {
1364
+ "p10": 0.0,
1365
+ "p25": 0.0,
1366
+ "p50": 0.018973133333678928,
1367
+ "p75": 0.04362668206601204,
1368
+ "p90": 0.0741573984388508
1369
+ },
1370
+ "share_lost_motion_over_1deg": 0.9899497487437185,
1371
+ "share_lost_motion_over_0p5deg": 0.9899497487437185
1372
+ },
1373
+ "wrist_flex": {
1374
+ "loaded": true,
1375
+ "contributors": 208,
1376
+ "datasets": 618,
1377
+ "holds": 99945,
1378
+ "lost_motion_deg": {
1379
+ "p10": 0.703125,
1380
+ "p25": 0.87890625,
1381
+ "p50": 1.142578125,
1382
+ "p75": 1.40625,
1383
+ "p90": 2.0654296875
1384
+ },
1385
+ "scatter_sd_deg": {
1386
+ "p10": 0.13030608465237598,
1387
+ "p25": 0.1954591269785543,
1388
+ "p50": 0.26061216930474496,
1389
+ "p75": 0.3787017805346542,
1390
+ "p90": 0.5586873379470524
1391
+ },
1392
+ "bias_deg": {
1393
+ "p10": -0.4833957187616048,
1394
+ "p25": 0.04026147482199257,
1395
+ "p50": 0.2197233750136091,
1396
+ "p75": 0.3515591250144084,
1397
+ "p90": 0.5273442374979196
1398
+ },
1399
+ "scatter_over_lost_motion": {
1400
+ "p10": 0.1347812431151822,
1401
+ "p25": 0.1629311748290661,
1402
+ "p50": 0.211799096323858,
1403
+ "p75": 0.3239500548397657,
1404
+ "p90": 0.448749335336172
1405
+ },
1406
+ "scatter_sd_free_deg": {
1407
+ "p10": 0.10098693761928322,
1408
+ "p25": 0.13030608465237528,
1409
+ "p50": 0.19545912697855877,
1410
+ "p75": 0.3583417327940223,
1411
+ "p90": 0.6189539020987769
1412
+ },
1413
+ "arms_with_free_holds": 132,
1414
+ "settle_creep_deg": {
1415
+ "p10": 0.0,
1416
+ "p25": 0.0,
1417
+ "p50": 0.025578316346619757,
1418
+ "p75": 0.04833963750088052,
1419
+ "p90": 0.06950334286179732
1420
+ },
1421
+ "share_lost_motion_over_1deg": 0.6442307692307693,
1422
+ "share_lost_motion_over_0p5deg": 0.9567307692307693
1423
+ },
1424
+ "wrist_roll": {
1425
+ "loaded": false,
1426
+ "contributors": 206,
1427
+ "datasets": 613,
1428
+ "holds": 87972,
1429
+ "lost_motion_deg": {
1430
+ "p10": 0.439453125,
1431
+ "p25": 0.615234375,
1432
+ "p50": 0.703125,
1433
+ "p75": 0.955810546875,
1434
+ "p90": 1.29638671875
1435
+ },
1436
+ "scatter_sd_deg": {
1437
+ "p10": 0.13030608465237087,
1438
+ "p25": 0.1303060846523736,
1439
+ "p50": 0.13030826028636894,
1440
+ "p75": 0.260610570883446,
1441
+ "p90": 0.3909182539571221
1442
+ },
1443
+ "bias_deg": {
1444
+ "p10": -0.08788965625458982,
1445
+ "p25": -0.021972000002803048,
1446
+ "p50": 1.7812423955010934e-06,
1447
+ "p75": 0.060423539067903084,
1448
+ "p90": 0.3955056562592044
1449
+ },
1450
+ "scatter_over_lost_motion": {
1451
+ "p10": 0.13747686797748565,
1452
+ "p25": 0.17503000131199223,
1453
+ "p50": 0.21179909632386545,
1454
+ "p75": 0.3176986444857827,
1455
+ "p90": 0.53527481034784
1456
+ },
1457
+ "scatter_sd_free_deg": {
1458
+ "p10": 0.11401869663885919,
1459
+ "p25": 0.1303060846523729,
1460
+ "p50": 0.13030747458393954,
1461
+ "p75": 0.19546107770745438,
1462
+ "p90": 0.35834173279403214
1463
+ },
1464
+ "arms_with_free_holds": 141,
1465
+ "settle_creep_deg": {
1466
+ "p10": -0.0002663340909139504,
1467
+ "p25": 0.0,
1468
+ "p50": 0.010574993676063321,
1469
+ "p75": 0.03485303017304866,
1470
+ "p90": 0.05604442731322747
1471
+ },
1472
+ "share_lost_motion_over_1deg": 0.21844660194174756,
1473
+ "share_lost_motion_over_0p5deg": 0.883495145631068
1474
+ }
1475
+ },
1476
+ "so101": {
1477
+ "shoulder_pan": {
1478
+ "loaded": false,
1479
+ "contributors": 136,
1480
+ "datasets": 318,
1481
+ "holds": 55317,
1482
+ "lost_motion_deg": {
1483
+ "p10": 0.41748046875,
1484
+ "p25": 0.52734375,
1485
+ "p50": 0.72509765625,
1486
+ "p75": 0.9063720703125,
1487
+ "p90": 1.0546875
1488
+ },
1489
+ "scatter_sd_deg": {
1490
+ "p10": 0.1303060846523754,
1491
+ "p25": 0.14659543980502798,
1492
+ "p50": 0.19545912697856063,
1493
+ "p75": 0.24679284355084158,
1494
+ "p90": 0.29318827348836796
1495
+ },
1496
+ "bias_deg": {
1497
+ "p10": -0.17577975000640506,
1498
+ "p25": -0.10860174514380218,
1499
+ "p50": -0.04119769922315303,
1500
+ "p75": 0.03745521711959767,
1501
+ "p90": 0.12848540195970817
1502
+ },
1503
+ "scatter_over_lost_motion": {
1504
+ "p10": 0.15236386264312346,
1505
+ "p25": 0.20233132698578107,
1506
+ "p50": 0.2856008645756168,
1507
+ "p75": 0.3971499271581809,
1508
+ "p90": 0.5559726278501264
1509
+ },
1510
+ "scatter_sd_free_deg": {
1511
+ "p10": 0.1303060846523724,
1512
+ "p25": 0.13030719659762677,
1513
+ "p50": 0.16645397817012172,
1514
+ "p75": 0.1961130881593714,
1515
+ "p90": 0.2508390183653991
1516
+ },
1517
+ "arms_with_free_holds": 77,
1518
+ "settle_creep_deg": {
1519
+ "p10": -0.006174007249656397,
1520
+ "p25": 0.002522698106095869,
1521
+ "p50": 0.013295468604893343,
1522
+ "p75": 0.029334269843690197,
1523
+ "p90": 0.043945175000515896
1524
+ },
1525
+ "share_lost_motion_over_1deg": 0.17647058823529413,
1526
+ "share_lost_motion_over_0p5deg": 0.7867647058823529
1527
+ },
1528
+ "shoulder_lift": {
1529
+ "loaded": true,
1530
+ "contributors": 133,
1531
+ "datasets": 292,
1532
+ "holds": 47298,
1533
+ "lost_motion_deg": {
1534
+ "p10": 0.17578125,
1535
+ "p25": 0.5712890625,
1536
+ "p50": 1.142578125,
1537
+ "p75": 1.73583984375,
1538
+ "p90": 2.8300781249999996
1539
+ },
1540
+ "scatter_sd_deg": {
1541
+ "p10": 0.26061216930474596,
1542
+ "p25": 0.3583427520757214,
1543
+ "p50": 0.5096649168856283,
1544
+ "p75": 0.7818365079142411,
1545
+ "p90": 1.1398578454959472
1546
+ },
1547
+ "bias_deg": {
1548
+ "p10": 0.3515612916717936,
1549
+ "p25": 0.5594093960822746,
1550
+ "p50": 0.9040538738449853,
1551
+ "p75": 1.318355437516809,
1552
+ "p90": 2.3730457000011995
1553
+ },
1554
+ "scatter_over_lost_motion": {
1555
+ "p10": 0.16996483312936922,
1556
+ "p25": 0.3263060863785008,
1557
+ "p50": 0.5434998551532522,
1558
+ "p75": 0.9001446846268881,
1559
+ "p90": 1.778190537130276
1560
+ },
1561
+ "scatter_sd_free_deg": {
1562
+ "p10": 0.1954591269785551,
1563
+ "p25": 0.2606118218218539,
1564
+ "p50": 0.3746294142363678,
1565
+ "p75": 0.5219112418077859,
1566
+ "p90": 0.7166834655880593
1567
+ },
1568
+ "arms_with_free_holds": 72,
1569
+ "settle_creep_deg": {
1570
+ "p10": 0.0,
1571
+ "p25": 0.008406283601384316,
1572
+ "p50": 0.03054519105169274,
1573
+ "p75": 0.05697790301027179,
1574
+ "p90": 0.06920510783294276
1575
+ },
1576
+ "share_lost_motion_over_1deg": 0.518796992481203,
1577
+ "share_lost_motion_over_0p5deg": 0.7894736842105263
1578
+ },
1579
+ "elbow_flex": {
1580
+ "loaded": true,
1581
+ "contributors": 130,
1582
+ "datasets": 306,
1583
+ "holds": 49487,
1584
+ "lost_motion_deg": {
1585
+ "p10": 1.9248046875,
1586
+ "p25": 2.2412109375,
1587
+ "p50": 2.724609375,
1588
+ "p75": 3.6419677734375,
1589
+ "p90": 4.860351562500003
1590
+ },
1591
+ "scatter_sd_deg": {
1592
+ "p10": 0.19545912697856663,
1593
+ "p25": 0.2931886904678439,
1594
+ "p50": 0.45607129628330756,
1595
+ "p75": 0.6505975730168245,
1596
+ "p90": 0.9158691792848778
1597
+ },
1598
+ "bias_deg": {
1599
+ "p10": 0.7426746937546435,
1600
+ "p25": 1.0766568437640212,
1601
+ "p50": 1.2963857812540032,
1602
+ "p75": 1.8973485270074297,
1603
+ "p90": 2.377280911705933
1604
+ },
1605
+ "scatter_over_lost_motion": {
1606
+ "p10": 0.07903137475599033,
1607
+ "p25": 0.10347898706108541,
1608
+ "p50": 0.1575567772527021,
1609
+ "p75": 0.23614332884308875,
1610
+ "p90": 0.3317246928789214
1611
+ },
1612
+ "scatter_sd_free_deg": {
1613
+ "p10": 0.1650371697921579,
1614
+ "p25": 0.2224782395243845,
1615
+ "p50": 0.3257652116309373,
1616
+ "p75": 0.4240251113403347,
1617
+ "p90": 0.7036528571228078
1618
+ },
1619
+ "arms_with_free_holds": 63,
1620
+ "settle_creep_deg": {
1621
+ "p10": 0.0,
1622
+ "p25": 0.0025676955172946976,
1623
+ "p50": 0.014345383266437396,
1624
+ "p75": 0.03142247597146798,
1625
+ "p90": 0.056772786866660166
1626
+ },
1627
+ "share_lost_motion_over_1deg": 1.0,
1628
+ "share_lost_motion_over_0p5deg": 1.0
1629
+ },
1630
+ "wrist_flex": {
1631
+ "loaded": true,
1632
+ "contributors": 138,
1633
+ "datasets": 318,
1634
+ "holds": 60602,
1635
+ "lost_motion_deg": {
1636
+ "p10": 0.791015625,
1637
+ "p25": 0.93109130859375,
1638
+ "p50": 1.153564453125,
1639
+ "p75": 1.58203125,
1640
+ "p90": 2.2675781249999996
1641
+ },
1642
+ "scatter_sd_deg": {
1643
+ "p10": 0.15886799770177232,
1644
+ "p25": 0.19545912697856196,
1645
+ "p50": 0.26361419050687074,
1646
+ "p75": 0.4115704521333641,
1647
+ "p90": 0.6458548673599536
1648
+ },
1649
+ "bias_deg": {
1650
+ "p10": -0.3142096968719626,
1651
+ "p25": 0.06756686253851424,
1652
+ "p50": 0.20230065862433805,
1653
+ "p75": 0.3515604375088048,
1654
+ "p90": 0.5066657609391823
1655
+ },
1656
+ "scatter_over_lost_motion": {
1657
+ "p10": 0.13200790850280533,
1658
+ "p25": 0.16795689184717527,
1659
+ "p50": 0.2321908084049707,
1660
+ "p75": 0.3318442580942986,
1661
+ "p90": 0.5132241203007983
1662
+ },
1663
+ "scatter_sd_free_deg": {
1664
+ "p10": 0.13030608465237728,
1665
+ "p25": 0.16398702993343028,
1666
+ "p50": 0.2280356481416519,
1667
+ "p75": 0.4234947751202165,
1668
+ "p90": 0.9903262433580394
1669
+ },
1670
+ "arms_with_free_holds": 83,
1671
+ "settle_creep_deg": {
1672
+ "p10": 7.846992194118877e-05,
1673
+ "p25": 0.014530242943813023,
1674
+ "p50": 0.03351382563163041,
1675
+ "p75": 0.05273415000096056,
1676
+ "p90": 0.08181409506475713
1677
+ },
1678
+ "share_lost_motion_over_1deg": 0.6666666666666666,
1679
+ "share_lost_motion_over_0p5deg": 0.9855072463768116
1680
+ },
1681
+ "wrist_roll": {
1682
+ "loaded": false,
1683
+ "contributors": 133,
1684
+ "datasets": 296,
1685
+ "holds": 52455,
1686
+ "lost_motion_deg": {
1687
+ "p10": 0.529541015625,
1688
+ "p25": 0.615234375,
1689
+ "p50": 0.76904296875,
1690
+ "p75": 0.966796875,
1691
+ "p90": 1.16015625
1692
+ },
1693
+ "scatter_sd_deg": {
1694
+ "p10": 0.12120180198078968,
1695
+ "p25": 0.13030608465237198,
1696
+ "p50": 0.13030645530026544,
1697
+ "p75": 0.16288306912651532,
1698
+ "p90": 0.19545986827504394
1699
+ },
1700
+ "bias_deg": {
1701
+ "p10": -0.06888969663795148,
1702
+ "p25": -0.04394512500080037,
1703
+ "p50": -0.0027441941782043663,
1704
+ "p75": 0.015316827794452764,
1705
+ "p90": 0.04394530833333586
1706
+ },
1707
+ "scatter_over_lost_motion": {
1708
+ "p10": 0.12634950858095995,
1709
+ "p25": 0.14825936742670076,
1710
+ "p50": 0.18532420928338625,
1711
+ "p75": 0.22239063257329938,
1712
+ "p90": 0.2700425826663173
1713
+ },
1714
+ "scatter_sd_free_deg": {
1715
+ "p10": 0.10371397335372422,
1716
+ "p25": 0.13030584141434431,
1717
+ "p50": 0.13030650163184287,
1718
+ "p75": 0.1628827988614613,
1719
+ "p90": 0.20405823009526497
1720
+ },
1721
+ "arms_with_free_holds": 83,
1722
+ "settle_creep_deg": {
1723
+ "p10": 0.0,
1724
+ "p25": 0.012207025462965716,
1725
+ "p50": 0.028124960000056994,
1726
+ "p75": 0.047042146761484806,
1727
+ "p90": 0.06660266527668768
1728
+ },
1729
+ "share_lost_motion_over_1deg": 0.21052631578947367,
1730
+ "share_lost_motion_over_0p5deg": 0.9699248120300752
1731
+ }
1732
+ }
1733
+ },
1734
+ "arms_by_family": {
1735
+ "koch": 12,
1736
+ "mixed": 2,
1737
+ "other:moss": 1,
1738
+ "other:piper_follower": 1,
1739
+ "so100": 226,
1740
+ "so101": 145
1741
+ }
1742
+ }
py/engine.py ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Browser glue for holdcheck.py: the same steps as its main(), fed with bytes the page fetched.
2
+
3
+ holdcheck.py is bundled unchanged. The page fetches meta/info.json and data/*.parquet from Hugging
4
+ Face (holdcheck's own urllib fetch cannot run in a browser) and hands the bytes here. Everything
5
+ the visitor reads comes from the card and from holdcheck's own wording functions; this module only
6
+ formats the card's numbers the way report_text prints them and sorts them into rows for the page.
7
+ """
8
+ from __future__ import annotations
9
+
10
+ import io
11
+ import json
12
+ import os
13
+ import time
14
+
15
+ import numpy as np
16
+
17
+ import holdcheck as hc
18
+
19
+ COLS = ["action", "observation.state", "episode_index"]
20
+ HERE = os.path.dirname(os.path.abspath(__file__))
21
+ with open(os.path.join(HERE, "corpus_summary.json")) as _f:
22
+ SUMMARY = json.load(_f)
23
+
24
+
25
+ def _bytes(x) -> bytes:
26
+ """A JS Uint8Array (Pyodide proxy) or bytes-like, as bytes."""
27
+ return x.to_bytes() if hasattr(x, "to_bytes") else bytes(x)
28
+
29
+
30
+ def measure(repo: str, sub: str, info_bytes, files, blobs, seed: int = 0) -> dict:
31
+ """holdcheck.main() for --repo/--subdir, without the download; returns the card."""
32
+ import pyarrow.parquet as pq
33
+
34
+ rng = np.random.default_rng(seed)
35
+ t0 = time.time()
36
+ try:
37
+ info = json.loads(_bytes(info_bytes))
38
+ pairs = sorted(zip([str(f) for f in files], [_bytes(b) for b in blobs]), key=lambda p: p[0])
39
+ files = [p[0] for p in pairs]
40
+ tables = [pq.read_table(io.BytesIO(b), columns=COLS) for _, b in pairs]
41
+ A, S, EP = hc.to_arrays(tables)
42
+ card = hc.analyse(info, A, S, EP, rng)
43
+ card["files"] = files
44
+ if card.get("joints"):
45
+ card["tip"] = hc.tip_figures(card["joints"])
46
+ src = {"repo": repo, "subdir": sub}
47
+ except Exception as e: # noqa: BLE001 - a bad dataset is a result, not a crash
48
+ card, src = {"error": f"{type(e).__name__}: {e}"}, {"repo": repo, "subdir": sub, "local": None}
49
+ return _stamp(card, src, t0)
50
+
51
+
52
+ def _stamp(card: dict, src: dict, t0: float) -> dict:
53
+ """What main() adds to every card: source, the method stamp, elapsed seconds."""
54
+ card["source"] = src
55
+ card["holdcheck"] = hc.meta()
56
+ card["seconds"] = round(time.time() - t0, 2)
57
+ return card
58
+
59
+
60
+ def precheck(repo: str, sub: str, info_bytes) -> str:
61
+ """main()'s first step: the skip decision from meta/info.json alone. Returns the page view as a
62
+ JSON string when the dataset skips (or info.json cannot be read the way main() reads it), else ""
63
+ and the page goes on to fetch the parquet."""
64
+ t0 = time.time()
65
+ try:
66
+ card = hc.precheck(json.loads(_bytes(info_bytes)))
67
+ if card is None:
68
+ return ""
69
+ src = {"repo": repo, "subdir": sub}
70
+ except Exception as e: # noqa: BLE001 - same as main(): a bad dataset is a result
71
+ card, src = {"error": f"{type(e).__name__}: {e}"}, {"repo": repo, "subdir": sub, "local": None}
72
+ return json.dumps(view(_stamp(card, src, t0)))
73
+
74
+
75
+ def _pct(p: dict | None) -> dict | None:
76
+ return {k: p[k] for k in ("p10", "p25", "p50", "p75", "p90")} if p else None
77
+
78
+
79
+ def view(card: dict) -> dict:
80
+ """The card laid out for the page: report_text's selections, formats and wording, as rows."""
81
+ out = {"text": hc.report_text(card, SUMMARY), "json": json.dumps(card, indent=1)}
82
+ if "error" in card:
83
+ out["state"] = "error"
84
+ out["message"] = card["error"]
85
+ return out
86
+ out.update({"robot_type": card.get("robot_type"), "episodes": card["episodes"], "frames": card["frames"],
87
+ "fps": f"{card['fps']:g}", "codebase_version": card.get("codebase_version")})
88
+ if "skip" in card:
89
+ out["state"] = "skip"
90
+ out["message"] = card["skip"]
91
+ return out
92
+ fam = hc.family(card.get("robot_type"))
93
+ out["family"] = fam
94
+ so = fam in ("so100", "so101")
95
+ table = SUMMARY.get("joints", {}) if so else SUMMARY.get("by_family", {}).get(fam, {})
96
+ rows = []
97
+ for k in hc.SO_JOINTS[:-1]:
98
+ j = card["joints"].get(k, {})
99
+ r = {"joint": k}
100
+ if "lost_motion_deg" not in j:
101
+ r["why"] = j.get("lattice", {}).get("why") or f"too few holds ({j.get('holds_pos', 0)} up, {j.get('holds_neg', 0)} down)"
102
+ rows.append(r)
103
+ continue
104
+ lo, hi = (x * hc.STEP_DEG for x in j["lost_motion_ci90_steps"])
105
+ sc = hc.joint_scatter_deg(j)
106
+ free_card = j.get("scatter_sd_free_deg") is not None
107
+ r.update({
108
+ "holds": j["holds_pos"] + j["holds_neg"],
109
+ "lost_motion": f"{j['lost_motion_deg']:.2f}", "lost_motion_v": j["lost_motion_deg"],
110
+ "ci90": f"{lo:.2f} to {hi:.2f}",
111
+ "scatter": f"{sc:.2f}", "scatter_v": sc, "scatter_from": "free holds" if free_card else "all holds",
112
+ "bias": f"{j['bias_deg']:.2f}",
113
+ })
114
+ if k in table:
115
+ free = free_card and table[k].get("scatter_sd_free_deg")
116
+ pl, ps = table[k]["lost_motion_deg"], table[k]["scatter_sd_free_deg" if free else "scatter_sd_deg"]
117
+ r.update({"lost_motion_place": hc._place(j["lost_motion_deg"], pl), "lost_motion_pct": _pct(pl),
118
+ "scatter_place": hc._place(sc, ps), "scatter_pct": _pct(ps),
119
+ "arms": table[k].get("contributors")})
120
+ rows.append(r)
121
+ out["rows"] = rows
122
+ out["measured"] = sum(1 for r in rows if "lost_motion" in r)
123
+ t = card.get("tip") or {}
124
+ if "one_side_p95_mm" not in t:
125
+ out["tip"] = {"not_computed": t.get("not_computed", "not computed")}
126
+ else:
127
+ ts = SUMMARY.get("tip", {}) if so else {}
128
+ tip = {"arms": ts.get("arms"), "geometry": t.get("geometry")}
129
+ for key in ("one_side_p95_mm", "either_side_p95_mm"):
130
+ tip[key] = {"text": f"{t[key]:.1f}", "v": t[key], "place": hc._place(t[key], ts.get(key, {})), "pct": _pct(ts.get(key))}
131
+ out["tip"] = tip
132
+ out["state"] = "measured" if out["measured"] else "few"
133
+ return out
134
+
135
+
136
+ def run(repo, sub, info_bytes, files, blobs) -> str:
137
+ """Card plus page view as one JSON string (the card JSON inside is holdcheck's own json.dump format)."""
138
+ card = measure(repo, sub, info_bytes, files, blobs)
139
+ return json.dumps(view(card))
py/holdcheck.py ADDED
@@ -0,0 +1,528 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """holdcheck: measure a low-cost servo arm's lost motion from its own LeRobot recordings.
3
+
4
+ Where the leader (the command, `action`) holds still, the follower (`observation.state`) should
5
+ settle on the command. What it settles on, split by the direction it arrived from, measures the
6
+ closed servo loop's lost motion (deadband, friction against a soft P gain, gear play inside the
7
+ loop) and its scatter. No hardware is moved; this only reads recordings.
8
+
9
+ Units. Feetech STS3215 servos (SO-100 / SO-101) read 4096 steps a turn, 0.08789 deg a step.
10
+ LeRobot stores joints either in degrees or as -100..100 over each arm's calibrated range. The
11
+ follower un-normalises `action` with its own calibration, so `state - action` is the follower's
12
+ error in its own frame either way. The step size is recovered from the quantisation of `state`
13
+ itself (smallest common difference between recorded values); a joint whose values are not on a
14
+ lattice is reported as unit-unknown and left out of the degree figures.
15
+
16
+ What it cannot see: play between the servo's output shaft and the link (horn screws, printed
17
+ parts, link bending). The encoder sits on the output shaft. Figures here are a lower bound on the
18
+ lost motion at the tool.
19
+
20
+ Usage (reads only meta/info.json and data/*.parquet, never videos):
21
+ holdcheck.py --repo lerobot/community_dataset_v3 --subdir <contributor>/<dataset> --out card.json
22
+ holdcheck.py --local <dir with meta/ and data/> --out card.json
23
+ """
24
+ from __future__ import annotations
25
+
26
+ import argparse
27
+ import json
28
+ import math
29
+ import os
30
+ import sys
31
+ import time
32
+ import urllib.parse
33
+ import urllib.request
34
+
35
+ import numpy as np
36
+
37
+ VERSION = "0.3.1"
38
+ STEP_DEG = 360.0 / 4096.0
39
+ HF = "https://huggingface.co"
40
+ SO_JOINTS = ["shoulder_pan", "shoulder_lift", "elbow_flex", "wrist_flex", "wrist_roll", "gripper"]
41
+ LOADED = {"shoulder_lift", "elbow_flex", "wrist_flex"} # carry gravity torque in most poses
42
+
43
+ # Hold and approach parameters, in follower steps and frames at the dataset's fps.
44
+ HOLD_S = 0.5 # the command must stay within HOLD_BAND for this long
45
+ HOLD_BAND = 2.0 # steps; a hand on the leader jitters by about one step
46
+ APPROACH_MIN = 12.0 # steps (about 1 deg) of travel that defines the approach direction
47
+ APPROACH_S = 2.0 # the approach must end within this long before the hold starts
48
+ GRIP_FREE = 20.0 # steps; a gripper error below this means nothing is held in the jaws
49
+
50
+
51
+ def _get(url: str, retries: int = 4) -> bytes:
52
+ last = None
53
+ for i in range(retries):
54
+ try:
55
+ req = urllib.request.Request(url, headers={"User-Agent": f"holdcheck/{VERSION}"})
56
+ with urllib.request.urlopen(req, timeout=60) as r:
57
+ return r.read()
58
+ except Exception as e: # noqa: BLE001 - network retry
59
+ last = e
60
+ time.sleep(2 * (i + 1))
61
+ raise RuntimeError(f"GET failed {url}: {last}")
62
+
63
+
64
+ def hf_tree(repo: str, path: str) -> list[dict]:
65
+ q = urllib.parse.quote(path)
66
+ return json.loads(_get(f"{HF}/api/datasets/{repo}/tree/main/{q}?recursive=true"))
67
+
68
+
69
+ def hf_file(repo: str, path: str) -> bytes:
70
+ return _get(f"{HF}/datasets/{repo}/resolve/main/{urllib.parse.quote(path)}")
71
+
72
+
73
+ def info_remote(repo: str, sub: str) -> dict:
74
+ pre = f"{sub}/" if sub else ""
75
+ return json.loads(hf_file(repo, pre + "meta/info.json"))
76
+
77
+
78
+ def info_local(d: str) -> dict:
79
+ return json.load(open(os.path.join(d, "meta", "info.json")))
80
+
81
+
82
+ def load_remote(repo: str, sub: str):
83
+ import io
84
+
85
+ import pyarrow.parquet as pq
86
+
87
+ pre = f"{sub}/" if sub else ""
88
+ files = sorted(
89
+ x["path"] for x in hf_tree(repo, pre + "data") if x["type"] == "file" and x["path"].endswith(".parquet")
90
+ )
91
+ tables = [pq.read_table(io.BytesIO(hf_file(repo, f)), columns=["action", "observation.state", "episode_index"]) for f in files]
92
+ return tables, files
93
+
94
+
95
+ def load_local(d: str):
96
+ import pyarrow.parquet as pq
97
+
98
+ files = []
99
+ for root, _, fs in os.walk(os.path.join(d, "data")):
100
+ files += [os.path.join(root, f) for f in fs if f.endswith(".parquet")]
101
+ files.sort()
102
+ tables = [pq.read_table(f, columns=["action", "observation.state", "episode_index"]) for f in files]
103
+ return tables, files
104
+
105
+
106
+ def to_arrays(tables):
107
+ acts, sts, eps = [], [], []
108
+ for t in tables:
109
+ acts.append(np.asarray(t.column("action").to_pylist(), dtype=np.float64))
110
+ sts.append(np.asarray(t.column("observation.state").to_pylist(), dtype=np.float64))
111
+ eps.append(np.asarray(t.column("episode_index").to_pylist(), dtype=np.int64))
112
+ return np.concatenate(acts), np.concatenate(sts), np.concatenate(eps)
113
+
114
+
115
+ def lattice_step(x: np.ndarray) -> dict:
116
+ """Recover the quantisation step of recorded joint values, or say it is absent."""
117
+ u = np.unique(np.round(x.astype(np.float64), 6))
118
+ if u.size < 20:
119
+ return {"ok": False, "why": f"only {u.size} distinct values"}
120
+ d = np.diff(u)
121
+ d = d[d > 1e-5]
122
+ if d.size < 10:
123
+ return {"ok": False, "why": "too few differences"}
124
+ d0 = np.percentile(d, 2)
125
+ k = np.round(d / d0)
126
+ k[k < 1] = 1
127
+ rel = np.abs(d / k - d0) / d0
128
+ frac = float(np.mean(rel < 0.03))
129
+ if frac < 0.95:
130
+ return {"ok": False, "why": f"values not on a lattice ({frac:.2f} of gaps fit)", "d0": float(d0)}
131
+ step = float(np.median(d / k))
132
+ mode = "degrees" if abs(step - STEP_DEG) / STEP_DEG < 0.01 else ("range_m100_100" if step < 1 else "raw_or_other")
133
+ out = {"ok": True, "step_units": step, "fit": frac, "mode": mode, "deg_per_unit": STEP_DEG / step}
134
+ if mode == "range_m100_100":
135
+ out["calibrated_range_steps"] = 200.0 / step
136
+ if mode == "raw_or_other" and abs(step - 1.0) < 0.01:
137
+ out["mode"] = "raw_steps"
138
+ return out
139
+
140
+
141
+ def holds_for_joint(a: np.ndarray, s: np.ndarray, ep: np.ndarray, fps: float, step: float):
142
+ """One sample per maximal hold: (approach_dir, error_steps at hold end, hold length frames,
143
+ command in steps from the approach point to the hold end, global frame index of the hold end,
144
+ error_steps once the hold had lasted HOLD_S)."""
145
+ W = max(3, int(round(HOLD_S * fps)))
146
+ back = int(round(APPROACH_S * fps))
147
+ out = []
148
+ a_st = a / step
149
+ e_st = (s - a) / step
150
+ n = a.size
151
+ starts = np.flatnonzero(np.r_[True, ep[1:] != ep[:-1]])
152
+ ends = np.r_[starts[1:], n]
153
+ for b0, b1 in zip(starts, ends):
154
+ x = a_st[b0:b1]
155
+ m = x.size
156
+ if m < W + 2:
157
+ continue
158
+ # running hold: extend a window while the command stays inside the band
159
+ i = 0
160
+ while i < m:
161
+ j = i
162
+ lo = hi = x[i]
163
+ while j + 1 < m:
164
+ v = x[j + 1]
165
+ nlo, nhi = min(lo, v), max(hi, v)
166
+ if nhi - nlo > HOLD_BAND:
167
+ break
168
+ lo, hi, j = nlo, nhi, j + 1
169
+ L = j - i + 1
170
+ if L >= W and i > 0:
171
+ ref = float(np.median(x[i : j + 1]))
172
+ k = i - 1
173
+ kmin = max(0, i - back)
174
+ while k >= kmin and abs(x[k] - ref) < APPROACH_MIN:
175
+ k -= 1
176
+ if k >= kmin:
177
+ d = 1 if ref > x[k] else -1
178
+ out.append((d, float(e_st[b0 + j]), L, x[k : j + 1].copy(), b0 + j, float(e_st[b0 + i + W - 1])))
179
+ i = j + 1
180
+ return out
181
+
182
+
183
+ def trimmed_mean(v: np.ndarray, cut: float = 0.2) -> float:
184
+ v = np.sort(np.asarray(v, float))
185
+ k = int(cut * v.size)
186
+ return float(v[k : v.size - k].mean())
187
+
188
+
189
+ def robust_sd(v: np.ndarray) -> float:
190
+ if v.size < 3:
191
+ return float("nan")
192
+ return float(1.4826 * np.median(np.abs(v - np.median(v))))
193
+
194
+
195
+ B_GRID = np.arange(0.0, 60.25, 0.25) # candidate lost motion, encoder steps
196
+
197
+
198
+ def play_predictions(holds) -> np.ndarray:
199
+ """Predicted settle error (steps) at each hold end for every b in B_GRID: holds x grid.
200
+
201
+ A servo loop with lost motion b behaves as a play operator: the output moves only when the
202
+ command leaves the band [out - b/2, out + b/2]. Jitter or a small overshoot of the leader
203
+ inside a hold therefore leaves the output at the arrival-side edge, not at the median command,
204
+ which is why a plain gap of median errors reads short. The operator starts at the approach
205
+ point, where the command was travelling in the approach direction (output trails by b/2).
206
+ """
207
+ half = B_GRID / 2.0
208
+ P = np.empty((len(holds), B_GRID.size))
209
+ for r, h in enumerate(holds):
210
+ d, w = h[0], h[3]
211
+ p = w[0] - d * half
212
+ for v in w[1:]:
213
+ p = np.minimum(np.maximum(p, v - half), v + half)
214
+ P[r] = p - w[-1]
215
+ return P
216
+
217
+
218
+ def fit_play(e: np.ndarray, P: np.ndarray, idx=None):
219
+ """b minimising the absolute deviation of (observed - predicted) about its median."""
220
+ if idx is not None:
221
+ e, P = e[idx], P[idx]
222
+ R = e[:, None] - P
223
+ cost = np.abs(R - np.median(R, 0)).sum(0)
224
+ g = int(np.argmin(cost))
225
+ return float(B_GRID[g]), R[:, g]
226
+
227
+
228
+ def boot_play(e: np.ndarray, P: np.ndarray, rng, n=400):
229
+ b = np.empty(n)
230
+ for i in range(n):
231
+ b[i] = fit_play(e, P, rng.integers(0, e.size, e.size))[0]
232
+ return float(np.percentile(b, 5)), float(np.percentile(b, 95))
233
+
234
+
235
+ def family(robot_type) -> str:
236
+ """Arm family from LeRobot's robot_type. SO-100 and SO-101 followers share the STS3215 servo;
237
+ Koch (Dynamixel), Moss, Piper and mixed rigs are other hardware and stay out of the SO table."""
238
+ rt = str(robot_type or "").lower().replace("-", "")
239
+ if "koch" in rt and "so10" in rt:
240
+ return "mixed"
241
+ if rt.startswith("so101"):
242
+ return "so101"
243
+ if rt.startswith("so100") or rt.startswith("so_100"):
244
+ return "so100"
245
+ if rt.startswith("koch"):
246
+ return "koch"
247
+ return "other:" + (rt or "none")
248
+
249
+
250
+ def joint_key(name: str) -> str | None:
251
+ n = name.lower()
252
+ for k in SO_JOINTS:
253
+ if n.endswith(k) or n.endswith(k + ".pos"):
254
+ return k
255
+ return None
256
+
257
+
258
+ def feature_names(info: dict, key: str) -> list:
259
+ """Joint names of one feature in meta/info.json, in the layouts LeRobot recordings use."""
260
+ names = info["features"][key].get("names") or []
261
+ if isinstance(names, dict):
262
+ names = next(iter(names.values()))
263
+ # some recordings store names one level deeper ([[...]]); flatten one level
264
+ if names and isinstance(names[0], list):
265
+ names = [x for n in names for x in n]
266
+ return names
267
+
268
+
269
+ def precheck(info: dict) -> dict | None:
270
+ """The skip decision from meta/info.json alone, before any parquet is read.
271
+
272
+ Returns a skip card when the declared features are not one six-joint SO-style arm, else None.
273
+ analyse() repeats the same checks on the data, so a dataset whose files disagree with its
274
+ info.json is still caught there. A skip card from here carries the declared frame and episode
275
+ totals and no file list."""
276
+ names, snames = feature_names(info, "action"), feature_names(info, "observation.state")
277
+ card = {
278
+ "robot_type": info.get("robot_type"),
279
+ "codebase_version": info.get("codebase_version"),
280
+ "fps": float(info.get("fps", 30)),
281
+ "frames": int(info.get("total_frames") or 0),
282
+ "episodes": int(info.get("total_episodes") or 0),
283
+ "action_names": names,
284
+ "joints": {},
285
+ "files": [],
286
+ "skipped_from": "meta/info.json",
287
+ }
288
+ shp = [list(info["features"][k].get("shape") or []) for k in ("action", "observation.state")]
289
+ if shp[0] != shp[1] or list(names) != list(snames):
290
+ card["skip"] = "action and state differ in shape or names"
291
+ return card
292
+ keys = [joint_key(n) for n in names]
293
+ if (shp[0] and shp[0] != [6]) or len(names) != 6 or sorted(k for k in keys if k) != sorted(SO_JOINTS):
294
+ card["skip"] = "not a single six-joint SO-style arm"
295
+ return card
296
+ return None
297
+
298
+
299
+ def meta() -> dict:
300
+ """The method constants stamped on every card."""
301
+ return {"version": VERSION, "grip_free_steps": GRIP_FREE, "hold_s": HOLD_S, "hold_band_steps": HOLD_BAND,
302
+ "approach_min_steps": APPROACH_MIN, "approach_s": APPROACH_S}
303
+
304
+
305
+ def analyse(info: dict, A: np.ndarray, S: np.ndarray, EP: np.ndarray, rng) -> dict:
306
+ fps = float(info.get("fps", 30))
307
+ names, snames = feature_names(info, "action"), feature_names(info, "observation.state")
308
+ card = {
309
+ "robot_type": info.get("robot_type"),
310
+ "codebase_version": info.get("codebase_version"),
311
+ "fps": fps,
312
+ "frames": int(A.shape[0]),
313
+ "episodes": int(np.unique(EP).size),
314
+ "action_names": names,
315
+ "joints": {},
316
+ }
317
+ if A.shape != S.shape or list(names) != list(snames):
318
+ card["skip"] = "action and state differ in shape or names"
319
+ return card
320
+ keys = [joint_key(n) for n in names]
321
+ if A.shape[1] != 6 or sorted(k for k in keys if k) != sorted(SO_JOINTS):
322
+ card["skip"] = "not a single six-joint SO-style arm"
323
+ return card
324
+ # Gripper squeeze: with an object in the jaws the follower gripper cannot reach the leader's
325
+ # closed command, so a large gripper error marks a hold where the arm may carry or press on
326
+ # something. Holds with a small gripper error and at least twice HOLD_S are "free" holds.
327
+ gc = keys.index("gripper")
328
+ glat = lattice_step(S[:, gc])
329
+ g_err = np.abs(S[:, gc] - A[:, gc]) / glat["step_units"] if glat["ok"] else None
330
+ for c, k in enumerate(keys):
331
+ lat = lattice_step(S[:, c])
332
+ jr = {"lattice": lat}
333
+ if lat["ok"] and k != "gripper":
334
+ h = holds_for_joint(A[:, c], S[:, c], EP, fps, lat["step_units"])
335
+ d = np.array([x[0] for x in h])
336
+ e = np.array([x[1] for x in h])
337
+ pos, neg = e[d > 0], e[d < 0]
338
+ jr.update({"holds_pos": int(pos.size), "holds_neg": int(neg.size)})
339
+ if pos.size >= 8 and neg.size >= 8:
340
+ naive = float(np.median(neg) - np.median(pos)) # median-gap estimate, reads short under jitter
341
+ P = play_predictions(h)
342
+ gap, r = fit_play(e, P)
343
+ lo, hi = boot_play(e, P, rng)
344
+ sd = float(np.nanmedian([robust_sd(r[d > 0]), robust_sd(r[d < 0])]))
345
+ bias = float(np.median(r))
346
+ jr.update(
347
+ {
348
+ "median_err_pos_steps": float(np.median(pos)),
349
+ "median_err_neg_steps": float(np.median(neg)),
350
+ "lost_motion_steps": gap,
351
+ "lost_motion_ci90_steps": [lo, hi],
352
+ "lost_motion_median_gap_steps": naive,
353
+ "scatter_sd_steps": sd,
354
+ "bias_steps": bias,
355
+ "lost_motion_deg": gap * STEP_DEG,
356
+ "scatter_sd_deg": sd * STEP_DEG,
357
+ "bias_deg": bias * STEP_DEG,
358
+ "scatter_over_lost_motion": (sd / abs(gap)) if abs(gap) >= 1 else None,
359
+ }
360
+ )
361
+ # scatter source check (0.2): long holds, gripper not squeezing
362
+ L = np.array([x[2] for x in h])
363
+ endi = np.array([x[4] for x in h])
364
+ eW = np.array([x[5] for x in h])
365
+ long_ = L >= 2 * max(3, int(round(HOLD_S * fps)))
366
+ free = long_ & (g_err[endi] < GRIP_FREE if g_err is not None else long_)
367
+ # creep: signed change of the error after the first hold time, in the arrival direction
368
+ # (>0: the output is still closing on the command). A servo that re-settles on each
369
+ # one-step jitter of the leader changes its error at random; that averages out here and
370
+ # shows only in settle_change_abs_steps, which is not a settling measure.
371
+ if long_.sum() >= 8:
372
+ cr = d[long_] * (e[long_] - eW[long_])
373
+ jr["settle_creep_steps"] = trimmed_mean(cr) # whole-step data: a median jumps a step
374
+ jr["settle_creep_se_steps"] = float(1.2 * robust_sd(cr) / np.sqrt(cr.size))
375
+ jr["holds_long"] = int(cr.size)
376
+ jr["settle_creep_deg"] = jr["settle_creep_steps"] * STEP_DEG
377
+ jr["settle_change_abs_steps"] = float(np.median(np.abs(e[long_] - eW[long_])))
378
+ jr["holds_free_pos"], jr["holds_free_neg"] = int((free & (d > 0)).sum()), int((free & (d < 0)).sum())
379
+ if jr["holds_free_pos"] >= 8 and jr["holds_free_neg"] >= 8:
380
+ sdf = float(np.nanmedian([robust_sd(r[free & (d > 0)]), robust_sd(r[free & (d < 0)])]))
381
+ jr["scatter_sd_free_steps"] = sdf
382
+ jr["scatter_sd_free_deg"] = sdf * STEP_DEG
383
+ card["joints"][k] = jr
384
+ return card
385
+
386
+
387
+ TIPMAP = os.path.join(os.path.dirname(os.path.abspath(__file__)), "tipmap.json")
388
+ TIP_JOINTS = SO_JOINTS[:5]
389
+
390
+
391
+ def joint_scatter_deg(j: dict) -> float:
392
+ """The scatter that is the arm's: free holds (1 s or more, empty gripper) where measured."""
393
+ return j["scatter_sd_free_deg"] if j.get("scatter_sd_free_deg") is not None else j["scatter_sd_deg"]
394
+
395
+
396
+ def tip_figures(joints: dict, tipmap: dict | None = None, per_pose: int = 200, seed: int = 0) -> dict:
397
+ """Joint figures at the servo shafts -> sideways error of the gripper tip, in mm.
398
+
399
+ Each joint settles with Gaussian scatter of its measured sd; arriving from either side it also
400
+ sits at one edge of its play band (half the lost motion), either edge equally often. The joint
401
+ errors go through the SO-101 Jacobian at 64 table poses (`tipmap.json`, made by tipmap.py); the
402
+ figure is the 95th percentile of the sideways (x-y) distance over poses and draws. Seeded, so the
403
+ same card always gives the same figure.
404
+ """
405
+ missing = [k for k in TIP_JOINTS if "lost_motion_deg" not in joints.get(k, {})]
406
+ if missing:
407
+ return {"not_computed": "not measured: " + ", ".join(missing)}
408
+ if tipmap is None:
409
+ with open(TIPMAP) as f:
410
+ tipmap = json.load(f)
411
+ tm = tipmap
412
+ J = np.asarray(tm["jacobian_mm_per_rad"], float) # (P,3,5)
413
+ sd = np.radians([joint_scatter_deg(joints[k]) for k in TIP_JOINTS])
414
+ hw = np.radians([max(joints[k]["lost_motion_deg"], 0.0) / 2 for k in TIP_JOINTS])
415
+ rng = np.random.default_rng(seed)
416
+ e1 = rng.standard_normal((J.shape[0], per_pose, 5)) * sd
417
+ e2 = e1 + rng.choice([-1.0, 1.0], e1.shape) * hw
418
+ lat = [np.hypot(*np.einsum("pij,pmj->ipm", J[:, :2, :], e)) for e in (e1, e2)]
419
+ return {
420
+ "one_side_p95_mm": round(float(np.percentile(lat[0], 95)), 2),
421
+ "one_side_p50_mm": round(float(np.percentile(lat[0], 50)), 2),
422
+ "either_side_p95_mm": round(float(np.percentile(lat[1], 95)), 2),
423
+ "scatter_from": {k: ("free holds" if joints[k].get("scatter_sd_free_deg") is not None else "all holds") for k in TIP_JOINTS},
424
+ "geometry": "SO-101 tool point, pointing down, 64 poses 13-25 cm in front of the base (SO-100 links differ slightly)",
425
+ }
426
+
427
+
428
+ def _place(v: float, p: dict) -> str:
429
+ if not p:
430
+ return ""
431
+ w = ("tighter than 9 in 10" if v < p["p10"] else "tighter than most" if v < p["p25"] else
432
+ "typical" if v <= p["p75"] else "looser than most" if v <= p["p90"] else "looser than 9 in 10")
433
+ return f"{w} (median {p['p50']:.2f})"
434
+
435
+
436
+ def report_text(card: dict, summary: dict | None = None) -> str:
437
+ """The card as a person reads it; with a corpus summary, each joint is placed against it."""
438
+ if "error" in card:
439
+ return f"could not read this dataset: {card['error']}"
440
+ if "skip" in card:
441
+ return f"not measured: {card['skip']}"
442
+ L = [
443
+ f"{card.get('robot_type')} {card['episodes']} episodes, {card['frames']} frames at {card['fps']:g} fps",
444
+ "Lost motion: how far apart the follower settles when it arrives at the same command from above",
445
+ "and from below. Scatter: how much it varies arriving from one side. Both at the servo's output",
446
+ "shaft (horn, screws and printed links add more at the tool). 1 encoder step = 0.088 deg.",
447
+ "",
448
+ f"{'joint':<14}{'holds':>7}{'lost motion deg':>17}{'90% interval':>16}{'scatter deg':>13}{'bias deg':>10} vs other arms (lost motion; scatter)",
449
+ ]
450
+ fam = family(card.get("robot_type"))
451
+ table = summary.get("joints", {}) if summary and fam in ("so100", "so101") else (summary or {}).get("by_family", {}).get(fam, {})
452
+ for k in SO_JOINTS[:-1]:
453
+ j = card["joints"].get(k, {})
454
+ if "lost_motion_deg" not in j:
455
+ why = j.get("lattice", {}).get("why") or f"too few holds ({j.get('holds_pos', 0)} up, {j.get('holds_neg', 0)} down)"
456
+ L.append(f"{k:<14}{'':>7} not measured: {why}")
457
+ continue
458
+ lo, hi = (x * STEP_DEG for x in j["lost_motion_ci90_steps"])
459
+ sc = joint_scatter_deg(j)
460
+ where = ""
461
+ if k in table:
462
+ free = j.get("scatter_sd_free_deg") is not None and table[k].get("scatter_sd_free_deg")
463
+ where = "; ".join(x for x in (_place(j["lost_motion_deg"], table[k]["lost_motion_deg"]),
464
+ _place(sc, table[k]["scatter_sd_free_deg" if free else "scatter_sd_deg"])) if x)
465
+ L.append(
466
+ f"{k:<14}{j['holds_pos'] + j['holds_neg']:>7}{j['lost_motion_deg']:>17.2f}{f'{lo:.2f} to {hi:.2f}':>16}"
467
+ f"{sc:>13.2f}{j['bias_deg']:>10.2f} {where}"
468
+ )
469
+ L.append("Scatter is from holds of 1 s or more with an empty gripper where the recording has enough of them.")
470
+ t = card.get("tip") or {}
471
+ L.append("")
472
+ if "one_side_p95_mm" not in t:
473
+ L.append(f"At the gripper: {t.get('not_computed', 'not computed')}")
474
+ return "\n".join(L)
475
+ ts = (summary or {}).get("tip", {}) if fam in ("so100", "so101") else {}
476
+ L += [
477
+ "At the gripper (sideways error of the tool point, table poses 13-25 cm in front of the base):",
478
+ f" arriving from one side 95% within {t['one_side_p95_mm']:.1f} mm {_place(t['one_side_p95_mm'], ts.get('one_side_p95_mm', {}))}",
479
+ f" arriving from any side 95% within {t['either_side_p95_mm']:.1f} mm {_place(t['either_side_p95_mm'], ts.get('either_side_p95_mm', {}))}",
480
+ "A placement whose lead-in or tolerance is smaller than these will miss about 1 time in 20 or more from",
481
+ "this arm's servos alone, before camera, calibration and printed-part play are added. Approaching every",
482
+ "target from the same side removes the lost-motion part.",
483
+ ]
484
+ return "\n".join(L)
485
+
486
+
487
+ def main(argv=None):
488
+ p = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
489
+ p.add_argument("--repo")
490
+ p.add_argument("--subdir", default="")
491
+ p.add_argument("--local")
492
+ p.add_argument("--out", required=True)
493
+ p.add_argument("--seed", type=int, default=0)
494
+ p.add_argument("--print", action="store_true", help="print the card for a person")
495
+ p.add_argument("--compare", default=os.path.join(os.path.dirname(os.path.abspath(__file__)), "corpus_summary.json"),
496
+ help="corpus summary.json to place each joint against (default: the bundled 371-arm table)")
497
+ a = p.parse_args(argv)
498
+ rng = np.random.default_rng(a.seed)
499
+ t0 = time.time()
500
+ try:
501
+ src = {"local": a.local} if a.local else {"repo": a.repo, "subdir": a.subdir}
502
+ info = info_local(a.local) if a.local else info_remote(a.repo, a.subdir)
503
+ card = precheck(info)
504
+ if card is None:
505
+ tables, files = load_local(a.local) if a.local else load_remote(a.repo, a.subdir)
506
+ A, S, EP = to_arrays(tables)
507
+ card = analyse(info, A, S, EP, rng)
508
+ card["files"] = files
509
+ if card.get("joints"):
510
+ card["tip"] = tip_figures(card["joints"])
511
+ except Exception as e: # noqa: BLE001 - a bad dataset is a result, not a crash
512
+ card, src = {"error": f"{type(e).__name__}: {e}"}, {"repo": a.repo, "subdir": a.subdir, "local": a.local}
513
+ card["source"] = src
514
+ card["holdcheck"] = meta()
515
+ card["seconds"] = round(time.time() - t0, 2)
516
+ os.makedirs(os.path.dirname(os.path.abspath(a.out)), exist_ok=True)
517
+ json.dump(card, open(a.out, "w"), indent=1)
518
+ if a.print:
519
+ summary = None
520
+ if a.compare and os.path.exists(a.compare):
521
+ with open(a.compare) as f:
522
+ summary = json.load(f)
523
+ print(report_text(card, summary))
524
+ return 0
525
+
526
+
527
+ if __name__ == "__main__":
528
+ sys.exit(main())
py/tipmap.json ADDED
@@ -0,0 +1,1808 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "what": "SO-101 gripperframe positional Jacobian, mm per rad, joints in order",
3
+ "joints": [
4
+ "shoulder_pan",
5
+ "shoulder_lift",
6
+ "elbow_flex",
7
+ "wrist_flex",
8
+ "wrist_roll"
9
+ ],
10
+ "model": "MuJoCo Menagerie robotstudio_so101/so101.xml (Apache-2.0, sha256 982c02c027ec0c62), read by so101kin.py",
11
+ "poses": "64 IK poses, tool pointing down, x (0.13, 0.25) m, y (-0.1, 0.1) m, z 0.03 m, seed 23982",
12
+ "tool_mm": [
13
+ [
14
+ 174.73,
15
+ 40.51,
16
+ 30.0
17
+ ],
18
+ [
19
+ 177.96,
20
+ 52.06,
21
+ 30.0
22
+ ],
23
+ [
24
+ 152.54,
25
+ 98.01,
26
+ 30.0
27
+ ],
28
+ [
29
+ 151.26,
30
+ 99.85,
31
+ 30.0
32
+ ],
33
+ [
34
+ 153.47,
35
+ -20.43,
36
+ 30.0
37
+ ],
38
+ [
39
+ 177.92,
40
+ -48.68,
41
+ 30.0
42
+ ],
43
+ [
44
+ 137.2,
45
+ -91.19,
46
+ 30.0
47
+ ],
48
+ [
49
+ 208.82,
50
+ 83.01,
51
+ 30.0
52
+ ],
53
+ [
54
+ 215.97,
55
+ 24.37,
56
+ 30.0
57
+ ],
58
+ [
59
+ 180.12,
60
+ -63.17,
61
+ 30.0
62
+ ],
63
+ [
64
+ 140.72,
65
+ 50.16,
66
+ 30.0
67
+ ],
68
+ [
69
+ 169.21,
70
+ -44.56,
71
+ 30.0
72
+ ],
73
+ [
74
+ 245.44,
75
+ -0.58,
76
+ 30.0
77
+ ],
78
+ [
79
+ 155.5,
80
+ 28.58,
81
+ 30.0
82
+ ],
83
+ [
84
+ 181.38,
85
+ -25.82,
86
+ 30.0
87
+ ],
88
+ [
89
+ 240.44,
90
+ -3.44,
91
+ 30.0
92
+ ],
93
+ [
94
+ 223.39,
95
+ -74.88,
96
+ 30.0
97
+ ],
98
+ [
99
+ 133.23,
100
+ -20.06,
101
+ 30.0
102
+ ],
103
+ [
104
+ 237.44,
105
+ 59.89,
106
+ 30.0
107
+ ],
108
+ [
109
+ 179.59,
110
+ 35.15,
111
+ 30.0
112
+ ],
113
+ [
114
+ 216.56,
115
+ 26.03,
116
+ 30.0
117
+ ],
118
+ [
119
+ 137.54,
120
+ -34.88,
121
+ 30.0
122
+ ],
123
+ [
124
+ 173.5,
125
+ -28.68,
126
+ 30.0
127
+ ],
128
+ [
129
+ 181.57,
130
+ 88.69,
131
+ 30.0
132
+ ],
133
+ [
134
+ 183.03,
135
+ -89.25,
136
+ 30.0
137
+ ],
138
+ [
139
+ 229.13,
140
+ 21.12,
141
+ 30.0
142
+ ],
143
+ [
144
+ 212.15,
145
+ -21.4,
146
+ 30.0
147
+ ],
148
+ [
149
+ 153.16,
150
+ -62.89,
151
+ 30.0
152
+ ],
153
+ [
154
+ 167.97,
155
+ -75.97,
156
+ 30.0
157
+ ],
158
+ [
159
+ 164.86,
160
+ -23.51,
161
+ 30.0
162
+ ],
163
+ [
164
+ 173.79,
165
+ 41.45,
166
+ 30.0
167
+ ],
168
+ [
169
+ 217.06,
170
+ 26.09,
171
+ 30.0
172
+ ],
173
+ [
174
+ 210.76,
175
+ 24.73,
176
+ 30.0
177
+ ],
178
+ [
179
+ 189.48,
180
+ 59.84,
181
+ 30.0
182
+ ],
183
+ [
184
+ 223.32,
185
+ -80.3,
186
+ 30.0
187
+ ],
188
+ [
189
+ 223.94,
190
+ 85.14,
191
+ 30.0
192
+ ],
193
+ [
194
+ 157.49,
195
+ -85.85,
196
+ 30.0
197
+ ],
198
+ [
199
+ 175.15,
200
+ 89.57,
201
+ 30.0
202
+ ],
203
+ [
204
+ 228.17,
205
+ -43.15,
206
+ 30.0
207
+ ],
208
+ [
209
+ 229.94,
210
+ 9.54,
211
+ 30.0
212
+ ],
213
+ [
214
+ 155.39,
215
+ 98.7,
216
+ 30.0
217
+ ],
218
+ [
219
+ 244.68,
220
+ -84.07,
221
+ 30.0
222
+ ],
223
+ [
224
+ 143.86,
225
+ -32.17,
226
+ 30.0
227
+ ],
228
+ [
229
+ 131.09,
230
+ -93.88,
231
+ 30.0
232
+ ],
233
+ [
234
+ 170.17,
235
+ 5.88,
236
+ 30.0
237
+ ],
238
+ [
239
+ 189.24,
240
+ 20.53,
241
+ 30.0
242
+ ],
243
+ [
244
+ 172.86,
245
+ -0.24,
246
+ 30.0
247
+ ],
248
+ [
249
+ 196.21,
250
+ 87.42,
251
+ 30.0
252
+ ],
253
+ [
254
+ 150.75,
255
+ -82.96,
256
+ 30.0
257
+ ],
258
+ [
259
+ 245.19,
260
+ -64.01,
261
+ 30.0
262
+ ],
263
+ [
264
+ 183.15,
265
+ -57.24,
266
+ 30.0
267
+ ],
268
+ [
269
+ 130.88,
270
+ -15.12,
271
+ 30.0
272
+ ],
273
+ [
274
+ 179.26,
275
+ 95.57,
276
+ 30.0
277
+ ],
278
+ [
279
+ 174.9,
280
+ -99.75,
281
+ 30.0
282
+ ],
283
+ [
284
+ 140.93,
285
+ -4.93,
286
+ 30.0
287
+ ],
288
+ [
289
+ 200.68,
290
+ -32.0,
291
+ 30.0
292
+ ],
293
+ [
294
+ 152.57,
295
+ -33.09,
296
+ 30.0
297
+ ],
298
+ [
299
+ 204.63,
300
+ 90.17,
301
+ 30.0
302
+ ],
303
+ [
304
+ 141.25,
305
+ 34.33,
306
+ 30.0
307
+ ],
308
+ [
309
+ 199.33,
310
+ -23.88,
311
+ 30.0
312
+ ],
313
+ [
314
+ 213.45,
315
+ 93.33,
316
+ 30.0
317
+ ],
318
+ [
319
+ 173.41,
320
+ 99.38,
321
+ 30.0
322
+ ],
323
+ [
324
+ 148.0,
325
+ -55.97,
326
+ 30.0
327
+ ],
328
+ [
329
+ 137.77,
330
+ 16.45,
331
+ 30.0
332
+ ]
333
+ ],
334
+ "jacobian_mm_per_rad": [
335
+ [
336
+ [
337
+ 40.512,
338
+ -82.813,
339
+ -190.053,
340
+ -152.264,
341
+ -2.71
342
+ ],
343
+ [
344
+ -135.893,
345
+ -25.329,
346
+ -58.129,
347
+ -46.571,
348
+ 11.692
349
+ ],
350
+ [
351
+ 0.0,
352
+ -111.401,
353
+ -141.06,
354
+ -11.973,
355
+ -0.0
356
+ ]
357
+ ],
358
+ [
359
+ [
360
+ 52.06,
361
+ -80.902,
362
+ -187.23,
363
+ -148.75,
364
+ -3.506
365
+ ],
366
+ [
367
+ -139.122,
368
+ -30.894,
369
+ -71.499,
370
+ -56.804,
371
+ 11.478
372
+ ],
373
+ [
374
+ 0.0,
375
+ -118.141,
376
+ -140.537,
377
+ -11.974,
378
+ -0.0
379
+ ]
380
+ ],
381
+ [
382
+ [
383
+ 98.014,
384
+ -65.217,
385
+ -151.17,
386
+ -119.911,
387
+ -7.262
388
+ ],
389
+ [
390
+ -113.703,
391
+ -56.976,
392
+ -132.068,
393
+ -104.76,
394
+ 9.555
395
+ ],
396
+ [
397
+ 0.0,
398
+ -119.714,
399
+ -140.435,
400
+ -11.974,
401
+ -0.0
402
+ ]
403
+ ],
404
+ [
405
+ [
406
+ 99.854,
407
+ -64.367,
408
+ -149.235,
409
+ -118.348,
410
+ -7.403
411
+ ],
412
+ [
413
+ -112.427,
414
+ -57.935,
415
+ -134.323,
416
+ -106.522,
417
+ 9.447
418
+ ],
419
+ [
420
+ 0.0,
421
+ -119.966,
422
+ -140.419,
423
+ -11.974,
424
+ -0.0
425
+ ]
426
+ ],
427
+ [
428
+ [
429
+ -20.426,
430
+ -85.389,
431
+ -184.419,
432
+ -157.001,
433
+ 2.845
434
+ ],
435
+ [
436
+ -114.631,
437
+ 14.43,
438
+ 31.165,
439
+ 26.531,
440
+ 11.66
441
+ ],
442
+ [
443
+ 0.0,
444
+ -86.033,
445
+ -144.076,
446
+ -11.971,
447
+ -0.0
448
+ ]
449
+ ],
450
+ [
451
+ [
452
+ -48.684,
453
+ -81.929,
454
+ -189.365,
455
+ -150.639,
456
+ 4.656
457
+ ],
458
+ [
459
+ -139.082,
460
+ 28.057,
461
+ 64.848,
462
+ 51.586,
463
+ 11.062
464
+ ],
465
+ [
466
+ 0.0,
467
+ -116.954,
468
+ -140.619,
469
+ -11.974,
470
+ -0.0
471
+ ]
472
+ ],
473
+ [
474
+ [
475
+ -91.19,
476
+ -63.952,
477
+ -144.864,
478
+ -117.585,
479
+ 8.692
480
+ ],
481
+ [
482
+ -98.364,
483
+ 58.393,
484
+ 132.273,
485
+ 107.364,
486
+ 8.277
487
+ ],
488
+ [
489
+ 0.0,
490
+ -103.728,
491
+ -141.821,
492
+ -11.973,
493
+ -0.0
494
+ ]
495
+ ],
496
+ [
497
+ [
498
+ 83.006,
499
+ -77.627,
500
+ -180.283,
501
+ -142.729,
502
+ -4.621
503
+ ],
504
+ [
505
+ -169.987,
506
+ -38.388,
507
+ -89.153,
508
+ -70.582,
509
+ 11.077
510
+ ],
511
+ [
512
+ 0.0,
513
+ -158.769,
514
+ -140.312,
515
+ -11.977,
516
+ 0.0
517
+ ]
518
+ ],
519
+ [
520
+ [
521
+ 24.373,
522
+ -85.727,
523
+ -200.251,
524
+ -157.622,
525
+ -0.922
526
+ ],
527
+ [
528
+ -177.138,
529
+ -12.265,
530
+ -28.65,
531
+ -22.551,
532
+ 11.966
533
+ ],
534
+ [
535
+ 0.0,
536
+ -148.405,
537
+ -139.924,
538
+ -11.976,
539
+ 0.0
540
+ ]
541
+ ],
542
+ [
543
+ [
544
+ -63.173,
545
+ -79.282,
546
+ -184.487,
547
+ -145.771,
548
+ 5.561
549
+ ],
550
+ [
551
+ -141.286,
552
+ 34.842,
553
+ 81.078,
554
+ 64.063,
555
+ 10.636
556
+ ],
557
+ [
558
+ 0.0,
559
+ -124.364,
560
+ -140.18,
561
+ -11.974,
562
+ -0.0
563
+ ]
564
+ ],
565
+ [
566
+ [
567
+ 50.158,
568
+ -77.339,
569
+ -165.277,
570
+ -142.199,
571
+ -4.611
572
+ ],
573
+ [
574
+ -101.881,
575
+ -38.964,
576
+ -83.268,
577
+ -71.642,
578
+ 11.081
579
+ ],
580
+ [
581
+ 0.0,
582
+ -83.154,
583
+ -144.475,
584
+ -11.97,
585
+ -0.0
586
+ ]
587
+ ],
588
+ [
589
+ [
590
+ -44.56,
591
+ -82.149,
592
+ -187.336,
593
+ -151.043,
594
+ 4.579
595
+ ],
596
+ [
597
+ -130.373,
598
+ 27.406,
599
+ 62.498,
600
+ 50.39,
601
+ 11.094
602
+ ],
603
+ [
604
+ 0.0,
605
+ -107.374,
606
+ -141.438,
607
+ -11.973,
608
+ -0.0
609
+ ]
610
+ ],
611
+ [
612
+ [
613
+ -0.576,
614
+ -86.6,
615
+ -197.287,
616
+ -159.227,
617
+ 0.722
618
+ ],
619
+ [
620
+ -206.606,
621
+ -0.144,
622
+ -0.329,
623
+ -0.265,
624
+ 11.98
625
+ ],
626
+ [
627
+ 0.0,
628
+ -176.205,
629
+ -141.503,
630
+ -11.979,
631
+ 0.0
632
+ ]
633
+ ],
634
+ [
635
+ [
636
+ 28.578,
637
+ -83.933,
638
+ -183.504,
639
+ -154.322,
640
+ -2.118
641
+ ],
642
+ [
643
+ -116.662,
644
+ -21.328,
645
+ -46.631,
646
+ -39.215,
647
+ 11.814
648
+ ],
649
+ [
650
+ 0.0,
651
+ -89.708,
652
+ -143.571,
653
+ -11.971,
654
+ -0.0
655
+ ]
656
+ ],
657
+ [
658
+ [
659
+ -25.817,
660
+ -85.318,
661
+ -196.617,
662
+ -156.871,
663
+ 2.864
664
+ ],
665
+ [
666
+ -142.548,
667
+ 14.843,
668
+ 34.207,
669
+ 27.292,
670
+ 11.655
671
+ ],
672
+ [
673
+ 0.0,
674
+ -114.465,
675
+ -140.805,
676
+ -11.974,
677
+ -0.0
678
+ ]
679
+ ],
680
+ [
681
+ [
682
+ -3.436,
683
+ -86.593,
684
+ -198.604,
685
+ -159.215,
686
+ 0.899
687
+ ],
688
+ [
689
+ -201.604,
690
+ 1.077,
691
+ 2.471,
692
+ 1.981,
693
+ 11.968
694
+ ],
695
+ [
696
+ 0.0,
697
+ -171.232,
698
+ -141.104,
699
+ -11.979,
700
+ 0.0
701
+ ]
702
+ ],
703
+ [
704
+ [
705
+ -74.878,
706
+ -80.398,
707
+ -184.943,
708
+ -147.824,
709
+ 5.151
710
+ ],
711
+ [
712
+ -184.558,
713
+ 32.182,
714
+ 74.028,
715
+ 59.171,
716
+ 10.84
717
+ ],
718
+ [
719
+ 0.0,
720
+ -168.768,
721
+ -140.922,
722
+ -11.978,
723
+ 0.0
724
+ ]
725
+ ],
726
+ [
727
+ [
728
+ -20.064,
729
+ -84.905,
730
+ -166.869,
731
+ -156.111,
732
+ 3.248
733
+ ],
734
+ [
735
+ -94.399,
736
+ 17.048,
737
+ 33.505,
738
+ 31.345,
739
+ 11.554
740
+ ],
741
+ [
742
+ 0.0,
743
+ -66.102,
744
+ -146.521,
745
+ -11.967,
746
+ -0.0
747
+ ]
748
+ ],
749
+ [
750
+ [
751
+ 59.886,
752
+ -82.801,
753
+ -188.403,
754
+ -152.242,
755
+ -2.801
756
+ ],
757
+ [
758
+ -198.605,
759
+ -25.368,
760
+ -57.721,
761
+ -46.642,
762
+ 11.671
763
+ ],
764
+ [
765
+ 0.0,
766
+ -177.036,
767
+ -141.574,
768
+ -11.979,
769
+ 0.0
770
+ ]
771
+ ],
772
+ [
773
+ [
774
+ 35.154,
775
+ -83.872,
776
+ -193.334,
777
+ -154.212,
778
+ -2.184
779
+ ],
780
+ [
781
+ -140.75,
782
+ -21.564,
783
+ -49.708,
784
+ -39.649,
785
+ 11.802
786
+ ],
787
+ [
788
+ 0.0,
789
+ -114.671,
790
+ -140.789,
791
+ -11.974,
792
+ -0.0
793
+ ]
794
+ ],
795
+ [
796
+ [
797
+ 26.034,
798
+ -85.617,
799
+ -199.934,
800
+ -157.42,
801
+ -1.027
802
+ ],
803
+ [
804
+ -177.726,
805
+ -13.009,
806
+ -30.379,
807
+ -23.919,
808
+ 11.958
809
+ ],
810
+ [
811
+ 0.0,
812
+ -149.22,
813
+ -139.945,
814
+ -11.976,
815
+ 0.0
816
+ ]
817
+ ],
818
+ [
819
+ [
820
+ -34.882,
821
+ -81.941,
822
+ -168.466,
823
+ -150.661,
824
+ 4.714
825
+ ],
826
+ [
827
+ -98.703,
828
+ 28.022,
829
+ 57.612,
830
+ 51.523,
831
+ 11.038
832
+ ],
833
+ [
834
+ 0.0,
835
+ -74.28,
836
+ -145.651,
837
+ -11.969,
838
+ -0.0
839
+ ]
840
+ ],
841
+ [
842
+ [
843
+ -28.682,
844
+ -84.83,
845
+ -193.421,
846
+ -155.973,
847
+ 3.224
848
+ ],
849
+ [
850
+ -134.668,
851
+ 17.417,
852
+ 39.713,
853
+ 32.025,
854
+ 11.561
855
+ ],
856
+ [
857
+ 0.0,
858
+ -107.285,
859
+ -141.447,
860
+ -11.973,
861
+ -0.0
862
+ ]
863
+ ],
864
+ [
865
+ [
866
+ 88.686,
867
+ -73.292,
868
+ -171.447,
869
+ -134.757,
870
+ -5.706
871
+ ],
872
+ [
873
+ -142.734,
874
+ -46.129,
875
+ -107.908,
876
+ -84.816,
877
+ 10.559
878
+ ],
879
+ [
880
+ 0.0,
881
+ -137.641,
882
+ -139.825,
883
+ -11.975,
884
+ -0.0
885
+ ]
886
+ ],
887
+ [
888
+ [
889
+ -89.25,
890
+ -73.895,
891
+ -172.876,
892
+ -135.868,
893
+ 6.922
894
+ ],
895
+ [
896
+ -144.19,
897
+ 45.156,
898
+ 105.64,
899
+ 83.025,
900
+ 9.805
901
+ ],
902
+ [
903
+ 0.0,
904
+ -139.175,
905
+ -139.819,
906
+ -11.976,
907
+ 0.0
908
+ ]
909
+ ],
910
+ [
911
+ [
912
+ 21.117,
913
+ -86.024,
914
+ -199.415,
915
+ -158.167,
916
+ -0.62
917
+ ],
918
+ [
919
+ -190.294,
920
+ -9.975,
921
+ -23.124,
922
+ -18.341,
923
+ 11.986
924
+ ],
925
+ [
926
+ 0.0,
927
+ -161.06,
928
+ -140.433,
929
+ -11.978,
930
+ 0.0
931
+ ]
932
+ ],
933
+ [
934
+ [
935
+ -21.402,
936
+ -86.005,
937
+ -201.125,
938
+ -158.132,
939
+ 2.184
940
+ ],
941
+ [
942
+ -173.312,
943
+ 10.138,
944
+ 23.709,
945
+ 18.641,
946
+ 11.802
947
+ ],
948
+ [
949
+ 0.0,
950
+ -144.226,
951
+ -139.847,
952
+ -11.976,
953
+ 0.0
954
+ ]
955
+ ],
956
+ [
957
+ [
958
+ -62.887,
959
+ -76.202,
960
+ -171.294,
961
+ -140.109,
962
+ 6.429
963
+ ],
964
+ [
965
+ -114.326,
966
+ 41.144,
967
+ 92.487,
968
+ 75.649,
969
+ 10.135
970
+ ],
971
+ [
972
+ 0.0,
973
+ -100.077,
974
+ -142.238,
975
+ -11.972,
976
+ -0.0
977
+ ]
978
+ ],
979
+ [
980
+ [
981
+ -75.968,
982
+ -74.932,
983
+ -173.64,
984
+ -137.774,
985
+ 6.71
986
+ ],
987
+ [
988
+ -129.136,
989
+ 43.413,
990
+ 100.601,
991
+ 79.822,
992
+ 9.951
993
+ ],
994
+ [
995
+ 0.0,
996
+ -119.421,
997
+ -140.453,
998
+ -11.974,
999
+ -0.0
1000
+ ]
1001
+ ],
1002
+ [
1003
+ [
1004
+ -23.511,
1005
+ -85.255,
1006
+ -190.625,
1007
+ -156.754,
1008
+ 2.934
1009
+ ],
1010
+ [
1011
+ -126.02,
1012
+ 15.203,
1013
+ 33.992,
1014
+ 27.952,
1015
+ 11.638
1016
+ ],
1017
+ [
1018
+ 0.0,
1019
+ -97.791,
1020
+ -142.515,
1021
+ -11.972,
1022
+ -0.0
1023
+ ]
1024
+ ],
1025
+ [
1026
+ [
1027
+ 41.451,
1028
+ -82.6,
1029
+ -189.391,
1030
+ -151.872,
1031
+ -2.807
1032
+ ],
1033
+ [
1034
+ -134.958,
1035
+ -26.016,
1036
+ -59.651,
1037
+ -47.834,
1038
+ 11.669
1039
+ ],
1040
+ [
1041
+ 0.0,
1042
+ -110.777,
1043
+ -141.116,
1044
+ -11.973,
1045
+ -0.0
1046
+ ]
1047
+ ],
1048
+ [
1049
+ [
1050
+ 26.09,
1051
+ -85.619,
1052
+ -199.898,
1053
+ -157.423,
1054
+ -1.026
1055
+ ],
1056
+ [
1057
+ -178.221,
1058
+ -12.999,
1059
+ -30.35,
1060
+ -23.901,
1061
+ 11.958
1062
+ ],
1063
+ [
1064
+ 0.0,
1065
+ -149.719,
1066
+ -139.958,
1067
+ -11.977,
1068
+ 0.0
1069
+ ]
1070
+ ],
1071
+ [
1072
+ [
1073
+ 24.731,
1074
+ -85.648,
1075
+ -200.321,
1076
+ -157.476,
1077
+ -0.991
1078
+ ],
1079
+ [
1080
+ -171.92,
1081
+ -12.808,
1082
+ -29.956,
1083
+ -23.549,
1084
+ 11.961
1085
+ ],
1086
+ [
1087
+ 0.0,
1088
+ -143.288,
1089
+ -139.836,
1090
+ -11.976,
1091
+ 0.0
1092
+ ]
1093
+ ],
1094
+ [
1095
+ [
1096
+ 59.837,
1097
+ -80.289,
1098
+ -187.564,
1099
+ -147.623,
1100
+ -3.743
1101
+ ],
1102
+ [
1103
+ -150.648,
1104
+ -32.455,
1105
+ -75.818,
1106
+ -59.672,
1107
+ 11.403
1108
+ ],
1109
+ [
1110
+ 0.0,
1111
+ -131.694,
1112
+ -139.917,
1113
+ -11.975,
1114
+ -0.0
1115
+ ]
1116
+ ],
1117
+ [
1118
+ [
1119
+ -80.304,
1120
+ -79.562,
1121
+ -182.575,
1122
+ -146.286,
1123
+ 5.42
1124
+ ],
1125
+ [
1126
+ -184.48,
1127
+ 34.197,
1128
+ 78.475,
1129
+ 62.877,
1130
+ 10.709
1131
+ ],
1132
+ [
1133
+ 0.0,
1134
+ -170.799,
1135
+ -141.071,
1136
+ -11.979,
1137
+ 0.0
1138
+ ]
1139
+ ],
1140
+ [
1141
+ [
1142
+ 85.136,
1143
+ -78.512,
1144
+ -179.578,
1145
+ -144.356,
1146
+ -4.378
1147
+ ],
1148
+ [
1149
+ -185.105,
1150
+ -36.543,
1151
+ -83.584,
1152
+ -67.19,
1153
+ 11.175
1154
+ ],
1155
+ [
1156
+ 0.0,
1157
+ -173.343,
1158
+ -141.268,
1159
+ -11.979,
1160
+ 0.0
1161
+ ]
1162
+ ],
1163
+ [
1164
+ [
1165
+ -85.851,
1166
+ -70.505,
1167
+ -162.793,
1168
+ -129.635,
1169
+ 7.622
1170
+ ],
1171
+ [
1172
+ -118.651,
1173
+ 50.285,
1174
+ 116.105,
1175
+ 92.456,
1176
+ 9.271
1177
+ ],
1178
+ [
1179
+ 0.0,
1180
+ -116.05,
1181
+ -140.684,
1182
+ -11.974,
1183
+ -0.0
1184
+ ]
1185
+ ],
1186
+ [
1187
+ [
1188
+ 89.566,
1189
+ -72.088,
1190
+ -168.464,
1191
+ -132.545,
1192
+ -5.968
1193
+ ],
1194
+ [
1195
+ -136.315,
1196
+ -47.988,
1197
+ -112.145,
1198
+ -88.233,
1199
+ 10.413
1200
+ ],
1201
+ [
1202
+ 0.0,
1203
+ -132.705,
1204
+ -139.893,
1205
+ -11.975,
1206
+ -0.0
1207
+ ]
1208
+ ],
1209
+ [
1210
+ [
1211
+ -43.147,
1212
+ -84.527,
1213
+ -195.464,
1214
+ -155.416,
1215
+ 3.348
1216
+ ],
1217
+ [
1218
+ -189.336,
1219
+ 18.833,
1220
+ 43.551,
1221
+ 34.628,
1222
+ 11.526
1223
+ ],
1224
+ [
1225
+ 0.0,
1226
+ -163.789,
1227
+ -140.592,
1228
+ -11.978,
1229
+ 0.0
1230
+ ]
1231
+ ],
1232
+ [
1233
+ [
1234
+ 9.536,
1235
+ -86.47,
1236
+ -200.471,
1237
+ -158.988,
1238
+ 0.108
1239
+ ],
1240
+ [
1241
+ -191.101,
1242
+ -4.742,
1243
+ -10.994,
1244
+ -8.719,
1245
+ 12.001
1246
+ ],
1247
+ [
1248
+ 0.0,
1249
+ -160.938,
1250
+ -140.426,
1251
+ -11.978,
1252
+ 0.0
1253
+ ]
1254
+ ],
1255
+ [
1256
+ [
1257
+ 98.703,
1258
+ -65.722,
1259
+ -152.695,
1260
+ -120.839,
1261
+ -7.18
1262
+ ],
1263
+ [
1264
+ -116.554,
1265
+ -56.394,
1266
+ -131.022,
1267
+ -103.688,
1268
+ 9.618
1269
+ ],
1270
+ [
1271
+ 0.0,
1272
+ -122.329,
1273
+ -140.283,
1274
+ -11.974,
1275
+ -0.0
1276
+ ]
1277
+ ],
1278
+ [
1279
+ [
1280
+ -84.074,
1281
+ -80.301,
1282
+ -177.818,
1283
+ -147.646,
1284
+ 5.146
1285
+ ],
1286
+ [
1287
+ -205.845,
1288
+ 32.424,
1289
+ 71.799,
1290
+ 59.616,
1291
+ 10.843
1292
+ ],
1293
+ [
1294
+ 0.0,
1295
+ -191.952,
1296
+ -143.002,
1297
+ -11.982,
1298
+ 0.0
1299
+ ]
1300
+ ],
1301
+ [
1302
+ [
1303
+ -32.167,
1304
+ -83.043,
1305
+ -174.82,
1306
+ -152.687,
1307
+ 4.235
1308
+ ],
1309
+ [
1310
+ -105.028,
1311
+ 24.565,
1312
+ 51.713,
1313
+ 45.166,
1314
+ 11.23
1315
+ ],
1316
+ [
1317
+ 0.0,
1318
+ -79.439,
1319
+ -144.982,
1320
+ -11.97,
1321
+ -0.0
1322
+ ]
1323
+ ],
1324
+ [
1325
+ [
1326
+ -93.881,
1327
+ -61.174,
1328
+ -137.858,
1329
+ -112.477,
1330
+ 9.068
1331
+ ],
1332
+ [
1333
+ -92.254,
1334
+ 61.297,
1335
+ 138.135,
1336
+ 112.703,
1337
+ 7.862
1338
+ ],
1339
+ [
1340
+ 0.0,
1341
+ -101.219,
1342
+ -142.104,
1343
+ -11.972,
1344
+ -0.0
1345
+ ]
1346
+ ],
1347
+ [
1348
+ [
1349
+ 5.877,
1350
+ -86.481,
1351
+ -194.824,
1352
+ -159.008,
1353
+ 0.212
1354
+ ],
1355
+ [
1356
+ -131.338,
1357
+ -4.541,
1358
+ -10.231,
1359
+ -8.35,
1360
+ 12.0
1361
+ ],
1362
+ [
1363
+ 0.0,
1364
+ -101.067,
1365
+ -142.121,
1366
+ -11.972,
1367
+ -0.0
1368
+ ]
1369
+ ],
1370
+ [
1371
+ [
1372
+ 20.529,
1373
+ -85.726,
1374
+ -199.015,
1375
+ -157.62,
1376
+ -0.89
1377
+ ],
1378
+ [
1379
+ -150.406,
1380
+ -12.273,
1381
+ -28.492,
1382
+ -22.566,
1383
+ 11.969
1384
+ ],
1385
+ [
1386
+ 0.0,
1387
+ -121.398,
1388
+ -140.335,
1389
+ -11.974,
1390
+ -0.0
1391
+ ]
1392
+ ],
1393
+ [
1394
+ [
1395
+ -0.236,
1396
+ -86.599,
1397
+ -196.123,
1398
+ -159.224,
1399
+ 0.768
1400
+ ],
1401
+ [
1402
+ -134.025,
1403
+ -0.504,
1404
+ -1.141,
1405
+ -0.926,
1406
+ 11.977
1407
+ ],
1408
+ [
1409
+ 0.0,
1410
+ -103.622,
1411
+ -141.832,
1412
+ -11.973,
1413
+ -0.0
1414
+ ]
1415
+ ],
1416
+ [
1417
+ [
1418
+ 87.417,
1419
+ -75.48,
1420
+ -176.233,
1421
+ -138.781,
1422
+ -5.191
1423
+ ],
1424
+ [
1425
+ -157.375,
1426
+ -42.454,
1427
+ -99.123,
1428
+ -78.058,
1429
+ 10.821
1430
+ ],
1431
+ [
1432
+ 0.0,
1433
+ -149.622,
1434
+ -139.956,
1435
+ -11.977,
1436
+ 0.0
1437
+ ]
1438
+ ],
1439
+ [
1440
+ [
1441
+ -82.961,
1442
+ -69.941,
1443
+ -159.902,
1444
+ -128.597,
1445
+ 7.731
1446
+ ],
1447
+ [
1448
+ -111.913,
1449
+ 51.067,
1450
+ 116.75,
1451
+ 93.893,
1452
+ 9.18
1453
+ ],
1454
+ [
1455
+ 0.0,
1456
+ -108.907,
1457
+ -141.289,
1458
+ -11.973,
1459
+ -0.0
1460
+ ]
1461
+ ],
1462
+ [
1463
+ [
1464
+ -64.011,
1465
+ -82.819,
1466
+ -185.74,
1467
+ -152.274,
1468
+ 4.195
1469
+ ],
1470
+ [
1471
+ -206.353,
1472
+ 25.311,
1473
+ 56.767,
1474
+ 46.539,
1475
+ 11.245
1476
+ ],
1477
+ [
1478
+ 0.0,
1479
+ -185.652,
1480
+ -142.366,
1481
+ -11.98,
1482
+ 0.0
1483
+ ]
1484
+ ],
1485
+ [
1486
+ [
1487
+ -57.237,
1488
+ -80.702,
1489
+ -187.856,
1490
+ -148.382,
1491
+ 5.1
1492
+ ],
1493
+ [
1494
+ -144.316,
1495
+ 31.414,
1496
+ 73.124,
1497
+ 57.758,
1498
+ 10.865
1499
+ ],
1500
+ [
1501
+ 0.0,
1502
+ -124.85,
1503
+ -140.157,
1504
+ -11.974,
1505
+ -0.0
1506
+ ]
1507
+ ],
1508
+ [
1509
+ [
1510
+ -15.123,
1511
+ -85.614,
1512
+ -164.823,
1513
+ -157.413,
1514
+ 2.71
1515
+ ],
1516
+ [
1517
+ -92.047,
1518
+ 13.034,
1519
+ 25.093,
1520
+ 23.965,
1521
+ 11.692
1522
+ ],
1523
+ [
1524
+ 0.0,
1525
+ -62.875,
1526
+ -146.758,
1527
+ -11.966,
1528
+ -0.0
1529
+ ]
1530
+ ],
1531
+ [
1532
+ [
1533
+ 95.575,
1534
+ -71.311,
1535
+ -166.832,
1536
+ -131.117,
1537
+ -6.141
1538
+ ],
1539
+ [
1540
+ -140.423,
1541
+ -49.135,
1542
+ -114.951,
1543
+ -90.342,
1544
+ 10.312
1545
+ ],
1546
+ [
1547
+ 0.0,
1548
+ -139.46,
1549
+ -139.819,
1550
+ -11.976,
1551
+ 0.0
1552
+ ]
1553
+ ],
1554
+ [
1555
+ [
1556
+ -99.746,
1557
+ -70.138,
1558
+ -164.079,
1559
+ -128.959,
1560
+ 7.668
1561
+ ],
1562
+ [
1563
+ -136.068,
1564
+ 50.796,
1565
+ 118.832,
1566
+ 93.396,
1567
+ 9.233
1568
+ ],
1569
+ [
1570
+ 0.0,
1571
+ -138.31,
1572
+ -139.822,
1573
+ -11.976,
1574
+ 0.0
1575
+ ]
1576
+ ],
1577
+ [
1578
+ [
1579
+ -4.928,
1580
+ -86.538,
1581
+ -175.689,
1582
+ -159.114,
1583
+ 1.346
1584
+ ],
1585
+ [
1586
+ -102.092,
1587
+ 3.268,
1588
+ 6.634,
1589
+ 6.008,
1590
+ 11.926
1591
+ ],
1592
+ [
1593
+ 0.0,
1594
+ -71.806,
1595
+ -145.946,
1596
+ -11.968,
1597
+ -0.0
1598
+ ]
1599
+ ],
1600
+ [
1601
+ [
1602
+ -32.001,
1603
+ -85.053,
1604
+ -198.863,
1605
+ -156.383,
1606
+ 3.038
1607
+ ],
1608
+ [
1609
+ -161.849,
1610
+ 16.294,
1611
+ 38.098,
1612
+ 29.959,
1613
+ 11.611
1614
+ ],
1615
+ [
1616
+ 0.0,
1617
+ -134.58,
1618
+ -139.859,
1619
+ -11.975,
1620
+ 0.0
1621
+ ]
1622
+ ],
1623
+ [
1624
+ [
1625
+ -33.093,
1626
+ -83.36,
1627
+ -181.282,
1628
+ -153.27,
1629
+ 4.07
1630
+ ],
1631
+ [
1632
+ -113.739,
1633
+ 23.465,
1634
+ 51.029,
1635
+ 43.144,
1636
+ 11.291
1637
+ ],
1638
+ [
1639
+ 0.0,
1640
+ -88.052,
1641
+ -143.798,
1642
+ -11.971,
1643
+ -0.0
1644
+ ]
1645
+ ],
1646
+ [
1647
+ [
1648
+ 90.165,
1649
+ -75.869,
1650
+ -176.259,
1651
+ -139.496,
1652
+ -5.102
1653
+ ],
1654
+ [
1655
+ -165.794,
1656
+ -41.755,
1657
+ -97.005,
1658
+ -76.773,
1659
+ 10.864
1660
+ ],
1661
+ [
1662
+ 0.0,
1663
+ -158.324,
1664
+ -140.29,
1665
+ -11.977,
1666
+ 0.0
1667
+ ]
1668
+ ],
1669
+ [
1670
+ [
1671
+ 34.33,
1672
+ -81.836,
1673
+ -170.907,
1674
+ -150.468,
1675
+ -3.084
1676
+ ],
1677
+ [
1678
+ -102.414,
1679
+ -28.327,
1680
+ -59.158,
1681
+ -52.083,
1682
+ 11.599
1683
+ ],
1684
+ [
1685
+ 0.0,
1686
+ -77.61,
1687
+ -145.226,
1688
+ -11.97,
1689
+ -0.0
1690
+ ]
1691
+ ],
1692
+ [
1693
+ [
1694
+ -23.883,
1695
+ -85.732,
1696
+ -200.293,
1697
+ -157.632,
1698
+ 2.486
1699
+ ],
1700
+ [
1701
+ -160.494,
1702
+ 12.229,
1703
+ 28.569,
1704
+ 22.484,
1705
+ 11.742
1706
+ ],
1707
+ [
1708
+ 0.0,
1709
+ -131.859,
1710
+ -139.913,
1711
+ -11.975,
1712
+ -0.0
1713
+ ]
1714
+ ],
1715
+ [
1716
+ [
1717
+ 93.333,
1718
+ -76.181,
1719
+ -175.475,
1720
+ -140.071,
1721
+ -5.032
1722
+ ],
1723
+ [
1724
+ -174.615,
1725
+ -41.182,
1726
+ -94.859,
1727
+ -75.72,
1728
+ 10.896
1729
+ ],
1730
+ [
1731
+ 0.0,
1732
+ -167.592,
1733
+ -140.84,
1734
+ -11.978,
1735
+ 0.0
1736
+ ]
1737
+ ],
1738
+ [
1739
+ [
1740
+ 99.383,
1741
+ -69.362,
1742
+ -162.243,
1743
+ -127.533,
1744
+ -6.532
1745
+ ],
1746
+ [
1747
+ -134.577,
1748
+ -51.85,
1749
+ -121.28,
1750
+ -95.334,
1751
+ 10.069
1752
+ ],
1753
+ [
1754
+ 0.0,
1755
+ -136.894,
1756
+ -139.831,
1757
+ -11.975,
1758
+ -0.0
1759
+ ]
1760
+ ],
1761
+ [
1762
+ [
1763
+ -55.974,
1764
+ -77.391,
1765
+ -170.522,
1766
+ -142.294,
1767
+ 6.134
1768
+ ],
1769
+ [
1770
+ -109.17,
1771
+ 38.862,
1772
+ 85.629,
1773
+ 71.454,
1774
+ 10.316
1775
+ ],
1776
+ [
1777
+ 0.0,
1778
+ -92.279,
1779
+ -143.224,
1780
+ -11.972,
1781
+ -0.0
1782
+ ]
1783
+ ],
1784
+ [
1785
+ [
1786
+ 16.451,
1787
+ -85.27,
1788
+ -171.332,
1789
+ -156.781,
1790
+ -1.204
1791
+ ],
1792
+ [
1793
+ -98.938,
1794
+ -15.121,
1795
+ -30.383,
1796
+ -27.803,
1797
+ 11.941
1798
+ ],
1799
+ [
1800
+ 0.0,
1801
+ -69.892,
1802
+ -146.157,
1803
+ -11.968,
1804
+ -0.0
1805
+ ]
1806
+ ]
1807
+ ]
1808
+ }
pyodide/LICENSE-Pyodide-MPL-2.0.txt ADDED
@@ -0,0 +1,373 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Mozilla Public License Version 2.0
2
+ ==================================
3
+
4
+ 1. Definitions
5
+ --------------
6
+
7
+ 1.1. "Contributor"
8
+ means each individual or legal entity that creates, contributes to
9
+ the creation of, or owns Covered Software.
10
+
11
+ 1.2. "Contributor Version"
12
+ means the combination of the Contributions of others (if any) used
13
+ by a Contributor and that particular Contributor's Contribution.
14
+
15
+ 1.3. "Contribution"
16
+ means Covered Software of a particular Contributor.
17
+
18
+ 1.4. "Covered Software"
19
+ means Source Code Form to which the initial Contributor has attached
20
+ the notice in Exhibit A, the Executable Form of such Source Code
21
+ Form, and Modifications of such Source Code Form, in each case
22
+ including portions thereof.
23
+
24
+ 1.5. "Incompatible With Secondary Licenses"
25
+ means
26
+
27
+ (a) that the initial Contributor has attached the notice described
28
+ in Exhibit B to the Covered Software; or
29
+
30
+ (b) that the Covered Software was made available under the terms of
31
+ version 1.1 or earlier of the License, but not also under the
32
+ terms of a Secondary License.
33
+
34
+ 1.6. "Executable Form"
35
+ means any form of the work other than Source Code Form.
36
+
37
+ 1.7. "Larger Work"
38
+ means a work that combines Covered Software with other material, in
39
+ a separate file or files, that is not Covered Software.
40
+
41
+ 1.8. "License"
42
+ means this document.
43
+
44
+ 1.9. "Licensable"
45
+ means having the right to grant, to the maximum extent possible,
46
+ whether at the time of the initial grant or subsequently, any and
47
+ all of the rights conveyed by this License.
48
+
49
+ 1.10. "Modifications"
50
+ means any of the following:
51
+
52
+ (a) any file in Source Code Form that results from an addition to,
53
+ deletion from, or modification of the contents of Covered
54
+ Software; or
55
+
56
+ (b) any new file in Source Code Form that contains any Covered
57
+ Software.
58
+
59
+ 1.11. "Patent Claims" of a Contributor
60
+ means any patent claim(s), including without limitation, method,
61
+ process, and apparatus claims, in any patent Licensable by such
62
+ Contributor that would be infringed, but for the grant of the
63
+ License, by the making, using, selling, offering for sale, having
64
+ made, import, or transfer of either its Contributions or its
65
+ Contributor Version.
66
+
67
+ 1.12. "Secondary License"
68
+ means either the GNU General Public License, Version 2.0, the GNU
69
+ Lesser General Public License, Version 2.1, the GNU Affero General
70
+ Public License, Version 3.0, or any later versions of those
71
+ licenses.
72
+
73
+ 1.13. "Source Code Form"
74
+ means the form of the work preferred for making modifications.
75
+
76
+ 1.14. "You" (or "Your")
77
+ means an individual or a legal entity exercising rights under this
78
+ License. For legal entities, "You" includes any entity that
79
+ controls, is controlled by, or is under common control with You. For
80
+ purposes of this definition, "control" means (a) the power, direct
81
+ or indirect, to cause the direction or management of such entity,
82
+ whether by contract or otherwise, or (b) ownership of more than
83
+ fifty percent (50%) of the outstanding shares or beneficial
84
+ ownership of such entity.
85
+
86
+ 2. License Grants and Conditions
87
+ --------------------------------
88
+
89
+ 2.1. Grants
90
+
91
+ Each Contributor hereby grants You a world-wide, royalty-free,
92
+ non-exclusive license:
93
+
94
+ (a) under intellectual property rights (other than patent or trademark)
95
+ Licensable by such Contributor to use, reproduce, make available,
96
+ modify, display, perform, distribute, and otherwise exploit its
97
+ Contributions, either on an unmodified basis, with Modifications, or
98
+ as part of a Larger Work; and
99
+
100
+ (b) under Patent Claims of such Contributor to make, use, sell, offer
101
+ for sale, have made, import, and otherwise transfer either its
102
+ Contributions or its Contributor Version.
103
+
104
+ 2.2. Effective Date
105
+
106
+ The licenses granted in Section 2.1 with respect to any Contribution
107
+ become effective for each Contribution on the date the Contributor first
108
+ distributes such Contribution.
109
+
110
+ 2.3. Limitations on Grant Scope
111
+
112
+ The licenses granted in this Section 2 are the only rights granted under
113
+ this License. No additional rights or licenses will be implied from the
114
+ distribution or licensing of Covered Software under this License.
115
+ Notwithstanding Section 2.1(b) above, no patent license is granted by a
116
+ Contributor:
117
+
118
+ (a) for any code that a Contributor has removed from Covered Software;
119
+ or
120
+
121
+ (b) for infringements caused by: (i) Your and any other third party's
122
+ modifications of Covered Software, or (ii) the combination of its
123
+ Contributions with other software (except as part of its Contributor
124
+ Version); or
125
+
126
+ (c) under Patent Claims infringed by Covered Software in the absence of
127
+ its Contributions.
128
+
129
+ This License does not grant any rights in the trademarks, service marks,
130
+ or logos of any Contributor (except as may be necessary to comply with
131
+ the notice requirements in Section 3.4).
132
+
133
+ 2.4. Subsequent Licenses
134
+
135
+ No Contributor makes additional grants as a result of Your choice to
136
+ distribute the Covered Software under a subsequent version of this
137
+ License (see Section 10.2) or under the terms of a Secondary License (if
138
+ permitted under the terms of Section 3.3).
139
+
140
+ 2.5. Representation
141
+
142
+ Each Contributor represents that the Contributor believes its
143
+ Contributions are its original creation(s) or it has sufficient rights
144
+ to grant the rights to its Contributions conveyed by this License.
145
+
146
+ 2.6. Fair Use
147
+
148
+ This License is not intended to limit any rights You have under
149
+ applicable copyright doctrines of fair use, fair dealing, or other
150
+ equivalents.
151
+
152
+ 2.7. Conditions
153
+
154
+ Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
155
+ in Section 2.1.
156
+
157
+ 3. Responsibilities
158
+ -------------------
159
+
160
+ 3.1. Distribution of Source Form
161
+
162
+ All distribution of Covered Software in Source Code Form, including any
163
+ Modifications that You create or to which You contribute, must be under
164
+ the terms of this License. You must inform recipients that the Source
165
+ Code Form of the Covered Software is governed by the terms of this
166
+ License, and how they can obtain a copy of this License. You may not
167
+ attempt to alter or restrict the recipients' rights in the Source Code
168
+ Form.
169
+
170
+ 3.2. Distribution of Executable Form
171
+
172
+ If You distribute Covered Software in Executable Form then:
173
+
174
+ (a) such Covered Software must also be made available in Source Code
175
+ Form, as described in Section 3.1, and You must inform recipients of
176
+ the Executable Form how they can obtain a copy of such Source Code
177
+ Form by reasonable means in a timely manner, at a charge no more
178
+ than the cost of distribution to the recipient; and
179
+
180
+ (b) You may distribute such Executable Form under the terms of this
181
+ License, or sublicense it under different terms, provided that the
182
+ license for the Executable Form does not attempt to limit or alter
183
+ the recipients' rights in the Source Code Form under this License.
184
+
185
+ 3.3. Distribution of a Larger Work
186
+
187
+ You may create and distribute a Larger Work under terms of Your choice,
188
+ provided that You also comply with the requirements of this License for
189
+ the Covered Software. If the Larger Work is a combination of Covered
190
+ Software with a work governed by one or more Secondary Licenses, and the
191
+ Covered Software is not Incompatible With Secondary Licenses, this
192
+ License permits You to additionally distribute such Covered Software
193
+ under the terms of such Secondary License(s), so that the recipient of
194
+ the Larger Work may, at their option, further distribute the Covered
195
+ Software under the terms of either this License or such Secondary
196
+ License(s).
197
+
198
+ 3.4. Notices
199
+
200
+ You may not remove or alter the substance of any license notices
201
+ (including copyright notices, patent notices, disclaimers of warranty,
202
+ or limitations of liability) contained within the Source Code Form of
203
+ the Covered Software, except that You may alter any license notices to
204
+ the extent required to remedy known factual inaccuracies.
205
+
206
+ 3.5. Application of Additional Terms
207
+
208
+ You may choose to offer, and to charge a fee for, warranty, support,
209
+ indemnity or liability obligations to one or more recipients of Covered
210
+ Software. However, You may do so only on Your own behalf, and not on
211
+ behalf of any Contributor. You must make it absolutely clear that any
212
+ such warranty, support, indemnity, or liability obligation is offered by
213
+ You alone, and You hereby agree to indemnify every Contributor for any
214
+ liability incurred by such Contributor as a result of warranty, support,
215
+ indemnity or liability terms You offer. You may include additional
216
+ disclaimers of warranty and limitations of liability specific to any
217
+ jurisdiction.
218
+
219
+ 4. Inability to Comply Due to Statute or Regulation
220
+ ---------------------------------------------------
221
+
222
+ If it is impossible for You to comply with any of the terms of this
223
+ License with respect to some or all of the Covered Software due to
224
+ statute, judicial order, or regulation then You must: (a) comply with
225
+ the terms of this License to the maximum extent possible; and (b)
226
+ describe the limitations and the code they affect. Such description must
227
+ be placed in a text file included with all distributions of the Covered
228
+ Software under this License. Except to the extent prohibited by statute
229
+ or regulation, such description must be sufficiently detailed for a
230
+ recipient of ordinary skill to be able to understand it.
231
+
232
+ 5. Termination
233
+ --------------
234
+
235
+ 5.1. The rights granted under this License will terminate automatically
236
+ if You fail to comply with any of its terms. However, if You become
237
+ compliant, then the rights granted under this License from a particular
238
+ Contributor are reinstated (a) provisionally, unless and until such
239
+ Contributor explicitly and finally terminates Your grants, and (b) on an
240
+ ongoing basis, if such Contributor fails to notify You of the
241
+ non-compliance by some reasonable means prior to 60 days after You have
242
+ come back into compliance. Moreover, Your grants from a particular
243
+ Contributor are reinstated on an ongoing basis if such Contributor
244
+ notifies You of the non-compliance by some reasonable means, this is the
245
+ first time You have received notice of non-compliance with this License
246
+ from such Contributor, and You become compliant prior to 30 days after
247
+ Your receipt of the notice.
248
+
249
+ 5.2. If You initiate litigation against any entity by asserting a patent
250
+ infringement claim (excluding declaratory judgment actions,
251
+ counter-claims, and cross-claims) alleging that a Contributor Version
252
+ directly or indirectly infringes any patent, then the rights granted to
253
+ You by any and all Contributors for the Covered Software under Section
254
+ 2.1 of this License shall terminate.
255
+
256
+ 5.3. In the event of termination under Sections 5.1 or 5.2 above, all
257
+ end user license agreements (excluding distributors and resellers) which
258
+ have been validly granted by You or Your distributors under this License
259
+ prior to termination shall survive termination.
260
+
261
+ ************************************************************************
262
+ * *
263
+ * 6. Disclaimer of Warranty *
264
+ * ------------------------- *
265
+ * *
266
+ * Covered Software is provided under this License on an "as is" *
267
+ * basis, without warranty of any kind, either expressed, implied, or *
268
+ * statutory, including, without limitation, warranties that the *
269
+ * Covered Software is free of defects, merchantable, fit for a *
270
+ * particular purpose or non-infringing. The entire risk as to the *
271
+ * quality and performance of the Covered Software is with You. *
272
+ * Should any Covered Software prove defective in any respect, You *
273
+ * (not any Contributor) assume the cost of any necessary servicing, *
274
+ * repair, or correction. This disclaimer of warranty constitutes an *
275
+ * essential part of this License. No use of any Covered Software is *
276
+ * authorized under this License except under this disclaimer. *
277
+ * *
278
+ ************************************************************************
279
+
280
+ ************************************************************************
281
+ * *
282
+ * 7. Limitation of Liability *
283
+ * -------------------------- *
284
+ * *
285
+ * Under no circumstances and under no legal theory, whether tort *
286
+ * (including negligence), contract, or otherwise, shall any *
287
+ * Contributor, or anyone who distributes Covered Software as *
288
+ * permitted above, be liable to You for any direct, indirect, *
289
+ * special, incidental, or consequential damages of any character *
290
+ * including, without limitation, damages for lost profits, loss of *
291
+ * goodwill, work stoppage, computer failure or malfunction, or any *
292
+ * and all other commercial damages or losses, even if such party *
293
+ * shall have been informed of the possibility of such damages. This *
294
+ * limitation of liability shall not apply to liability for death or *
295
+ * personal injury resulting from such party's negligence to the *
296
+ * extent applicable law prohibits such limitation. Some *
297
+ * jurisdictions do not allow the exclusion or limitation of *
298
+ * incidental or consequential damages, so this exclusion and *
299
+ * limitation may not apply to You. *
300
+ * *
301
+ ************************************************************************
302
+
303
+ 8. Litigation
304
+ -------------
305
+
306
+ Any litigation relating to this License may be brought only in the
307
+ courts of a jurisdiction where the defendant maintains its principal
308
+ place of business and such litigation shall be governed by laws of that
309
+ jurisdiction, without reference to its conflict-of-law provisions.
310
+ Nothing in this Section shall prevent a party's ability to bring
311
+ cross-claims or counter-claims.
312
+
313
+ 9. Miscellaneous
314
+ ----------------
315
+
316
+ This License represents the complete agreement concerning the subject
317
+ matter hereof. If any provision of this License is held to be
318
+ unenforceable, such provision shall be reformed only to the extent
319
+ necessary to make it enforceable. Any law or regulation which provides
320
+ that the language of a contract shall be construed against the drafter
321
+ shall not be used to construe this License against a Contributor.
322
+
323
+ 10. Versions of the License
324
+ ---------------------------
325
+
326
+ 10.1. New Versions
327
+
328
+ Mozilla Foundation is the license steward. Except as provided in Section
329
+ 10.3, no one other than the license steward has the right to modify or
330
+ publish new versions of this License. Each version will be given a
331
+ distinguishing version number.
332
+
333
+ 10.2. Effect of New Versions
334
+
335
+ You may distribute the Covered Software under the terms of the version
336
+ of the License under which You originally received the Covered Software,
337
+ or under the terms of any subsequent version published by the license
338
+ steward.
339
+
340
+ 10.3. Modified Versions
341
+
342
+ If you create software not governed by this License, and you want to
343
+ create a new license for such software, you may create and use a
344
+ modified version of this License if you rename the license and remove
345
+ any references to the name of the license steward (except to note that
346
+ such modified license differs from this License).
347
+
348
+ 10.4. Distributing Source Code Form that is Incompatible With Secondary
349
+ Licenses
350
+
351
+ If You choose to distribute Source Code Form that is Incompatible With
352
+ Secondary Licenses under the terms of this version of the License, the
353
+ notice described in Exhibit B of this License must be attached.
354
+
355
+ Exhibit A - Source Code Form License Notice
356
+ -------------------------------------------
357
+
358
+ This Source Code Form is subject to the terms of the Mozilla Public
359
+ License, v. 2.0. If a copy of the MPL was not distributed with this
360
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
361
+
362
+ If it is not possible or desirable to put the notice in a particular
363
+ file, then You may include the notice in a location (such as a LICENSE
364
+ file in a relevant directory) where a recipient would be likely to look
365
+ for such a notice.
366
+
367
+ You may add additional accurate notices of copyright ownership.
368
+
369
+ Exhibit B - "Incompatible With Secondary Licenses" Notice
370
+ ---------------------------------------------------------
371
+
372
+ This Source Code Form is "Incompatible With Secondary Licenses", as
373
+ defined by the Mozilla Public License, v. 2.0.
pyodide/licenses/LICENSE-Arrow-22.0.0.txt ADDED
The diff for this file is too large to render. See raw diff
 
pyodide/licenses/LICENSE-CPython-3.14.2.txt ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ A. HISTORY OF THE SOFTWARE
2
+ ==========================
3
+
4
+ Python was created in the early 1990s by Guido van Rossum at Stichting
5
+ Mathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlands
6
+ as a successor of a language called ABC. Guido remains Python's
7
+ principal author, although it includes many contributions from others.
8
+
9
+ In 1995, Guido continued his work on Python at the Corporation for
10
+ National Research Initiatives (CNRI, see https://www.cnri.reston.va.us)
11
+ in Reston, Virginia where he released several versions of the
12
+ software.
13
+
14
+ In May 2000, Guido and the Python core development team moved to
15
+ BeOpen.com to form the BeOpen PythonLabs team. In October of the same
16
+ year, the PythonLabs team moved to Digital Creations, which became
17
+ Zope Corporation. In 2001, the Python Software Foundation (PSF, see
18
+ https://www.python.org/psf/) was formed, a non-profit organization
19
+ created specifically to own Python-related Intellectual Property.
20
+ Zope Corporation was a sponsoring member of the PSF.
21
+
22
+ All Python releases are Open Source (see https://opensource.org for
23
+ the Open Source Definition). Historically, most, but not all, Python
24
+ releases have also been GPL-compatible; the table below summarizes
25
+ the various releases.
26
+
27
+ Release Derived Year Owner GPL-
28
+ from compatible? (1)
29
+
30
+ 0.9.0 thru 1.2 1991-1995 CWI yes
31
+ 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
32
+ 1.6 1.5.2 2000 CNRI no
33
+ 2.0 1.6 2000 BeOpen.com no
34
+ 1.6.1 1.6 2001 CNRI yes (2)
35
+ 2.1 2.0+1.6.1 2001 PSF no
36
+ 2.0.1 2.0+1.6.1 2001 PSF yes
37
+ 2.1.1 2.1+2.0.1 2001 PSF yes
38
+ 2.1.2 2.1.1 2002 PSF yes
39
+ 2.1.3 2.1.2 2002 PSF yes
40
+ 2.2 and above 2.1.1 2001-now PSF yes
41
+
42
+ Footnotes:
43
+
44
+ (1) GPL-compatible doesn't mean that we're distributing Python under
45
+ the GPL. All Python licenses, unlike the GPL, let you distribute
46
+ a modified version without making your changes open source. The
47
+ GPL-compatible licenses make it possible to combine Python with
48
+ other software that is released under the GPL; the others don't.
49
+
50
+ (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
51
+ because its license has a choice of law clause. According to
52
+ CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
53
+ is "not incompatible" with the GPL.
54
+
55
+ Thanks to the many outside volunteers who have worked under Guido's
56
+ direction to make these releases possible.
57
+
58
+
59
+ B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
60
+ ===============================================================
61
+
62
+ Python software and documentation are licensed under the
63
+ Python Software Foundation License Version 2.
64
+
65
+ Starting with Python 3.8.6, examples, recipes, and other code in
66
+ the documentation are dual licensed under the PSF License Version 2
67
+ and the Zero-Clause BSD license.
68
+
69
+ Some software incorporated into Python is under different licenses.
70
+ The licenses are listed with code falling under that license.
71
+
72
+
73
+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
74
+ --------------------------------------------
75
+
76
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
77
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
78
+ otherwise using this software ("Python") in source or binary form and
79
+ its associated documentation.
80
+
81
+ 2. Subject to the terms and conditions of this License Agreement, PSF hereby
82
+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
83
+ analyze, test, perform and/or display publicly, prepare derivative works,
84
+ distribute, and otherwise use Python alone or in any derivative version,
85
+ provided, however, that PSF's License Agreement and PSF's notice of copyright,
86
+ i.e., "Copyright (c) 2001 Python Software Foundation; All Rights Reserved"
87
+ are retained in Python alone or in any derivative version prepared by Licensee.
88
+
89
+ 3. In the event Licensee prepares a derivative work that is based on
90
+ or incorporates Python or any part thereof, and wants to make
91
+ the derivative work available to others as provided herein, then
92
+ Licensee hereby agrees to include in any such work a brief summary of
93
+ the changes made to Python.
94
+
95
+ 4. PSF is making Python available to Licensee on an "AS IS"
96
+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
97
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
98
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
99
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
100
+ INFRINGE ANY THIRD PARTY RIGHTS.
101
+
102
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
103
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
104
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
105
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
106
+
107
+ 6. This License Agreement will automatically terminate upon a material
108
+ breach of its terms and conditions.
109
+
110
+ 7. Nothing in this License Agreement shall be deemed to create any
111
+ relationship of agency, partnership, or joint venture between PSF and
112
+ Licensee. This License Agreement does not grant permission to use PSF
113
+ trademarks or trade name in a trademark sense to endorse or promote
114
+ products or services of Licensee, or any third party.
115
+
116
+ 8. By copying, installing or otherwise using Python, Licensee
117
+ agrees to be bound by the terms and conditions of this License
118
+ Agreement.
119
+
120
+
121
+ BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
122
+ -------------------------------------------
123
+
124
+ BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
125
+
126
+ 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
127
+ office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
128
+ Individual or Organization ("Licensee") accessing and otherwise using
129
+ this software in source or binary form and its associated
130
+ documentation ("the Software").
131
+
132
+ 2. Subject to the terms and conditions of this BeOpen Python License
133
+ Agreement, BeOpen hereby grants Licensee a non-exclusive,
134
+ royalty-free, world-wide license to reproduce, analyze, test, perform
135
+ and/or display publicly, prepare derivative works, distribute, and
136
+ otherwise use the Software alone or in any derivative version,
137
+ provided, however, that the BeOpen Python License is retained in the
138
+ Software, alone or in any derivative version prepared by Licensee.
139
+
140
+ 3. BeOpen is making the Software available to Licensee on an "AS IS"
141
+ basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
142
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
143
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
144
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
145
+ INFRINGE ANY THIRD PARTY RIGHTS.
146
+
147
+ 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
148
+ SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
149
+ AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
150
+ DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
151
+
152
+ 5. This License Agreement will automatically terminate upon a material
153
+ breach of its terms and conditions.
154
+
155
+ 6. This License Agreement shall be governed by and interpreted in all
156
+ respects by the law of the State of California, excluding conflict of
157
+ law provisions. Nothing in this License Agreement shall be deemed to
158
+ create any relationship of agency, partnership, or joint venture
159
+ between BeOpen and Licensee. This License Agreement does not grant
160
+ permission to use BeOpen trademarks or trade names in a trademark
161
+ sense to endorse or promote products or services of Licensee, or any
162
+ third party. As an exception, the "BeOpen Python" logos available at
163
+ http://www.pythonlabs.com/logos.html may be used according to the
164
+ permissions granted on that web page.
165
+
166
+ 7. By copying, installing or otherwise using the software, Licensee
167
+ agrees to be bound by the terms and conditions of this License
168
+ Agreement.
169
+
170
+
171
+ CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
172
+ ---------------------------------------
173
+
174
+ 1. This LICENSE AGREEMENT is between the Corporation for National
175
+ Research Initiatives, having an office at 1895 Preston White Drive,
176
+ Reston, VA 20191 ("CNRI"), and the Individual or Organization
177
+ ("Licensee") accessing and otherwise using Python 1.6.1 software in
178
+ source or binary form and its associated documentation.
179
+
180
+ 2. Subject to the terms and conditions of this License Agreement, CNRI
181
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
182
+ license to reproduce, analyze, test, perform and/or display publicly,
183
+ prepare derivative works, distribute, and otherwise use Python 1.6.1
184
+ alone or in any derivative version, provided, however, that CNRI's
185
+ License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
186
+ 1995-2001 Corporation for National Research Initiatives; All Rights
187
+ Reserved" are retained in Python 1.6.1 alone or in any derivative
188
+ version prepared by Licensee. Alternately, in lieu of CNRI's License
189
+ Agreement, Licensee may substitute the following text (omitting the
190
+ quotes): "Python 1.6.1 is made available subject to the terms and
191
+ conditions in CNRI's License Agreement. This Agreement together with
192
+ Python 1.6.1 may be located on the internet using the following
193
+ unique, persistent identifier (known as a handle): 1895.22/1013. This
194
+ Agreement may also be obtained from a proxy server on the internet
195
+ using the following URL: http://hdl.handle.net/1895.22/1013".
196
+
197
+ 3. In the event Licensee prepares a derivative work that is based on
198
+ or incorporates Python 1.6.1 or any part thereof, and wants to make
199
+ the derivative work available to others as provided herein, then
200
+ Licensee hereby agrees to include in any such work a brief summary of
201
+ the changes made to Python 1.6.1.
202
+
203
+ 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
204
+ basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
205
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
206
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
207
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
208
+ INFRINGE ANY THIRD PARTY RIGHTS.
209
+
210
+ 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
211
+ 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
212
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
213
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
214
+
215
+ 6. This License Agreement will automatically terminate upon a material
216
+ breach of its terms and conditions.
217
+
218
+ 7. This License Agreement shall be governed by the federal
219
+ intellectual property law of the United States, including without
220
+ limitation the federal copyright law, and, to the extent such
221
+ U.S. federal law does not apply, by the law of the Commonwealth of
222
+ Virginia, excluding Virginia's conflict of law provisions.
223
+ Notwithstanding the foregoing, with regard to derivative works based
224
+ on Python 1.6.1 that incorporate non-separable material that was
225
+ previously distributed under the GNU General Public License (GPL), the
226
+ law of the Commonwealth of Virginia shall govern this License
227
+ Agreement only as to issues arising under or with respect to
228
+ Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
229
+ License Agreement shall be deemed to create any relationship of
230
+ agency, partnership, or joint venture between CNRI and Licensee. This
231
+ License Agreement does not grant permission to use CNRI trademarks or
232
+ trade name in a trademark sense to endorse or promote products or
233
+ services of Licensee, or any third party.
234
+
235
+ 8. By clicking on the "ACCEPT" button where indicated, or by copying,
236
+ installing or otherwise using Python 1.6.1, Licensee agrees to be
237
+ bound by the terms and conditions of this License Agreement.
238
+
239
+ ACCEPT
240
+
241
+
242
+ CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
243
+ --------------------------------------------------
244
+
245
+ Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
246
+ The Netherlands. All rights reserved.
247
+
248
+ Permission to use, copy, modify, and distribute this software and its
249
+ documentation for any purpose and without fee is hereby granted,
250
+ provided that the above copyright notice appear in all copies and that
251
+ both that copyright notice and this permission notice appear in
252
+ supporting documentation, and that the name of Stichting Mathematisch
253
+ Centrum or CWI not be used in advertising or publicity pertaining to
254
+ distribution of the software without specific, written prior
255
+ permission.
256
+
257
+ STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
258
+ THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
259
+ FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
260
+ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
261
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
262
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
263
+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
264
+
265
+ ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION
266
+ ----------------------------------------------------------------------
267
+
268
+ Permission to use, copy, modify, and/or distribute this software for any
269
+ purpose with or without fee is hereby granted.
270
+
271
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
272
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
273
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
274
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
275
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
276
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
277
+ PERFORMANCE OF THIS SOFTWARE.
pyodide/licenses/LICENSE-pyodide-unix-timezones.txt ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Joe Marshall
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
pyodide/licenses/NOTICE-Arrow-22.0.0.txt ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache Arrow
2
+ Copyright 2016-2024 The Apache Software Foundation
3
+
4
+ This product includes software developed at
5
+ The Apache Software Foundation (http://www.apache.org/).
6
+
7
+ This product includes software from the SFrame project (BSD, 3-clause).
8
+ * Copyright (C) 2015 Dato, Inc.
9
+ * Copyright (c) 2009 Carnegie Mellon University.
10
+
11
+ This product includes software from the Feather project (Apache 2.0)
12
+ https://github.com/wesm/feather
13
+
14
+ This product includes software from the DyND project (BSD 2-clause)
15
+ https://github.com/libdynd
16
+
17
+ This product includes software from the LLVM project
18
+ * distributed under the University of Illinois Open Source
19
+
20
+ This product includes software from the mman-win32 project
21
+ * Copyright https://code.google.com/p/mman-win32/
22
+ * Licensed under the MIT License;
23
+
24
+ This product includes software from the LevelDB project
25
+ * Copyright (c) 2011 The LevelDB Authors. All rights reserved.
26
+ * Use of this source code is governed by a BSD-style license that can be
27
+ * Moved from Kudu http://github.com/cloudera/kudu
28
+
29
+ This product includes software from the CMake project
30
+ * Copyright 2001-2009 Kitware, Inc.
31
+ * Copyright 2012-2014 Continuum Analytics, Inc.
32
+ * All rights reserved.
33
+
34
+ This product includes software from https://github.com/matthew-brett/multibuild (BSD 2-clause)
35
+ * Copyright (c) 2013-2016, Matt Terry and Matthew Brett; all rights reserved.
36
+
37
+ This product includes software from the Ibis project (Apache 2.0)
38
+ * Copyright (c) 2015 Cloudera, Inc.
39
+ * https://github.com/cloudera/ibis
40
+
41
+ This product includes software from Dremio (Apache 2.0)
42
+ * Copyright (C) 2017-2018 Dremio Corporation
43
+ * https://github.com/dremio/dremio-oss
44
+
45
+ This product includes software from Google Guava (Apache 2.0)
46
+ * Copyright (C) 2007 The Guava Authors
47
+ * https://github.com/google/guava
48
+
49
+ This product include software from CMake (BSD 3-Clause)
50
+ * CMake - Cross Platform Makefile Generator
51
+ * Copyright 2000-2019 Kitware, Inc. and Contributors
52
+
53
+ The web site includes files generated by Jekyll.
54
+
55
+ --------------------------------------------------------------------------------
56
+
57
+ This product includes code from Apache Kudu, which includes the following in
58
+ its NOTICE file:
59
+
60
+ Apache Kudu
61
+ Copyright 2016 The Apache Software Foundation
62
+
63
+ This product includes software developed at
64
+ The Apache Software Foundation (http://www.apache.org/).
65
+
66
+ Portions of this software were developed at
67
+ Cloudera, Inc (http://www.cloudera.com/).
68
+
69
+ --------------------------------------------------------------------------------
70
+
71
+ This product includes code from Apache ORC, which includes the following in
72
+ its NOTICE file:
73
+
74
+ Apache ORC
75
+ Copyright 2013-2019 The Apache Software Foundation
76
+
77
+ This product includes software developed by The Apache Software
78
+ Foundation (http://www.apache.org/).
79
+
80
+ This product includes software developed by Hewlett-Packard:
81
+ (c) Copyright [2014-2015] Hewlett-Packard Development Company, L.P
pyodide/licenses/SOURCES.md ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sources of these licence texts
2
+
3
+ Fetched 2026-11-16, unmodified. They cover files we ship but did not write; the wheels themselves are unchanged.
4
+
5
+ | file | covers | source | sha256 |
6
+ |---|---|---|---|
7
+ | `LICENSE-CPython-3.14.2.txt` | CPython 3.14.2 inside the Pyodide runtime and `python_stdlib.zip` | https://raw.githubusercontent.com/python/cpython/v3.14.2/LICENSE | `b0e25a78cffb43f4d92de8b61ccfa1f1f98ecbc22330b54b5251e7b6ba010231` |
8
+ | `LICENSE-Arrow-22.0.0.txt` | `pyarrow-22.0.0-*.whl` (Apache-2.0 and the bundled third-party notices) | https://raw.githubusercontent.com/apache/arrow/apache-arrow-22.0.0/LICENSE.txt | `82f5f9b0e6592da7f79022fc930add132a76c56727d29813f94058157a2b2d11` |
9
+ | `NOTICE-Arrow-22.0.0.txt` | `pyarrow-22.0.0-*.whl` | https://raw.githubusercontent.com/apache/arrow/apache-arrow-22.0.0/NOTICE.txt | `c946470d6b024c77feebdfb686bf92a828402c0ffc27c769bca7d8bef08e1db7` |
10
+ | `LICENSE-pyodide-unix-timezones.txt` | `pyodide_unix_timezones-1.0.0-*.whl` (MIT; the upstream repository has no release tags, text from its main branch) | https://raw.githubusercontent.com/joemarshall/pyodide-unix-timezones/main/LICENSE | `a907875d9513507e17f6dd73d9df3f5229270c53368d29c96ac07b52d98501da` |
pyodide/numpy-2.4.6-cp314-cp314-pyemscripten_2026_0_wasm32.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a292c1f5d7d8a2208cd5e94fc467604c131cabcd2fc14fed6eefde121e7fabdf
3
+ size 2960568
pyodide/pyarrow-22.0.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e681ddbfaf096dd8c42dd5045342c1f218b853c42c08678c91011baf1f9f2d2d
3
+ size 10018597
pyodide/pyodide-lock.json ADDED
The diff for this file is too large to render. See raw diff
 
pyodide/pyodide.asm.mjs ADDED
The diff for this file is too large to render. See raw diff
 
pyodide/pyodide.asm.wasm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc36e3cab04fdfc9a63ff13eb52eae2b911bf46c025cc7b281f394bd3de1d5e6
3
+ size 9598218
pyodide/pyodide.mjs ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ var Q=Object.defineProperty;var o=(e,t)=>Q(e,"name",{value:t,configurable:!0}),R=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var W=(()=>{for(var e=new Uint8Array(128),t=0;t<64;t++)e[t<26?t+65:t<52?t+71:t<62?t-4:t*4-205]=t;return n=>{for(var i=n.length,s=new Uint8Array((i-(n[i-1]=="=")-(n[i-2]=="="))*3/4|0),r=0,a=0;r<i;){var c=e[n.charCodeAt(r++)],l=e[n.charCodeAt(r++)],d=e[n.charCodeAt(r++)],u=e[n.charCodeAt(r++)];s[a++]=c<<2|l>>4,s[a++]=l<<4|d>>2,s[a++]=d<<6|u}return s}})();function Z(e){return!isNaN(parseFloat(e))&&isFinite(e)}o(Z,"_isNumber");function P(e){return e.charAt(0).toUpperCase()+e.substring(1)}o(P,"_capitalize");function D(e){return function(){return this[e]}}o(D,"_getter");var N=["isConstructor","isEval","isNative","isToplevel"],I=["columnNumber","lineNumber"],S=["fileName","functionName","source"],ee=["args"],te=["evalOrigin"],F=N.concat(I,S,ee,te);function p(e){if(e)for(var t=0;t<F.length;t++)e[F[t]]!==void 0&&this["set"+P(F[t])](e[F[t]])}o(p,"StackFrame");p.prototype={getArgs:o(function(){return this.args},"getArgs"),setArgs:o(function(e){if(Object.prototype.toString.call(e)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=e},"setArgs"),getEvalOrigin:o(function(){return this.evalOrigin},"getEvalOrigin"),setEvalOrigin:o(function(e){if(e instanceof p)this.evalOrigin=e;else if(e instanceof Object)this.evalOrigin=new p(e);else throw new TypeError("Eval Origin must be an Object or StackFrame")},"setEvalOrigin"),toString:o(function(){var e=this.getFileName()||"",t=this.getLineNumber()||"",n=this.getColumnNumber()||"",i=this.getFunctionName()||"";return this.getIsEval()?e?"[eval] ("+e+":"+t+":"+n+")":"[eval]:"+t+":"+n:i?i+" ("+e+":"+t+":"+n+")":e+":"+t+":"+n},"toString")};p.fromString=o(function(t){var n=t.indexOf("("),i=t.lastIndexOf(")"),s=t.substring(0,n),r=t.substring(n+1,i).split(","),a=t.substring(i+1);if(a.indexOf("@")===0)var c=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(a,""),l=c[1],d=c[2],u=c[3];return new p({functionName:s,args:r||void 0,fileName:l,lineNumber:d||void 0,columnNumber:u||void 0})},"StackFrame$$fromString");for(v=0;v<N.length;v++)p.prototype["get"+P(N[v])]=D(N[v]),p.prototype["set"+P(N[v])]=function(e){return function(t){this[e]=!!t}}(N[v]);var v;for(b=0;b<I.length;b++)p.prototype["get"+P(I[b])]=D(I[b]),p.prototype["set"+P(I[b])]=function(e){return function(t){if(!Z(t))throw new TypeError(e+" must be a Number");this[e]=Number(t)}}(I[b]);var b;for(E=0;E<S.length;E++)p.prototype["get"+P(S[E])]=D(S[E]),p.prototype["set"+P(S[E])]=function(e){return function(t){this[e]=String(t)}}(S[E]);var E,A=p;function ne(){var e=/^\s*at .*(\S+:\d+|\(native\))/m,t=/^(eval@)?(\[native code])?$/;return{parse:o(function(i){if(i.stack&&i.stack.match(e))return this.parseV8OrIE(i);if(i.stack)return this.parseFFOrSafari(i);throw new Error("Cannot parse given Error object")},"ErrorStackParser$$parse"),extractLocation:o(function(i){if(i.indexOf(":")===-1)return[i];var s=/(.+?)(?::(\d+))?(?::(\d+))?$/,r=s.exec(i.replace(/[()]/g,""));return[r[1],r[2]||void 0,r[3]||void 0]},"ErrorStackParser$$extractLocation"),parseV8OrIE:o(function(i){var s=i.stack.split(`
2
+ `).filter(function(r){return!!r.match(e)},this);return s.map(function(r){r.indexOf("(eval ")>-1&&(r=r.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var a=r.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),c=a.match(/ (\(.+\)$)/);a=c?a.replace(c[0],""):a;var l=this.extractLocation(c?c[1]:a),d=c&&a||void 0,u=["eval","<anonymous>"].indexOf(l[0])>-1?void 0:l[0];return new A({functionName:d,fileName:u,lineNumber:l[1],columnNumber:l[2],source:r})},this)},"ErrorStackParser$$parseV8OrIE"),parseFFOrSafari:o(function(i){var s=i.stack.split(`
3
+ `).filter(function(r){return!r.match(t)},this);return s.map(function(r){if(r.indexOf(" > eval")>-1&&(r=r.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),r.indexOf("@")===-1&&r.indexOf(":")===-1)return new A({functionName:r});var a=/((.*".+"[^@]*)?[^@]*)(?:@)/,c=r.match(a),l=c&&c[1]?c[1]:void 0,d=this.extractLocation(r.replace(a,""));return new A({functionName:l,fileName:d[0],lineNumber:d[1],columnNumber:d[2],source:r})},this)},"ErrorStackParser$$parseFFOrSafari")}}o(ne,"ErrorStackParser");var re=new ne;var M=re;function ie(){if(typeof API<"u"&&API!==globalThis.API)return API.runtimeEnv;let e=typeof Bun<"u",t=typeof Deno<"u",n=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string"&&!process.browser,i=typeof navigator=="object"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Chrome")===-1&&navigator.userAgent.indexOf("Safari")>-1,s=typeof read=="function"&&typeof load=="function",r=typeof navigator=="object"&&navigator.userAgent?.includes("Cloudflare-Workers");return oe({IN_BUN:e,IN_DENO:t,IN_NODE:n,IN_SAFARI:i,IN_SHELL:s,IN_WORKERD:r})}o(ie,"getGlobalRuntimeEnv");var f=ie();function oe(e){let t=e.IN_NODE&&typeof module<"u"&&module.exports&&typeof R=="function"&&typeof __dirname=="string",n=e.IN_NODE&&!t,i=!e.IN_NODE&&!e.IN_DENO&&!e.IN_BUN,s=i&&typeof window<"u"&&typeof window.document<"u"&&typeof document.createElement=="function"&&"sessionStorage"in window&&typeof globalThis.importScripts!="function",r=i&&typeof globalThis.WorkerGlobalScope<"u"&&typeof globalThis.self<"u"&&globalThis.self instanceof globalThis.WorkerGlobalScope;if(r&&ae())throw new Error("Classic web workers are not supported");let a={...e,IN_BROWSER:i,IN_BROWSER_MAIN_THREAD:s,IN_BROWSER_WEB_WORKER:r,IN_NODE_COMMONJS:t,IN_NODE_ESM:n};if(!(a.IN_BROWSER_MAIN_THREAD||a.IN_BROWSER_WEB_WORKER||a.IN_NODE||a.IN_SHELL||a.IN_WORKERD))throw new Error(`Cannot determine runtime environment: ${JSON.stringify(a)}`);return a}o(oe,"calculateDerivedFlags");function ae(){try{return globalThis.importScripts("data:text/javascript,"),!0}catch{return!1}}o(ae,"isClassicWorker");var $,x,se,B,L;async function C(){if(!f.IN_NODE||($=(await import("node:url")).default,B=await import("node:fs"),L=await import("node:fs/promises"),se=(await import("node:vm")).default,x=await import("node:path"),T=x.sep,typeof R<"u"))return;let e=B,t=await import("node:crypto"),n=await import("ws"),i=await import("node:child_process"),s={fs:e,crypto:t,ws:n,child_process:i};globalThis.require=function(r){return s[r]}}o(C,"initNodeModules");function le(e,t){return x.resolve(t||".",e)}o(le,"node_resolvePath");function ce(e,t){return t===void 0&&(t=location),new URL(e,t).toString()}o(ce,"browser_resolvePath");var w;f.IN_NODE?w=le:f.IN_SHELL?w=o(e=>e,"resolvePath"):w=ce;var T;f.IN_NODE||(T="/");function de(e,t){return e.startsWith("file://")&&(e=e.slice(7)),e.includes("://")?{response:fetch(e)}:{binary:L.readFile(e).then(n=>new Uint8Array(n.buffer,n.byteOffset,n.byteLength))}}o(de,"node_getBinaryResponse");function ue(e,t){if(e.startsWith("file://")&&(e=e.slice(7)),e.includes("://"))throw new Error("Shell cannot fetch urls");return{binary:Promise.resolve(new Uint8Array(readbuffer(e)))}}o(ue,"shell_getBinaryResponse");function fe(e,t){let n=new URL(e,location);return{response:fetch(n,t?{integrity:t}:{})}}o(fe,"browser_getBinaryResponse");var _;f.IN_NODE?_=de:f.IN_SHELL?_=ue:_=fe;async function j(e,t){let{response:n,binary:i}=_(e,t);if(i)return i;let s=await n;if(!s.ok)throw new Error(`Failed to load '${e}': request failed.`);return new Uint8Array(await s.arrayBuffer())}o(j,"loadBinaryFile");var O;f.IN_NODE?O=me:O=o(async e=>await import(e),"loadScript");async function me(e){return e.startsWith("file://")&&(e=e.slice(7)),e.includes("://")?await import(e):await import($.pathToFileURL(e).href)}o(me,"nodeLoadScript");async function H(e){if(f.IN_NODE){await C();let t=await L.readFile(e,{encoding:"utf8"});return JSON.parse(t)}else if(f.IN_SHELL){let t=read(e);return JSON.parse(t)}else return await(await fetch(e)).json()}o(H,"loadLockFile");async function J(){if(f.IN_NODE_COMMONJS)return __dirname;let e;try{throw new Error}catch(i){e=i}let t=M.parse(e)[0].fileName;if(f.IN_NODE&&!t.startsWith("file://")&&(t=`file://${t}`),f.IN_NODE_ESM){let i=await import("node:path");return(await import("node:url")).fileURLToPath(i.dirname(t))}let n=t.lastIndexOf(T);if(n===-1)throw new Error("Could not extract indexURL path from pyodide module location. Please pass the indexURL explicitly to loadPyodide.");return t.slice(0,n)}o(J,"calculateDirname");function V(e){return e.substring(0,e.lastIndexOf("/")+1)||globalThis.location?.toString()||"."}o(V,"calculateInstallBaseUrl");function z(e){let t=e.FS,n=e.FS.filesystems.MEMFS,i=e.PATH,s={DIR_MODE:16895,FILE_MODE:33279,mount:o(function(r){if(!r.opts.fileSystemHandle)throw new Error("opts.fileSystemHandle is required");return n.mount.apply(null,arguments)},"mount"),syncfs:o(async(r,a,c)=>{try{let l=s.getLocalSet(r),d=await s.getRemoteSet(r),u=a?d:l,y=a?l:d;await s.reconcile(r,u,y),c(null)}catch(l){c(l)}},"syncfs"),getLocalSet:o(r=>{let a=Object.create(null);function c(u){return u!=="."&&u!==".."}o(c,"isRealDir");function l(u){return y=>i.join2(u,y)}o(l,"toAbsolute");let d=t.readdir(r.mountpoint).filter(c).map(l(r.mountpoint));for(;d.length;){let u=d.pop(),y=t.stat(u);t.isDir(y.mode)&&d.push.apply(d,t.readdir(u).filter(c).map(l(u))),a[u]={timestamp:y.mtime,mode:y.mode}}return{type:"local",entries:a}},"getLocalSet"),getRemoteSet:o(async r=>{let a=Object.create(null),c=await pe(r.opts.fileSystemHandle);for(let[l,d]of c)l!=="."&&(a[i.join2(r.mountpoint,l)]={timestamp:d.kind==="file"?new Date((await d.getFile()).lastModified):new Date,mode:d.kind==="file"?s.FILE_MODE:s.DIR_MODE});return{type:"remote",entries:a,handles:c}},"getRemoteSet"),loadLocalEntry:o(r=>{let c=t.lookupPath(r,{}).node,l=t.stat(r);if(t.isDir(l.mode))return{timestamp:l.mtime,mode:l.mode};if(t.isFile(l.mode))return c.contents=n.getFileDataAsTypedArray(c),{timestamp:l.mtime,mode:l.mode,contents:c.contents};throw new Error("node type not supported")},"loadLocalEntry"),storeLocalEntry:o((r,a)=>{if(t.isDir(a.mode))t.mkdirTree(r,a.mode);else if(t.isFile(a.mode))t.writeFile(r,a.contents,{canOwn:!0});else throw new Error("node type not supported");t.chmod(r,a.mode),t.utime(r,a.timestamp,a.timestamp)},"storeLocalEntry"),removeLocalEntry:o(r=>{var a=t.stat(r);t.isDir(a.mode)?t.rmdir(r):t.isFile(a.mode)&&t.unlink(r)},"removeLocalEntry"),loadRemoteEntry:o(async r=>{if(r.kind==="file"){let a=await r.getFile();return{contents:new Uint8Array(await a.arrayBuffer()),mode:s.FILE_MODE,timestamp:new Date(a.lastModified)}}else{if(r.kind==="directory")return{mode:s.DIR_MODE,timestamp:new Date};throw new Error("unknown kind: "+r.kind)}},"loadRemoteEntry"),storeRemoteEntry:o(async(r,a,c)=>{let l=r.get(i.dirname(a)),d=t.isFile(c.mode)?await l.getFileHandle(i.basename(a),{create:!0}):await l.getDirectoryHandle(i.basename(a),{create:!0});if(d.kind==="file"){let u=await d.createWritable();await u.write(c.contents),await u.close()}r.set(a,d)},"storeRemoteEntry"),removeRemoteEntry:o(async(r,a)=>{await r.get(i.dirname(a)).removeEntry(i.basename(a)),r.delete(a)},"removeRemoteEntry"),reconcile:o(async(r,a,c)=>{let l=0,d=[];Object.keys(a.entries).forEach(function(m){let g=a.entries[m],h=c.entries[m];(!h||t.isFile(g.mode)&&g.timestamp.getTime()>h.timestamp.getTime())&&(d.push(m),l++)}),d.sort();let u=[];if(Object.keys(c.entries).forEach(function(m){a.entries[m]||(u.push(m),l++)}),u.sort().reverse(),!l)return;let y=a.type==="remote"?a.handles:c.handles;for(let m of d){let g=i.normalize(m.replace(r.mountpoint,"/")).substring(1);if(c.type==="local"){let h=y.get(g),X=await s.loadRemoteEntry(h);s.storeLocalEntry(m,X)}else{let h=s.loadLocalEntry(m);await s.storeRemoteEntry(y,g,h)}}for(let m of u)if(c.type==="local")s.removeLocalEntry(m);else{let g=i.normalize(m.replace(r.mountpoint,"/")).substring(1);await s.removeRemoteEntry(y,g)}},"reconcile")};e.FS.filesystems.NATIVEFS_ASYNC=s}o(z,"initializeNativeFS");var pe=o(async e=>{let t=[];async function n(s){for await(let r of s.values())t.push(r),r.kind==="directory"&&await n(r)}o(n,"collect"),await n(e);let i=new Map;i.set(".",e);for(let s of t){let r=(await e.resolve(s)).join("/");i.set(r,s)}return i},"getFsHandles");var G=W("AGFzbQEAAAABDANfAGAAAW9gAW8BfwMDAgECBygCE0pzdl9HZXRFcnJvcl9pbXBvcnQAAA5Kc3ZFcnJvcl9DaGVjawABChMCBwD7AQD7GwsJACAA+xr7FAAL");var ge=async function(){if(!(globalThis.navigator&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||navigator.platform==="MacIntel"&&typeof navigator.maxTouchPoints<"u"&&navigator.maxTouchPoints>1)))try{let t=await WebAssembly.compile(G);return await WebAssembly.instantiate(t)}catch(t){if(t instanceof WebAssembly.CompileError)return;throw t}}();async function K(){let e=await ge;if(e)return e.exports;let t=Symbol("error marker");return{Jsv_GetError_import:o(()=>t,"Jsv_GetError_import"),JsvError_Check:o(n=>n===t,"JsvError_Check")}}o(K,"getJsvErrorImport");function q(e){let t={config:e,runtimeEnv:f},n={noImageDecoding:!0,noAudioDecoding:!0,noWasmDecoding:!1,preRun:Ne(e),print:e.stdout,printErr:e.stderr,onExit(i){n.exitCode=i},thisProgram:e._sysExecutable,arguments:e.args,API:t,locateFile:o(i=>e.indexURL+i,"locateFile"),instantiateWasm:Ie(e.indexURL)};return n}o(q,"createSettings");function ve(e){return function(t){let n="/";try{t.FS.mkdirTree(e)}catch(i){console.error(`Error occurred while making a home directory '${e}':`),console.error(i),console.error(`Using '${n}' for a home directory instead`),e=n}t.FS.chdir(e)}}o(ve,"createHomeDirectory");function be(e){return function(t){Object.assign(t.ENV,e)}}o(be,"setEnvironment");function Ee(e){return e?[async t=>{t.addRunDependency("fsInitHook");try{await e(t.FS,{sitePackages:t.API.sitePackages})}finally{t.removeRunDependency("fsInitHook")}}]:[]}o(Ee,"callFsInitHook");function Pe(e){let t=e.HEAPU32[e._Py_Version>>>2],n=t>>>24&255,i=t>>>16&255,s=t>>>8&255;return[n,i,s]}o(Pe,"computeVersionTuple");function he(e){let t=j(e);return async n=>{n.API.pyVersionTuple=Pe(n);let[i,s]=n.API.pyVersionTuple;n.FS.mkdirTree("/lib"),n.API.sitePackages=`/lib/python${i}.${s}/site-packages`,n.FS.mkdirTree(n.API.sitePackages),n.FS.mkdirTree(`/lib/python${i}.${s}/lib-dynload`),n.addRunDependency("install-stdlib");try{let r=await t;n.FS.writeFile(`/lib/python${i}${s}.zip`,r)}catch(r){console.error("Error occurred while installing the standard library:"),console.error(r)}finally{n.removeRunDependency("install-stdlib")}}}o(he,"installStdlib");function Ne(e){let t;return e.stdLibURL!=null?t=e.stdLibURL:t=e.indexURL+"python_stdlib.zip",[he(t),ve(e.env.HOME),be(e.env),z,...Ee(e.fsInit)]}o(Ne,"getFileSystemInitializationFuncs");function Ie(e){if(typeof WasmOffsetConverter<"u")return;let{binary:t,response:n}=_(e+"pyodide.asm.wasm"),i=K();return function(s,r){return async function(){let{Jsv_GetError_import:a,JsvError_Check:c}=await i;s.env.Jsv_GetError_import=a,s.env.JsvError_Check=c;try{let l;n?l=await WebAssembly.instantiateStreaming(n,s):l=await WebAssembly.instantiate(await t,s);let{instance:d,module:u}=l;r(d,u)}catch(l){console.warn("wasm instantiation failed!"),console.warn(l)}}(),{}}}o(Ie,"getInstantiateWasmFunc");var Y="314.0.7";function k(e){return e===void 0||e.endsWith("/")?e:e+"/"}o(k,"withTrailingSlash");var U=Y;async function Se(e={}){if(await C(),e.lockFileContents&&e.lockFileURL)throw new Error("Can't pass both lockFileContents and lockFileURL");let t=e.indexURL||await J();if(t=k(w(t)),e.packageBaseUrl=k(e.packageBaseUrl),e.cdnUrl=k(e.packageBaseUrl??`https://cdn.jsdelivr.net/pyodide/v${U}/full/`),!e.lockFileContents){let s=e.lockFileURL??t+"pyodide-lock.json";e.lockFileContents=H(s),e.packageBaseUrl??=V(s)}e.indexURL=t,e.packageCacheDir&&(e.packageCacheDir=k(w(e.packageCacheDir)));let n={jsglobals:globalThis,stdin:globalThis.prompt?()=>globalThis.prompt():void 0,args:[],env:{},packages:[],packageCacheDir:e.packageBaseUrl,enableRunUntilComplete:!0,checkAPIVersion:!0,BUILD_ID:"990c3b51a9722d62434de2bbc9643732658d488c1b6d467f22c1b6beba80d497"},i=Object.assign(n,e);return i.env.HOME??="/home/pyodide",i.env.PYTHONINSPECT??="1",i}o(Se,"initializeConfiguration");function we(e){let t=q(e),n=t.API;return n.lockFilePromise=Promise.resolve(e.lockFileContents),t}o(we,"createEmscriptenSettings");async function _e(e){if(e.createPyodideModule)return e.createPyodideModule;let t=`${e.indexURL}pyodide.asm.mjs`;return(await O(t)).default}o(_e,"loadWasmScript");async function ke(e,t){if(!e._loadSnapshot)return;let n=await e._loadSnapshot,i=ArrayBuffer.isView(n)?n:new Uint8Array(n);return t.noInitialRun=!0,t.INITIAL_MEMORY=i.length,i}o(ke,"prepareSnapshot");async function Re(e,t){let n=await e(t);if(t.exitCode!==void 0)throw new n.ExitStatus(t.exitCode);return n}o(Re,"instantiatePyodideModule");function Fe(e,t){let n=e.API;if(t.pyproxyToStringRepr&&n.setPyProxyToStringMethod(!0),t.convertNullToNone&&n.setCompatNullToNone(!0),t.toJsLiteralMap&&n.setCompatToJsLiteralMap(!0),n.version!==U&&t.checkAPIVersion)throw new Error(`Pyodide version does not match: '${U}' <==> '${n.version}'. If you updated the Pyodide version, make sure you also updated the 'indexURL' parameter passed to loadPyodide.`);e.locateFile=i=>{throw i.endsWith(".so")?new Error(`Failed to find dynamic library "${i}"`):new Error(`Unexpected call to locateFile("${i}")`)}}o(Fe,"configureAPI");function Ae(e,t,n){let i=e.API,s;return t&&(s=i.restoreSnapshot(t)),i.finalizeBootstrap(s,n._snapshotDeserializer)}o(Ae,"bootstrapPyodide");async function Oe(e,t){let n=e._api;return n.sys.path.insert(0,""),n._pyodide.set_excepthook(),await n.packageIndexReady,n.initializeStreams(t.stdin,t.stdout,t.stderr),e}o(Oe,"finalizeSetup");async function dt(e={}){let t=await Se(e),n=we(t),i=await _e(t),s=await ke(t,n),r=await Re(i,n);Fe(r,t);let a=Ae(r,s,t);return await Oe(a,t)}o(dt,"loadPyodide");export{dt as loadPyodide,U as version};
4
+ //# sourceMappingURL=pyodide.mjs.map
pyodide/pyodide_unix_timezones-1.0.0-py3-none-any.whl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f5eed55b123bdcbbe704d8d0808efb1a086d9924c0e534b8d2d1fb92bf5acf7
3
+ size 2168
pyodide/python_stdlib.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa1957e5777068fc4f7437f96d860ae2fbe9c19732ba06c84e004ec16dd7dd7a
3
+ size 2545637
worker.js ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Runs in a module worker: fetches one LeRobot dataset's meta/info.json and data/*.parquet from
2
+ // Hugging Face, then measures it with holdcheck.py inside Pyodide. Nothing is sent anywhere else.
3
+ import { loadPyodide } from "./pyodide/pyodide.mjs";
4
+
5
+ const HF = "https://huggingface.co";
6
+ const COLS = ["action", "observation.state"];
7
+ const MAX_FRAMES = 600000; // above this a browser tab runs short of memory turning columns into arrays
8
+ const MAX_BYTES = 400e6;
9
+ const PARALLEL = 4;
10
+
11
+ let py = null;
12
+ let booting = null;
13
+
14
+ const post = (type, data) => self.postMessage({ type, ...data });
15
+ const progress = (step, data = {}) => post("progress", { step, ...data });
16
+
17
+ class Fail extends Error {
18
+ constructor(kind, message, extra = {}) { super(message); this.kind = kind; Object.assign(this, extra); }
19
+ }
20
+
21
+ const quote = (path) => path.split("/").map(encodeURIComponent).join("/");
22
+
23
+ async function get(url, what) {
24
+ let r;
25
+ try {
26
+ r = await fetch(url, { credentials: "omit", referrerPolicy: "no-referrer" });
27
+ } catch (e) {
28
+ throw new Fail("network", `Could not reach Hugging Face for ${what}.`);
29
+ }
30
+ if (r.status === 401 || r.status === 403 || r.status === 404) throw new Fail("missing", what, { status: r.status });
31
+ if (!r.ok) throw new Fail("network", `Hugging Face answered ${r.status} for ${what}.`);
32
+ return r;
33
+ }
34
+
35
+ async function tree(repo, path) {
36
+ let url = `${HF}/api/datasets/${repo}/tree/main/${quote(path)}?recursive=true`;
37
+ const all = [];
38
+ for (let page = 0; url && page < 200; page++) {
39
+ const r = await get(url, "the list of data files");
40
+ all.push(...(await r.json()));
41
+ const m = /<([^>]+)>;\s*rel="next"/.exec(r.headers.get("Link") || "");
42
+ url = m ? m[1] : null;
43
+ }
44
+ return all;
45
+ }
46
+
47
+ async function boot() {
48
+ if (py) return py;
49
+ if (!booting) {
50
+ booting = (async () => {
51
+ const base = new URL("./", import.meta.url);
52
+ const p = await loadPyodide({ indexURL: new URL("pyodide/", base).href, stdout: () => {}, stderr: () => {} });
53
+ await p.loadPackage(
54
+ ["numpy-2.4.6-cp314-cp314-pyemscripten_2026_0_wasm32.whl", "pyodide_unix_timezones-1.0.0-py3-none-any.whl", "pyarrow-22.0.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl"]
55
+ .map((f) => new URL("pyodide/" + f, base).href),
56
+ { messageCallback: () => {}, errorCallback: () => {} },
57
+ );
58
+ p.FS.mkdirTree("/hc");
59
+ for (const f of ["holdcheck.py", "engine.py", "tipmap.json", "corpus_summary.json"]) {
60
+ const r = await fetch(new URL("py/" + f, base));
61
+ if (!r.ok) throw new Error("engine file " + f);
62
+ p.FS.writeFile("/hc/" + f, new Uint8Array(await r.arrayBuffer()));
63
+ }
64
+ p.runPython("import sys; sys.dont_write_bytecode = True; sys.path.insert(0, '/hc'); import engine");
65
+ py = p;
66
+ return p;
67
+ })();
68
+ booting.catch(() => { booting = null; });
69
+ }
70
+ return booting;
71
+ }
72
+
73
+ async function download(repo, files, total) {
74
+ const blobs = new Array(files.length);
75
+ let done = 0, next = 0;
76
+ const one = async () => {
77
+ while (next < files.length) {
78
+ const i = next++;
79
+ const r = await get(`${HF}/datasets/${repo}/resolve/main/${quote(files[i].path)}`, "a data file");
80
+ const reader = r.body.getReader();
81
+ const parts = [];
82
+ let n = 0;
83
+ for (;;) {
84
+ const { done: end, value } = await reader.read();
85
+ if (end) break;
86
+ parts.push(value); n += value.length; done += value.length;
87
+ progress("data", { done, total, file: i + 1, files: files.length });
88
+ }
89
+ const buf = new Uint8Array(n);
90
+ let o = 0;
91
+ for (const v of parts) { buf.set(v, o); o += v.length; }
92
+ blobs[i] = buf;
93
+ }
94
+ };
95
+ await Promise.all(Array.from({ length: Math.min(PARALLEL, files.length) }, one));
96
+ return blobs;
97
+ }
98
+
99
+ async function check({ repo, sub }) {
100
+ const engine = boot();
101
+ engine.catch(() => {});
102
+ const pre = sub ? sub + "/" : "";
103
+ progress("info");
104
+ let info, infoBytes;
105
+ try {
106
+ const r = await get(`${HF}/datasets/${repo}/resolve/main/${quote(pre + "meta/info.json")}`, "info");
107
+ infoBytes = new Uint8Array(await r.arrayBuffer());
108
+ info = JSON.parse(new TextDecoder().decode(infoBytes));
109
+ } catch (e) {
110
+ if (e instanceof Fail && e.kind === "missing") throw new Fail("missing", sub ? "subfolder" : "dataset");
111
+ if (e instanceof Fail) throw e;
112
+ throw new Fail("layout", "The dataset's meta/info.json is not readable JSON.");
113
+ }
114
+ const feats = (info && info.features) || {};
115
+ if (!COLS.every((c) => feats[c])) throw new Fail("layout", "no-columns", { robot: info.robot_type || null });
116
+ const listing = tree(repo, pre + "data");
117
+ listing.catch(() => {});
118
+ // The command-line tool decides a skip from meta/info.json before reading any data; so does the page.
119
+ progress("engine-wait");
120
+ const p = await engine;
121
+ const pc = p.globals.get("engine").precheck;
122
+ const skipped = pc(repo, sub, infoBytes);
123
+ pc.destroy();
124
+ if (skipped) return JSON.parse(skipped);
125
+ progress("list");
126
+ const files = (await listing).filter((x) => x.type === "file" && x.path.endsWith(".parquet"));
127
+ if (!files.length) throw new Fail("layout", "no-data");
128
+ const total = files.reduce((s, x) => s + (x.size || 0), 0);
129
+ const frames = Number(info.total_frames) || 0;
130
+ if (frames > MAX_FRAMES || total > MAX_BYTES) throw new Fail("large", "large", { frames, total });
131
+ progress("data", { done: 0, total, file: 0, files: files.length });
132
+ const blobs = await download(repo, files, total);
133
+ progress("measure", { frames });
134
+ // Let the progress message paint before Python holds the worker.
135
+ await new Promise((r) => setTimeout(r, 30));
136
+ const run = p.globals.get("engine").run;
137
+ const out = run(repo, sub, infoBytes, files.map((f) => f.path), blobs);
138
+ run.destroy();
139
+ return JSON.parse(out);
140
+ }
141
+
142
+ self.onmessage = async (ev) => {
143
+ const m = ev.data || {};
144
+ if (m.type === "warm") {
145
+ boot().then(() => post("warm"), () => {});
146
+ return;
147
+ }
148
+ if (m.type !== "check") return;
149
+ try {
150
+ const view = await check(m);
151
+ post("result", { view });
152
+ } catch (e) {
153
+ if (e instanceof Fail) post("fail", { kind: e.kind, message: e.message, status: e.status, frames: e.frames, total: e.total, robot: e.robot });
154
+ else post("fail", { kind: "engine", message: String((e && e.message) || e).slice(-400) });
155
+ }
156
+ };