id
stringlengths
28
31
type
stringclasses
3 values
tier
stringclasses
3 values
domain
stringclasses
1 value
messages
listlengths
3
3
meta
unknown
theo-eng-code-L2-code-010998
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 190, 0.3)", "assert abs(r0[0] - 148.0) < 1e-6", "assert abs(r0[1] - 1.22) < 1e-6", "assert abs(r0[2] - 73.0) < 1e-6", "r1 = runtime(1.0, 230, 60, 0.3)", "ass...
theo-eng-code-L2-code-014129
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 25, -0.07, -0.01, 0.5, 0.3, 0)", "assert abs(r0[0] - -0.0295) < 1e-6", "assert abs(r0[1] - 0.3649) < 1e-6", "assert abs(r0[2] - -0.0295) < 1e-6", "r1 = com_zmp(5, 10, 0.0...
theo-eng-code-L2-code-013553
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 7, 0.1, 0.9)", "assert abs(r0[0] - 2.86) < 1e-6", "assert abs(r0[1] - 171.4) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L3-code-002746
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(62, 31, 0.5)", "assert abs(r0 - 49.02) < 1e-6", "r1 = rms_torque(77, 11, 0.75)", "assert abs(r1 - 66.91) < 1e-6", "r2 = rms_torque(19, 16, 0.25)", "assert abs(r2 - 16.8)...
theo-eng-code-L2-code-013985
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.2, 0.33, 30, 4.0, 2.0)", "assert abs(r0[0] - 9.87) < 1e-6", "assert abs(r0[1] - 0.5881) < 1e-6", "assert abs(r0[2] - 11.05) < 1e-6", "r1 = joint_torque(7.0, 0.25, 45...
theo-eng-code-L2-code-009910
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 21, -0.05, 0.1, 0.6, 0.9, 0)", "assert abs(r0[0] - 0.0516) < 1e-6", "assert abs(r0[1] - 0.8032) < 1e-6", "assert abs(r0[2] - 0.0516) < 1e-6", "r1 = com_zmp(20, 17, -0.08,...
theo-eng-code-L2-code-012217
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 30, 280, 0.7)", "assert abs(r0[0] - 105.0) < 1e-6", "assert abs(r0[1] - 8.57) < 1e-6", "assert abs(r0[2] - 514.3) < 1e-6", "r1 = runtime(0.1, 170, 300, 0.5)", "a...
theo-eng-code-L3-code-007559
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 80, 3.7, 10)", "assert r0[0] == 135", "assert r0[1] == 17", "assert r0[2] == 2295", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 84.915) < 1e-6", "r1 =...
theo-eng-code-L2-code-004720
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 0.0], [4.0, 1.5])", "assert abs(r0 - 4.272) < 1e-6", "r1 = seg_len([0.5, 2.5], [5.0, 4.5])", "assert abs(r1 - 4.9244) < 1e-6", "r2 = seg_len([4.0, 1.5], [4.5, 2.0])...
theo-eng-code-L2-code-012176
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.39, 7500, 180)", "assert abs(r0[0] - 6.13) < 1e-6", "assert abs(r0[1] - 1224.3) < 1e-6", "r1 = gear_ratio(0.35, 7500, 120)", "assert abs(r1[0] - 8.25) < 1e-6", "ass...
theo-eng-code-L3-code-013910
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.4, 0.4, 60, 8.0, 1.0)", "assert abs(r0[0] - 29.57) < 1e-6", "assert abs(r0[1] - 1.3547) < 1e-6", "assert abs(r0[2] - 30.92) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L2-code-004935
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.8, 0.28, 30, 1.0, 1.5)", "assert abs(r0[0] - 6.73) < 1e-6", "assert abs(r0[1] - 0.2822) < 1e-6", "assert abs(r0[2] - 7.15) < 1e-6", "r1 = joint_torque(3.8, 0.57, 30,...
theo-eng-code-L2-code-001403
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 80, 3.7, 2.5)", "assert r0[0] == 54", "assert r0[1] == 161", "assert r0[2] == 8694", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 80.419) < 1e-6", "r...
theo-eng-code-L2-code-011295
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 11500, 150)", "assert abs(r0[0] - 10.69) < 1e-6", "assert abs(r0[1] - 1075.4) < 1e-6", "r1 = gear_ratio(0.33, 8000, 120)", "assert abs(r1[0] - 8.29) < 1e-6", "a...
theo-eng-code-L3-code-004223
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": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(19, 16, -0.02, 0.03, 0.9, 0.6, 2)", "assert abs(r0[0] - 0.0029) < 1e-6", "assert abs(r0[1] - 0.7629) < 1e-6", "assert abs(r0[2] - -0.1527) < 1e-6", "r1 = com_zmp(11, 22, 0.05, ...
theo-eng-code-L3-code-009225
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(75, 900, 60, 0.25, 2.5, 0.011, 0.8, 0.94, 0.95)", "assert abs(r0[0] - 970.0) < 1e-6", "assert abs(r0[1] - 7.35) < 1e-6", "assert abs(r0[2] - 4.41) < 1e-6", "r1 = erange(45, 27...
theo-eng-code-L3-code-005372
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(99, 2680, 100, 0.3, 2.1, 0.011, 0.7, 0.9, 0.95)", "assert abs(r0[0] - 499.9) < 1e-6", "assert abs(r0[1] - 18.82) < 1e-6", "assert abs(r0[2] - 18.82) < 1e-6" ], "subtask...
theo-eng-code-L2-code-004488
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-010885
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(8, 29, 0.06, 0.06, 0.9, 0.9, 2)", "assert abs(r0[0] - 0.06) < 1e-6", "assert abs(r0[1] - 0.9) < 1e-6", "assert abs(r0[2] - -0.1235) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L3-code-011642
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(7.2, 0.49, 90, 5.0, 3.0)", "assert abs(r0[0] - 41.34) < 1e-6", "assert abs(r0[1] - 1.7767) < 1e-6", "assert abs(r0[2] - 46.67) < 1e-6", "r1 = joint_torque(6.8, 0.52, 60,...
theo-eng-code-L3-code-008320
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(11, 23, -0.03, -0.04, 0.3, 0.5, 0)", "assert abs(r0[0] - -0.0368) < 1e-6", "assert abs(r0[1] - 0.4353) < 1e-6", "assert abs(r0[2] - -0.0368) < 1e-6", "r1 = com_zmp(11, 18, 0.1,...
theo-eng-code-L2-code-000204
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.1, 0.26, 45, 2.0, 4.0)", "assert abs(r0[0] - 8.21) < 1e-6", "assert abs(r0[1] - 0.2501) < 1e-6", "assert abs(r0[2] - 9.21) < 1e-6", "r1 = joint_torque(7.9, 0.52, 45,...
theo-eng-code-L3-code-004857
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 10, 3.6, 50)", "assert r0[0] == 222", "assert r0[1] == 1", "assert r0[2] == 222", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 = pa...
theo-eng-code-L3-code-012931
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 50, 0.2, 0.8)", "assert abs(r0[0] - 0.6) < 1e-6", "assert abs(r0[1] - 36.0) < 1e-6", "assert abs(r0[2] - 24.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(8...
theo-eng-code-L2-code-011930
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = summarise([41, 17, 80, 93])", "assert abs(r0[0] - 57.75) < 1e-6", "assert abs(r0[1] - 35.018) < 1e-6", "r1 = summarise([88, 88, 75, 60])", "assert abs(r1[0] - 77.75) < 1e-6", ...
theo-eng-code-L3-code-010536
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(36, 1050, 100, 0.33, 2.1, 0.008, 1.5, 0.92, 0.9)", "assert abs(r0[0] - 233.5) < 1e-6", "assert abs(r0[1] - 13.88) < 1e-6", "assert abs(r0[2] - 13.88) < 1e-6", "r1 = erange(59,...
theo-eng-code-L2-code-015487
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 13, 0.09, -0.04, 0.7, 0.8, 1)", "assert abs(r0[0] - 0.0165) < 1e-6", "assert abs(r0[1] - 0.7565) < 1e-6", "assert abs(r0[2] - -0.0606) < 1e-6", "r1 = com_zmp(18, 29, 0.09...
theo-eng-code-L2-code-010402
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([250, 210, 90, 330], 10)", "assert abs(r0 - 2.4444) < 1e-6", "r1 = rect_energy([340, 410, 200, 110, 60], 10)", "assert abs(r1 - 3.1111) < 1e-6", "r2 = rect_energy...
theo-eng-code-L2-code-003809
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.6, 0.42, 45, 3.5, 1.5)", "assert abs(r0[0] - 18.35) < 1e-6", "assert abs(r0[1] - 0.9467) < 1e-6", "assert abs(r0[2] - 19.77) < 1e-6", "r1 = joint_torque(3.9, 0.26, 6...
theo-eng-code-L2-code-011076
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 210, 310, 0.3)", "assert abs(r0[0] - 280.0) < 1e-6", "assert abs(r0[1] - 0.64) < 1e-6", "assert abs(r0[2] - 38.6) < 1e-6", "r1 = runtime(0.5, 70, 400, 0.5)", "as...
theo-eng-code-L3-code-002918
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(13, 28, -0.1, 0.12, 0.6, 0.4, 0)", "assert abs(r0[0] - 0.0502) < 1e-6", "assert abs(r0[1] - 0.4634) < 1e-6", "assert abs(r0[2] - 0.0502) < 1e-6", "r1 = com_zmp(8, 12, -0.01, 0....
theo-eng-code-L2-code-011991
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-014409
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = summarise([75, 41, 55, 83, 40])", "assert abs(r0[0] - 58.8) < 1e-6", "assert abs(r0[1] - 19.575) < 1e-6", "r1 = summarise([46, 26, 50, 21, 28])", "assert abs(r1[0] - 34.2) < 1...
theo-eng-code-L2-code-013109
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 13, 0.07, 0.06, 0.4, 0.8, 0.5)", "assert abs(r0[0] - 0.0638) < 1e-6", "assert abs(r0[1] - 0.6476) < 1e-6", "assert abs(r0[2] - 0.0308) < 1e-6", "r1 = com_zmp(5, 17, -0.03,...
theo-eng-code-L1-code-006295
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-L2-code-001173
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.1, 0.6, 30, 4.0, 2.5)", "assert abs(r0[0] - 20.75) < 1e-6", "assert abs(r0[1] - 2.172) < 1e-6", "assert abs(r0[2] - 26.18) < 1e-6", "r1 = joint_torque(1.9, 0.11, 60,...
theo-eng-code-L3-code-014360
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, 7, 0.2, 0.9)", "assert abs(r0[0] - 5.0) < 1e-6", "assert abs(r0[1] - 300.0) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(80...
theo-eng-code-L2-code-001769
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([67, 41, 94, 13, 52])", "assert abs(r0[0] - 53.4) < 1e-6", "assert abs(r0[1] - 30.088) < 1e-6", "r1 = summarise([58, 84, 33, 69, 67])", "assert abs(r1[0] - 62.2) < 1...
theo-eng-code-L1-code-006121
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": "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-009716
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(50, [0, 25, 50, 75, 100], [0.75, 0.81, 0.88, 0.87, 0.81])", "assert abs(r0 - 0.88) < 1e-6", "r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.75, 0.83, 0.87, 0.86, 0.81])", "a...
theo-eng-code-L2-code-005293
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(35, [0, 25, 50, 75, 100], [0.74, 0.82, 0.89, 0.86, 0.83])", "assert abs(r0 - 0.848) < 1e-6", "r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.79, 0.81, 0.85, 0.88, 0.85])", "...
theo-eng-code-L2-code-008828
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([50, 140, 440, 360, 480], 5)", "assert abs(r0 - 2.0417) < 1e-6", "r1 = rect_energy([190, 270, 490, 130, 190], 10)", "assert abs(r1 - 3.5278) < 1e-6", "r2 = rect_e...
theo-eng-code-L3-code-012331
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(38, 2, 0.75)", "assert abs(r0 - 32.92) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-011134
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(41, 1670, 80, 0.26, 2.1, 0.012, 0.6, 0.88, 0.9)", "assert abs(r0[0] - 303.2) < 1e-6", "assert abs(r0[1] - 12.17) < 1e-6", "assert abs(r0[2] - 9.73) < 1e-6", "r1 = erange(20,...
theo-eng-code-L2-code-015302
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 100}')", "assert r0[0] == 20", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 250}')", "assert r1[0] == 40", ...
theo-eng-code-L2-code-013674
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(28, 14, 0.25)", "assert abs(r0 - 18.52) < 1e-6", "r1 = rms_torque(9, 9, 0.25)", "assert abs(r1 - 9.0) < 1e-6", "r2 = rms_torque(21, 16, 0.75)", "assert abs(r2 - 19.87)...
theo-eng-code-L3-code-007863
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(76, 2800, 100, 0.22, 3.0, 0.013, 0.6, 0.94, 0.9)", "assert abs(r0[0] - 335.8) < 1e-6", "assert abs(r0[1] - 20.37) < 1e-6", "assert abs(r0[2] - 20.37) < 1e-6", "r1 = erange(43,...
theo-eng-code-L3-code-008248
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 130, 400, 0.5)", "assert abs(r0[0] - 265.0) < 1e-6", "assert abs(r0[1] - 1.7) < 1e-6", "assert abs(r0[2] - 101.9) < 1e-6", "r1 = runtime(0.1, 200, 310, 0.7)", "ass...
theo-eng-code-L3-code-002946
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(19, 2, 0.25)", "assert abs(r0 - 9.66) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L3-code-005476
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(80, 7, 0.2, 0.9)", "assert abs(r0[0] - 10.0) < 1e-6", "assert abs(r0[1] - 600.0) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 7" ], "subtask":...
theo-eng-code-L3-code-014223
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(800, 60, 3.2, 100)", "assert r0[0] == 250", "assert r0[1] == 1", "assert r0[2] == 250", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6" ], ...
theo-eng-code-L2-code-000324
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([290, 80, 360], 5)", "assert abs(r0 - 1.0139) < 1e-6", "r1 = rect_energy([440, 160, 430, 100], 2)", "assert abs(r1 - 0.6278) < 1e-6", "r2 = rect_energy([270, 100,...
theo-eng-code-L2-code-000939
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, [0, 25, 50, 75, 100], [0.71, 0.82, 0.87, 0.9, 0.83])", "assert abs(r0 - 0.83) < 1e-6", "r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.78, 0.81, 0.86, 0.9, 0.85])", "ass...
theo-eng-code-L2-code-005076
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = seg_len([3.0, 1.0], [4.5, 4.0])", "assert abs(r0 - 3.3541) < 1e-6", "r1 = seg_len([0.0, 1.5], [3.0, 0.0])", "assert abs(r1 - 3.3541) < 1e-6", "r2 = seg_len([4.5, 4.0], [2.5, 4.0]...
theo-eng-code-L3-code-005367
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(5, 18, -0.02, 0.04, 0.6, 0.7, 0)", "assert abs(r0[0] - 0.027) < 1e-6", "assert abs(r0[1] - 0.6783) < 1e-6", "assert abs(r0[2] - 0.027) < 1e-6", "r1 = com_zmp(8, 17, -0.08, 0.09...
theo-eng-code-L1-code-002446
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-000350
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.39, 7000, 120)", "assert abs(r0[0] - 8.58) < 1e-6", "assert abs(r0[1] - 816.2) < 1e-6", "r1 = gear_ratio(0.41, 11500, 100)", "assert abs(r1[0] - 17.78) < 1e-6", "as...
theo-eng-code-L2-code-007155
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 3.7, 2.5)", "assert r0[0] == 135", "assert r0[1] == 33", "assert r0[2] == 4455", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 41.209) < 1e-6", "r...
theo-eng-code-L2-code-006215
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.32, 7500, 150)", "assert abs(r0[0] - 6.03) < 1e-6", "assert abs(r0[1] - 1243.4) < 1e-6", "r1 = gear_ratio(0.25, 7000, 100)", "assert abs(r1[0] - 6.6) < 1e-6", "asse...
theo-eng-code-L2-code-010647
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 7, 0.2, 0.9)", "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", "r1 = charge_time(...
theo-eng-code-L1-refuse-011792
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-009218
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(43, 35, 0.75)", "assert abs(r0 - 41.15) < 1e-6", "r1 = rms_torque(55, 6, 0.75)", "assert abs(r1 - 47.73) < 1e-6", "r2 = rms_torque(48, 28, 0.5)", "assert abs(r2 - 39.2...
theo-eng-code-L1-refuse-013187
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-L1-clarify-009521
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-006239
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(52, 26, 0.25)", "assert abs(r0 - 34.39) < 1e-6", "r1 = rms_torque(87, 35, 0.5)", "assert abs(r1 - 66.31) < 1e-6", "r2 = rms_torque(76, 10, 0.25)", "assert abs(r2 - 38.97...
theo-eng-code-L2-code-001660
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([75, 63, 39, 81, 38, 50])", "assert abs(r0[0] - 57.667) < 1e-6", "assert abs(r0[1] - 18.261) < 1e-6", "r1 = summarise([84, 20, 26, 49])", "assert abs(r1[0] - 44.75) ...
theo-eng-code-L3-code-014318
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.38, 8500, 150)", "assert abs(r0[0] - 8.12) < 1e-6", "assert abs(r0[1] - 1047.1) < 1e-6", "r1 = gear_ratio(0.42, 9000, 100)", "assert abs(r1[0] - 14.25) < 1e-6", "asse...
theo-eng-code-L2-code-000886
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-009983
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(19, 23, -0.04, 0.09, 0.9, 0.6, 0.5)", "assert abs(r0[0] - 0.0312) < 1e-6", "assert abs(r0[1] - 0.7357) < 1e-6", "assert abs(r0[2] - -0.0063) < 1e-6" ], "subtask": "write...
theo-eng-code-L3-code-010430
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 15, 0.09, 0.05, 0.3, 0.6, 1)", "assert abs(r0[0] - 0.0706) < 1e-6", "assert abs(r0[1] - 0.4452) < 1e-6", "assert abs(r0[2] - 0.0253) < 1e-6", "r1 = com_zmp(10, 23, -0.03, -...
theo-eng-code-L3-code-007674
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 50, 0.2, 1.0)", "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_time...
theo-eng-code-L2-code-009845
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 40, 3.6, 100)", "assert r0[0] == 56", "assert r0[1] == 2", "assert r0[2] == 112", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 40.32) < 1e-6", "r1 = ...
theo-eng-code-L3-code-004554
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": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.44, 13500, 120)", "assert abs(r0[0] - 18.66) < 1e-6", "assert abs(r0[1] - 723.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L3-code-008738
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(60, 50, 0.1, 1.0)", "assert abs(r0[0] - 1.35) < 1e-6", "assert abs(r0[1] - 81.0) < 1e-6", "assert abs(r0[2] - 54.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(...
theo-eng-code-L2-code-004256
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-014882
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 50}')", "assert r0[0] == 40", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')", "assert r1[0] == 20", "a...
theo-eng-code-L2-code-008354
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.32, 12000, 180)", "assert abs(r0[0] - 8.04) < 1e-6", "assert abs(r0[1] - 1492.1) < 1e-6", "r1 = gear_ratio(0.4, 15000, 180)", "assert abs(r1[0] - 12.57) < 1e-6", "a...
theo-eng-code-L1-clarify-007538
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-L3-code-012494
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(19, 6, 0.5)", "assert abs(r0 - 14.09) < 1e-6", "r1 = rms_torque(61, 36, 0.25)", "assert abs(r1 - 43.61) < 1e-6", "r2 = rms_torque(91, 23, 0.75)", "assert abs(r2 - 79.64)...
theo-eng-code-L2-code-011015
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 150, 0.2, 0.8)", "assert abs(r0[0] - 0.25) < 1e-6", "assert abs(r0[1] - 15.0) < 1e-6", "assert abs(r0[2] - 24.0) < 1e-6", "assert abs(r0[3] - 120.0) < 1e-6", "...
theo-eng-code-L1-code-011685
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": "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-010351
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(28, 17, 0.5)", "assert abs(r0 - 23.16) < 1e-6", "r1 = rms_torque(15, 5, 0.25)", "assert abs(r1 - 8.66) < 1e-6", "r2 = rms_torque(11, 2, 0.25)", "assert abs(r2 - 5.77) ...
theo-eng-code-L1-code-012757
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": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-009040
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(23, 2740, 80, 0.3, 2.6, 0.009, 0.8, 0.94, 0.95)", "assert abs(r0[0] - 144.5) < 1e-6", "assert abs(r0[1] - 15.12) < 1e-6", "assert abs(r0[2] - 12.1) < 1e-6", "r1 = erange(97,...
theo-eng-code-L1-refuse-015604
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": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-004592
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.2, 1.0)", "assert abs(r0[0] - 9.09) < 1e-6", "assert abs(r0[1] - 545.5) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_t...
theo-eng-code-L2-code-015879
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([100, 60, 320], 10)", "assert abs(r0 - 1.3333) < 1e-6", "r1 = rect_energy([370, 230, 350], 2)", "assert abs(r1 - 0.5278) < 1e-6", "r2 = rect_energy([320, 140, 230...
theo-eng-code-L2-code-009204
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 12, 0.09, 0.14, 0.4, 0.9, 2)", "assert abs(r0[0] - 0.115) < 1e-6", "assert abs(r0[1] - 0.65) < 1e-6", "assert abs(r0[2] - -0.0175) < 1e-6", "r1 = com_zmp(17, 26, 0.06, 0....
theo-eng-code-L2-code-015167
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 20, 3.6, 10)", "assert r0[0] == 139", "assert r0[1] == 4", "assert r0[2] == 556", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 20.016) < 1e-6", "r1 =...
theo-eng-code-L2-code-002687
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, [0, 25, 50, 75, 100], [0.77, 0.81, 0.9, 0.86, 0.85])", "assert abs(r0 - 0.81) < 1e-6", "r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.71, 0.84, 0.87, 0.85, 0.84])", "as...
theo-eng-code-L2-code-015820
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 29, -0.1, 0.11, 0.5, 0.3, 2)", "assert abs(r0[0] - 0.0603) < 1e-6", "assert abs(r0[1] - 0.3474) < 1e-6", "assert abs(r0[2] - -0.0106) < 1e-6", "r1 = com_zmp(8, 25, 0.06, 0...
theo-eng-code-L2-code-007740
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 19, 0.07, -0.03, 0.5, 0.5, 1)", "assert abs(r0[0] - -0.006) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - -0.057) < 1e-6", "r1 = com_zmp(16, 17, -0.02, -0...
theo-eng-code-L3-code-005910
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, 15, 0.01, -0.02, 0.6, 0.8, 1)", "assert abs(r0[0] - -0.0087) < 1e-6", "assert abs(r0[1] - 0.725) < 1e-6", "assert abs(r0[2] - -0.0827) < 1e-6", "r1 = com_zmp(5, 14, -0.05, -...
theo-eng-code-L2-code-015805
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_maxloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-code-006824
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_power", "user_template": "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-009431
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(5, 2, 0.75)", "assert abs(r0 - 4.44) < 1e-6", "r1 = rms_torque(54, 13, 0.25)", "assert abs(r1 - 29.25) < 1e-6", "r2 = rms_torque(39, 30, 0.25)", "assert abs(r2 - 32.48) ...
theo-eng-code-L3-code-010796
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": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(58, 26, 0.5)", "assert abs(r0 - 44.94) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-008977
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 22, 0.1, 0.8)", "assert abs(r0[0] - 3.98) < 1e-6", "assert abs(r0[1] - 238.6) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_t...
theo-eng-code-L2-code-011571
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008725
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(30, 15, 0.25)", "assert abs(r0 - 19.84) < 1e-6", "r1 = rms_torque(45, 3, 0.25)", "assert abs(r1 - 22.65) < 1e-6", "r2 = rms_torque(67, 8, 0.25)", "assert abs(r2 - 34.2...