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-010790
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": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(60, 1540, 100, 0.22, 2.1, 0.012, 0.4, 0.9, 0.95)", "assert abs(r0[0] - 447.6) < 1e-6", "assert abs(r0[1] - 12.73) < 1e-6", "assert abs(r0[2] - 12.73) < 1e-6", "r1 = erange(1...
theo-eng-code-L2-code-011888
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, 12500, 150)", "assert abs(r0[0] - 10.37) < 1e-6", "assert abs(r0[1] - 1205.7) < 1e-6", "r1 = gear_ratio(0.29, 5500, 100)", "assert abs(r1[0] - 6.01) < 1e-6", "a...
theo-eng-code-L2-code-005710
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": "2", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.2, 0.59, 90, 0.0, 1.5)", "assert abs(r0[0] - 9.26) < 1e-6", "assert abs(r0[1] - 0.3713) < 1e-6", "assert abs(r0[2] - 9.82) < 1e-6", "r1 = joint_torque(3.7, 0.28, 45,...
theo-eng-code-L2-code-014144
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([4.0, 4.5], [5.0, 4.0])", "assert abs(r0 - 1.118) < 1e-6", "r1 = seg_len([0.0, 0.0], [3.5, 5.0])", "assert abs(r1 - 6.1033) < 1e-6", "r2 = seg_len([5.0, 1.0], [1.5, 1.0])...
theo-eng-code-L1-clarify-008386
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-011040
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-002216
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(800, 20, 3.2, 5)", "assert r0[0] == 250", "assert r0[1] == 5", "assert r0[2] == 1250", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 20.0) < 1e-6", "r1 = p...
theo-eng-code-L3-code-012617
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": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 10, 3.6, 10)", "assert r0[0] == 222", "assert r0[1] == 2", "assert r0[2] == 444", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 15.984) < 1e-6" ], ...
theo-eng-code-L2-code-015129
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": "0", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.0, 1.5], [5.0, 2.0])", "assert abs(r0 - 4.0311) < 1e-6", "r1 = seg_len([3.0, 1.0], [0.5, 4.0])", "assert abs(r1 - 3.9051) < 1e-6", "r2 = seg_len([0.5, 3.5], [0.0, 4.5]...
theo-eng-code-L3-code-013845
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": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 80, 3.7, 100)", "assert r0[0] == 108", "assert r0[1] == 3", "assert r0[2] == 324", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 119.88) < 1e-6" ],...
theo-eng-code-L3-code-005356
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": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(74, 34, 0.75)", "assert abs(r0 - 66.3) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L3-code-013672
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(56, 7, 0.5)", "assert abs(r0 - 39.91) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L2-code-003623
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": "2", "style": "code", "source": "template", "tests": [ "r0 = summarise([45, 14, 69, 34, 99])", "assert abs(r0[0] - 52.2) < 1e-6", "assert abs(r0[1] - 32.844) < 1e-6", "r1 = summarise([87, 72, 66, 21, 49, 29])", "assert r1[0] == 54", ...
theo-eng-code-L3-code-001300
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": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.31, 8500, 150)", "assert abs(r0[0] - 6.62) < 1e-6", "assert abs(r0[1] - 1283.5) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-013224
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.4, 13000, 120)", "assert abs(r0[0] - 16.34) < 1e-6", "assert abs(r0[1] - 795.8) < 1e-6", "r1 = gear_ratio(0.3, 10500, 180)", "assert abs(r1[0] - 6.6) < 1e-6", "asse...
theo-eng-code-L2-code-013251
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(12, 16, -0.06, 0.08, 0.3, 0.9, 1)", "assert abs(r0[0] - 0.02) < 1e-6", "assert abs(r0[1] - 0.6429) < 1e-6", "assert abs(r0[2] - -0.0455) < 1e-6", "r1 = com_zmp(20, 22, -0.06,...
theo-eng-code-L2-code-011824
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": "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-004834
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\": 40, \"max_kw\": 100}')", "assert r0[0] == 40", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')", "assert r1[0] == 80", ...
theo-eng-code-L2-code-004463
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": "4", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(80, [0, 25, 50, 75, 100], [0.78, 0.81, 0.88, 0.87, 0.82])", "assert abs(r0 - 0.86) < 1e-6", "r1 = interp_eff(25, [0, 25, 50, 75, 100], [0.76, 0.83, 0.88, 0.86, 0.81])", "a...
theo-eng-code-L2-code-014948
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(19, 30, 0.01, 0.07, 0.6, 0.5, 0)", "assert abs(r0[0] - 0.0467) < 1e-6", "assert abs(r0[1] - 0.5388) < 1e-6", "assert abs(r0[2] - 0.0467) < 1e-6", "r1 = com_zmp(10, 13, 0.05, ...
theo-eng-code-L2-code-001487
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, 5, 0.25)", "assert abs(r0 - 9.1) < 1e-6", "r1 = rms_torque(40, 32, 0.75)", "assert abs(r1 - 38.16) < 1e-6", "r2 = rms_torque(77, 11, 0.75)", "assert abs(r2 - 66.91...
theo-eng-code-L2-code-006810
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": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.6, 0.29, 45, 7.5, 3.5)", "assert abs(r0[0] - 17.7) < 1e-6", "assert abs(r0[1] - 0.7036) < 1e-6", "assert abs(r0[2] - 20.17) < 1e-6", "r1 = joint_torque(2.8, 0.19, 60...
theo-eng-code-L2-code-009384
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(80, 150, 0.2, 0.8)", "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_ti...
theo-eng-code-L2-code-015276
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": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 80, 3.7, 100)", "assert r0[0] == 108", "assert r0[1] == 3", "assert r0[2] == 324", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 119.88) < 1e-6", "r1 ...
theo-eng-code-L3-code-014387
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(80, 7, 0.2, 0.9)", "assert abs(r0[0] - 10.0) < 1e-6", "assert abs(r0[1] - 600.0) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(4...
theo-eng-code-L2-code-007238
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(9, 28, -0.1, -0.02, 0.4, 0.5, 2)", "assert abs(r0[0] - -0.0395) < 1e-6", "assert abs(r0[1] - 0.4757) < 1e-6", "assert abs(r0[2] - -0.1364) < 1e-6", "r1 = com_zmp(6, 27, -0.08...
theo-eng-code-L2-code-008482
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_minloop", "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-010382
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": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 80, 3.6, 2.5)", "assert r0[0] == 222", "assert r0[1] == 41", "assert r0[2] == 9102", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 81.918) < 1e-6", "r...
theo-eng-code-L2-code-015057
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": "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-007866
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(12, 15, -0.09, -0.02, 0.8, 0.6, 0.5)", "assert abs(r0[0] - -0.0511) < 1e-6", "assert abs(r0[1] - 0.6889) < 1e-6", "assert abs(r0[2] - -0.0862) < 1e-6", "r1 = com_zmp(16, 20, ...
theo-eng-code-L2-code-012005
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": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(99, 1500, 100, 0.33, 2.4, 0.008, 1.0, 0.92, 0.85)", "assert abs(r0[0] - 530.7) < 1e-6", "assert abs(r0[1] - 15.86) < 1e-6", "assert abs(r0[2] - 15.86) < 1e-6", "r1 = erange(...
theo-eng-code-L1-clarify-007776
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-011363
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(80, 22, 0.1, 0.8)", "assert abs(r0[0] - 3.18) < 1e-6", "assert abs(r0[1] - 190.9) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L2-code-005021
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(300, 80, 3.2, 2.5)", "assert r0[0] == 94", "assert r0[1] == 107", "assert r0[2] == 10058", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 80.464) < 1e-6", "...
theo-eng-code-L2-code-004400
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": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(58, 11, 0.75)", "assert abs(r0 - 50.53) < 1e-6", "r1 = rms_torque(7, 4, 0.25)", "assert abs(r1 - 4.92) < 1e-6", "r2 = rms_torque(87, 34, 0.75)", "assert abs(r2 - 77.24...
theo-eng-code-L3-code-003572
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(86, 40, 0.75)", "assert abs(r0 - 77.12) < 1e-6", "r1 = rms_torque(94, 20, 0.25)", "assert abs(r1 - 50.09) < 1e-6", "r2 = rms_torque(76, 12, 0.5)", "assert abs(r2 - 54.41...
theo-eng-code-L3-code-013172
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": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(7, 17, -0.04, 0.0, 0.6, 0.7, 0)", "assert abs(r0[0] - -0.0117) < 1e-6", "assert abs(r0[1] - 0.6708) < 1e-6", "assert abs(r0[2] - -0.0117) < 1e-6", "r1 = com_zmp(13, 21, 0.03, 0...
theo-eng-code-L3-code-009984
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": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 22, -0.09, 0.11, 0.6, 0.8, 1)", "assert abs(r0[0] - 0.0258) < 1e-6", "assert abs(r0[1] - 0.7158) < 1e-6", "assert abs(r0[2] - -0.0472) < 1e-6", "r1 = com_zmp(17, 22, 0.1, 0...
theo-eng-code-L3-code-013149
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": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(59, 2160, 120, 0.28, 2.7, 0.012, 0.4, 0.88, 0.9)", "assert abs(r0[0] - 215.9) < 1e-6", "assert abs(r0[1] - 24.6) < 1e-6", "assert abs(r0[2] - 29.52) < 1e-6", "r1 = erange(96, ...
theo-eng-code-L2-code-000511
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([370, 240, 90], 1)", "assert abs(r0 - 0.1944) < 1e-6", "r1 = rect_energy([310, 310, 220, 390], 1)", "assert abs(r1 - 0.3417) < 1e-6", "r2 = rect_energy([250, 390,...
theo-eng-code-L3-code-007871
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": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 80, 3.7, 100)", "assert r0[0] == 108", "assert r0[1] == 3", "assert r0[2] == 324", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 119.88) < 1e-6", "r1 = ...
theo-eng-code-L2-code-002494
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": "2", "style": "code", "source": "template", "tests": [ "r0 = summarise([86, 98, 59, 11])", "assert abs(r0[0] - 63.5) < 1e-6", "assert abs(r0[1] - 38.613) < 1e-6", "r1 = summarise([49, 74, 67, 40])", "assert abs(r1[0] - 57.5) < 1e-6", ...
theo-eng-code-L3-code-004822
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": "1", "style": "code", "source": "template", "tests": [ "r0 = erange(34, 1960, 120, 0.36, 2.1, 0.007, 1.0, 0.92, 0.85)", "assert abs(r0[0] - 141.4) < 1e-6", "assert abs(r0[1] - 20.43) < 1e-6", "assert abs(r0[2] - 24.52) < 1e-6", "r1 = erange(98...
theo-eng-code-L2-code-013798
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.37, 10500, 100)", "assert abs(r0[0] - 14.65) < 1e-6", "assert abs(r0[1] - 716.9) < 1e-6", "r1 = gear_ratio(0.3, 7000, 180)", "assert abs(r1[0] - 4.4) < 1e-6", "asse...
theo-eng-code-L2-code-009552
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([0.5, 2.0], [2.5, 3.5])", "assert abs(r0 - 2.5) < 1e-6", "r1 = seg_len([4.5, 3.5], [1.5, 5.0])", "assert abs(r1 - 3.3541) < 1e-6", "r2 = seg_len([1.0, 5.0], [3.0, 4.0])",...
theo-eng-code-L2-code-008109
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": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(61, 37, 0.75)", "assert abs(r0 - 55.97) < 1e-6", "r1 = rms_torque(61, 8, 0.75)", "assert abs(r1 - 52.98) < 1e-6", "r2 = rms_torque(47, 9, 0.5)", "assert abs(r2 - 33.84...
theo-eng-code-L2-code-000400
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(60, 11, 0.2, 0.8)", "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-L2-code-015216
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.32, 9000, 150)", "assert abs(r0[0] - 7.24) < 1e-6", "assert abs(r0[1] - 1243.4) < 1e-6", "r1 = gear_ratio(0.38, 12500, 150)", "assert abs(r1[0] - 11.94) < 1e-6", "a...
theo-eng-code-L3-code-014296
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(500, 40, 3.7, 50)", "assert r0[0] == 135", "assert r0[1] == 2", "assert r0[2] == 270", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 49.95) < 1e-6" ], ...
theo-eng-code-L3-code-000312
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(500, 80, 3.2, 50)", "assert r0[0] == 156", "assert r0[1] == 4", "assert r0[2] == 624", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 99.84) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-013483
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": "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-L1-code-012101
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_filter", "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-L3-code-005494
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": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(9, 13, 0.09, -0.03, 0.9, 0.5, 0.5)", "assert abs(r0[0] - 0.0191) < 1e-6", "assert abs(r0[1] - 0.6636) < 1e-6", "assert abs(r0[2] - -0.0147) < 1e-6", "r1 = com_zmp(19, 24, 0.06,...
theo-eng-code-L2-code-006879
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, 23, -0.02, 0.13, 0.3, 0.8, 1)", "assert abs(r0[0] - 0.0663) < 1e-6", "assert abs(r0[1] - 0.5875) < 1e-6", "assert abs(r0[2] - 0.0064) < 1e-6", "r1 = com_zmp(9, 27, -0.01,...
theo-eng-code-L2-code-002634
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([22, 39, 74, 71])", "assert abs(r0[0] - 51.5) < 1e-6", "assert abs(r0[1] - 25.252) < 1e-6", "r1 = summarise([85, 99, 96, 67])", "assert abs(r1[0] - 86.75) < 1e-6", ...
theo-eng-code-L1-clarify-007117
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-L1-code-009097
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": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-008586
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(300, 10, 3.2, 10)", "assert r0[0] == 94", "assert r0[1] == 4", "assert r0[2] == 376", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 12.032) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-001713
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.39, 9000, 180)", "assert abs(r0[0] - 7.35) < 1e-6", "assert abs(r0[1] - 1224.3) < 1e-6", "r1 = gear_ratio(0.33, 6500, 180)", "assert abs(r1[0] - 4.49) < 1e-6", "ass...
theo-eng-code-L3-code-003371
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": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.7, 0.17, 90, 0.0, 4.0)", "assert abs(r0[0] - 6.42) < 1e-6", "assert abs(r0[1] - 0.0742) < 1e-6", "assert abs(r0[2] - 6.72) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L1-clarify-000880
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-014356
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-L3-code-012599
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": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.3, 0.57, 60, 7.5, 0.5)", "assert abs(r0[0] - 46.73) < 1e-6", "assert abs(r0[1] - 2.9024) < 1e-6", "assert abs(r0[2] - 48.18) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L3-code-002875
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_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 150, 0.1, 1.0)", "assert abs(r0[0] - 0.38) < 1e-6", "assert abs(r0[1] - 22.5) < 1e-6", "assert abs(r0[2] - 18.0) < 1e-6", "assert abs(r0[3] - 60.0) < 1e-6" ...
theo-eng-code-L2-code-008039
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, 200, 440, 0.5)", "assert abs(r0[0] - 320.0) < 1e-6", "assert abs(r0[1] - 1.41) < 1e-6", "assert abs(r0[2] - 84.4) < 1e-6", "r1 = runtime(0.5, 170, 250, 0.3)", "a...
theo-eng-code-L2-code-001069
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": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 150, 200, 0.7)", "assert abs(r0[0] - 165.0) < 1e-6", "assert abs(r0[1] - 5.45) < 1e-6", "assert abs(r0[2] - 327.3) < 1e-6", "r1 = runtime(0.1, 130, 80, 0.7)", "a...
theo-eng-code-L2-code-002942
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.25, 4500, 180)", "assert abs(r0[0] - 2.36) < 1e-6", "assert abs(r0[1] - 1909.9) < 1e-6", "r1 = gear_ratio(0.38, 8000, 120)", "assert abs(r1[0] - 9.55) < 1e-6", "ass...
theo-eng-code-L2-code-014884
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, 1560, 80, 0.34, 3.1, 0.011, 0.9, 0.94, 0.9)", "assert abs(r0[0] - 429.1) < 1e-6", "assert abs(r0[1] - 15.52) < 1e-6", "assert abs(r0[2] - 12.42) < 1e-6", "r1 = erange(59...
theo-eng-code-L3-code-004278
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(2.0, 0.5, 45, 1.0, 4.0)", "assert abs(r0[0] - 6.94) < 1e-6", "assert abs(r0[1] - 0.4167) < 1e-6", "assert abs(r0[2] - 8.6) < 1e-6", "r1 = joint_torque(6.8, 0.4, 60, 2.0,...
theo-eng-code-L1-code-007061
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_filter", "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-L3-code-010514
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": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(38, 36, 0.5)", "assert abs(r0 - 37.01) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L1-refuse-009826
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-000918
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([84, 59, 58, 72])", "assert abs(r0[0] - 68.25) < 1e-6", "assert abs(r0[1] - 12.285) < 1e-6", "r1 = summarise([20, 83, 95, 22])", "assert r1[0] == 55", "assert ab...
theo-eng-code-L2-code-001919
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.5, 210, 380, 0.5)", "assert abs(r0[0] - 295.0) < 1e-6", "assert abs(r0[1] - 1.53) < 1e-6", "assert abs(r0[2] - 91.5) < 1e-6", "r1 = runtime(1.0, 40, 130, 0.7)", "as...
theo-eng-code-L2-code-001650
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(6.9, 0.21, 90, 2.5, 3.0)", "assert abs(r0[0] - 12.26) < 1e-6", "assert abs(r0[1] - 0.2117) < 1e-6", "assert abs(r0[2] - 12.89) < 1e-6", "r1 = joint_torque(7.4, 0.17, 6...
theo-eng-code-L2-code-015268
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": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(54, 1550, 120, 0.36, 2.4, 0.01, 1.2, 0.92, 0.95)", "assert abs(r0[0] - 219.8) < 1e-6", "assert abs(r0[1] - 23.34) < 1e-6", "assert abs(r0[2] - 28.01) < 1e-6", "r1 = erange(5...
theo-eng-code-L3-code-006401
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(800, 40, 3.6, 50)", "assert r0[0] == 222", "assert r0[1] == 2", "assert r0[2] == 444", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6" ], ...
theo-eng-code-L3-code-012236
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(20, 11, -0.03, 0.13, 0.5, 0.6, 0)", "assert abs(r0[0] - 0.0268) < 1e-6", "assert abs(r0[1] - 0.5355) < 1e-6", "assert abs(r0[2] - 0.0268) < 1e-6", "r1 = com_zmp(11, 21, -0.07, ...
theo-eng-code-L1-clarify-013703
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": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-009525
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(15, 11, 0.06, 0.0, 0.8, 0.9, 2)", "assert abs(r0[0] - 0.0346) < 1e-6", "assert abs(r0[1] - 0.8423) < 1e-6", "assert abs(r0[2] - -0.1371) < 1e-6", "r1 = com_zmp(8, 12, -0.01, ...
theo-eng-code-L2-code-015765
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(400, 40, 3.7, 2.5)", "assert r0[0] == 108", "assert r0[1] == 41", "assert r0[2] == 4428", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 40.959) < 1e-6", "r...
theo-eng-code-L3-code-015281
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": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(40, 950, 80, 0.3, 3.1, 0.011, 1.5, 0.88, 0.95)", "assert abs(r0[0] - 271.6) < 1e-6", "assert abs(r0[1] - 13.99) < 1e-6", "assert abs(r0[2] - 11.19) < 1e-6", "r1 = erange(61, 1...
theo-eng-code-L2-code-004520
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": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(29, 1350, 80, 0.31, 2.6, 0.011, 0.5, 0.88, 0.95)", "assert abs(r0[0] - 213.3) < 1e-6", "assert abs(r0[1] - 12.92) < 1e-6", "assert abs(r0[2] - 10.34) < 1e-6", "r1 = erange(5...
theo-eng-code-L2-code-000901
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, 170, 90, 0.3)", "assert abs(r0[0] - 114.0) < 1e-6", "assert abs(r0[1] - 3.95) < 1e-6", "assert abs(r0[2] - 236.8) < 1e-6", "r1 = runtime(0.2, 80, 240, 0.3)", "as...
theo-eng-code-L1-clarify-001803
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": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-007433
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(35, [0, 25, 50, 75, 100], [0.79, 0.82, 0.85, 0.87, 0.82])", "assert abs(r0 - 0.832) < 1e-6", "r1 = interp_eff(45, [0, 25, 50, 75, 100], [0.74, 0.84, 0.87, 0.85, 0.83])", "...
theo-eng-code-L3-code-014794
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_charge", "user_template": "0", "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" ], "subtas...
theo-eng-code-L2-code-006240
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": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.43, 4000, 120)", "assert abs(r0[0] - 5.4) < 1e-6", "assert abs(r0[1] - 740.3) < 1e-6", "r1 = gear_ratio(0.35, 12500, 180)", "assert abs(r1[0] - 9.16) < 1e-6", "asse...
theo-eng-code-L3-code-003886
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": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 150, 0.1, 0.9)", "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-L2-code-014676
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(80, 22, 0.2, 0.9)", "assert abs(r0[0] - 3.18) < 1e-6", "assert abs(r0[1] - 190.9) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L2-code-015278
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(20, 26, -0.05, 0.13, 0.7, 0.8, 0)", "assert abs(r0[0] - 0.0517) < 1e-6", "assert abs(r0[1] - 0.7565) < 1e-6", "assert abs(r0[2] - 0.0517) < 1e-6", "r1 = com_zmp(6, 16, -0.04,...
theo-eng-code-L2-code-011911
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([160, 270, 300, 60], 10)", "assert abs(r0 - 2.1944) < 1e-6", "r1 = rect_energy([490, 100, 120, 350, 130], 2)", "assert abs(r1 - 0.6611) < 1e-6", "r2 = rect_energy...
theo-eng-code-L3-code-006974
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": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 260, 510, 0.7)", "assert abs(r0[0] - 335.0) < 1e-6", "assert abs(r0[1] - 2.69) < 1e-6", "assert abs(r0[2] - 161.2) < 1e-6" ], "subtask": "writetests", "verifi...
theo-eng-code-L2-code-000727
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(1.0, 180, 120, 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(0.5, 270, 240, 0.5)", "a...
theo-eng-code-L2-code-003832
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([360, 360, 410, 150], 1)", "assert abs(r0 - 0.3556) < 1e-6", "r1 = rect_energy([120, 70, 170, 160, 440], 2)", "assert abs(r1 - 0.5333) < 1e-6", "r2 = rect_energy(...
theo-eng-code-L2-code-015630
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": "2", "style": "code", "source": "template", "tests": [ "r0 = summarise([48, 92, 34, 61, 56])", "assert abs(r0[0] - 58.2) < 1e-6", "assert abs(r0[1] - 21.476) < 1e-6", "r1 = summarise([37, 65, 26, 90, 69])", "assert abs(r1[0] - 57.4) < 1...
theo-eng-code-L3-code-007146
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.4, 12000, 100)", "assert abs(r0[0] - 18.1) < 1e-6", "assert abs(r0[1] - 663.1) < 1e-6", "r1 = gear_ratio(0.44, 9500, 100)", "assert abs(r1[0] - 15.76) < 1e-6", "asser...
theo-eng-code-L2-code-006292
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": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 60, 3.7, 100)", "assert r0[0] == 135", "assert r0[1] == 2", "assert r0[2] == 270", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 99.9) < 1e-6", "r1 = ...
theo-eng-code-L3-code-002058
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(81, 1660, 120, 0.33, 3.1, 0.008, 1.5, 0.92, 0.85)", "assert abs(r0[0] - 262.7) < 1e-6", "assert abs(r0[1] - 26.2) < 1e-6", "assert abs(r0[2] - 31.45) < 1e-6" ], "subtas...
theo-eng-code-L3-code-010344
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(6, 14, 0.02, -0.04, 0.6, 0.4, 2)", "assert abs(r0[0] - -0.022) < 1e-6", "assert abs(r0[1] - 0.46) < 1e-6", "assert abs(r0[2] - -0.1158) < 1e-6" ], "subtask": "writetests...