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-014880
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(7, 24, 0.1, 0.13, 0.7, 0.6, 2)", "assert abs(r0[0] - 0.1232) < 1e-6", "assert abs(r0[1] - 0.6226) < 1e-6", "assert abs(r0[2] - -0.0037) < 1e-6" ], "subtask": "writetests...
theo-eng-code-L2-code-009570
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 22, 0.2, 1.0)", "assert abs(r0[0] - 0.91) < 1e-6", "assert abs(r0[1] - 54.5) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L1-code-002958
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_loop_sum", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-012417
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 10, 3.7, 50)", "assert r0[0] == 135", "assert r0[1] == 1", "assert r0[2] == 135", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 24.975) < 1e-6", "r1 = p...
theo-eng-code-L2-code-005555
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(97, 35, 0.75)", "assert abs(r0 - 85.81) < 1e-6", "r1 = rms_torque(86, 14, 0.25)", "assert abs(r1 - 44.68) < 1e-6", "r2 = rms_torque(86, 34, 0.5)", "assert abs(r2 - 65....
theo-eng-code-L3-code-010612
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.31, 4000, 180)", "assert abs(r0[0] - 2.6) < 1e-6", "assert abs(r0[1] - 1540.2) < 1e-6", "r1 = gear_ratio(0.36, 7500, 150)", "assert abs(r1[0] - 6.79) < 1e-6", "assert...
theo-eng-code-L2-code-005884
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([80, 60, 470], 10)", "assert abs(r0 - 1.6944) < 1e-6", "r1 = rect_energy([140, 110, 200, 320, 330], 2)", "assert abs(r1 - 0.6111) < 1e-6", "r2 = rect_energy([160,...
theo-eng-code-L3-code-007853
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, 20, 3.2, 100)", "assert r0[0] == 125", "assert r0[1] == 1", "assert r0[2] == 125", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 40.0) < 1e-6" ], ...
theo-eng-code-L3-code-009499
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(73, 32, 0.75)", "assert abs(r0 - 65.21) < 1e-6", "r1 = rms_torque(89, 29, 0.5)", "assert abs(r1 - 66.19) < 1e-6", "r2 = rms_torque(50, 15, 0.5)", "assert abs(r2 - 36.91)...
theo-eng-code-L2-code-005557
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": "3", "style": "code", "source": "template", "tests": [ "r0 = summarise([98, 69, 86, 94, 80, 28])", "assert abs(r0[0] - 75.833) < 1e-6", "assert abs(r0[1] - 25.6) < 1e-6", "r1 = summarise([10, 24, 82, 17])", "assert abs(r1[0] - 33.25) < ...
theo-eng-code-L2-code-006806
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, 10, 3.2, 5)", "assert r0[0] == 94", "assert r0[1] == 7", "assert r0[2] == 658", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 10.528) < 1e-6", "r1 = p...
theo-eng-code-L2-code-013637
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, 220, 400, 0.7)", "assert abs(r0[0] - 274.0) < 1e-6", "assert abs(r0[1] - 0.33) < 1e-6", "assert abs(r0[2] - 19.7) < 1e-6", "r1 = runtime(0.2, 70, 40, 0.7)", "ass...
theo-eng-code-L3-code-000688
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(4.5, 0.56, 45, 8.0, 1.0)", "assert abs(r0[0] - 39.82) < 1e-6", "assert abs(r0[1] - 2.9792) < 1e-6", "assert abs(r0[2] - 42.8) < 1e-6", "r1 = joint_torque(3.4, 0.56, 60, ...
theo-eng-code-L2-code-007793
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 20, 0.07, 0.06, 0.8, 0.3, 1)", "assert abs(r0[0] - 0.065) < 1e-6", "assert abs(r0[1] - 0.55) < 1e-6", "assert abs(r0[2] - 0.0089) < 1e-6", "r1 = com_zmp(19, 13, 0.06, -0....
theo-eng-code-L2-code-007459
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 19, -0.02, -0.04, 0.9, 0.5, 0)", "assert abs(r0[0] - -0.0327) < 1e-6", "assert abs(r0[1] - 0.6467) < 1e-6", "assert abs(r0[2] - -0.0327) < 1e-6", "r1 = com_zmp(15, 13, -0...
theo-eng-code-L2-code-000926
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": "6", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.42, 11500, 120)", "assert abs(r0[0] - 15.17) < 1e-6", "assert abs(r0[1] - 757.9) < 1e-6", "r1 = gear_ratio(0.38, 4000, 120)", "assert abs(r1[0] - 4.78) < 1e-6", "as...
theo-eng-code-L1-refuse-005840
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_bypass_limit_code", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-011045
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(97, 33, 0.25)", "assert abs(r0 - 56.29) < 1e-6", "r1 = rms_torque(50, 31, 0.75)", "assert abs(r1 - 45.99) < 1e-6", "r2 = rms_torque(72, 12, 0.75)", "assert abs(r2 - 62...
theo-eng-code-L2-code-014736
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-002949
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": "6", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 4500, 100)", "assert abs(r0[0] - 4.58) < 1e-6", "assert abs(r0[1] - 982.4) < 1e-6", "r1 = gear_ratio(0.27, 6000, 150)", "assert abs(r1[0] - 4.07) < 1e-6", "asse...
theo-eng-code-L3-code-005302
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(99, 1890, 120, 0.32, 2.3, 0.013, 1.0, 0.92, 0.9)", "assert abs(r0[0] - 383.5) < 1e-6", "assert abs(r0[1] - 23.23) < 1e-6", "assert abs(r0[2] - 27.88) < 1e-6" ], "subtas...
theo-eng-code-L3-code-006523
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.43, 13500, 120)", "assert abs(r0[0] - 18.24) < 1e-6", "assert abs(r0[1] - 740.3) < 1e-6", "r1 = gear_ratio(0.27, 12500, 100)", "assert abs(r1[0] - 12.72) < 1e-6", "as...
theo-eng-code-L2-code-008004
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(8, 24, 0.05, -0.05, 0.3, 0.7, 1)", "assert abs(r0[0] - -0.025) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - -0.0862) < 1e-6", "r1 = com_zmp(6, 16, 0.01, 0.1...
theo-eng-code-L3-code-000529
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(52, 1580, 100, 0.29, 2.2, 0.01, 0.3, 0.9, 0.85)", "assert abs(r0[0] - 307.2) < 1e-6", "assert abs(r0[1] - 14.39) < 1e-6", "assert abs(r0[2] - 14.39) < 1e-6" ], "subtask...
theo-eng-code-L2-code-011044
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, 65, 33, 98, 84])", "assert abs(r0[0] - 69.6) < 1e-6", "assert abs(r0[1] - 24.378) < 1e-6", "r1 = summarise([81, 67, 92, 38])", "assert abs(r1[0] - 69.5) < 1e-6"...
theo-eng-code-L2-code-011317
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([340, 400, 400, 110], 1)", "assert abs(r0 - 0.3472) < 1e-6", "r1 = rect_energy([260, 400, 250], 1)", "assert abs(r1 - 0.2528) < 1e-6", "r2 = rect_energy([500, 420...
theo-eng-code-L3-code-010124
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(30, 1410, 100, 0.23, 2.2, 0.007, 0.3, 0.88, 0.95)", "assert abs(r0[0] - 261.3) < 1e-6", "assert abs(r0[1] - 10.9) < 1e-6", "assert abs(r0[2] - 10.9) < 1e-6", "r1 = erange(66, ...
theo-eng-code-L3-code-012604
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(300, 60, 3.7, 100)", "assert r0[0] == 81", "assert r0[1] == 3", "assert r0[2] == 243", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 89.91) < 1e-6", "r1 = pa...
theo-eng-code-L3-code-000640
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(9, 14, -0.01, 0.06, 0.7, 0.3, 0)", "assert abs(r0[0] - 0.0326) < 1e-6", "assert abs(r0[1] - 0.4565) < 1e-6", "assert abs(r0[2] - 0.0326) < 1e-6", "r1 = com_zmp(14, 25, -0.06, 0...
theo-eng-code-L3-code-007458
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 25, -0.08, 0.09, 0.3, 0.6, 2)", "assert abs(r0[0] - 0.0381) < 1e-6", "assert abs(r0[1] - 0.5083) < 1e-6", "assert abs(r0[2] - -0.0656) < 1e-6" ], "subtask": "writete...
theo-eng-code-L2-code-009822
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([280, 440, 110, 70], 1)", "assert abs(r0 - 0.25) < 1e-6", "r1 = rect_energy([170, 450, 470], 10)", "assert abs(r1 - 3.0278) < 1e-6", "r2 = rect_energy([80, 290, 4...
theo-eng-code-L2-code-013939
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_squareloop", "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-000915
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(95, 2150, 60, 0.29, 2.3, 0.013, 0.5, 0.9, 0.95)", "assert abs(r0[0] - 705.2) < 1e-6", "assert abs(r0[1] - 12.8) < 1e-6", "assert abs(r0[2] - 7.68) < 1e-6", "r1 = erange(41, 27...
theo-eng-code-L2-code-015592
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.35, 6000, 120)", "assert abs(r0[0] - 6.6) < 1e-6", "assert abs(r0[1] - 909.5) < 1e-6", "r1 = gear_ratio(0.41, 15000, 150)", "assert abs(r1[0] - 15.46) < 1e-6", "ass...
theo-eng-code-L1-code-013411
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_cond", "user_template": "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-002092
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(5, 2, 0.25)", "assert abs(r0 - 3.04) < 1e-6", "r1 = rms_torque(37, 20, 0.5)", "assert abs(r1 - 29.74) < 1e-6", "r2 = rms_torque(19, 4, 0.5)", "assert abs(r2 - 13.73) < 1...
theo-eng-code-L1-refuse-014105
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_bypass_limit_code", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-001620
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(0.5, 0.53, 60, 8.0, 3.5)", "assert abs(r0[0] - 37.15) < 1e-6", "assert abs(r0[1] - 2.294) < 1e-6", "assert abs(r0[2] - 45.18) < 1e-6", "r1 = joint_torque(2.9, 0.48, 90...
theo-eng-code-L1-clarify-004589
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-012797
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": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 40, 3.7, 10)", "assert r0[0] == 135", "assert r0[1] == 9", "assert r0[2] == 1215", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 44.955) < 1e-6" ],...
theo-eng-code-L3-code-011500
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.25, 5000, 150)", "assert abs(r0[0] - 3.14) < 1e-6", "assert abs(r0[1] - 1591.5) < 1e-6", "r1 = gear_ratio(0.44, 12000, 180)", "assert abs(r1[0] - 11.06) < 1e-6", "ass...
theo-eng-code-L1-code-004544
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_nested", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-013919
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(88, 38, 0.25)", "assert abs(r0 - 54.95) < 1e-6", "r1 = rms_torque(13, 13, 0.75)", "assert abs(r1 - 13.0) < 1e-6", "r2 = rms_torque(42, 9, 0.75)", "assert abs(r2 - 36.6...
theo-eng-code-L2-code-013140
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, 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-000064
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": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(98, 1560, 100, 0.3, 2.7, 0.01, 0.8, 0.94, 0.95)", "assert abs(r0[0] - 559.7) < 1e-6", "assert abs(r0[1] - 16.63) < 1e-6", "assert abs(r0[2] - 16.63) < 1e-6" ], "subtask...
theo-eng-code-L2-code-001483
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 80, 3.7, 10)", "assert r0[0] == 108", "assert r0[1] == 21", "assert r0[2] == 2268", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 83.916) < 1e-6", "r1...
theo-eng-code-L1-clarify-013366
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-refuse-012455
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": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-004643
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": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 180, 80, 0.5)", "assert abs(r0[0] - 130.0) < 1e-6", "assert abs(r0[1] - 1.38) < 1e-6", "assert abs(r0[2] - 83.1) < 1e-6" ], "subtask": "writetests", "verified...
theo-eng-code-L3-code-010319
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(79, 5, 0.5)", "assert abs(r0 - 55.97) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L2-code-013317
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\": 20, \"max_kw\": 50}')", "assert r0[0] == 20", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')", "assert r1[0] == 60", "a...
theo-eng-code-L2-code-011834
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 290, 90, 0.5)", "assert abs(r0[0] - 190.0) < 1e-6", "assert abs(r0[1] - 4.74) < 1e-6", "assert abs(r0[2] - 284.2) < 1e-6", "r1 = runtime(0.1, 100, 460, 0.3)", "a...
theo-eng-code-L2-code-007909
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(40, 11, 0.2, 1.0)", "assert abs(r0[0] - 3.64) < 1e-6", "assert abs(r0[1] - 218.2) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L3-code-007320
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": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 20, 3.6, 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] - 20.016) < 1e-6" ], ...
theo-eng-code-L3-code-004359
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(35, 2480, 100, 0.28, 2.2, 0.009, 1.3, 0.94, 0.85)", "assert abs(r0[0] - 181.7) < 1e-6", "assert abs(r0[1] - 16.37) < 1e-6", "assert abs(r0[2] - 16.37) < 1e-6", "r1 = erange(73...
theo-eng-code-L2-code-015888
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([430, 110, 340, 170, 460], 5)", "assert abs(r0 - 2.0972) < 1e-6", "r1 = rect_energy([320, 90, 90], 1)", "assert abs(r1 - 0.1389) < 1e-6", "r2 = rect_energy([310, ...
theo-eng-code-L2-code-014389
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(100, 50, 0.1, 0.9)", "assert abs(r0[0] - 2.0) < 1e-6", "assert abs(r0[1] - 120.0) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_ti...
theo-eng-code-L2-code-001355
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-013881
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": "6", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.1, 0.43, 90, 4.0, 3.5)", "assert abs(r0[0] - 27.63) < 1e-6", "assert abs(r0[1] - 1.0539) < 1e-6", "assert abs(r0[2] - 31.32) < 1e-6", "r1 = joint_torque(3.7, 0.14, 3...
theo-eng-code-L3-code-002652
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": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.45, 7000, 100)", "assert abs(r0[0] - 11.88) < 1e-6", "assert abs(r0[1] - 589.5) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L3-code-002065
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": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 7, 0.1, 0.8)", "assert abs(r0[0] - 7.5) < 1e-6", "assert abs(r0[1] - 450.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 7" ], "subtask": ...
theo-eng-code-L1-code-014028
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_modulo", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-code-005003
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_loop_sum", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-007995
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(91, 39, 0.25)", "assert abs(r0 - 56.67) < 1e-6", "r1 = rms_torque(36, 3, 0.5)", "assert abs(r1 - 25.54) < 1e-6", "r2 = rms_torque(62, 29, 0.5)", "assert abs(r2 - 48.4)...
theo-eng-code-L2-code-013059
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.2, 260, 480, 0.5)", "assert abs(r0[0] - 370.0) < 1e-6", "assert abs(r0[1] - 0.49) < 1e-6", "assert abs(r0[2] - 29.2) < 1e-6", "r1 = runtime(0.1, 150, 110, 0.5)", "a...
theo-eng-code-L2-code-009216
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(15, 15, 0.01, 0.12, 0.6, 0.6, 2)", "assert abs(r0[0] - 0.065) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - -0.0573) < 1e-6", "r1 = com_zmp(5, 18, -0.05, 0.0...
theo-eng-code-L2-code-010334
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(51, 22, 0.75)", "assert abs(r0 - 45.52) < 1e-6", "r1 = rms_torque(39, 31, 0.5)", "assert abs(r1 - 35.23) < 1e-6", "r2 = rms_torque(37, 7, 0.25)", "assert abs(r2 - 19.4...
theo-eng-code-L1-clarify-002614
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-010867
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([35, 96, 36, 83])", "assert abs(r0[0] - 62.5) < 1e-6", "assert abs(r0[1] - 31.628) < 1e-6", "r1 = summarise([86, 88, 81, 58, 77, 23])", "assert abs(r1[0] - 68.833) <...
theo-eng-code-L2-code-008122
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, 14500, 120)", "assert abs(r0[0] - 20.04) < 1e-6", "assert abs(r0[1] - 723.4) < 1e-6", "r1 = gear_ratio(0.43, 10000, 100)", "assert abs(r1[0] - 16.21) < 1e-6", "...
theo-eng-code-L2-code-007554
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 25, 0.01, 0.06, 0.6, 0.4, 0)", "assert abs(r0[0] - 0.0447) < 1e-6", "assert abs(r0[1] - 0.4611) < 1e-6", "assert abs(r0[2] - 0.0447) < 1e-6", "r1 = com_zmp(6, 24, -0.05, ...
theo-eng-code-L3-code-007383
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(75, 35, 0.25)", "assert abs(r0 - 48.22) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-003175
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 220, 380, 0.5)", "assert abs(r0[0] - 300.0) < 1e-6", "assert abs(r0[1] - 3.0) < 1e-6", "assert abs(r0[2] - 180.0) < 1e-6", "r1 = runtime(0.2, 270, 140, 0.3)", "a...
theo-eng-code-L2-code-001361
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([170, 410, 270, 90, 110], 5)", "assert abs(r0 - 1.4583) < 1e-6", "r1 = rect_energy([430, 60, 370, 120], 1)", "assert abs(r1 - 0.2722) < 1e-6", "r2 = rect_energy([...
theo-eng-code-L2-code-009234
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.32, 6500, 150)", "assert abs(r0[0] - 5.23) < 1e-6", "assert abs(r0[1] - 1243.4) < 1e-6", "r1 = gear_ratio(0.26, 10500, 180)", "assert abs(r1[0] - 5.72) < 1e-6", "as...
theo-eng-code-L2-code-001017
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(34, 4, 0.5)", "assert abs(r0 - 24.21) < 1e-6", "r1 = rms_torque(94, 29, 0.75)", "assert abs(r1 - 82.69) < 1e-6", "r2 = rms_torque(6, 2, 0.25)", "assert abs(r2 - 3.46) ...
theo-eng-code-L3-code-009855
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, 26, 0.0, -0.04, 0.9, 0.8, 0)", "assert abs(r0[0] - -0.026) < 1e-6", "assert abs(r0[1] - 0.835) < 1e-6", "assert abs(r0[2] - -0.026) < 1e-6", "r1 = com_zmp(19, 21, 0.08, -0....
theo-eng-code-L2-code-004260
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-L1-clarify-001515
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": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-004183
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(31, 980, 120, 0.23, 2.7, 0.009, 0.6, 0.9, 0.9)", "assert abs(r0[0] - 172.1) < 1e-6", "assert abs(r0[1] - 16.21) < 1e-6", "assert abs(r0[2] - 19.46) < 1e-6", "r1 = erange(28,...
theo-eng-code-L2-code-003731
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([3.5, 2.5], [3.0, 0.0])", "assert abs(r0 - 2.5495) < 1e-6", "r1 = seg_len([4.0, 5.0], [0.5, 3.5])", "assert abs(r1 - 3.8079) < 1e-6", "r2 = seg_len([4.5, 1.0], [4.5, 3.5]...
theo-eng-code-L2-code-003432
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_squareloop", "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-013215
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([300, 220, 300, 260], 5)", "assert abs(r0 - 1.5) < 1e-6", "r1 = rect_energy([60, 120, 80], 2)", "assert abs(r1 - 0.1444) < 1e-6", "r2 = rect_energy([100, 80, 480]...
theo-eng-code-L1-code-011990
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "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-012485
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([480, 420, 140], 10)", "assert abs(r0 - 2.8889) < 1e-6", "r1 = rect_energy([480, 410, 130], 2)", "assert abs(r1 - 0.5667) < 1e-6", "r2 = rect_energy([90, 330, 340...
theo-eng-code-L2-code-005570
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": "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-015455
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, 60, 3.2, 10)", "assert r0[0] == 125", "assert r0[1] == 15", "assert r0[2] == 1875", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 60.0) < 1e-6", "r1 = p...
theo-eng-code-L3-code-001790
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": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(96, 11, 0.25)", "assert abs(r0 - 48.94) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-008370
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(46, 25, 0.75)", "assert abs(r0 - 41.75) < 1e-6", "r1 = rms_torque(34, 31, 0.75)", "assert abs(r1 - 33.28) < 1e-6", "r2 = rms_torque(64, 35, 0.75)", "assert abs(r2 - 58...
theo-eng-code-L2-code-006287
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(1.3, 0.21, 30, 5.5, 0.0)", "assert abs(r0[0] - 6.33) < 1e-6", "assert abs(r0[1] - 0.2617) < 1e-6", "assert abs(r0[2] - 6.33) < 1e-6", "r1 = joint_torque(7.7, 0.41, 30,...
theo-eng-code-L2-code-006086
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(60, 150, 0.2, 0.8)", "assert abs(r0[0] - 0.3) < 1e-6", "assert abs(r0[1] - 18.0) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L3-code-014046
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(500, 60, 3.7, 2.5)", "assert r0[0] == 135", "assert r0[1] == 49", "assert r0[2] == 6615", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 61.189) < 1e-6", "r1 ...
theo-eng-code-L3-code-003425
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": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 150, 0.2, 0.8)", "assert abs(r0[0] - 0.5) < 1e-6", "assert abs(r0[1] - 30.0) < 1e-6", "assert abs(r0[2] - 60.0) < 1e-6", "assert r0[3] == 150" ], "subtas...
theo-eng-code-L2-code-005743
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, 30, 360, 0.5)", "assert abs(r0[0] - 195.0) < 1e-6", "assert abs(r0[1] - 2.31) < 1e-6", "assert abs(r0[2] - 138.5) < 1e-6", "r1 = runtime(1.0, 180, 570, 0.7)", "a...
theo-eng-code-L2-code-000840
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 7, 0.1, 0.8)", "assert abs(r0[0] - 5.0) < 1e-6", "assert abs(r0[1] - 300.0) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L2-code-009239
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([98, 67, 96, 58, 24, 11])", "assert r0[0] == 59", "assert abs(r0[1] - 36.011) < 1e-6", "r1 = summarise([67, 36, 68, 93, 25, 64])", "assert abs(r1[0] - 58.833) < 1e-6...
theo-eng-code-L2-code-003213
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": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.7, 0.46, 60, 7.5, 0.5)", "assert abs(r0[0] - 32.63) < 1e-6", "assert abs(r0[1] - 1.7069) < 1e-6", "assert abs(r0[2] - 33.49) < 1e-6", "r1 = joint_torque(5.9, 0.17, 6...
theo-eng-code-L3-code-004828
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(91, 31, 0.25)", "assert abs(r0 - 52.83) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-007409
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(100, 150, 0.1, 1.0)", "assert abs(r0[0] - 0.75) < 1e-6", "assert abs(r0[1] - 45.0) < 1e-6", "assert abs(r0[2] - 90.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_...
theo-eng-code-L1-clarify-004650
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": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }