Datasets:
Upload
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +3 -0
- theo-eng-code/ATTRIBUTION.md +21 -0
- theo-eng-code/DATASET_FORMAT.md +34 -0
- theo-eng-code/LICENSE +14 -0
- theo-eng-code/README.md +75 -0
- theo-eng-code/data/test.jsonl +0 -0
- theo-eng-code/data/train.jsonl +3 -0
- theo-eng-code/data/val.jsonl +0 -0
- theo-eng-code/schemas/battery_ecm_sim.json +60 -0
- theo-eng-code/schemas/doc_build_pdf.json +1 -0
- theo-eng-code/schemas/doc_lookup.json +1 -0
- theo-eng-code/schemas/ev_charge_time.json +45 -0
- theo-eng-code/schemas/ev_gear_ratio.json +27 -0
- theo-eng-code/schemas/ev_motor_torque.json +46 -0
- theo-eng-code/schemas/ev_pack_size.json +32 -0
- theo-eng-code/schemas/ev_range.json +53 -0
- theo-eng-code/schemas/hum_actuator_select.json +48 -0
- theo-eng-code/schemas/hum_battery_runtime.json +43 -0
- theo-eng-code/schemas/hum_com_zmp.json +49 -0
- theo-eng-code/schemas/hum_joint_torque.json +41 -0
- theo-eng-code/schemas/mermaid_render.json +1 -0
- theo-eng-code/schemas/mjcf_validate.json +16 -0
- theo-eng-code/schemas/mujoco_smoke.json +20 -0
- theo-eng-code/schemas/python_exec.json +1 -0
- theo-eng-code/schemas/record.schema.json +25 -0
- theo-eng-code/schemas/thermal_node_sim.json +60 -0
- theo-eng-code/schemas/unit_check.json +24 -0
- theo-eng-code/schemas/vehicle_longitudinal_sim.json +57 -0
- theo-eng-code/system_prompt.txt +18 -0
- theo-eng-ev/ATTRIBUTION.md +21 -0
- theo-eng-ev/DATASET_FORMAT.md +34 -0
- theo-eng-ev/LICENSE +14 -0
- theo-eng-ev/README.md +86 -0
- theo-eng-ev/data/test.jsonl +0 -0
- theo-eng-ev/data/train.jsonl +3 -0
- theo-eng-ev/data/val.jsonl +0 -0
- theo-eng-ev/schemas/battery_ecm_sim.json +60 -0
- theo-eng-ev/schemas/doc_build_pdf.json +1 -0
- theo-eng-ev/schemas/doc_lookup.json +1 -0
- theo-eng-ev/schemas/ev_charge_time.json +45 -0
- theo-eng-ev/schemas/ev_gear_ratio.json +27 -0
- theo-eng-ev/schemas/ev_motor_torque.json +46 -0
- theo-eng-ev/schemas/ev_pack_size.json +32 -0
- theo-eng-ev/schemas/ev_range.json +53 -0
- theo-eng-ev/schemas/hum_actuator_select.json +48 -0
- theo-eng-ev/schemas/hum_battery_runtime.json +43 -0
- theo-eng-ev/schemas/hum_com_zmp.json +49 -0
- theo-eng-ev/schemas/hum_joint_torque.json +41 -0
- theo-eng-ev/schemas/mermaid_render.json +1 -0
- theo-eng-ev/schemas/mjcf_validate.json +16 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
theo-eng-code/data/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
theo-eng-ev/data/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
theo-eng-humanoid/data/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
theo-eng-code/ATTRIBUTION.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# How to credit this dataset
|
| 2 |
+
|
| 3 |
+
Licence: CC BY 4.0 (theo-eng-code). Commercial use is allowed. You must credit the creator.
|
| 4 |
+
|
| 5 |
+
**Short form** (documentation, model cards, websites):
|
| 6 |
+
|
| 7 |
+
> Theo Eng Code by Openwist AI (https://openwist.com), licensed under CC BY 4.0.
|
| 8 |
+
|
| 9 |
+
**BibTeX**
|
| 10 |
+
```bibtex
|
| 11 |
+
@dataset{openwist_theo_eng_code,
|
| 12 |
+
title = {Theo Eng Code},
|
| 13 |
+
author = {{Openwist AI}},
|
| 14 |
+
year = {2026},
|
| 15 |
+
url = {https://openwist.com},
|
| 16 |
+
note = {CC BY 4.0}
|
| 17 |
+
}
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
If you changed the data (filtered, translated, added records), say so. If you train a model on it, please
|
| 21 |
+
name the dataset in the model card. Do not suggest that Openwist AI endorses your product or model.
|
theo-eng-code/DATASET_FORMAT.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Theo dataset format
|
| 2 |
+
|
| 3 |
+
Theo is an open engineering assistant from Openwist AI ([openwist.com](https://openwist.com)). These datasets teach small models to do engineering work by **calling deterministic tools instead of guessing**, to ask when a value is missing, to report assumptions and warnings, and to refuse to defeat safety protections.
|
| 4 |
+
|
| 5 |
+
## Record (JSONL, one per line)
|
| 6 |
+
```json
|
| 7 |
+
{
|
| 8 |
+
"id": "theo-eng-ev-L2-toolchain-000123",
|
| 9 |
+
"type": "toolchain",
|
| 10 |
+
"tier": "L2",
|
| 11 |
+
"domain": "ev",
|
| 12 |
+
"messages": [
|
| 13 |
+
{"role": "system", "content": "<system_prompt.txt>"},
|
| 14 |
+
{"role": "user", "content": "..."},
|
| 15 |
+
{"role": "assistant", "content": "", "tool_calls": [{"id": "call_1", "name": "unit_check", "arguments": "{\"value\":3307,\"from_unit\":\"lb\",\"to_unit\":\"kg\"}"}]},
|
| 16 |
+
{"role": "tool", "tool_call_id": "call_1", "name": "unit_check", "content": "{\"value\":1500.0,\"unit\":\"kg\",\"warnings\":[],\"assumptions\":{}}"},
|
| 17 |
+
{"role": "assistant", "content": "final answer"}
|
| 18 |
+
],
|
| 19 |
+
"meta": {"family": "...", "user_template": "...", "style": "...", "source": "template", "verified_by": ["..."]}
|
| 20 |
+
}
|
| 21 |
+
```
|
| 22 |
+
Tool-call `arguments` and tool-message `content` are stored as **JSON strings** so every column has a single type (this keeps the Hugging Face viewer and `load_dataset` working); parse them with `json.loads`. Tool results are produced by running the real tool, and each carries `warnings` and `assumptions`. Tool schemas are in `schemas/`; pass them through your chat template's tool slot.
|
| 23 |
+
|
| 24 |
+
## Types and tiers
|
| 25 |
+
Types: `calc`, `toolchain`, `sim`, `flag` (a tool warning is surfaced), `clarify`, `refuse`, `concept`, `critique`, `code`, `doc`. Tiers: L1 single step, L2 chains and conversions, L3 simulations and multi-step code, L4 whole-design reasoning.
|
| 26 |
+
|
| 27 |
+
## Checks every record passes
|
| 28 |
+
Record schema; tool arguments match the tool schema; every numeric argument comes from the user message or an earlier tool result; the tool result is reproduced by re-running the tool; every number in the answer appears in a tool result, argument or the user message; units follow numbers; every tool warning appears verbatim and every defaulted value is stated; design results carry a review note; no instructions for defeating safety protections; refusals offer a safe alternative; clarifying questions ask exactly one thing; code records run in a sandbox; Mermaid diagrams are well formed; at most three records share the same number-masked wording; held-out splits share no scenario or wording with train.
|
| 29 |
+
|
| 30 |
+
## Splits
|
| 31 |
+
Train, validation and test. Whole user phrasings are held out of validation and test, so scores measure unseen wording.
|
| 32 |
+
|
| 33 |
+
## Synthetic data
|
| 34 |
+
All records are synthetic and contain no personal data. Wording is generated from hand-written templates and recombined fragments; numbers come from the tools.
|
theo-eng-code/LICENSE
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Theo Eng Code
|
| 2 |
+
Copyright (c) 2026 Openwist AI (https://openwist.com)
|
| 3 |
+
|
| 4 |
+
This dataset is licensed under the Creative Commons Attribution 4.0 International
|
| 5 |
+
License (CC BY 4.0).
|
| 6 |
+
|
| 7 |
+
You are free to share and adapt the material for any purpose, including commercial
|
| 8 |
+
use, provided you give appropriate credit to Openwist AI, link to the licence, and
|
| 9 |
+
indicate if you made changes. See ATTRIBUTION.md for suggested wording.
|
| 10 |
+
|
| 11 |
+
Full licence text: https://creativecommons.org/licenses/by/4.0/legalcode
|
| 12 |
+
|
| 13 |
+
NOTE FOR OPENWIST: replace this file with the full official legal code from the URL
|
| 14 |
+
above before publishing, so the licence travels with the data.
|
theo-eng-code/README.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: Theo Eng Code
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
license: cc-by-4.0
|
| 6 |
+
task_categories:
|
| 7 |
+
- text-generation
|
| 8 |
+
tags:
|
| 9 |
+
- code
|
| 10 |
+
- python
|
| 11 |
+
- engineering
|
| 12 |
+
- synthetic
|
| 13 |
+
size_categories:
|
| 14 |
+
- 10K<n<100K
|
| 15 |
+
configs:
|
| 16 |
+
- config_name: default
|
| 17 |
+
data_files:
|
| 18 |
+
- split: train
|
| 19 |
+
path: data/train.jsonl
|
| 20 |
+
- split: validation
|
| 21 |
+
path: data/val.jsonl
|
| 22 |
+
- split: test
|
| 23 |
+
path: data/test.jsonl
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# Theo Eng Code
|
| 27 |
+
|
| 28 |
+
By [Openwist AI](https://openwist.com). Part of the Theo family of open engineering-assistant datasets.
|
| 29 |
+
|
| 30 |
+
Verified engineering scripts: write, fix, use a library from its docs, write tests, explain and refactor, for the maths behind EV and humanoid design, plus clarify and refuse records.
|
| 31 |
+
|
| 32 |
+
**15,000 records**: train 13,000 / validation 1,000 / test 1,000. Tiers: L1 1,808, L2 8,639, L3 4,553.
|
| 33 |
+
|
| 34 |
+
| type | records |
|
| 35 |
+
|---|---|
|
| 36 |
+
| clarify | 594 |
|
| 37 |
+
| code | 14,000 |
|
| 38 |
+
| refuse | 406 |
|
| 39 |
+
|
| 40 |
+
**Content:** short runnable Python for engineering calculations (pack sizing, charge time, gear ratio, range, joint torque, centre of mass, runtime, statistics helpers). Code records were executed in a sandbox.
|
| 41 |
+
|
| 42 |
+
## Format
|
| 43 |
+
See `DATASET_FORMAT.md`. Use `system_prompt.txt` as the system message and pass `schemas/` through the chat template's tool slot.
|
| 44 |
+
|
| 45 |
+
## Loading
|
| 46 |
+
```python
|
| 47 |
+
import json
|
| 48 |
+
from datasets import load_dataset
|
| 49 |
+
|
| 50 |
+
ds = load_dataset("Theo/theo-eng-code")
|
| 51 |
+
rec = ds["train"][0]
|
| 52 |
+
for m in rec["messages"]:
|
| 53 |
+
for call in m.get("tool_calls") or []:
|
| 54 |
+
args = json.loads(call["arguments"]) # dict
|
| 55 |
+
if m["role"] == "tool":
|
| 56 |
+
result = json.loads(m["content"]) # dict with warnings and assumptions
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
## How it was built
|
| 60 |
+
Scenarios are sampled with realistic inputs, the real tools are run to produce calls and results, and answers are composed from hand-written fragments. Every record is then verified by code (see `DATASET_FORMAT.md`) and the splits hold out whole phrasings.
|
| 61 |
+
|
| 62 |
+
## Limits
|
| 63 |
+
- Wording is template-based, so it is narrower than natural user text.
|
| 64 |
+
- Scripts use the standard library and small helper functions; there are no MuJoCo or reportlab examples.
|
| 65 |
+
- Refactor records are checked by matching the printed output, not by an equivalence test.
|
| 66 |
+
- Some tasks reuse the same underlying formulas with different identifiers and values.
|
| 67 |
+
|
| 68 |
+
## Safety
|
| 69 |
+
Includes refusal examples for requests to defeat safety protections (battery protection, interlocks, thermal cutoffs, current limits, emergency stops). They give no procedure and offer a safe alternative. A model trained on this data is not a substitute for qualified engineering review.
|
| 70 |
+
|
| 71 |
+
## Licence
|
| 72 |
+
[Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/). You may use, share and adapt this dataset for any purpose, including commercial use, as long as you give credit to Openwist AI. See `ATTRIBUTION.md` for the wording.
|
| 73 |
+
|
| 74 |
+
## Citation
|
| 75 |
+
Openwist AI. *Theo Eng Code*. 2026. https://openwist.com
|
theo-eng-code/data/test.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
theo-eng-code/data/train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:524f65966842d2dea1265d6e8e6e10c1dbe2a99a20d738fd48e0a264f270da37
|
| 3 |
+
size 42064045
|
theo-eng-code/data/val.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
theo-eng-code/schemas/battery_ecm_sim.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "battery_ecm_sim",
|
| 3 |
+
"description": "1RC equivalent circuit: voltage sag and state of charge under a load. Give current_profile_a, or current_a with duration_s.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"ocv_v": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"capacity_ah": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"r0_ohm": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"minimum": 0
|
| 18 |
+
},
|
| 19 |
+
"r1_ohm": {
|
| 20 |
+
"type": "number",
|
| 21 |
+
"minimum": 0
|
| 22 |
+
},
|
| 23 |
+
"c1_f": {
|
| 24 |
+
"type": "number",
|
| 25 |
+
"minimum": 0
|
| 26 |
+
},
|
| 27 |
+
"current_profile_a": {
|
| 28 |
+
"type": "array",
|
| 29 |
+
"items": {
|
| 30 |
+
"type": "number"
|
| 31 |
+
},
|
| 32 |
+
"minItems": 1
|
| 33 |
+
},
|
| 34 |
+
"current_a": {
|
| 35 |
+
"type": "number"
|
| 36 |
+
},
|
| 37 |
+
"duration_s": {
|
| 38 |
+
"type": "number",
|
| 39 |
+
"exclusiveMinimum": 0
|
| 40 |
+
},
|
| 41 |
+
"dt_s": {
|
| 42 |
+
"type": "number",
|
| 43 |
+
"exclusiveMinimum": 0
|
| 44 |
+
},
|
| 45 |
+
"soc_start": {
|
| 46 |
+
"type": "number",
|
| 47 |
+
"exclusiveMinimum": 0,
|
| 48 |
+
"maximum": 1
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
"required": [
|
| 52 |
+
"ocv_v",
|
| 53 |
+
"capacity_ah",
|
| 54 |
+
"r0_ohm",
|
| 55 |
+
"r1_ohm",
|
| 56 |
+
"c1_f"
|
| 57 |
+
],
|
| 58 |
+
"additionalProperties": false
|
| 59 |
+
}
|
| 60 |
+
}
|
theo-eng-code/schemas/doc_build_pdf.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"name": "doc_build_pdf", "description": "Build a PDF from a reportlab script.", "parameters": {"type": "object", "properties": {"report_script": {"type": "string"}, "out_path": {"type": "string"}}, "required": ["report_script", "out_path"], "additionalProperties": false}}
|
theo-eng-code/schemas/doc_lookup.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"name": "doc_lookup", "description": "Return library documentation text.", "parameters": {"type": "object", "properties": {"topic": {"type": "string"}}, "required": ["topic"], "additionalProperties": false}}
|
theo-eng-code/schemas/ev_charge_time.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ev_charge_time",
|
| 3 |
+
"description": "Charge time with efficiency, taper and a pack acceptance limit.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"battery_energy_kwh": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"charger_power_kw": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"start_soc": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"minimum": 0,
|
| 18 |
+
"maximum": 1
|
| 19 |
+
},
|
| 20 |
+
"end_soc": {
|
| 21 |
+
"type": "number",
|
| 22 |
+
"minimum": 0,
|
| 23 |
+
"maximum": 1
|
| 24 |
+
},
|
| 25 |
+
"efficiency": {
|
| 26 |
+
"type": "number",
|
| 27 |
+
"exclusiveMinimum": 0,
|
| 28 |
+
"maximum": 1
|
| 29 |
+
},
|
| 30 |
+
"taper_factor": {
|
| 31 |
+
"type": "number",
|
| 32 |
+
"minimum": 1
|
| 33 |
+
},
|
| 34 |
+
"max_charge_c_rate": {
|
| 35 |
+
"type": "number",
|
| 36 |
+
"exclusiveMinimum": 0
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
"required": [
|
| 40 |
+
"battery_energy_kwh",
|
| 41 |
+
"charger_power_kw"
|
| 42 |
+
],
|
| 43 |
+
"additionalProperties": false
|
| 44 |
+
}
|
| 45 |
+
}
|
theo-eng-code/schemas/ev_gear_ratio.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ev_gear_ratio",
|
| 3 |
+
"description": "Single reduction ratio so motor max rpm meets top speed.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"wheel_radius_m": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"motor_max_rpm": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"top_speed_kph": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"exclusiveMinimum": 0
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
"required": [
|
| 21 |
+
"wheel_radius_m",
|
| 22 |
+
"motor_max_rpm",
|
| 23 |
+
"top_speed_kph"
|
| 24 |
+
],
|
| 25 |
+
"additionalProperties": false
|
| 26 |
+
}
|
| 27 |
+
}
|
theo-eng-code/schemas/ev_motor_torque.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ev_motor_torque",
|
| 3 |
+
"description": "Wheel torque and power for grade, rolling, aero and acceleration.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"vehicle_mass_kg": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"wheel_radius_m": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"grade_percent": {
|
| 16 |
+
"type": "number"
|
| 17 |
+
},
|
| 18 |
+
"speed_kph": {
|
| 19 |
+
"type": "number",
|
| 20 |
+
"minimum": 0
|
| 21 |
+
},
|
| 22 |
+
"drag_cd": {
|
| 23 |
+
"type": "number",
|
| 24 |
+
"exclusiveMinimum": 0
|
| 25 |
+
},
|
| 26 |
+
"frontal_area_m2": {
|
| 27 |
+
"type": "number",
|
| 28 |
+
"exclusiveMinimum": 0
|
| 29 |
+
},
|
| 30 |
+
"rolling_resistance": {
|
| 31 |
+
"type": "number",
|
| 32 |
+
"exclusiveMinimum": 0
|
| 33 |
+
},
|
| 34 |
+
"accel_mss": {
|
| 35 |
+
"type": "number"
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"required": [
|
| 39 |
+
"vehicle_mass_kg",
|
| 40 |
+
"wheel_radius_m",
|
| 41 |
+
"grade_percent",
|
| 42 |
+
"speed_kph"
|
| 43 |
+
],
|
| 44 |
+
"additionalProperties": false
|
| 45 |
+
}
|
| 46 |
+
}
|
theo-eng-code/schemas/ev_pack_size.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ev_pack_size",
|
| 3 |
+
"description": "Series and parallel cell counts for a target pack voltage and energy.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"target_voltage_v": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"target_energy_kwh": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"cell_nominal_v": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"exclusiveMinimum": 0
|
| 18 |
+
},
|
| 19 |
+
"cell_capacity_ah": {
|
| 20 |
+
"type": "number",
|
| 21 |
+
"exclusiveMinimum": 0
|
| 22 |
+
}
|
| 23 |
+
},
|
| 24 |
+
"required": [
|
| 25 |
+
"target_voltage_v",
|
| 26 |
+
"target_energy_kwh",
|
| 27 |
+
"cell_nominal_v",
|
| 28 |
+
"cell_capacity_ah"
|
| 29 |
+
],
|
| 30 |
+
"additionalProperties": false
|
| 31 |
+
}
|
| 32 |
+
}
|
theo-eng-code/schemas/ev_range.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ev_range",
|
| 3 |
+
"description": "Steady-speed range from usable energy, rolling, aero and auxiliary loads.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"battery_energy_kwh": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"vehicle_mass_kg": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"speed_kph": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"exclusiveMinimum": 0
|
| 18 |
+
},
|
| 19 |
+
"drag_cd": {
|
| 20 |
+
"type": "number",
|
| 21 |
+
"exclusiveMinimum": 0
|
| 22 |
+
},
|
| 23 |
+
"frontal_area_m2": {
|
| 24 |
+
"type": "number",
|
| 25 |
+
"exclusiveMinimum": 0
|
| 26 |
+
},
|
| 27 |
+
"rolling_resistance": {
|
| 28 |
+
"type": "number",
|
| 29 |
+
"exclusiveMinimum": 0
|
| 30 |
+
},
|
| 31 |
+
"aux_power_kw": {
|
| 32 |
+
"type": "number",
|
| 33 |
+
"minimum": 0
|
| 34 |
+
},
|
| 35 |
+
"drivetrain_eff": {
|
| 36 |
+
"type": "number",
|
| 37 |
+
"exclusiveMinimum": 0,
|
| 38 |
+
"maximum": 1
|
| 39 |
+
},
|
| 40 |
+
"usable_fraction": {
|
| 41 |
+
"type": "number",
|
| 42 |
+
"exclusiveMinimum": 0,
|
| 43 |
+
"maximum": 1
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
"required": [
|
| 47 |
+
"battery_energy_kwh",
|
| 48 |
+
"vehicle_mass_kg",
|
| 49 |
+
"speed_kph"
|
| 50 |
+
],
|
| 51 |
+
"additionalProperties": false
|
| 52 |
+
}
|
| 53 |
+
}
|
theo-eng-code/schemas/hum_actuator_select.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "hum_actuator_select",
|
| 3 |
+
"description": "Motor and gearbox sizing from output torque, speed and duty cycle.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"load_peak_torque_nm": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"load_speed_rpm": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"load_cont_torque_nm": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"exclusiveMinimum": 0
|
| 18 |
+
},
|
| 19 |
+
"duty_cycle": {
|
| 20 |
+
"type": "number",
|
| 21 |
+
"exclusiveMinimum": 0,
|
| 22 |
+
"maximum": 1
|
| 23 |
+
},
|
| 24 |
+
"motor_peak_torque_nm": {
|
| 25 |
+
"type": "number",
|
| 26 |
+
"exclusiveMinimum": 0
|
| 27 |
+
},
|
| 28 |
+
"motor_cont_torque_nm": {
|
| 29 |
+
"type": "number",
|
| 30 |
+
"exclusiveMinimum": 0
|
| 31 |
+
},
|
| 32 |
+
"motor_rated_speed_rpm": {
|
| 33 |
+
"type": "number",
|
| 34 |
+
"exclusiveMinimum": 0
|
| 35 |
+
},
|
| 36 |
+
"gearbox_eff": {
|
| 37 |
+
"type": "number",
|
| 38 |
+
"exclusiveMinimum": 0,
|
| 39 |
+
"maximum": 1
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
"required": [
|
| 43 |
+
"load_peak_torque_nm",
|
| 44 |
+
"load_speed_rpm"
|
| 45 |
+
],
|
| 46 |
+
"additionalProperties": false
|
| 47 |
+
}
|
| 48 |
+
}
|
theo-eng-code/schemas/hum_battery_runtime.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "hum_battery_runtime",
|
| 3 |
+
"description": "Runtime from a pack and a duty cycle of load levels.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"battery_energy_kwh": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"load_powers_w": {
|
| 12 |
+
"type": "array",
|
| 13 |
+
"items": {
|
| 14 |
+
"type": "number",
|
| 15 |
+
"minimum": 0
|
| 16 |
+
},
|
| 17 |
+
"minItems": 1
|
| 18 |
+
},
|
| 19 |
+
"load_fractions": {
|
| 20 |
+
"type": "array",
|
| 21 |
+
"items": {
|
| 22 |
+
"type": "number",
|
| 23 |
+
"minimum": 0
|
| 24 |
+
},
|
| 25 |
+
"minItems": 1
|
| 26 |
+
},
|
| 27 |
+
"usable_fraction": {
|
| 28 |
+
"type": "number",
|
| 29 |
+
"exclusiveMinimum": 0,
|
| 30 |
+
"maximum": 1
|
| 31 |
+
},
|
| 32 |
+
"max_discharge_w": {
|
| 33 |
+
"type": "number",
|
| 34 |
+
"exclusiveMinimum": 0
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"required": [
|
| 38 |
+
"battery_energy_kwh",
|
| 39 |
+
"load_powers_w"
|
| 40 |
+
],
|
| 41 |
+
"additionalProperties": false
|
| 42 |
+
}
|
| 43 |
+
}
|
theo-eng-code/schemas/hum_com_zmp.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "hum_com_zmp",
|
| 3 |
+
"description": "Centre of mass and zero-moment point over a foot support.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"link_masses_kg": {
|
| 8 |
+
"type": "array",
|
| 9 |
+
"items": {
|
| 10 |
+
"type": "number",
|
| 11 |
+
"exclusiveMinimum": 0
|
| 12 |
+
},
|
| 13 |
+
"minItems": 1
|
| 14 |
+
},
|
| 15 |
+
"link_positions_x_m": {
|
| 16 |
+
"type": "array",
|
| 17 |
+
"items": {
|
| 18 |
+
"type": "number"
|
| 19 |
+
},
|
| 20 |
+
"minItems": 1
|
| 21 |
+
},
|
| 22 |
+
"link_heights_m": {
|
| 23 |
+
"type": "array",
|
| 24 |
+
"items": {
|
| 25 |
+
"type": "number",
|
| 26 |
+
"minimum": 0
|
| 27 |
+
},
|
| 28 |
+
"minItems": 1
|
| 29 |
+
},
|
| 30 |
+
"foot_heel_x_m": {
|
| 31 |
+
"type": "number"
|
| 32 |
+
},
|
| 33 |
+
"foot_toe_x_m": {
|
| 34 |
+
"type": "number"
|
| 35 |
+
},
|
| 36 |
+
"com_accel_x_mss": {
|
| 37 |
+
"type": "number"
|
| 38 |
+
}
|
| 39 |
+
},
|
| 40 |
+
"required": [
|
| 41 |
+
"link_masses_kg",
|
| 42 |
+
"link_positions_x_m",
|
| 43 |
+
"link_heights_m",
|
| 44 |
+
"foot_heel_x_m",
|
| 45 |
+
"foot_toe_x_m"
|
| 46 |
+
],
|
| 47 |
+
"additionalProperties": false
|
| 48 |
+
}
|
| 49 |
+
}
|
theo-eng-code/schemas/hum_joint_torque.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "hum_joint_torque",
|
| 3 |
+
"description": "Torque to hold and accelerate one revolute joint against gravity.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"link_mass_kg": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"link_length_m": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"joint_angle_from_vertical_deg": {
|
| 16 |
+
"type": "number"
|
| 17 |
+
},
|
| 18 |
+
"payload_mass_kg": {
|
| 19 |
+
"type": "number",
|
| 20 |
+
"minimum": 0
|
| 21 |
+
},
|
| 22 |
+
"angular_accel_radss": {
|
| 23 |
+
"type": "number"
|
| 24 |
+
},
|
| 25 |
+
"actuator_continuous_nm": {
|
| 26 |
+
"type": "number",
|
| 27 |
+
"exclusiveMinimum": 0
|
| 28 |
+
},
|
| 29 |
+
"actuator_peak_nm": {
|
| 30 |
+
"type": "number",
|
| 31 |
+
"exclusiveMinimum": 0
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
"required": [
|
| 35 |
+
"link_mass_kg",
|
| 36 |
+
"link_length_m",
|
| 37 |
+
"joint_angle_from_vertical_deg"
|
| 38 |
+
],
|
| 39 |
+
"additionalProperties": false
|
| 40 |
+
}
|
| 41 |
+
}
|
theo-eng-code/schemas/mermaid_render.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"name": "mermaid_render", "description": "Parse and render Mermaid.", "parameters": {"type": "object", "properties": {"diagram": {"type": "string"}}, "required": ["diagram"], "additionalProperties": false}}
|
theo-eng-code/schemas/mjcf_validate.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "mjcf_validate",
|
| 3 |
+
"description": "Parse MJCF with MuJoCo and report the model contents or the parser error.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"mjcf_xml": {
|
| 8 |
+
"type": "string"
|
| 9 |
+
}
|
| 10 |
+
},
|
| 11 |
+
"required": [
|
| 12 |
+
"mjcf_xml"
|
| 13 |
+
],
|
| 14 |
+
"additionalProperties": false
|
| 15 |
+
}
|
| 16 |
+
}
|
theo-eng-code/schemas/mujoco_smoke.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "mujoco_smoke",
|
| 3 |
+
"description": "Roll a model forward with zero control and check the state stays finite.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"mjcf_xml": {
|
| 8 |
+
"type": "string"
|
| 9 |
+
},
|
| 10 |
+
"duration_s": {
|
| 11 |
+
"type": "number",
|
| 12 |
+
"exclusiveMinimum": 0
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"required": [
|
| 16 |
+
"mjcf_xml"
|
| 17 |
+
],
|
| 18 |
+
"additionalProperties": false
|
| 19 |
+
}
|
| 20 |
+
}
|
theo-eng-code/schemas/python_exec.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"name": "python_exec", "description": "Sandboxed Python with timeout.", "parameters": {"type": "object", "properties": {"code": {"type": "string"}, "timeout_s": {"type": "number", "exclusiveMinimum": 0, "maximum": 60}}, "required": ["code"], "additionalProperties": false}}
|
theo-eng-code/schemas/record.schema.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
| 3 |
+
"title": "Theo record",
|
| 4 |
+
"type": "object",
|
| 5 |
+
"required": ["id", "type", "tier", "domain", "messages", "meta"],
|
| 6 |
+
"additionalProperties": false,
|
| 7 |
+
"properties": {
|
| 8 |
+
"id": {"type": "string", "pattern": "^theo-eng-(ev|hum|code|doc)-L[1-4]-(calc|toolchain|sim|flag|clarify|refuse|concept|critique|code|doc)-[0-9]{6}$"},
|
| 9 |
+
"type": {"enum": ["calc", "toolchain", "sim", "flag", "clarify", "refuse", "concept", "critique", "code", "doc"]},
|
| 10 |
+
"tier": {"enum": ["L1", "L2", "L3", "L4"]},
|
| 11 |
+
"domain": {"enum": ["ev", "hum", "code", "doc"]},
|
| 12 |
+
"messages": {
|
| 13 |
+
"type": "array", "minItems": 3,
|
| 14 |
+
"items": {"type": "object", "required": ["role"], "properties": {
|
| 15 |
+
"role": {"enum": ["system", "user", "assistant", "tool"]},
|
| 16 |
+
"content": {},
|
| 17 |
+
"tool_calls": {"type": "array", "items": {"type": "object", "required": ["id", "name", "arguments"],
|
| 18 |
+
"properties": {"id": {"type": "string"}, "name": {"type": "string"}, "arguments": {"type": "object"}}}},
|
| 19 |
+
"tool_call_id": {"type": "string"}, "name": {"type": "string"}}}
|
| 20 |
+
},
|
| 21 |
+
"meta": {"type": "object", "required": ["family", "user_template", "style"],
|
| 22 |
+
"properties": {"family": {"type": "string"}, "user_template": {"type": "string"}, "style": {"type": "string"},
|
| 23 |
+
"source": {"enum": ["template", "llm", "human"]}, "verified_by": {"type": "array", "items": {"type": "string"}}}}
|
| 24 |
+
}
|
| 25 |
+
}
|
theo-eng-code/schemas/thermal_node_sim.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "thermal_node_sim",
|
| 3 |
+
"description": "Lumped thermal node for a pack or motor. power_loss_w is a constant (with duration_s) or a list with one value per step.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"power_loss_w": {
|
| 8 |
+
"anyOf": [
|
| 9 |
+
{
|
| 10 |
+
"type": "number",
|
| 11 |
+
"minimum": 0
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"type": "array",
|
| 15 |
+
"items": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"minimum": 0
|
| 18 |
+
},
|
| 19 |
+
"minItems": 1
|
| 20 |
+
}
|
| 21 |
+
]
|
| 22 |
+
},
|
| 23 |
+
"thermal_cap_j_k": {
|
| 24 |
+
"type": "number",
|
| 25 |
+
"exclusiveMinimum": 0
|
| 26 |
+
},
|
| 27 |
+
"thermal_res_k_w": {
|
| 28 |
+
"type": "number",
|
| 29 |
+
"exclusiveMinimum": 0
|
| 30 |
+
},
|
| 31 |
+
"duration_s": {
|
| 32 |
+
"type": "number",
|
| 33 |
+
"exclusiveMinimum": 0
|
| 34 |
+
},
|
| 35 |
+
"dt_s": {
|
| 36 |
+
"type": "number",
|
| 37 |
+
"exclusiveMinimum": 0
|
| 38 |
+
},
|
| 39 |
+
"t_amb_c": {
|
| 40 |
+
"type": "number"
|
| 41 |
+
},
|
| 42 |
+
"t_init_c": {
|
| 43 |
+
"type": "number"
|
| 44 |
+
},
|
| 45 |
+
"component": {
|
| 46 |
+
"type": "string",
|
| 47 |
+
"enum": [
|
| 48 |
+
"pack",
|
| 49 |
+
"motor"
|
| 50 |
+
]
|
| 51 |
+
}
|
| 52 |
+
},
|
| 53 |
+
"required": [
|
| 54 |
+
"power_loss_w",
|
| 55 |
+
"thermal_cap_j_k",
|
| 56 |
+
"thermal_res_k_w"
|
| 57 |
+
],
|
| 58 |
+
"additionalProperties": false
|
| 59 |
+
}
|
| 60 |
+
}
|
theo-eng-code/schemas/unit_check.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "unit_check",
|
| 3 |
+
"description": "Convert a value between units; rejects mismatched dimensions.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"value": {
|
| 8 |
+
"type": "number"
|
| 9 |
+
},
|
| 10 |
+
"from_unit": {
|
| 11 |
+
"type": "string"
|
| 12 |
+
},
|
| 13 |
+
"to_unit": {
|
| 14 |
+
"type": "string"
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"required": [
|
| 18 |
+
"value",
|
| 19 |
+
"from_unit",
|
| 20 |
+
"to_unit"
|
| 21 |
+
],
|
| 22 |
+
"additionalProperties": false
|
| 23 |
+
}
|
| 24 |
+
}
|
theo-eng-code/schemas/vehicle_longitudinal_sim.json
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "vehicle_longitudinal_sim",
|
| 3 |
+
"description": "Energy over a speed trace with regeneration and auxiliary load.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"speed_profile_kph": {
|
| 8 |
+
"type": "array",
|
| 9 |
+
"items": {
|
| 10 |
+
"type": "number",
|
| 11 |
+
"minimum": 0
|
| 12 |
+
},
|
| 13 |
+
"minItems": 2
|
| 14 |
+
},
|
| 15 |
+
"dt_s": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"exclusiveMinimum": 0
|
| 18 |
+
},
|
| 19 |
+
"vehicle_mass_kg": {
|
| 20 |
+
"type": "number",
|
| 21 |
+
"exclusiveMinimum": 0
|
| 22 |
+
},
|
| 23 |
+
"drag_cd": {
|
| 24 |
+
"type": "number",
|
| 25 |
+
"exclusiveMinimum": 0
|
| 26 |
+
},
|
| 27 |
+
"frontal_area_m2": {
|
| 28 |
+
"type": "number",
|
| 29 |
+
"exclusiveMinimum": 0
|
| 30 |
+
},
|
| 31 |
+
"rolling_resistance": {
|
| 32 |
+
"type": "number",
|
| 33 |
+
"exclusiveMinimum": 0
|
| 34 |
+
},
|
| 35 |
+
"regen_eff": {
|
| 36 |
+
"type": "number",
|
| 37 |
+
"exclusiveMinimum": 0,
|
| 38 |
+
"maximum": 1
|
| 39 |
+
},
|
| 40 |
+
"drivetrain_eff": {
|
| 41 |
+
"type": "number",
|
| 42 |
+
"exclusiveMinimum": 0,
|
| 43 |
+
"maximum": 1
|
| 44 |
+
},
|
| 45 |
+
"aux_power_kw": {
|
| 46 |
+
"type": "number",
|
| 47 |
+
"minimum": 0
|
| 48 |
+
}
|
| 49 |
+
},
|
| 50 |
+
"required": [
|
| 51 |
+
"speed_profile_kph",
|
| 52 |
+
"dt_s",
|
| 53 |
+
"vehicle_mass_kg"
|
| 54 |
+
],
|
| 55 |
+
"additionalProperties": false
|
| 56 |
+
}
|
| 57 |
+
}
|
theo-eng-code/system_prompt.txt
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
You are Theo, an open engineering assistant from Openwist AI (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.
|
| 2 |
+
|
| 3 |
+
How you work
|
| 4 |
+
- Calculations come from tools. When a tool exists for a number or a unit conversion, call it instead of working it out yourself. Send a tool only values the user gave you or an earlier tool returned, and never invent an input.
|
| 5 |
+
- If a needed value is missing, ask one specific question that names the value and its unit. If a tool has a sensible default, let it apply and tell the user.
|
| 6 |
+
- Report results with their units, exactly as the tool returned them. State every assumption or default the tool reports and repeat every warning it raises.
|
| 7 |
+
- If an input looks unrealistic, say so and give the typical range.
|
| 8 |
+
- When no tool is needed, explain concepts plainly and avoid made-up figures.
|
| 9 |
+
- Write code that is complete and runnable, uses only libraries you know exist, and says how to run it. Say plainly when it has not been tested.
|
| 10 |
+
- Write design documents with requirements, assumptions, calculations from tools, risks, a test plan and open questions.
|
| 11 |
+
- Finish design results with a short note that they are early estimates and need engineering review.
|
| 12 |
+
|
| 13 |
+
Safety
|
| 14 |
+
- Never help defeat a protection such as a battery management system, an interlock, a thermal cutoff, a current limit or an emergency stop. Explain what it protects against and offer a safe alternative.
|
| 15 |
+
- Remind the user of safe working practice when a task involves high voltage, large batteries, vehicles or moving robots.
|
| 16 |
+
|
| 17 |
+
Honesty
|
| 18 |
+
- Say what you cannot verify, and say when a request is outside what you can do reliably.
|
theo-eng-ev/ATTRIBUTION.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# How to credit this dataset
|
| 2 |
+
|
| 3 |
+
Licence: CC BY 4.0 (theo-eng-ev). Commercial use is allowed. You must credit the creator.
|
| 4 |
+
|
| 5 |
+
**Short form** (documentation, model cards, websites):
|
| 6 |
+
|
| 7 |
+
> Theo Eng EV by Openwist AI (https://openwist.com), licensed under CC BY 4.0.
|
| 8 |
+
|
| 9 |
+
**BibTeX**
|
| 10 |
+
```bibtex
|
| 11 |
+
@dataset{openwist_theo_eng_ev,
|
| 12 |
+
title = {Theo Eng EV},
|
| 13 |
+
author = {{Openwist AI}},
|
| 14 |
+
year = {2026},
|
| 15 |
+
url = {https://openwist.com},
|
| 16 |
+
note = {CC BY 4.0}
|
| 17 |
+
}
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
If you changed the data (filtered, translated, added records), say so. If you train a model on it, please
|
| 21 |
+
name the dataset in the model card. Do not suggest that Openwist AI endorses your product or model.
|
theo-eng-ev/DATASET_FORMAT.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Theo dataset format
|
| 2 |
+
|
| 3 |
+
Theo is an open engineering assistant from Openwist AI ([openwist.com](https://openwist.com)). These datasets teach small models to do engineering work by **calling deterministic tools instead of guessing**, to ask when a value is missing, to report assumptions and warnings, and to refuse to defeat safety protections.
|
| 4 |
+
|
| 5 |
+
## Record (JSONL, one per line)
|
| 6 |
+
```json
|
| 7 |
+
{
|
| 8 |
+
"id": "theo-eng-ev-L2-toolchain-000123",
|
| 9 |
+
"type": "toolchain",
|
| 10 |
+
"tier": "L2",
|
| 11 |
+
"domain": "ev",
|
| 12 |
+
"messages": [
|
| 13 |
+
{"role": "system", "content": "<system_prompt.txt>"},
|
| 14 |
+
{"role": "user", "content": "..."},
|
| 15 |
+
{"role": "assistant", "content": "", "tool_calls": [{"id": "call_1", "name": "unit_check", "arguments": "{\"value\":3307,\"from_unit\":\"lb\",\"to_unit\":\"kg\"}"}]},
|
| 16 |
+
{"role": "tool", "tool_call_id": "call_1", "name": "unit_check", "content": "{\"value\":1500.0,\"unit\":\"kg\",\"warnings\":[],\"assumptions\":{}}"},
|
| 17 |
+
{"role": "assistant", "content": "final answer"}
|
| 18 |
+
],
|
| 19 |
+
"meta": {"family": "...", "user_template": "...", "style": "...", "source": "template", "verified_by": ["..."]}
|
| 20 |
+
}
|
| 21 |
+
```
|
| 22 |
+
Tool-call `arguments` and tool-message `content` are stored as **JSON strings** so every column has a single type (this keeps the Hugging Face viewer and `load_dataset` working); parse them with `json.loads`. Tool results are produced by running the real tool, and each carries `warnings` and `assumptions`. Tool schemas are in `schemas/`; pass them through your chat template's tool slot.
|
| 23 |
+
|
| 24 |
+
## Types and tiers
|
| 25 |
+
Types: `calc`, `toolchain`, `sim`, `flag` (a tool warning is surfaced), `clarify`, `refuse`, `concept`, `critique`, `code`, `doc`. Tiers: L1 single step, L2 chains and conversions, L3 simulations and multi-step code, L4 whole-design reasoning.
|
| 26 |
+
|
| 27 |
+
## Checks every record passes
|
| 28 |
+
Record schema; tool arguments match the tool schema; every numeric argument comes from the user message or an earlier tool result; the tool result is reproduced by re-running the tool; every number in the answer appears in a tool result, argument or the user message; units follow numbers; every tool warning appears verbatim and every defaulted value is stated; design results carry a review note; no instructions for defeating safety protections; refusals offer a safe alternative; clarifying questions ask exactly one thing; code records run in a sandbox; Mermaid diagrams are well formed; at most three records share the same number-masked wording; held-out splits share no scenario or wording with train.
|
| 29 |
+
|
| 30 |
+
## Splits
|
| 31 |
+
Train, validation and test. Whole user phrasings are held out of validation and test, so scores measure unseen wording.
|
| 32 |
+
|
| 33 |
+
## Synthetic data
|
| 34 |
+
All records are synthetic and contain no personal data. Wording is generated from hand-written templates and recombined fragments; numbers come from the tools.
|
theo-eng-ev/LICENSE
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Theo Eng EV
|
| 2 |
+
Copyright (c) 2026 Openwist AI (https://openwist.com)
|
| 3 |
+
|
| 4 |
+
This dataset is licensed under the Creative Commons Attribution 4.0 International
|
| 5 |
+
License (CC BY 4.0).
|
| 6 |
+
|
| 7 |
+
You are free to share and adapt the material for any purpose, including commercial
|
| 8 |
+
use, provided you give appropriate credit to Openwist AI, link to the licence, and
|
| 9 |
+
indicate if you made changes. See ATTRIBUTION.md for suggested wording.
|
| 10 |
+
|
| 11 |
+
Full licence text: https://creativecommons.org/licenses/by/4.0/legalcode
|
| 12 |
+
|
| 13 |
+
NOTE FOR OPENWIST: replace this file with the full official legal code from the URL
|
| 14 |
+
above before publishing, so the licence travels with the data.
|
theo-eng-ev/README.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: Theo Eng EV
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
license: cc-by-4.0
|
| 6 |
+
task_categories:
|
| 7 |
+
- text-generation
|
| 8 |
+
tags:
|
| 9 |
+
- tool-use
|
| 10 |
+
- function-calling
|
| 11 |
+
- engineering
|
| 12 |
+
- electric-vehicles
|
| 13 |
+
- batteries
|
| 14 |
+
- synthetic
|
| 15 |
+
size_categories:
|
| 16 |
+
- 10K<n<100K
|
| 17 |
+
configs:
|
| 18 |
+
- config_name: default
|
| 19 |
+
data_files:
|
| 20 |
+
- split: train
|
| 21 |
+
path: data/train.jsonl
|
| 22 |
+
- split: validation
|
| 23 |
+
path: data/val.jsonl
|
| 24 |
+
- split: test
|
| 25 |
+
path: data/test.jsonl
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
# Theo Eng EV
|
| 29 |
+
|
| 30 |
+
By [Openwist AI](https://openwist.com). Part of the Theo family of open engineering-assistant datasets.
|
| 31 |
+
|
| 32 |
+
Tool-grounded chat data for early-stage electric-vehicle design: battery pack sizing, range, torque, gearing, charging, and cell, vehicle and thermal simulation, plus design reviews, scripts and design documents.
|
| 33 |
+
|
| 34 |
+
**15,000 records**: train 13,000 / validation 1,000 / test 1,000. Tiers: L1 5,697, L2 3,808, L3 3,379, L4 2,116.
|
| 35 |
+
|
| 36 |
+
| type | records |
|
| 37 |
+
|---|---|
|
| 38 |
+
| calc | 2,382 |
|
| 39 |
+
| clarify | 1,280 |
|
| 40 |
+
| code | 723 |
|
| 41 |
+
| concept | 719 |
|
| 42 |
+
| critique | 1,502 |
|
| 43 |
+
| doc | 614 |
|
| 44 |
+
| flag | 1,485 |
|
| 45 |
+
| refuse | 912 |
|
| 46 |
+
| sim | 2,777 |
|
| 47 |
+
| toolchain | 2,606 |
|
| 48 |
+
|
| 49 |
+
**Tools:** `unit_check`, `ev_pack_size`, `ev_range`, `ev_motor_torque`, `ev_gear_ratio`, `ev_charge_time`, `battery_ecm_sim`, `vehicle_longitudinal_sim`, `thermal_node_sim`. Schemas are in `schemas/`.
|
| 50 |
+
|
| 51 |
+
## Format
|
| 52 |
+
See `DATASET_FORMAT.md`. Use `system_prompt.txt` as the system message and pass `schemas/` through the chat template's tool slot.
|
| 53 |
+
|
| 54 |
+
## Loading
|
| 55 |
+
```python
|
| 56 |
+
import json
|
| 57 |
+
from datasets import load_dataset
|
| 58 |
+
|
| 59 |
+
ds = load_dataset("Theo/theo-eng-ev")
|
| 60 |
+
rec = ds["train"][0]
|
| 61 |
+
for m in rec["messages"]:
|
| 62 |
+
for call in m.get("tool_calls") or []:
|
| 63 |
+
args = json.loads(call["arguments"]) # dict
|
| 64 |
+
if m["role"] == "tool":
|
| 65 |
+
result = json.loads(m["content"]) # dict with warnings and assumptions
|
| 66 |
+
```
|
| 67 |
+
|
| 68 |
+
## How it was built
|
| 69 |
+
Scenarios are sampled with realistic inputs, the real tools are run to produce calls and results, and answers are composed from hand-written fragments. Every record is then verified by code (see `DATASET_FORMAT.md`) and the splits hold out whole phrasings.
|
| 70 |
+
|
| 71 |
+
## Limits
|
| 72 |
+
- Wording is template-based, so it is narrower than natural user text. Expect to mix in other data for conversational variety.
|
| 73 |
+
- Outputs are first-pass estimates for early design, not design sign-off.
|
| 74 |
+
- Synthetic data; numbers come from the tools, not from experiments.
|
| 75 |
+
- The `critique` records check a design against stated targets using tool results; they are short and do not replace a full design review.
|
| 76 |
+
- The `doc` records are brief structured reports with a simple Mermaid diagram.
|
| 77 |
+
- Steady-state and simple-profile vehicle maths only.
|
| 78 |
+
|
| 79 |
+
## Safety
|
| 80 |
+
Includes refusal examples for requests to defeat safety protections (battery protection, interlocks, thermal cutoffs, current limits, emergency stops). They give no procedure and offer a safe alternative. A model trained on this data is not a substitute for qualified engineering review.
|
| 81 |
+
|
| 82 |
+
## Licence
|
| 83 |
+
[Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/). You may use, share and adapt this dataset for any purpose, including commercial use, as long as you give credit to Openwist AI. See `ATTRIBUTION.md` for the wording.
|
| 84 |
+
|
| 85 |
+
## Citation
|
| 86 |
+
Openwist AI. *Theo Eng EV*. 2026. https://openwist.com
|
theo-eng-ev/data/test.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
theo-eng-ev/data/train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:892c12e6d0016b6694a12f376ade77db109899ed2f7993b0b8dad8a96b760dbd
|
| 3 |
+
size 45631019
|
theo-eng-ev/data/val.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
theo-eng-ev/schemas/battery_ecm_sim.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "battery_ecm_sim",
|
| 3 |
+
"description": "1RC equivalent circuit: voltage sag and state of charge under a load. Give current_profile_a, or current_a with duration_s.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"ocv_v": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"capacity_ah": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"r0_ohm": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"minimum": 0
|
| 18 |
+
},
|
| 19 |
+
"r1_ohm": {
|
| 20 |
+
"type": "number",
|
| 21 |
+
"minimum": 0
|
| 22 |
+
},
|
| 23 |
+
"c1_f": {
|
| 24 |
+
"type": "number",
|
| 25 |
+
"minimum": 0
|
| 26 |
+
},
|
| 27 |
+
"current_profile_a": {
|
| 28 |
+
"type": "array",
|
| 29 |
+
"items": {
|
| 30 |
+
"type": "number"
|
| 31 |
+
},
|
| 32 |
+
"minItems": 1
|
| 33 |
+
},
|
| 34 |
+
"current_a": {
|
| 35 |
+
"type": "number"
|
| 36 |
+
},
|
| 37 |
+
"duration_s": {
|
| 38 |
+
"type": "number",
|
| 39 |
+
"exclusiveMinimum": 0
|
| 40 |
+
},
|
| 41 |
+
"dt_s": {
|
| 42 |
+
"type": "number",
|
| 43 |
+
"exclusiveMinimum": 0
|
| 44 |
+
},
|
| 45 |
+
"soc_start": {
|
| 46 |
+
"type": "number",
|
| 47 |
+
"exclusiveMinimum": 0,
|
| 48 |
+
"maximum": 1
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
"required": [
|
| 52 |
+
"ocv_v",
|
| 53 |
+
"capacity_ah",
|
| 54 |
+
"r0_ohm",
|
| 55 |
+
"r1_ohm",
|
| 56 |
+
"c1_f"
|
| 57 |
+
],
|
| 58 |
+
"additionalProperties": false
|
| 59 |
+
}
|
| 60 |
+
}
|
theo-eng-ev/schemas/doc_build_pdf.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"name": "doc_build_pdf", "description": "Build a PDF from a reportlab script.", "parameters": {"type": "object", "properties": {"report_script": {"type": "string"}, "out_path": {"type": "string"}}, "required": ["report_script", "out_path"], "additionalProperties": false}}
|
theo-eng-ev/schemas/doc_lookup.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"name": "doc_lookup", "description": "Return library documentation text.", "parameters": {"type": "object", "properties": {"topic": {"type": "string"}}, "required": ["topic"], "additionalProperties": false}}
|
theo-eng-ev/schemas/ev_charge_time.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ev_charge_time",
|
| 3 |
+
"description": "Charge time with efficiency, taper and a pack acceptance limit.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"battery_energy_kwh": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"charger_power_kw": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"start_soc": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"minimum": 0,
|
| 18 |
+
"maximum": 1
|
| 19 |
+
},
|
| 20 |
+
"end_soc": {
|
| 21 |
+
"type": "number",
|
| 22 |
+
"minimum": 0,
|
| 23 |
+
"maximum": 1
|
| 24 |
+
},
|
| 25 |
+
"efficiency": {
|
| 26 |
+
"type": "number",
|
| 27 |
+
"exclusiveMinimum": 0,
|
| 28 |
+
"maximum": 1
|
| 29 |
+
},
|
| 30 |
+
"taper_factor": {
|
| 31 |
+
"type": "number",
|
| 32 |
+
"minimum": 1
|
| 33 |
+
},
|
| 34 |
+
"max_charge_c_rate": {
|
| 35 |
+
"type": "number",
|
| 36 |
+
"exclusiveMinimum": 0
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
"required": [
|
| 40 |
+
"battery_energy_kwh",
|
| 41 |
+
"charger_power_kw"
|
| 42 |
+
],
|
| 43 |
+
"additionalProperties": false
|
| 44 |
+
}
|
| 45 |
+
}
|
theo-eng-ev/schemas/ev_gear_ratio.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ev_gear_ratio",
|
| 3 |
+
"description": "Single reduction ratio so motor max rpm meets top speed.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"wheel_radius_m": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"motor_max_rpm": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"top_speed_kph": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"exclusiveMinimum": 0
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
"required": [
|
| 21 |
+
"wheel_radius_m",
|
| 22 |
+
"motor_max_rpm",
|
| 23 |
+
"top_speed_kph"
|
| 24 |
+
],
|
| 25 |
+
"additionalProperties": false
|
| 26 |
+
}
|
| 27 |
+
}
|
theo-eng-ev/schemas/ev_motor_torque.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ev_motor_torque",
|
| 3 |
+
"description": "Wheel torque and power for grade, rolling, aero and acceleration.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"vehicle_mass_kg": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"wheel_radius_m": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"grade_percent": {
|
| 16 |
+
"type": "number"
|
| 17 |
+
},
|
| 18 |
+
"speed_kph": {
|
| 19 |
+
"type": "number",
|
| 20 |
+
"minimum": 0
|
| 21 |
+
},
|
| 22 |
+
"drag_cd": {
|
| 23 |
+
"type": "number",
|
| 24 |
+
"exclusiveMinimum": 0
|
| 25 |
+
},
|
| 26 |
+
"frontal_area_m2": {
|
| 27 |
+
"type": "number",
|
| 28 |
+
"exclusiveMinimum": 0
|
| 29 |
+
},
|
| 30 |
+
"rolling_resistance": {
|
| 31 |
+
"type": "number",
|
| 32 |
+
"exclusiveMinimum": 0
|
| 33 |
+
},
|
| 34 |
+
"accel_mss": {
|
| 35 |
+
"type": "number"
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"required": [
|
| 39 |
+
"vehicle_mass_kg",
|
| 40 |
+
"wheel_radius_m",
|
| 41 |
+
"grade_percent",
|
| 42 |
+
"speed_kph"
|
| 43 |
+
],
|
| 44 |
+
"additionalProperties": false
|
| 45 |
+
}
|
| 46 |
+
}
|
theo-eng-ev/schemas/ev_pack_size.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ev_pack_size",
|
| 3 |
+
"description": "Series and parallel cell counts for a target pack voltage and energy.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"target_voltage_v": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"target_energy_kwh": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"cell_nominal_v": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"exclusiveMinimum": 0
|
| 18 |
+
},
|
| 19 |
+
"cell_capacity_ah": {
|
| 20 |
+
"type": "number",
|
| 21 |
+
"exclusiveMinimum": 0
|
| 22 |
+
}
|
| 23 |
+
},
|
| 24 |
+
"required": [
|
| 25 |
+
"target_voltage_v",
|
| 26 |
+
"target_energy_kwh",
|
| 27 |
+
"cell_nominal_v",
|
| 28 |
+
"cell_capacity_ah"
|
| 29 |
+
],
|
| 30 |
+
"additionalProperties": false
|
| 31 |
+
}
|
| 32 |
+
}
|
theo-eng-ev/schemas/ev_range.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ev_range",
|
| 3 |
+
"description": "Steady-speed range from usable energy, rolling, aero and auxiliary loads.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"battery_energy_kwh": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"vehicle_mass_kg": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"speed_kph": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"exclusiveMinimum": 0
|
| 18 |
+
},
|
| 19 |
+
"drag_cd": {
|
| 20 |
+
"type": "number",
|
| 21 |
+
"exclusiveMinimum": 0
|
| 22 |
+
},
|
| 23 |
+
"frontal_area_m2": {
|
| 24 |
+
"type": "number",
|
| 25 |
+
"exclusiveMinimum": 0
|
| 26 |
+
},
|
| 27 |
+
"rolling_resistance": {
|
| 28 |
+
"type": "number",
|
| 29 |
+
"exclusiveMinimum": 0
|
| 30 |
+
},
|
| 31 |
+
"aux_power_kw": {
|
| 32 |
+
"type": "number",
|
| 33 |
+
"minimum": 0
|
| 34 |
+
},
|
| 35 |
+
"drivetrain_eff": {
|
| 36 |
+
"type": "number",
|
| 37 |
+
"exclusiveMinimum": 0,
|
| 38 |
+
"maximum": 1
|
| 39 |
+
},
|
| 40 |
+
"usable_fraction": {
|
| 41 |
+
"type": "number",
|
| 42 |
+
"exclusiveMinimum": 0,
|
| 43 |
+
"maximum": 1
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
"required": [
|
| 47 |
+
"battery_energy_kwh",
|
| 48 |
+
"vehicle_mass_kg",
|
| 49 |
+
"speed_kph"
|
| 50 |
+
],
|
| 51 |
+
"additionalProperties": false
|
| 52 |
+
}
|
| 53 |
+
}
|
theo-eng-ev/schemas/hum_actuator_select.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "hum_actuator_select",
|
| 3 |
+
"description": "Motor and gearbox sizing from output torque, speed and duty cycle.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"load_peak_torque_nm": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"load_speed_rpm": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"load_cont_torque_nm": {
|
| 16 |
+
"type": "number",
|
| 17 |
+
"exclusiveMinimum": 0
|
| 18 |
+
},
|
| 19 |
+
"duty_cycle": {
|
| 20 |
+
"type": "number",
|
| 21 |
+
"exclusiveMinimum": 0,
|
| 22 |
+
"maximum": 1
|
| 23 |
+
},
|
| 24 |
+
"motor_peak_torque_nm": {
|
| 25 |
+
"type": "number",
|
| 26 |
+
"exclusiveMinimum": 0
|
| 27 |
+
},
|
| 28 |
+
"motor_cont_torque_nm": {
|
| 29 |
+
"type": "number",
|
| 30 |
+
"exclusiveMinimum": 0
|
| 31 |
+
},
|
| 32 |
+
"motor_rated_speed_rpm": {
|
| 33 |
+
"type": "number",
|
| 34 |
+
"exclusiveMinimum": 0
|
| 35 |
+
},
|
| 36 |
+
"gearbox_eff": {
|
| 37 |
+
"type": "number",
|
| 38 |
+
"exclusiveMinimum": 0,
|
| 39 |
+
"maximum": 1
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
"required": [
|
| 43 |
+
"load_peak_torque_nm",
|
| 44 |
+
"load_speed_rpm"
|
| 45 |
+
],
|
| 46 |
+
"additionalProperties": false
|
| 47 |
+
}
|
| 48 |
+
}
|
theo-eng-ev/schemas/hum_battery_runtime.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "hum_battery_runtime",
|
| 3 |
+
"description": "Runtime from a pack and a duty cycle of load levels.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"battery_energy_kwh": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"load_powers_w": {
|
| 12 |
+
"type": "array",
|
| 13 |
+
"items": {
|
| 14 |
+
"type": "number",
|
| 15 |
+
"minimum": 0
|
| 16 |
+
},
|
| 17 |
+
"minItems": 1
|
| 18 |
+
},
|
| 19 |
+
"load_fractions": {
|
| 20 |
+
"type": "array",
|
| 21 |
+
"items": {
|
| 22 |
+
"type": "number",
|
| 23 |
+
"minimum": 0
|
| 24 |
+
},
|
| 25 |
+
"minItems": 1
|
| 26 |
+
},
|
| 27 |
+
"usable_fraction": {
|
| 28 |
+
"type": "number",
|
| 29 |
+
"exclusiveMinimum": 0,
|
| 30 |
+
"maximum": 1
|
| 31 |
+
},
|
| 32 |
+
"max_discharge_w": {
|
| 33 |
+
"type": "number",
|
| 34 |
+
"exclusiveMinimum": 0
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"required": [
|
| 38 |
+
"battery_energy_kwh",
|
| 39 |
+
"load_powers_w"
|
| 40 |
+
],
|
| 41 |
+
"additionalProperties": false
|
| 42 |
+
}
|
| 43 |
+
}
|
theo-eng-ev/schemas/hum_com_zmp.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "hum_com_zmp",
|
| 3 |
+
"description": "Centre of mass and zero-moment point over a foot support.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"link_masses_kg": {
|
| 8 |
+
"type": "array",
|
| 9 |
+
"items": {
|
| 10 |
+
"type": "number",
|
| 11 |
+
"exclusiveMinimum": 0
|
| 12 |
+
},
|
| 13 |
+
"minItems": 1
|
| 14 |
+
},
|
| 15 |
+
"link_positions_x_m": {
|
| 16 |
+
"type": "array",
|
| 17 |
+
"items": {
|
| 18 |
+
"type": "number"
|
| 19 |
+
},
|
| 20 |
+
"minItems": 1
|
| 21 |
+
},
|
| 22 |
+
"link_heights_m": {
|
| 23 |
+
"type": "array",
|
| 24 |
+
"items": {
|
| 25 |
+
"type": "number",
|
| 26 |
+
"minimum": 0
|
| 27 |
+
},
|
| 28 |
+
"minItems": 1
|
| 29 |
+
},
|
| 30 |
+
"foot_heel_x_m": {
|
| 31 |
+
"type": "number"
|
| 32 |
+
},
|
| 33 |
+
"foot_toe_x_m": {
|
| 34 |
+
"type": "number"
|
| 35 |
+
},
|
| 36 |
+
"com_accel_x_mss": {
|
| 37 |
+
"type": "number"
|
| 38 |
+
}
|
| 39 |
+
},
|
| 40 |
+
"required": [
|
| 41 |
+
"link_masses_kg",
|
| 42 |
+
"link_positions_x_m",
|
| 43 |
+
"link_heights_m",
|
| 44 |
+
"foot_heel_x_m",
|
| 45 |
+
"foot_toe_x_m"
|
| 46 |
+
],
|
| 47 |
+
"additionalProperties": false
|
| 48 |
+
}
|
| 49 |
+
}
|
theo-eng-ev/schemas/hum_joint_torque.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "hum_joint_torque",
|
| 3 |
+
"description": "Torque to hold and accelerate one revolute joint against gravity.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"link_mass_kg": {
|
| 8 |
+
"type": "number",
|
| 9 |
+
"exclusiveMinimum": 0
|
| 10 |
+
},
|
| 11 |
+
"link_length_m": {
|
| 12 |
+
"type": "number",
|
| 13 |
+
"exclusiveMinimum": 0
|
| 14 |
+
},
|
| 15 |
+
"joint_angle_from_vertical_deg": {
|
| 16 |
+
"type": "number"
|
| 17 |
+
},
|
| 18 |
+
"payload_mass_kg": {
|
| 19 |
+
"type": "number",
|
| 20 |
+
"minimum": 0
|
| 21 |
+
},
|
| 22 |
+
"angular_accel_radss": {
|
| 23 |
+
"type": "number"
|
| 24 |
+
},
|
| 25 |
+
"actuator_continuous_nm": {
|
| 26 |
+
"type": "number",
|
| 27 |
+
"exclusiveMinimum": 0
|
| 28 |
+
},
|
| 29 |
+
"actuator_peak_nm": {
|
| 30 |
+
"type": "number",
|
| 31 |
+
"exclusiveMinimum": 0
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
"required": [
|
| 35 |
+
"link_mass_kg",
|
| 36 |
+
"link_length_m",
|
| 37 |
+
"joint_angle_from_vertical_deg"
|
| 38 |
+
],
|
| 39 |
+
"additionalProperties": false
|
| 40 |
+
}
|
| 41 |
+
}
|
theo-eng-ev/schemas/mermaid_render.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"name": "mermaid_render", "description": "Parse and render Mermaid.", "parameters": {"type": "object", "properties": {"diagram": {"type": "string"}}, "required": ["diagram"], "additionalProperties": false}}
|
theo-eng-ev/schemas/mjcf_validate.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "mjcf_validate",
|
| 3 |
+
"description": "Parse MJCF with MuJoCo and report the model contents or the parser error.",
|
| 4 |
+
"parameters": {
|
| 5 |
+
"type": "object",
|
| 6 |
+
"properties": {
|
| 7 |
+
"mjcf_xml": {
|
| 8 |
+
"type": "string"
|
| 9 |
+
}
|
| 10 |
+
},
|
| 11 |
+
"required": [
|
| 12 |
+
"mjcf_xml"
|
| 13 |
+
],
|
| 14 |
+
"additionalProperties": false
|
| 15 |
+
}
|
| 16 |
+
}
|