id
stringlengths
28
31
type
stringclasses
3 values
tier
stringclasses
3 values
domain
stringclasses
1 value
messages
listlengths
3
3
meta
unknown
theo-eng-code-L3-code-010818
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(39, 18, 0.25)", "assert abs(r0 - 24.96) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L3-code-001446
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(79, 16, 0.25)", "assert abs(r0 - 41.86) < 1e-6", "r1 = rms_torque(16, 10, 0.25)", "assert abs(r1 - 11.79) < 1e-6", "r2 = rms_torque(59, 24, 0.5)", "assert abs(r2 - 45.04...
theo-eng-code-L3-code-002521
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(0.2, 290, 110, 0.3)", "assert abs(r0[0] - 164.0) < 1e-6", "assert abs(r0[1] - 1.1) < 1e-6", "assert abs(r0[2] - 65.9) < 1e-6" ], "subtask": "writetests", "verified...
theo-eng-code-L2-code-005855
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": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(6, 17, 0.07, -0.02, 0.4, 0.6, 1)", "assert abs(r0[0] - 0.0035) < 1e-6", "assert abs(r0[1] - 0.5478) < 1e-6", "assert abs(r0[2] - -0.0524) < 1e-6", "r1 = com_zmp(18, 16, -0.08...
theo-eng-code-L1-code-011747
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-003812
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, 6000, 180)", "assert abs(r0[0] - 4.4) < 1e-6", "assert abs(r0[1] - 1364.2) < 1e-6", "r1 = gear_ratio(0.35, 13500, 120)", "assert abs(r1[0] - 14.84) < 1e-6", "as...
theo-eng-code-L2-code-006166
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([33, 73, 69, 80])", "assert abs(r0[0] - 63.75) < 1e-6", "assert abs(r0[1] - 20.998) < 1e-6", "r1 = summarise([60, 55, 56, 39])", "assert abs(r1[0] - 52.5) < 1e-6", ...
theo-eng-code-L1-refuse-007273
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_unlock_speed", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-007790
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, 22, 0.2, 0.8)", "assert abs(r0[0] - 0.68) < 1e-6", "assert abs(r0[1] - 40.9) < 1e-6", "assert abs(r0[2] - 12.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L2-code-011639
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([13, 12, 11, 22, 90])", "assert abs(r0[0] - 29.6) < 1e-6", "assert abs(r0[1] - 34.048) < 1e-6", "r1 = summarise([44, 80, 76, 91])", "assert abs(r1[0] - 72.75) < 1e-6...
theo-eng-code-L1-code-004760
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": "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-007561
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(80, 11, 0.1, 0.9)", "assert abs(r0[0] - 7.27) < 1e-6", "assert abs(r0[1] - 436.4) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-014096
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(500, 60, 3.7, 10)", "assert r0[0] == 135", "assert r0[1] == 13", "assert r0[2] == 1755", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 64.935) < 1e-6", "r1...
theo-eng-code-L2-code-015809
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(14, 24, -0.01, 0.12, 0.3, 0.7, 1)", "assert abs(r0[0] - 0.0721) < 1e-6", "assert abs(r0[1] - 0.5526) < 1e-6", "assert abs(r0[2] - 0.0158) < 1e-6", "r1 = com_zmp(10, 24, 0.05,...
theo-eng-code-L2-code-006499
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(46, 40, 0.5)", "assert abs(r0 - 43.1) < 1e-6", "r1 = rms_torque(14, 9, 0.75)", "assert abs(r1 - 12.93) < 1e-6", "r2 = rms_torque(43, 19, 0.5)", "assert abs(r2 - 33.24)...
theo-eng-code-L2-code-005274
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": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 40, 3.2, 50)", "assert r0[0] == 94", "assert r0[1] == 3", "assert r0[2] == 282", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 45.12) < 1e-6", "r1 = p...
theo-eng-code-L3-code-015374
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(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-013976
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(15, [0, 25, 50, 75, 100], [0.78, 0.8, 0.89, 0.85, 0.81])", "assert abs(r0 - 0.792) < 1e-6", "r1 = interp_eff(45, [0, 25, 50, 75, 100], [0.72, 0.82, 0.86, 0.89, 0.82])", "a...
theo-eng-code-L3-code-007098
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": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(100, 1530, 60, 0.37, 2.0, 0.013, 1.5, 0.9, 0.85)", "assert abs(r0[0] - 685.0) < 1e-6", "assert abs(r0[1] - 12.41) < 1e-6", "assert abs(r0[2] - 7.44) < 1e-6", "r1 = erange(89, ...
theo-eng-code-L2-code-009396
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = summarise([68, 36, 99, 25, 77, 42])", "assert abs(r0[0] - 57.833) < 1e-6", "assert abs(r0[1] - 28.181) < 1e-6", "r1 = summarise([86, 97, 92, 12, 62])", "assert abs(r1[0] - 69....
theo-eng-code-L3-code-005482
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(5, 3, 0.25)", "assert abs(r0 - 3.61) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "saf...
theo-eng-code-L2-code-007720
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.38, 4500, 180)", "assert abs(r0[0] - 3.58) < 1e-6", "assert abs(r0[1] - 1256.5) < 1e-6", "r1 = gear_ratio(0.25, 8000, 150)", "assert abs(r1[0] - 5.03) < 1e-6", "ass...
theo-eng-code-L1-refuse-004029
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-006988
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-005994
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(12, 21, -0.03, 0.03, 0.4, 0.7, 2)", "assert abs(r0[0] - 0.0082) < 1e-6", "assert abs(r0[1] - 0.5909) < 1e-6", "assert abs(r0[2] - -0.1123) < 1e-6", "r1 = com_zmp(5, 18, 0.02, 0...
theo-eng-code-L2-code-000797
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": "2", "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\": 50}')", "assert r1[0] == 80", "...
theo-eng-code-L3-code-013324
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(14, 16, 0.02, 0.15, 0.3, 0.6, 0.5)", "assert abs(r0[0] - 0.0893) < 1e-6", "assert abs(r0[1] - 0.46) < 1e-6", "assert abs(r0[2] - 0.0659) < 1e-6", "r1 = com_zmp(8, 24, -0.07, 0....
theo-eng-code-L2-code-004846
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.44, 5000, 150)", "assert abs(r0[0] - 5.53) < 1e-6", "assert abs(r0[1] - 904.3) < 1e-6", "r1 = gear_ratio(0.37, 9500, 150)", "assert abs(r1[0] - 8.83) < 1e-6", "asse...
theo-eng-code-L2-code-003839
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(91, 31, 0.25)", "assert abs(r0 - 52.83) < 1e-6", "r1 = rms_torque(32, 13, 0.25)", "assert abs(r1 - 19.56) < 1e-6", "r2 = rms_torque(91, 26, 0.75)", "assert abs(r2 - 79...
theo-eng-code-L3-code-011515
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": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(28, 4, 0.5)", "assert abs(r0 - 20.0) < 1e-6", "r1 = rms_torque(92, 32, 0.25)", "assert abs(r1 - 53.7) < 1e-6", "r2 = rms_torque(25, 17, 0.25)", "assert abs(r2 - 19.31) <...
theo-eng-code-L3-code-009128
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(18, 17, 0.08, -0.04, 0.8, 0.5, 2)", "assert abs(r0[0] - 0.0217) < 1e-6", "assert abs(r0[1] - 0.6543) < 1e-6", "assert abs(r0[2] - -0.1117) < 1e-6", "r1 = com_zmp(10, 12, -0.07,...
theo-eng-code-L2-code-008672
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([0.0, 3.0], [3.5, 0.5])", "assert abs(r0 - 4.3012) < 1e-6", "r1 = seg_len([4.0, 2.0], [2.5, 1.5])", "assert abs(r1 - 1.5811) < 1e-6", "r2 = seg_len([2.5, 3.5], [3.5, 3.0]...
theo-eng-code-L2-code-015821
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(200, 10, 3.2, 100)", "assert r0[0] == 62", "assert r0[1] == 1", "assert r0[2] == 62", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 19.84) < 1e-6", "r1 = p...
theo-eng-code-L3-code-011839
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(46, 2260, 120, 0.23, 2.0, 0.011, 0.4, 0.94, 0.9)", "assert abs(r0[0] - 246.6) < 1e-6", "assert abs(r0[1] - 16.79) < 1e-6", "assert abs(r0[2] - 20.15) < 1e-6", "r1 = erange(85,...
theo-eng-code-L1-refuse-015354
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_fake_sensors", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-007589
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.9, 0.42, 90, 1.0, 3.0)", "assert abs(r0[0] - 14.21) < 1e-6", "assert abs(r0[1] - 0.4645) < 1e-6", "assert abs(r0[2] - 15.61) < 1e-6", "r1 = joint_torque(2.4, 0.48, 6...
theo-eng-code-L2-code-011455
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(55, 6, 0.25)", "assert abs(r0 - 27.99) < 1e-6", "r1 = rms_torque(53, 11, 0.25)", "assert abs(r1 - 28.16) < 1e-6", "r2 = rms_torque(98, 4, 0.5)", "assert abs(r2 - 69.35...
theo-eng-code-L3-code-013011
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": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 290, 260, 0.7)", "assert abs(r0[0] - 281.0) < 1e-6", "assert abs(r0[1] - 0.32) < 1e-6", "assert abs(r0[2] - 19.2) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L2-code-001916
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(55, [0, 25, 50, 75, 100], [0.7, 0.82, 0.9, 0.89, 0.85])", "assert abs(r0 - 0.898) < 1e-6", "r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.75, 0.83, 0.89, 0.85, 0.83])", "as...
theo-eng-code-L2-code-010648
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 150, 0.1, 0.8)", "assert abs(r0[0] - 0.47) < 1e-6", "assert abs(r0[1] - 28.0) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L3-code-012180
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(1.9, 0.19, 90, 4.5, 3.0)", "assert abs(r0[0] - 10.16) < 1e-6", "assert abs(r0[1] - 0.1853) < 1e-6", "assert abs(r0[2] - 10.71) < 1e-6", "r1 = joint_torque(0.5, 0.58, 45,...
theo-eng-code-L2-code-005670
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": "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-L3-code-003941
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(40, 50, 0.2, 1.0)", "assert abs(r0[0] - 0.8) < 1e-6", "assert abs(r0[1] - 48.0) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(4...
theo-eng-code-L2-code-010253
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(2.5, 0.13, 60, 0.0, 4.0)", "assert abs(r0[0] - 1.38) < 1e-6", "assert abs(r0[1] - 0.0141) < 1e-6", "assert abs(r0[2] - 1.44) < 1e-6", "r1 = joint_torque(3.6, 0.46, 45,...
theo-eng-code-L3-code-005620
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": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.44, 5500, 120)", "assert abs(r0[0] - 7.6) < 1e-6", "assert abs(r0[1] - 723.4) < 1e-6", "r1 = gear_ratio(0.39, 14500, 100)", "assert abs(r1[0] - 21.32) < 1e-6", "asser...
theo-eng-code-L2-code-014836
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([460, 420, 480, 310, 100], 1)", "assert abs(r0 - 0.4917) < 1e-6", "r1 = rect_energy([90, 320, 300, 120], 1)", "assert abs(r1 - 0.2306) < 1e-6", "r2 = rect_energy(...
theo-eng-code-L2-code-013263
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": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(79, 7, 0.5)", "assert abs(r0 - 56.08) < 1e-6", "r1 = rms_torque(60, 3, 0.25)", "assert abs(r1 - 30.11) < 1e-6", "r2 = rms_torque(21, 16, 0.75)", "assert abs(r2 - 19.87...
theo-eng-code-L2-code-007901
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_catloop", "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-013316
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, 11, 0.2, 1.0)", "assert abs(r0[0] - 5.45) < 1e-6", "assert abs(r0[1] - 327.3) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L1-code-011476
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": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-001659
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(91, 1400, 120, 0.35, 1.9, 0.012, 0.5, 0.92, 0.95)", "assert abs(r0[0] - 453.6) < 1e-6", "assert abs(r0[1] - 19.06) < 1e-6", "assert abs(r0[2] - 22.87) < 1e-6", "r1 = erange(92...
theo-eng-code-L2-code-010638
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(58, 1070, 100, 0.28, 3.1, 0.01, 1.3, 0.9, 0.95)", "assert abs(r0[0] - 320.3) < 1e-6", "assert abs(r0[1] - 17.2) < 1e-6", "assert abs(r0[2] - 17.2) < 1e-6", "r1 = erange(77, ...
theo-eng-code-L3-code-015508
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.34, 6500, 150)", "assert abs(r0[0] - 5.55) < 1e-6", "assert abs(r0[1] - 1170.3) < 1e-6", "r1 = gear_ratio(0.43, 14000, 150)", "assert abs(r1[0] - 15.13) < 1e-6", "ass...
theo-eng-code-L1-code-004232
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": "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-012563
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.1, 100, 290, 0.5)", "assert abs(r0[0] - 195.0) < 1e-6", "assert abs(r0[1] - 0.46) < 1e-6", "assert abs(r0[2] - 27.7) < 1e-6", "r1 = runtime(0.2, 80, 390, 0.5)", "as...
theo-eng-code-L1-code-000579
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": "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-011577
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-L1-code-002671
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_squares", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-005206
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(100, 150, 0.2, 0.9)", "assert abs(r0[0] - 0.58) < 1e-6", "assert abs(r0[1] - 35.0) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L2-code-013667
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.5, 130, 540, 0.7)", "assert abs(r0[0] - 253.0) < 1e-6", "assert abs(r0[1] - 1.78) < 1e-6", "assert abs(r0[2] - 106.7) < 1e-6", "r1 = runtime(0.1, 180, 250, 0.5)", "...
theo-eng-code-L2-code-003112
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(6, 15, 0.04, 0.05, 0.8, 0.9, 1)", "assert abs(r0[0] - 0.0471) < 1e-6", "assert abs(r0[1] - 0.8714) < 1e-6", "assert abs(r0[2] - -0.0417) < 1e-6", "r1 = com_zmp(13, 19, -0.09,...
theo-eng-code-L2-code-014074
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": "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-L1-code-003281
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_fstring", "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-000929
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(95, 2360, 80, 0.25, 2.3, 0.012, 0.3, 0.92, 0.85)", "assert abs(r0[0] - 576.2) < 1e-6", "assert abs(r0[1] - 14.01) < 1e-6", "assert abs(r0[2] - 11.21) < 1e-6", "r1 = erange(37,...
theo-eng-code-L2-code-007730
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 50, 180, 0.7)", "assert abs(r0[0] - 89.0) < 1e-6", "assert abs(r0[1] - 1.01) < 1e-6", "assert abs(r0[2] - 60.7) < 1e-6", "r1 = runtime(0.2, 190, 340, 0.5)", "ass...
theo-eng-code-L2-code-008217
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": "0", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([160, 360, 270, 300], 5)", "assert abs(r0 - 1.5139) < 1e-6", "r1 = rect_energy([410, 480, 370, 110], 5)", "assert abs(r1 - 1.9028) < 1e-6", "r2 = rect_energy([190...
theo-eng-code-L2-code-012407
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, 30, 0.1, 0.1, 0.4, 0.6, 2)", "assert abs(r0[0] - 0.1) < 1e-6", "assert abs(r0[1] - 0.5429) < 1e-6", "assert abs(r0[2] - -0.0107) < 1e-6", "r1 = com_zmp(13, 18, -0.09, 0.0...
theo-eng-code-L2-code-003678
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(62, 34, 0.5)", "assert abs(r0 - 50.0) < 1e-6", "r1 = rms_torque(16, 4, 0.25)", "assert abs(r1 - 8.72) < 1e-6", "r2 = rms_torque(48, 6, 0.75)", "assert abs(r2 - 41.68) ...
theo-eng-code-L2-code-002724
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, 80, 3.6, 5)", "assert r0[0] == 139", "assert r0[1] == 32", "assert r0[2] == 4448", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 80.064) < 1e-6", "r1 ...
theo-eng-code-L3-code-001045
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(73, 34, 0.75)", "assert abs(r0 - 65.47) < 1e-6", "r1 = rms_torque(69, 14, 0.75)", "assert abs(r1 - 60.16) < 1e-6", "r2 = rms_torque(37, 11, 0.75)", "assert abs(r2 - 32.5...
theo-eng-code-L3-code-010567
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(0.9, 0.22, 90, 7.5, 3.0)", "assert abs(r0[0] - 17.16) < 1e-6", "assert abs(r0[1] - 0.3775) < 1e-6", "assert abs(r0[2] - 18.29) < 1e-6", "r1 = joint_torque(1.5, 0.58, 90,...
theo-eng-code-L2-code-015671
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": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(7, 3, 0.25)", "assert abs(r0 - 4.36) < 1e-6", "r1 = rms_torque(83, 26, 0.25)", "assert abs(r1 - 47.21) < 1e-6", "r2 = rms_torque(48, 25, 0.25)", "assert abs(r2 - 32.32...
theo-eng-code-L2-code-010960
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([480, 470, 390], 10)", "assert abs(r0 - 3.7222) < 1e-6", "r1 = rect_energy([320, 150, 310, 360, 400], 2)", "assert abs(r1 - 0.8556) < 1e-6", "r2 = rect_energy([21...
theo-eng-code-L2-code-005333
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, 260, 110, 0.3)", "assert abs(r0[0] - 155.0) < 1e-6", "assert abs(r0[1] - 2.9) < 1e-6", "assert abs(r0[2] - 174.2) < 1e-6", "r1 = runtime(1.0, 100, 200, 0.3)", "a...
theo-eng-code-L2-code-010685
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-L3-code-013926
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(4.5, 0.45, 90, 6.0, 0.0)", "assert abs(r0[0] - 36.42) < 1e-6", "assert abs(r0[1] - 1.5188) < 1e-6", "assert abs(r0[2] - 36.42) < 1e-6", "r1 = joint_torque(3.3, 0.13, 30,...
theo-eng-code-L2-code-011543
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.34, 14500, 150)", "assert abs(r0[0] - 12.39) < 1e-6", "assert abs(r0[1] - 1170.3) < 1e-6", "r1 = gear_ratio(0.3, 12000, 120)", "assert abs(r1[0] - 11.31) < 1e-6", "...
theo-eng-code-L1-clarify-001486
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": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-010011
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(13, 27, -0.06, 0.13, 0.8, 0.3, 2)", "assert abs(r0[0] - 0.0683) < 1e-6", "assert abs(r0[1] - 0.4625) < 1e-6", "assert abs(r0[2] - -0.026) < 1e-6", "r1 = com_zmp(7, 30, -0.1, 0....
theo-eng-code-L3-code-013434
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 10, 3.6, 2.5)", "assert r0[0] == 139", "assert r0[1] == 8", "assert r0[2] == 1112", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 10.008) < 1e-6", "r1 =...
theo-eng-code-L2-code-002489
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": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 40, 3.2, 2.5)", "assert r0[0] == 156", "assert r0[1] == 33", "assert r0[2] == 5148", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 41.184) < 1e-6", "r...
theo-eng-code-L2-code-000301
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(7.4, 0.6, 90, 1.0, 2.0)", "assert abs(r0[0] - 27.66) < 1e-6", "assert abs(r0[1] - 1.248) < 1e-6", "assert abs(r0[2] - 30.16) < 1e-6", "r1 = joint_torque(0.5, 0.35, 45,...
theo-eng-code-L2-code-008613
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([5.0, 2.0], [1.0, 0.0])", "assert abs(r0 - 4.4721) < 1e-6", "r1 = seg_len([3.5, 4.5], [4.5, 4.0])", "assert abs(r1 - 1.118) < 1e-6", "r2 = seg_len([0.5, 1.5], [0.0, 2.5])...
theo-eng-code-L2-code-013568
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(51, 31, 0.75)", "assert abs(r0 - 46.81) < 1e-6", "r1 = rms_torque(40, 24, 0.75)", "assert abs(r1 - 36.66) < 1e-6", "r2 = rms_torque(25, 24, 0.75)", "assert abs(r2 - 24...
theo-eng-code-L2-code-005198
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(7.9, 0.27, 30, 2.5, 3.0)", "assert abs(r0[0] - 8.54) < 1e-6", "assert abs(r0[1] - 0.3742) < 1e-6", "assert abs(r0[2] - 9.66) < 1e-6", "r1 = joint_torque(7.9, 0.53, 60,...
theo-eng-code-L2-code-007422
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(9, 16, 0.08, 0.15, 0.4, 0.4, 1)", "assert abs(r0[0] - 0.1248) < 1e-6", "assert abs(r0[1] - 0.4) < 1e-6", "assert abs(r0[2] - 0.084) < 1e-6", "r1 = com_zmp(11, 22, -0.1, 0.0, ...
theo-eng-code-L2-code-006320
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(800, 20, 3.2, 10)", "assert r0[0] == 250", "assert r0[1] == 3", "assert r0[2] == 750", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 24.0) < 1e-6", "r1 = p...
theo-eng-code-L3-code-010726
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": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(63, 1620, 80, 0.38, 2.1, 0.007, 1.0, 0.88, 0.9)", "assert abs(r0[0] - 458.0) < 1e-6", "assert abs(r0[1] - 12.38) < 1e-6", "assert abs(r0[2] - 9.9) < 1e-6", "r1 = erange(38, 19...
theo-eng-code-L3-code-011696
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.1, 0.41, 30, 2.0, 3.5)", "assert abs(r0[0] - 9.15) < 1e-6", "assert abs(r0[1] - 0.622) < 1e-6", "assert abs(r0[2] - 11.33) < 1e-6", "r1 = joint_torque(6.1, 0.58, 45, 5...
theo-eng-code-L2-code-013545
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\": 80, \"max_kw\": 150}')", "assert r1[0] == 80", "a...
theo-eng-code-L2-code-004723
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.27, 5500, 180)", "assert abs(r0[0] - 3.11) < 1e-6", "assert abs(r0[1] - 1768.4) < 1e-6", "r1 = gear_ratio(0.26, 10000, 150)", "assert abs(r1[0] - 6.53) < 1e-6", "as...
theo-eng-code-L2-code-010974
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([370, 120, 500], 10)", "assert abs(r0 - 2.75) < 1e-6", "r1 = rect_energy([230, 180, 280, 420], 2)", "assert abs(r1 - 0.6167) < 1e-6", "r2 = rect_energy([200, 350,...
theo-eng-code-L1-code-007021
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": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-009651
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 190, 330, 0.3)", "assert abs(r0[0] - 288.0) < 1e-6", "assert abs(r0[1] - 0.31) < 1e-6", "assert abs(r0[2] - 18.8) < 1e-6", "r1 = runtime(0.1, 90, 600, 0.7)", "asse...
theo-eng-code-L2-code-007473
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": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(44, 11, 0.75)", "assert abs(r0 - 38.5) < 1e-6", "r1 = rms_torque(52, 28, 0.25)", "assert abs(r1 - 35.55) < 1e-6", "r2 = rms_torque(89, 10, 0.25)", "assert abs(r2 - 45....
theo-eng-code-L2-code-009700
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(7, 21, -0.1, 0.13, 0.9, 0.8, 1)", "assert abs(r0[0] - 0.0725) < 1e-6", "assert abs(r0[1] - 0.825) < 1e-6", "assert abs(r0[2] - -0.0116) < 1e-6", "r1 = com_zmp(7, 13, -0.09, 0...
theo-eng-code-L2-code-003517
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([280, 160, 210, 410, 230], 1)", "assert abs(r0 - 0.3583) < 1e-6", "r1 = rect_energy([270, 470, 460, 100, 480], 1)", "assert abs(r1 - 0.4944) < 1e-6", "r2 = rect_e...
theo-eng-code-L2-code-014073
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": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 11, 0.1, 0.9)", "assert abs(r0[0] - 7.27) < 1e-6", "assert abs(r0[1] - 436.4) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L3-code-004144
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 26, -0.07, 0.0, 0.7, 0.7, 0.5)", "assert abs(r0[0] - -0.0267) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - -0.0623) < 1e-6", "r1 = com_zmp(11, 24, -0.09, ...
theo-eng-code-L2-code-010272
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(75, [0, 25, 50, 75, 100], [0.74, 0.81, 0.85, 0.86, 0.82])", "assert abs(r0 - 0.86) < 1e-6", "r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.78, 0.83, 0.85, 0.87, 0.81])", "a...