id
stringlengths
28
31
type
stringclasses
3 values
tier
stringclasses
3 values
domain
stringclasses
1 value
messages
listlengths
3
3
meta
unknown
theo-eng-code-L3-code-015113
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_range", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(71, 1090, 120, 0.37, 2.8, 0.011, 1.3, 0.9, 0.9)", "assert abs(r0[0] - 241.4) < 1e-6", "assert abs(r0[1] - 26.47) < 1e-6", "assert abs(r0[2] - 31.77) < 1e-6" ], "subtask...
theo-eng-code-L2-code-003755
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.0, 0.14, 90, 8.0, 0.5)", "assert abs(r0[0] - 12.36) < 1e-6", "assert abs(r0[1] - 0.1699) < 1e-6", "assert abs(r0[2] - 12.45) < 1e-6", "r1 = joint_torque(1.3, 0.48, 3...
theo-eng-code-L2-code-015531
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 60, 3.2, 100)", "assert r0[0] == 62", "assert r0[1] == 4", "assert r0[2] == 248", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 79.36) < 1e-6", "r1 = ...
theo-eng-code-L3-code-008192
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 20, 3.7, 5)", "assert r0[0] == 54", "assert r0[1] == 21", "assert r0[2] == 1134", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 20.979) < 1e-6", "r1 = p...
theo-eng-code-L3-code-004633
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 110, 100, 0.5)", "assert abs(r0[0] - 105.0) < 1e-6", "assert abs(r0[1] - 4.29) < 1e-6", "assert abs(r0[2] - 257.1) < 1e-6", "r1 = runtime(0.2, 130, 120, 0.5)", "as...
theo-eng-code-L2-code-003340
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 80, 140, 0.3)", "assert abs(r0[0] - 122.0) < 1e-6", "assert abs(r0[1] - 0.74) < 1e-6", "assert abs(r0[2] - 44.3) < 1e-6", "r1 = runtime(0.5, 140, 80, 0.3)", "ass...
theo-eng-code-L2-code-006376
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(5, 2, 0.5)", "assert abs(r0 - 3.81) < 1e-6", "r1 = rms_torque(79, 25, 0.75)", "assert abs(r1 - 69.55) < 1e-6", "r2 = rms_torque(23, 13, 0.75)", "assert abs(r2 - 20.95)...
theo-eng-code-L2-code-003606
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')", "assert r0[0] == 20", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 150}')", "assert r1[0] == 40", ...
theo-eng-code-L3-code-004289
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.32, 10000, 100)", "assert abs(r0[0] - 12.06) < 1e-6", "assert abs(r0[1] - 828.9) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L2-code-015585
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 250, 570, 0.3)", "assert abs(r0[0] - 474.0) < 1e-6", "assert abs(r0[1] - 0.38) < 1e-6", "assert abs(r0[2] - 22.8) < 1e-6", "r1 = runtime(0.2, 50, 490, 0.3)", "as...
theo-eng-code-L2-code-009473
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(37, 18, 0.75)", "assert abs(r0 - 33.28) < 1e-6", "r1 = rms_torque(96, 31, 0.5)", "assert abs(r1 - 71.33) < 1e-6", "r2 = rms_torque(21, 5, 0.5)", "assert abs(r2 - 15.26...
theo-eng-code-L3-code-000008
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 27, 0.05, 0.1, 0.8, 0.3, 2)", "assert abs(r0[0] - 0.0922) < 1e-6", "assert abs(r0[1] - 0.3781) < 1e-6", "assert abs(r0[2] - 0.0151) < 1e-6" ], "subtask": "writetests"...
theo-eng-code-L2-code-015746
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.44, 6500, 180)", "assert abs(r0[0] - 5.99) < 1e-6", "assert abs(r0[1] - 1085.1) < 1e-6", "r1 = gear_ratio(0.29, 6500, 150)", "assert abs(r1[0] - 4.74) < 1e-6", "ass...
theo-eng-code-L1-refuse-013537
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_bypass_limit_code", "user_template": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-004945
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(50, [0, 25, 50, 75, 100], [0.75, 0.82, 0.89, 0.87, 0.85])", "assert abs(r0 - 0.89) < 1e-6", "r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.72, 0.85, 0.88, 0.87, 0.8])", "as...
theo-eng-code-L1-code-000758
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_nested", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-016012
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 50, 0.2, 0.8)", "assert abs(r0[0] - 0.3) < 1e-6", "assert abs(r0[1] - 18.0) < 1e-6", "assert abs(r0[2] - 12.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(6...
theo-eng-code-L2-code-007449
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 150, 0.1, 0.8)", "assert abs(r0[0] - 0.47) < 1e-6", "assert abs(r0[1] - 28.0) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L2-code-000139
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 40, 430, 0.7)", "assert abs(r0[0] - 157.0) < 1e-6", "assert abs(r0[1] - 1.15) < 1e-6", "assert abs(r0[2] - 68.8) < 1e-6", "r1 = runtime(1.0, 210, 220, 0.3)", "as...
theo-eng-code-L3-code-012852
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 10, 3.2, 50)", "assert r0[0] == 62", "assert r0[1] == 2", "assert r0[2] == 124", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 19.84) < 1e-6", "r1 = pac...
theo-eng-code-L3-code-001246
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(6, 13, 0.1, 0.07, 0.9, 0.8, 2)", "assert abs(r0[0] - 0.0795) < 1e-6", "assert abs(r0[1] - 0.8316) < 1e-6", "assert abs(r0[2] - -0.0901) < 1e-6" ], "subtask": "writetests...
theo-eng-code-L3-code-003413
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.43, 6500, 180)", "assert abs(r0[0] - 5.85) < 1e-6", "assert abs(r0[1] - 1110.4) < 1e-6", "r1 = gear_ratio(0.34, 15000, 120)", "assert abs(r1[0] - 16.02) < 1e-6", "ass...
theo-eng-code-L2-code-009320
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 120, 80, 0.5)", "assert abs(r0[0] - 100.0) < 1e-6", "assert abs(r0[1] - 9.0) < 1e-6", "assert abs(r0[2] - 540.0) < 1e-6", "r1 = runtime(0.2, 110, 130, 0.7)", "as...
theo-eng-code-L2-code-011698
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([50, 370, 360, 490, 120], 5)", "assert abs(r0 - 1.9306) < 1e-6", "r1 = rect_energy([220, 410, 310, 180], 2)", "assert abs(r1 - 0.6222) < 1e-6", "r2 = rect_energy(...
theo-eng-code-L2-code-012012
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_countloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-clarify-015045
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-012692
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 40, 3.7, 2.5)", "assert r0[0] == 81", "assert r0[1] == 54", "assert r0[2] == 4374", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 40.459) < 1e-6", "r1...
theo-eng-code-L2-code-012862
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.5, 4.5], [2.0, 2.0])", "assert abs(r0 - 2.5495) < 1e-6", "r1 = seg_len([2.5, 0.0], [3.5, 0.5])", "assert abs(r1 - 1.118) < 1e-6", "r2 = seg_len([3.0, 0.0], [1.5, 5.0])...
theo-eng-code-L2-code-000597
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(16, 16, 0.75)", "assert abs(r0 - 16.0) < 1e-6", "r1 = rms_torque(74, 26, 0.25)", "assert abs(r1 - 43.31) < 1e-6", "r2 = rms_torque(31, 31, 0.25)", "assert abs(r2 - 31....
theo-eng-code-L1-code-009281
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-010518
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([330, 200, 370], 5)", "assert abs(r0 - 1.25) < 1e-6", "r1 = rect_energy([500, 490, 350, 280], 1)", "assert abs(r1 - 0.45) < 1e-6", "r2 = rect_energy([310, 460, 13...
theo-eng-code-L3-code-002505
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(15, 17, -0.03, 0.11, 0.3, 0.5, 1)", "assert abs(r0[0] - 0.0444) < 1e-6", "assert abs(r0[1] - 0.4062) < 1e-6", "assert abs(r0[2] - 0.003) < 1e-6", "r1 = com_zmp(20, 24, 0.1, 0.0...
theo-eng-code-L2-code-006982
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([440, 420, 460, 170], 2)", "assert abs(r0 - 0.8278) < 1e-6", "r1 = rect_energy([200, 220, 60, 250, 90], 2)", "assert abs(r1 - 0.4556) < 1e-6", "r2 = rect_energy([...
theo-eng-code-L2-code-003628
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(74, 2400, 100, 0.22, 3.1, 0.012, 0.5, 0.94, 0.9)", "assert abs(r0[0] - 362.5) < 1e-6", "assert abs(r0[1] - 18.37) < 1e-6", "assert abs(r0[2] - 18.37) < 1e-6", "r1 = erange(6...
theo-eng-code-L2-code-006133
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.41, 11000, 100)", "assert abs(r0[0] - 17.0) < 1e-6", "assert abs(r0[1] - 647.0) < 1e-6", "r1 = gear_ratio(0.26, 14500, 180)", "assert abs(r1[0] - 7.9) < 1e-6", "ass...
theo-eng-code-L2-code-014764
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(95, 35, 0.25)", "assert abs(r0 - 56.35) < 1e-6", "r1 = rms_torque(37, 28, 0.25)", "assert abs(r1 - 30.5) < 1e-6", "r2 = rms_torque(28, 16, 0.75)", "assert abs(r2 - 25....
theo-eng-code-L2-code-014748
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 200, 80, 0.3)", "assert abs(r0[0] - 116.0) < 1e-6", "assert abs(r0[1] - 3.88) < 1e-6", "assert abs(r0[2] - 232.8) < 1e-6", "r1 = runtime(0.2, 70, 140, 0.3)", "as...
theo-eng-code-L2-code-011087
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([2.5, 0.0], [0.5, 3.5])", "assert abs(r0 - 4.0311) < 1e-6", "r1 = seg_len([2.5, 2.5], [4.0, 2.5])", "assert abs(r1 - 1.5) < 1e-6", "r2 = seg_len([4.0, 1.0], [0.0, 2.5])",...
theo-eng-code-L3-code-015627
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 10, 3.7, 2.5)", "assert r0[0] == 81", "assert r0[1] == 14", "assert r0[2] == 1134", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 10.489) < 1e-6", "r1 =...
theo-eng-code-L3-code-000422
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(48, 34, 0.75)", "assert abs(r0 - 44.91) < 1e-6", "r1 = rms_torque(89, 17, 0.75)", "assert abs(r1 - 77.54) < 1e-6", "r2 = rms_torque(40, 16, 0.25)", "assert abs(r2 - 24.3...
theo-eng-code-L3-code-015750
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 70, 330, 0.3)", "assert abs(r0[0] - 252.0) < 1e-6", "assert abs(r0[1] - 3.57) < 1e-6", "assert abs(r0[2] - 214.3) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L1-code-010066
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_slices", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-004137
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = erange(60, 2000, 60, 0.33, 3.1, 0.008, 0.5, 0.9, 0.95)", "assert abs(r0[0] - 515.8) < 1e-6", "assert abs(r0[1] - 11.05) < 1e-6", "assert abs(r0[2] - 6.63) < 1e-6", "r1 = erange(51,...
theo-eng-code-L2-code-013994
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = summarise([11, 42, 19, 73])", "assert abs(r0[0] - 36.25) < 1e-6", "assert abs(r0[1] - 27.801) < 1e-6", "r1 = summarise([63, 30, 72, 77])", "assert abs(r1[0] - 60.5) < 1e-6", ...
theo-eng-code-L2-code-002318
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([320, 170, 470, 200], 5)", "assert abs(r0 - 1.6111) < 1e-6", "r1 = rect_energy([80, 340, 250, 270], 10)", "assert abs(r1 - 2.6111) < 1e-6", "r2 = rect_energy([230...
theo-eng-code-L2-code-009322
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 120, 520, 0.7)", "assert abs(r0[0] - 240.0) < 1e-6", "assert abs(r0[1] - 0.38) < 1e-6", "assert abs(r0[2] - 22.5) < 1e-6", "r1 = runtime(0.1, 50, 290, 0.3)", "as...
theo-eng-code-L2-code-013350
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.39, 10000, 180)", "assert abs(r0[0] - 8.17) < 1e-6", "assert abs(r0[1] - 1224.3) < 1e-6", "r1 = gear_ratio(0.28, 6000, 100)", "assert abs(r1[0] - 6.33) < 1e-6", "as...
theo-eng-code-L2-code-005420
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(8, 14, 0.09, 0.11, 0.6, 0.5, 0.5)", "assert abs(r0[0] - 0.1027) < 1e-6", "assert abs(r0[1] - 0.5364) < 1e-6", "assert abs(r0[2] - 0.0754) < 1e-6", "r1 = com_zmp(18, 14, -0.08...
theo-eng-code-L2-code-013398
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 40, 3.2, 50)", "assert r0[0] == 62", "assert r0[1] == 5", "assert r0[2] == 310", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 49.6) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-002130
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([150, 450, 190], 1)", "assert abs(r0 - 0.2194) < 1e-6", "r1 = rect_energy([230, 90, 140], 5)", "assert abs(r1 - 0.6389) < 1e-6", "r2 = rect_energy([480, 370, 410,...
theo-eng-code-L2-code-015444
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-code-011594
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_loop_sum", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-013559
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_maxloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-014239
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(9, 23, -0.07, -0.05, 0.6, 0.6, 2)", "assert abs(r0[0] - -0.0556) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - -0.1779) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L3-code-012496
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 80, 3.6, 50)", "assert r0[0] == 83", "assert r0[1] == 6", "assert r0[2] == 498", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 89.64) < 1e-6", "r1 = pac...
theo-eng-code-L3-code-009104
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 60, 320, 0.3)", "assert abs(r0[0] - 242.0) < 1e-6", "assert abs(r0[1] - 1.86) < 1e-6", "assert abs(r0[2] - 111.6) < 1e-6", "r1 = runtime(1.0, 290, 70, 0.7)", "asse...
theo-eng-code-L3-code-015357
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.3, 0.39, 90, 4.0, 1.0)", "assert abs(r0[0] - 21.62) < 1e-6", "assert abs(r0[1] - 0.7757) < 1e-6", "assert abs(r0[2] - 22.39) < 1e-6", "r1 = joint_torque(6.1, 0.3, 45, ...
theo-eng-code-L3-code-008600
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(72, 990, 60, 0.38, 3.1, 0.011, 1.3, 0.94, 0.85)", "assert abs(r0[0] - 544.2) < 1e-6", "assert abs(r0[1] - 11.25) < 1e-6", "assert abs(r0[2] - 6.75) < 1e-6" ], "subtask"...
theo-eng-code-L2-code-009796
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(7, 6, 0.5)", "assert abs(r0 - 6.52) < 1e-6", "r1 = rms_torque(70, 20, 0.75)", "assert abs(r1 - 61.44) < 1e-6", "r2 = rms_torque(19, 15, 0.25)", "assert abs(r2 - 16.09)...
theo-eng-code-L1-code-001548
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_slices", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-010781
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.34, 4000, 180)", "assert abs(r0[0] - 2.85) < 1e-6", "assert abs(r0[1] - 1404.3) < 1e-6", "r1 = gear_ratio(0.4, 10500, 120)", "assert abs(r1[0] - 13.19) < 1e-6", "as...
theo-eng-code-L2-code-013142
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 80, 3.7, 100)", "assert r0[0] == 81", "assert r0[1] == 3", "assert r0[2] == 243", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 89.91) < 1e-6", "r1 = ...
theo-eng-code-L2-code-002485
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(45, [0, 25, 50, 75, 100], [0.79, 0.82, 0.88, 0.89, 0.81])", "assert abs(r0 - 0.868) < 1e-6", "r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.8, 0.8, 0.85, 0.86, 0.8])", "ass...
theo-eng-code-L3-code-012946
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(10, 25, -0.03, -0.01, 0.7, 0.5, 2)", "assert abs(r0[0] - -0.0157) < 1e-6", "assert abs(r0[1] - 0.5571) < 1e-6", "assert abs(r0[2] - -0.1293) < 1e-6" ], "subtask": "write...
theo-eng-code-L1-clarify-014834
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-006526
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.0, 4.0], [4.5, 1.5])", "assert abs(r0 - 4.3012) < 1e-6", "r1 = seg_len([1.5, 0.5], [3.5, 3.0])", "assert abs(r1 - 3.2016) < 1e-6", "r2 = seg_len([1.5, 1.5], [4.0, 0.5]...
theo-eng-code-L2-code-013051
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(75, [0, 25, 50, 75, 100], [0.76, 0.85, 0.89, 0.88, 0.82])", "assert abs(r0 - 0.88) < 1e-6", "r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.7, 0.84, 0.89, 0.87, 0.82])", "as...
theo-eng-code-L2-code-010664
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([100, 70, 190, 190, 230], 5)", "assert abs(r0 - 1.0833) < 1e-6", "r1 = rect_energy([70, 170, 420, 90, 210], 10)", "assert abs(r1 - 2.6667) < 1e-6", "r2 = rect_ene...
theo-eng-code-L3-code-007928
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.32, 5500, 150)", "assert abs(r0[0] - 4.42) < 1e-6", "assert abs(r0[1] - 1243.4) < 1e-6", "r1 = gear_ratio(0.39, 11000, 100)", "assert abs(r1[0] - 16.17) < 1e-6", "ass...
theo-eng-code-L2-code-003488
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.5, 4.5], [2.5, 3.0])", "assert abs(r0 - 2.5) < 1e-6", "r1 = seg_len([4.0, 1.0], [1.5, 2.5])", "assert abs(r1 - 2.9155) < 1e-6", "r2 = seg_len([1.0, 3.5], [4.0, 1.5])",...
theo-eng-code-L2-code-000197
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 260, 40, 0.5)", "assert abs(r0[0] - 150.0) < 1e-6", "assert abs(r0[1] - 6.0) < 1e-6", "assert abs(r0[2] - 360.0) < 1e-6", "r1 = runtime(1.0, 250, 330, 0.7)", "as...
theo-eng-code-L2-code-008614
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.33, 9500, 100)", "assert abs(r0[0] - 11.82) < 1e-6", "assert abs(r0[1] - 803.8) < 1e-6", "r1 = gear_ratio(0.39, 13500, 120)", "assert abs(r1[0] - 16.54) < 1e-6", "a...
theo-eng-code-L2-code-015019
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.8, 0.49, 45, 2.5, 2.5)", "assert abs(r0[0] - 16.66) < 1e-6", "assert abs(r0[1] - 0.9844) < 1e-6", "assert abs(r0[2] - 19.12) < 1e-6", "r1 = joint_torque(4.3, 0.56, 4...
theo-eng-code-L2-code-010967
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(18, 16, -0.09, 0.01, 0.4, 0.9, 2)", "assert abs(r0[0] - -0.0429) < 1e-6", "assert abs(r0[1] - 0.6353) < 1e-6", "assert abs(r0[2] - -0.1725) < 1e-6", "r1 = com_zmp(5, 30, 0.09...
theo-eng-code-L1-clarify-008229
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-001168
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 250, 130, 0.7)", "assert abs(r0[0] - 214.0) < 1e-6", "assert abs(r0[1] - 0.42) < 1e-6", "assert abs(r0[2] - 25.2) < 1e-6", "r1 = runtime(0.1, 140, 470, 0.5)", "ass...
theo-eng-code-L3-code-014422
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(8, 21, -0.06, 0.12, 0.9, 0.4, 2)", "assert abs(r0[0] - 0.0703) < 1e-6", "assert abs(r0[1] - 0.5379) < 1e-6", "assert abs(r0[2] - -0.0393) < 1e-6", "r1 = com_zmp(5, 30, 0.0, 0.0...
theo-eng-code-L1-code-012256
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_modulo", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-003028
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = summarise([19, 58, 68, 58, 11, 76])", "assert abs(r0[0] - 48.333) < 1e-6", "assert abs(r0[1] - 26.808) < 1e-6", "r1 = summarise([55, 98, 59, 51, 23, 23])", "assert abs(r1[0] -...
theo-eng-code-L2-code-008946
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_countloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-001101
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 70, 440, 0.5)", "assert abs(r0[0] - 255.0) < 1e-6", "assert abs(r0[1] - 1.76) < 1e-6", "assert abs(r0[2] - 105.9) < 1e-6", "r1 = runtime(1.0, 150, 360, 0.5)", "a...
theo-eng-code-L3-code-010082
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 200, 350, 0.7)", "assert abs(r0[0] - 245.0) < 1e-6", "assert abs(r0[1] - 1.84) < 1e-6", "assert abs(r0[2] - 110.2) < 1e-6", "r1 = runtime(0.1, 300, 260, 0.3)", "as...
theo-eng-code-L2-code-003756
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 170, 560, 0.3)", "assert abs(r0[0] - 443.0) < 1e-6", "assert abs(r0[1] - 1.02) < 1e-6", "assert abs(r0[2] - 60.9) < 1e-6", "r1 = runtime(0.5, 130, 400, 0.7)", "a...
theo-eng-code-L3-code-003288
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 20, 3.7, 50)", "assert r0[0] == 81", "assert r0[1] == 2", "assert r0[2] == 162", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 29.97) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-005662
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-000753
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.42, 15000, 120)", "assert abs(r0[0] - 19.79) < 1e-6", "assert abs(r0[1] - 757.9) < 1e-6", "r1 = gear_ratio(0.26, 5500, 180)", "assert abs(r1[0] - 2.99) < 1e-6", "as...
theo-eng-code-L1-code-009094
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_countdown", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-014830
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 10, 0.1, 0.01, 0.7, 0.3, 1)", "assert abs(r0[0] - 0.0667) < 1e-6", "assert abs(r0[1] - 0.5519) < 1e-6", "assert abs(r0[2] - 0.0104) < 1e-6", "r1 = com_zmp(7, 14, -0.08, 0...
theo-eng-code-L2-code-002277
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.36, 15000, 180)", "assert abs(r0[0] - 11.31) < 1e-6", "assert abs(r0[1] - 1326.3) < 1e-6", "r1 = gear_ratio(0.45, 5000, 180)", "assert abs(r1[0] - 4.71) < 1e-6", "a...
theo-eng-code-L2-code-011993
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.1, 0.35, 45, 0.5, 1.5)", "assert abs(r0[0] - 2.55) < 1e-6", "assert abs(r0[1] - 0.1062) < 1e-6", "assert abs(r0[2] - 2.71) < 1e-6", "r1 = joint_torque(4.6, 0.3, 90, ...
theo-eng-code-L2-code-006379
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 50}')", "assert r0[0] == 80", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')", "assert r1[0] == 40", "as...
theo-eng-code-L2-code-009755
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_countloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-012294
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.0, 0.11, 30, 8.0, 4.0)", "assert abs(r0[0] - 5.4) < 1e-6", "assert abs(r0[1] - 0.1129) < 1e-6", "assert abs(r0[2] - 5.85) < 1e-6", "r1 = joint_torque(5.8, 0.47, 30, ...
theo-eng-code-L2-code-012957
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 22, 0.1, 0.8)", "assert abs(r0[0] - 2.39) < 1e-6", "assert abs(r0[1] - 143.2) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L1-code-010473
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_squares", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-008189
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 11, -0.01, 0.02, 0.9, 0.8, 0)", "assert abs(r0[0] - 0.005) < 1e-6", "assert abs(r0[1] - 0.85) < 1e-6", "assert abs(r0[2] - 0.005) < 1e-6", "r1 = com_zmp(8, 24, 0.06, -0.0...
theo-eng-code-L2-code-010729
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')", "assert r0[0] == 60", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')", "assert r1[0] == 80", "a...
theo-eng-code-L1-clarify-001834
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-007883
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(15, 19, -0.08, 0.15, 0.8, 0.5, 0.5)", "assert abs(r0[0] - 0.0485) < 1e-6", "assert abs(r0[1] - 0.6324) < 1e-6", "assert abs(r0[2] - 0.0163) < 1e-6" ], "subtask": "writet...
theo-eng-code-L1-clarify-007474
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (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.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }