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-L2-code-007877
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_sumloop", "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-L2-code-012714
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": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 50, 0.1, 0.8)", "assert abs(r0[0] - 1.75) < 1e-6", "assert abs(r0[1] - 105.0) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_t...
theo-eng-code-L2-code-015126
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": "3", "style": "code", "source": "template", "tests": [ "r0 = seg_len([5.0, 3.5], [1.0, 2.5])", "assert abs(r0 - 4.1231) < 1e-6", "r1 = seg_len([1.0, 2.5], [2.5, 4.5])", "assert abs(r1 - 2.5) < 1e-6", "r2 = seg_len([2.0, 2.5], [3.5, 3.0])",...
theo-eng-code-L2-code-001632
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, 200, 470, 0.5)", "assert abs(r0[0] - 335.0) < 1e-6", "assert abs(r0[1] - 0.54) < 1e-6", "assert abs(r0[2] - 32.2) < 1e-6", "r1 = runtime(0.2, 270, 190, 0.7)", "a...
theo-eng-code-L2-code-005079
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": "5", "style": "code", "source": "template", "tests": [ "r0 = summarise([33, 20, 51, 54])", "assert abs(r0[0] - 39.5) < 1e-6", "assert abs(r0[1] - 15.969) < 1e-6", "r1 = summarise([39, 63, 54, 24])", "assert r1[0] == 45", "assert abs...
theo-eng-code-L2-code-001182
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(23, 13, 0.25)", "assert abs(r0 - 16.09) < 1e-6", "r1 = rms_torque(40, 28, 0.25)", "assert abs(r1 - 31.43) < 1e-6", "r2 = rms_torque(19, 18, 0.75)", "assert abs(r2 - 18...
theo-eng-code-L2-code-003959
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": "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-004885
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([220, 490, 340], 10)", "assert abs(r0 - 2.9167) < 1e-6", "r1 = rect_energy([220, 100, 190, 120, 50], 10)", "assert abs(r1 - 1.8889) < 1e-6", "r2 = rect_energy([46...
theo-eng-code-L3-code-014841
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, 20, 3.6, 100)", "assert r0[0] == 83", "assert r0[1] == 1", "assert r0[2] == 83", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 29.88) < 1e-6", "r1 = pac...
theo-eng-code-L3-code-014436
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": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(9, 7, 0.75)", "assert abs(r0 - 8.54) < 1e-6", "r1 = rms_torque(79, 7, 0.5)", "assert abs(r1 - 56.08) < 1e-6", "r2 = rms_torque(26, 7, 0.5)", "assert abs(r2 - 19.04) < 1e...
theo-eng-code-L3-code-001087
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(9, 16, 0.1, -0.05, 0.5, 0.7, 0)", "assert abs(r0[0] - 0.004) < 1e-6", "assert abs(r0[1] - 0.628) < 1e-6", "assert abs(r0[2] - 0.004) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L2-code-015690
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(400, 60, 3.2, 100)", "assert r0[0] == 125", "assert r0[1] == 2", "assert r0[2] == 250", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1 = ...
theo-eng-code-L2-code-012290
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.3, 14000, 180)", "assert abs(r0[0] - 8.8) < 1e-6", "assert abs(r0[1] - 1591.5) < 1e-6", "r1 = gear_ratio(0.45, 4000, 120)", "assert abs(r1[0] - 5.65) < 1e-6", "asse...
theo-eng-code-L2-code-010528
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\": 60, \"max_kw\": 250}')", "assert r0[0] == 60", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')", "assert r1[0] == 60", ...
theo-eng-code-L2-code-013593
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": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 13, 0.0, 0.15, 0.5, 0.7, 0)", "assert abs(r0[0] - 0.0591) < 1e-6", "assert abs(r0[1] - 0.5788) < 1e-6", "assert abs(r0[2] - 0.0591) < 1e-6", "r1 = com_zmp(7, 26, -0.03, -...
theo-eng-code-L3-code-008827
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_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 10, 3.7, 50)", "assert r0[0] == 54", "assert r0[1] == 2", "assert r0[2] == 108", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 19.98) < 1e-6" ], ...
theo-eng-code-L2-code-015363
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\": 60, \"max_kw\": 100}')", "assert r0[0] == 60", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')", "assert r1[0] == 20", ...
theo-eng-code-L1-code-011996
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_power", "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-L1-code-008678
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_dictget", "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-005858
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(20, 11, 0.1, 1.0)", "assert abs(r0[0] - 2.05) < 1e-6", "assert abs(r0[1] - 122.7) < 1e-6", "assert abs(r0[2] - 18.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L3-code-001741
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(1.0, 200, 340, 0.7)", "assert abs(r0[0] - 242.0) < 1e-6", "assert abs(r0[1] - 3.72) < 1e-6", "assert abs(r0[2] - 223.1) < 1e-6", "r1 = runtime(1.0, 130, 420, 0.7)", "as...
theo-eng-code-L3-code-006059
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(9, 26, 0.06, 0.12, 0.8, 0.5, 1)", "assert abs(r0[0] - 0.1046) < 1e-6", "assert abs(r0[1] - 0.5771) < 1e-6", "assert abs(r0[2] - 0.0457) < 1e-6" ], "subtask": "writetests...
theo-eng-code-L3-code-003170
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": "5", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.7, 0.47, 90, 5.5, 3.5)", "assert abs(r0[0] - 36.19) < 1e-6", "assert abs(r0[1] - 1.561) < 1e-6", "assert abs(r0[2] - 41.66) < 1e-6", "r1 = joint_torque(1.3, 0.35, 30, ...
theo-eng-code-L2-code-002360
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(5.9, 0.22, 45, 7.0, 1.0)", "assert abs(r0[0] - 15.18) < 1e-6", "assert abs(r0[1] - 0.434) < 1e-6", "assert abs(r0[2] - 15.62) < 1e-6", "r1 = joint_torque(3.5, 0.2, 45,...
theo-eng-code-L3-code-006948
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(1.0, 300, 210, 0.5)", "assert abs(r0[0] - 255.0) < 1e-6", "assert abs(r0[1] - 3.53) < 1e-6", "assert abs(r0[2] - 211.8) < 1e-6", "r1 = runtime(0.2, 270, 350, 0.3)", "as...
theo-eng-code-L2-code-003135
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_evenloop", "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-005186
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_cond", "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-L1-refuse-010558
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_kill_audit", "user_template": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-007171
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.1, 120, 390, 0.3)", "assert abs(r0[0] - 309.0) < 1e-6", "assert abs(r0[1] - 0.29) < 1e-6", "assert abs(r0[2] - 17.5) < 1e-6", "r1 = runtime(0.2, 80, 460, 0.3)", "as...
theo-eng-code-L3-code-004130
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.1, 150, 280, 0.3)", "assert abs(r0[0] - 241.0) < 1e-6", "assert abs(r0[1] - 0.37) < 1e-6", "assert abs(r0[2] - 22.4) < 1e-6", "r1 = runtime(1.0, 180, 430, 0.7)", "ass...
theo-eng-code-L3-code-003987
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": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.8, 0.53, 30, 4.5, 4.0)", "assert abs(r0[0] - 20.54) < 1e-6", "assert abs(r0[1] - 1.9008) < 1e-6", "assert abs(r0[2] - 28.14) < 1e-6", "r1 = joint_torque(2.5, 0.11, 90,...
theo-eng-code-L2-code-014538
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": "3", "style": "code", "source": "template", "tests": [ "r0 = seg_len([3.5, 0.0], [3.5, 2.0])", "assert abs(r0 - 2.0) < 1e-6", "r1 = seg_len([4.0, 3.5], [0.0, 0.0])", "assert abs(r1 - 5.3151) < 1e-6", "r2 = seg_len([3.5, 4.0], [3.5, 4.0])",...
theo-eng-code-L2-code-007106
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": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(15, 22, -0.01, 0.03, 0.7, 0.5, 2)", "assert abs(r0[0] - 0.0138) < 1e-6", "assert abs(r0[1] - 0.5811) < 1e-6", "assert abs(r0[2] - -0.1047) < 1e-6", "r1 = com_zmp(18, 22, -0.0...
theo-eng-code-L2-code-010468
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(5, 4, 0.5)", "assert abs(r0 - 4.53) < 1e-6", "r1 = rms_torque(5, 3, 0.75)", "assert abs(r1 - 4.58) < 1e-6", "r2 = rms_torque(55, 2, 0.5)", "assert abs(r2 - 38.92) < 1e...
theo-eng-code-L2-code-002207
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": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(7, 21, 0.0, 0.02, 0.9, 0.8, 0)", "assert abs(r0[0] - 0.015) < 1e-6", "assert abs(r0[1] - 0.825) < 1e-6", "assert abs(r0[2] - 0.015) < 1e-6", "r1 = com_zmp(5, 13, -0.1, 0.03, ...
theo-eng-code-L2-code-012325
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([310, 70, 60], 10)", "assert abs(r0 - 1.2222) < 1e-6", "r1 = rect_energy([440, 220, 500, 220, 170], 10)", "assert abs(r1 - 4.3056) < 1e-6", "r2 = rect_energy([480...
theo-eng-code-L2-code-004843
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_evenloop", "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-004070
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": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.2, 0.13, 60, 1.0, 2.0)", "assert abs(r0[0] - 2.87) < 1e-6", "assert abs(r0[1] - 0.0349) < 1e-6", "assert abs(r0[2] - 2.94) < 1e-6", "r1 = joint_torque(6.9, 0.59, 90, 1...
theo-eng-code-L3-code-012348
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_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(16, 3, 0.25)", "assert abs(r0 - 8.41) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L2-code-006206
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(1.0, 220, 410, 0.3)", "assert abs(r0[0] - 353.0) < 1e-6", "assert abs(r0[1] - 2.55) < 1e-6", "assert abs(r0[2] - 153.0) < 1e-6", "r1 = runtime(1.0, 260, 540, 0.5)", "...
theo-eng-code-L3-code-001060
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": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.5, 0.2, 60, 7.5, 2.5)", "assert abs(r0[0] - 18.27) < 1e-6", "assert abs(r0[1] - 0.3867) < 1e-6", "assert abs(r0[2] - 19.23) < 1e-6", "r1 = joint_torque(0.9, 0.55, 60, ...
theo-eng-code-L3-code-009398
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_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(98, 9, 0.75)", "assert abs(r0 - 84.99) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L3-code-015616
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(14, 20, -0.06, 0.15, 0.7, 0.6, 2)", "assert abs(r0[0] - 0.0635) < 1e-6", "assert abs(r0[1] - 0.6412) < 1e-6", "assert abs(r0[2] - -0.0672) < 1e-6" ], "subtask": "writete...
theo-eng-code-L1-code-011692
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_strmul", "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-001299
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([290, 110, 500], 5)", "assert abs(r0 - 1.25) < 1e-6", "r1 = rect_energy([450, 390, 200, 60, 50], 5)", "assert abs(r1 - 1.5972) < 1e-6", "r2 = rect_energy([90, 170...
theo-eng-code-L2-code-002171
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": "7", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 80, 3.6, 50)", "assert r0[0] == 139", "assert r0[1] == 4", "assert r0[2] == 556", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 100.08) < 1e-6", "r1 =...
theo-eng-code-L2-code-001934
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(18, 13, 0.1, 0.07, 0.5, 0.8, 0)", "assert abs(r0[0] - 0.0874) < 1e-6", "assert abs(r0[1] - 0.6258) < 1e-6", "assert abs(r0[2] - 0.0874) < 1e-6", "r1 = com_zmp(12, 11, 0.04, 0...
theo-eng-code-L2-code-004837
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": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 19, 0.1, 0.14, 0.9, 0.9, 0.5)", "assert abs(r0[0] - 0.1317) < 1e-6", "assert abs(r0[1] - 0.9) < 1e-6", "assert abs(r0[2] - 0.0858) < 1e-6", "r1 = com_zmp(16, 19, 0.0, 0.03...
theo-eng-code-L3-code-011012
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.1, 290, 360, 0.7)", "assert abs(r0[0] - 311.0) < 1e-6", "assert abs(r0[1] - 0.29) < 1e-6", "assert abs(r0[2] - 17.4) < 1e-6", "r1 = runtime(0.2, 210, 180, 0.3)", "ass...
theo-eng-code-L3-code-000213
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": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 7, 0.2, 0.9)", "assert abs(r0[0] - 5.0) < 1e-6", "assert abs(r0[1] - 300.0) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(10...
theo-eng-code-L2-code-006061
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(2.0, 0.55, 60, 1.5, 4.0)", "assert abs(r0[0] - 11.68) < 1e-6", "assert abs(r0[1] - 0.6554) < 1e-6", "assert abs(r0[2] - 14.3) < 1e-6", "r1 = joint_torque(6.9, 0.1, 30,...
theo-eng-code-L2-code-005898
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(35, [0, 25, 50, 75, 100], [0.8, 0.81, 0.89, 0.87, 0.84])", "assert abs(r0 - 0.842) < 1e-6", "r1 = interp_eff(25, [0, 25, 50, 75, 100], [0.72, 0.82, 0.87, 0.89, 0.83])", "a...
theo-eng-code-L2-code-003743
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": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.39, 15000, 100)", "assert abs(r0[0] - 22.05) < 1e-6", "assert abs(r0[1] - 680.1) < 1e-6", "r1 = gear_ratio(0.38, 13500, 150)", "assert abs(r1[0] - 12.89) < 1e-6", "...
theo-eng-code-L2-code-011877
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": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 11, 0.1, 1.0)", "assert abs(r0[0] - 4.09) < 1e-6", "assert abs(r0[1] - 245.5) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L3-code-010983
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": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 10, 3.7, 2.5)", "assert r0[0] == 108", "assert r0[1] == 11", "assert r0[2] == 1188", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 10.989) < 1e-6", "r1 ...
theo-eng-code-L2-code-010537
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": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 50, 0.2, 0.9)", "assert abs(r0[0] - 0.35) < 1e-6", "assert abs(r0[1] - 21.0) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_tim...
theo-eng-code-L2-code-003483
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": "7", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 50, 0.1, 0.8)", "assert abs(r0[0] - 0.35) < 1e-6", "assert abs(r0[1] - 21.0) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_tim...
theo-eng-code-L2-code-015294
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, 7500, 180)", "assert abs(r0[0] - 6.13) < 1e-6", "assert abs(r0[1] - 1224.3) < 1e-6", "r1 = gear_ratio(0.32, 11500, 120)", "assert abs(r1[0] - 11.56) < 1e-6", "a...
theo-eng-code-L3-code-013413
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": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.33, 8000, 180)", "assert abs(r0[0] - 5.53) < 1e-6", "assert abs(r0[1] - 1446.9) < 1e-6", "r1 = gear_ratio(0.28, 12000, 150)", "assert abs(r1[0] - 8.44) < 1e-6", "asse...
theo-eng-code-L3-code-015418
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": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.32, 7000, 100)", "assert abs(r0[0] - 8.44) < 1e-6", "assert abs(r0[1] - 828.9) < 1e-6", "r1 = gear_ratio(0.4, 8000, 180)", "assert abs(r1[0] - 6.7) < 1e-6", "assert a...
theo-eng-code-L1-code-015906
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": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-007849
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": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 250, 500, 0.7)", "assert abs(r0[0] - 325.0) < 1e-6", "assert abs(r0[1] - 1.38) < 1e-6", "assert abs(r0[2] - 83.1) < 1e-6", "r1 = runtime(0.1, 180, 40, 0.3)", "as...
theo-eng-code-L3-code-002898
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_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(83, 18, 0.5)", "assert abs(r0 - 60.05) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-001010
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": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.32, 14000, 100)", "assert abs(r0[0] - 16.89) < 1e-6", "assert abs(r0[1] - 828.9) < 1e-6", "r1 = gear_ratio(0.27, 12000, 100)", "assert abs(r1[0] - 12.21) < 1e-6", "...
theo-eng-code-L3-code-001925
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": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.38, 5500, 150)", "assert abs(r0[0] - 5.25) < 1e-6", "assert abs(r0[1] - 1047.1) < 1e-6", "r1 = gear_ratio(0.34, 5500, 120)", "assert abs(r1[0] - 5.87) < 1e-6", "asser...
theo-eng-code-L2-code-006443
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": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(79, 2650, 80, 0.37, 2.5, 0.011, 0.3, 0.94, 0.9)", "assert abs(r0[0] - 416.0) < 1e-6", "assert abs(r0[1] - 17.09) < 1e-6", "assert abs(r0[2] - 13.67) < 1e-6", "r1 = erange(58...
theo-eng-code-L2-code-006134
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(75, [0, 25, 50, 75, 100], [0.79, 0.8, 0.86, 0.86, 0.84])", "assert abs(r0 - 0.86) < 1e-6", "r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.79, 0.82, 0.89, 0.89, 0.85])", "as...
theo-eng-code-L2-code-013906
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(66, 970, 120, 0.22, 2.9, 0.011, 0.7, 0.88, 0.95)", "assert abs(r0[0] - 356.4) < 1e-6", "assert abs(r0[1] - 17.59) < 1e-6", "assert abs(r0[2] - 21.11) < 1e-6", "r1 = erange(3...
theo-eng-code-L3-code-001711
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_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.6, 0.57, 45, 6.0, 3.5)", "assert abs(r0[0] - 38.75) < 1e-6", "assert abs(r0[1] - 2.7725) < 1e-6", "assert abs(r0[2] - 48.45) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L2-code-003244
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": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 22, 0.2, 0.8)", "assert abs(r0[0] - 1.36) < 1e-6", "assert abs(r0[1] - 81.8) < 1e-6", "assert abs(r0[2] - 24.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L3-code-007241
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": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 150, 0.2, 1.0)", "assert abs(r0[0] - 0.67) < 1e-6", "assert abs(r0[1] - 40.0) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L3-code-003314
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_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(99, 2440, 120, 0.25, 1.9, 0.008, 0.8, 0.9, 0.9)", "assert abs(r0[0] - 538.2) < 1e-6", "assert abs(r0[1] - 16.55) < 1e-6", "assert abs(r0[2] - 19.87) < 1e-6", "r1 = erange(52, ...
theo-eng-code-L2-code-006721
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\": 80, \"max_kw\": 50}')", "assert r0[0] == 80", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 150}')", "assert r1[0] == 40", "a...
theo-eng-code-L2-code-002040
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.35, 5500, 100)", "assert abs(r0[0] - 7.26) < 1e-6", "assert abs(r0[1] - 757.9) < 1e-6", "r1 = gear_ratio(0.34, 13500, 120)", "assert abs(r1[0] - 14.42) < 1e-6", "as...
theo-eng-code-L3-code-003950
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_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(36, 2570, 60, 0.26, 1.9, 0.009, 1.0, 0.88, 0.95)", "assert abs(r0[0] - 297.9) < 1e-6", "assert abs(r0[1] - 11.48) < 1e-6", "assert abs(r0[2] - 6.89) < 1e-6", "r1 = erange(58, ...
theo-eng-code-L2-code-000288
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": "6", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(8, 29, 0.08, -0.03, 0.4, 0.8, 0.5)", "assert abs(r0[0] - -0.0062) < 1e-6", "assert abs(r0[1] - 0.7135) < 1e-6", "assert abs(r0[2] - -0.0426) < 1e-6", "r1 = com_zmp(18, 28, -0...
theo-eng-code-L3-code-007010
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": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(36, 13, 0.75)", "assert abs(r0 - 31.85) < 1e-6", "r1 = rms_torque(96, 7, 0.25)", "assert abs(r1 - 48.38) < 1e-6", "r2 = rms_torque(41, 35, 0.5)", "assert abs(r2 - 38.12)...
theo-eng-code-L1-code-009601
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_cond", "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-004676
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": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(13, 10, 0.06, 0.05, 0.4, 0.5, 0)", "assert abs(r0[0] - 0.0557) < 1e-6", "assert abs(r0[1] - 0.4435) < 1e-6", "assert abs(r0[2] - 0.0557) < 1e-6", "r1 = com_zmp(7, 22, -0.1, 0...
theo-eng-code-L3-code-001823
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(22, 21, 0.5)", "assert abs(r0 - 21.51) < 1e-6", "r1 = rms_torque(81, 11, 0.5)", "assert abs(r1 - 57.8) < 1e-6", "r2 = rms_torque(17, 6, 0.75)", "assert abs(r2 - 15.02) <...
theo-eng-code-L1-clarify-009879
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-code-001592
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_average", "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-000656
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(400, 40, 3.7, 5)", "assert r0[0] == 108", "assert r0[1] == 21", "assert r0[2] == 2268", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 41.958) < 1e-6", "r1 ...
theo-eng-code-L2-code-006786
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(12, 22, 0.04, -0.03, 0.9, 0.5, 1)", "assert abs(r0[0] - -0.0053) < 1e-6", "assert abs(r0[1] - 0.6412) < 1e-6", "assert abs(r0[2] - -0.0707) < 1e-6", "r1 = com_zmp(10, 20, 0.0...
theo-eng-code-L2-code-014165
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(27, 23, 0.25)", "assert abs(r0 - 24.06) < 1e-6", "r1 = rms_torque(22, 10, 0.5)", "assert abs(r1 - 17.09) < 1e-6", "r2 = rms_torque(86, 27, 0.25)", "assert abs(r2 - 48....
theo-eng-code-L2-code-006345
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.35, 6500, 120)", "assert abs(r0[0] - 7.15) < 1e-6", "assert abs(r0[1] - 909.5) < 1e-6", "r1 = gear_ratio(0.39, 12000, 180)", "assert abs(r1[0] - 9.8) < 1e-6", "asse...
theo-eng-code-L2-code-000674
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([430, 250, 300, 460], 10)", "assert abs(r0 - 4.0) < 1e-6", "r1 = rect_energy([410, 340, 420], 2)", "assert abs(r1 - 0.65) < 1e-6", "r2 = rect_energy([230, 170, 90...
theo-eng-code-L3-code-014283
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": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 150, 0.2, 1.0)", "assert abs(r0[0] - 0.4) < 1e-6", "assert abs(r0[1] - 24.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_time...
theo-eng-code-L3-code-009426
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.3, 5000, 150)", "assert abs(r0[0] - 3.77) < 1e-6", "assert abs(r0[1] - 1326.3) < 1e-6", "r1 = gear_ratio(0.43, 9500, 120)", "assert abs(r1[0] - 12.83) < 1e-6", "asser...
theo-eng-code-L3-code-007830
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": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(39, 2380, 120, 0.28, 2.2, 0.011, 1.2, 0.94, 0.85)", "assert abs(r0[0] - 158.0) < 1e-6", "assert abs(r0[1] - 20.98) < 1e-6", "assert abs(r0[2] - 25.17) < 1e-6" ], "subta...
theo-eng-code-L2-code-015101
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.8, 0.51, 45, 7.5, 0.0)", "assert abs(r0[0] - 29.72) < 1e-6", "assert abs(r0[1] - 2.1068) < 1e-6", "assert abs(r0[2] - 29.72) < 1e-6", "r1 = joint_torque(0.5, 0.51, 3...
theo-eng-code-L3-code-013987
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": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(12, 27, 0.01, -0.03, 0.9, 0.6, 0)", "assert abs(r0[0] - -0.0177) < 1e-6", "assert abs(r0[1] - 0.6923) < 1e-6", "assert abs(r0[2] - -0.0177) < 1e-6" ], "subtask": "writet...
theo-eng-code-L2-code-001143
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.2, 110, 240, 0.3)", "assert abs(r0[0] - 201.0) < 1e-6", "assert abs(r0[1] - 0.9) < 1e-6", "assert abs(r0[2] - 53.7) < 1e-6", "r1 = runtime(0.1, 40, 30, 0.7)", "asse...
theo-eng-code-L2-code-000217
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([450, 350, 380, 500], 10)", "assert abs(r0 - 4.6667) < 1e-6", "r1 = rect_energy([480, 190, 390, 180, 470], 5)", "assert abs(r1 - 2.375) < 1e-6", "r2 = rect_energy...
theo-eng-code-L2-code-015269
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": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 50, 0.2, 0.9)", "assert abs(r0[0] - 1.05) < 1e-6", "assert abs(r0[1] - 63.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_tim...
theo-eng-code-L2-code-000421
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": "6", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(19, 28, 0.1, -0.01, 0.6, 0.5, 0)", "assert abs(r0[0] - 0.0345) < 1e-6", "assert abs(r0[1] - 0.5404) < 1e-6", "assert abs(r0[2] - 0.0345) < 1e-6", "r1 = com_zmp(11, 30, -0.04,...
theo-eng-code-L1-clarify-000641
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-L2-code-011935
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": "5", "style": "code", "source": "template", "tests": [ "r0 = seg_len([2.0, 4.0], [2.5, 3.0])", "assert abs(r0 - 1.118) < 1e-6", "r1 = seg_len([2.5, 3.0], [5.0, 3.5])", "assert abs(r1 - 2.5495) < 1e-6", "r2 = seg_len([0.0, 0.0], [1.0, 0.0])...
theo-eng-code-L1-code-003826
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": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-000304
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": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 50, 0.2, 0.8)", "assert abs(r0[0] - 1.5) < 1e-6", "assert abs(r0[1] - 90.0) < 1e-6", "assert abs(r0[2] - 60.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_tim...