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-007308
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 140, 260, 0.7)", "assert abs(r0[0] - 176.0) < 1e-6", "assert abs(r0[1] - 1.02) < 1e-6", "assert abs(r0[2] - 61.4) < 1e-6", "r1 = runtime(0.5, 30, 340, 0.7)", "as...
theo-eng-code-L3-code-009445
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.33, 12000, 150)", "assert abs(r0[0] - 9.95) < 1e-6", "assert abs(r0[1] - 1205.7) < 1e-6", "r1 = gear_ratio(0.27, 4500, 100)", "assert abs(r1[0] - 4.58) < 1e-6", "asse...
theo-eng-code-L3-code-002008
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.4, 0.11, 90, 4.0, 3.5)", "assert abs(r0[0] - 5.07) < 1e-6", "assert abs(r0[1] - 0.054) < 1e-6", "assert abs(r0[2] - 5.26) < 1e-6", "r1 = joint_torque(7.6, 0.18, 90, 8....
theo-eng-code-L2-code-001190
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([330, 150, 280, 460], 2)", "assert abs(r0 - 0.6778) < 1e-6", "r1 = rect_energy([410, 300, 320, 310], 5)", "assert abs(r1 - 1.8611) < 1e-6", "r2 = rect_energy([340...
theo-eng-code-L2-code-007865
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 240, 40, 0.7)", "assert abs(r0[0] - 180.0) < 1e-6", "assert abs(r0[1] - 2.5) < 1e-6", "assert abs(r0[2] - 150.0) < 1e-6", "r1 = runtime(0.1, 190, 520, 0.5)", "as...
theo-eng-code-L3-code-004700
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.1, 0.37, 30, 7.5, 1.0)", "assert abs(r0[0] - 19.15) < 1e-6", "assert abs(r0[1] - 1.3051) < 1e-6", "assert abs(r0[2] - 20.45) < 1e-6", "r1 = joint_torque(6.4, 0.16, 45,...
theo-eng-code-L2-code-007170
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.7, 0.58, 60, 7.5, 1.5)", "assert abs(r0[0] - 55.93) < 1e-6", "assert abs(r0[1] - 3.3864) < 1e-6", "assert abs(r0[2] - 61.01) < 1e-6", "r1 = joint_torque(7.0, 0.12, 4...
theo-eng-code-L2-code-015480
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(81, 33, 0.25)", "assert abs(r0 - 49.57) < 1e-6", "r1 = rms_torque(73, 31, 0.5)", "assert abs(r1 - 56.08) < 1e-6", "r2 = rms_torque(94, 30, 0.25)", "assert abs(r2 - 53....
theo-eng-code-L2-code-015445
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 20, -0.06, 0.06, 0.7, 0.9, 1)", "assert abs(r0[0] - 0.0289) < 1e-6", "assert abs(r0[1] - 0.8481) < 1e-6", "assert abs(r0[2] - -0.0576) < 1e-6", "r1 = com_zmp(12, 26, -0.01...
theo-eng-code-L3-code-004265
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 130, 500, 0.5)", "assert abs(r0[0] - 315.0) < 1e-6", "assert abs(r0[1] - 2.86) < 1e-6", "assert abs(r0[2] - 171.4) < 1e-6" ], "subtask": "writetests", "verifi...
theo-eng-code-L3-code-008408
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 50, 0.1, 0.8)", "assert abs(r0[0] - 1.4) < 1e-6", "assert abs(r0[1] - 84.0) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(1...
theo-eng-code-L2-code-007802
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([500, 340, 80, 330, 230], 2)", "assert abs(r0 - 0.8222) < 1e-6", "r1 = rect_energy([200, 420, 310, 350], 5)", "assert abs(r1 - 1.7778) < 1e-6", "r2 = rect_energy(...
theo-eng-code-L1-clarify-004854
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-008182
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(39, 2660, 120, 0.38, 2.7, 0.007, 0.5, 0.88, 0.95)", "assert abs(r0[0] - 131.3) < 1e-6", "assert abs(r0[1] - 28.22) < 1e-6", "assert abs(r0[2] - 33.87) < 1e-6" ], "subta...
theo-eng-code-L3-code-004957
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(80, 50, 0.1, 0.9)", "assert abs(r0[0] - 1.6) < 1e-6", "assert abs(r0[1] - 96.0) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(4...
theo-eng-code-L2-code-000964
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([330, 120, 100], 10)", "assert abs(r0 - 1.5278) < 1e-6", "r1 = rect_energy([270, 390, 50, 400, 320], 2)", "assert abs(r1 - 0.7944) < 1e-6", "r2 = rect_energy([460...
theo-eng-code-L2-code-001872
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(27, 2, 0.75)", "assert abs(r0 - 23.4) < 1e-6", "r1 = rms_torque(57, 6, 0.75)", "assert abs(r1 - 49.45) < 1e-6", "r2 = rms_torque(9, 6, 0.5)", "assert abs(r2 - 7.65) < ...
theo-eng-code-L2-code-004996
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([77, 92, 87, 64])", "assert r0[0] == 80", "assert abs(r0[1] - 12.356) < 1e-6", "r1 = summarise([15, 36, 72, 84, 71, 68])", "assert abs(r1[0] - 57.667) < 1e-6", "...
theo-eng-code-L3-code-007472
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": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.37, 14000, 100)", "assert abs(r0[0] - 19.53) < 1e-6", "assert abs(r0[1] - 716.9) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L2-code-000126
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(15, [0, 25, 50, 75, 100], [0.73, 0.8, 0.87, 0.89, 0.82])", "assert abs(r0 - 0.772) < 1e-6", "r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.73, 0.8, 0.86, 0.89, 0.85])", "as...
theo-eng-code-L3-code-012450
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 28, 0.08, -0.02, 0.7, 0.9, 0)", "assert abs(r0[0] - 0.0164) < 1e-6", "assert abs(r0[1] - 0.8273) < 1e-6", "assert abs(r0[2] - 0.0164) < 1e-6" ], "subtask": "writetes...
theo-eng-code-L3-code-003640
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(16, 14, 0.05, 0.11, 0.3, 0.7, 1)", "assert abs(r0[0] - 0.078) < 1e-6", "assert abs(r0[1] - 0.4867) < 1e-6", "assert abs(r0[2] - 0.0284) < 1e-6" ], "subtask": "writetests...
theo-eng-code-L2-code-010375
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 40, 3.6, 10)", "assert r0[0] == 222", "assert r0[1] == 6", "assert r0[2] == 1332", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 47.952) < 1e-6", "r1 ...
theo-eng-code-L1-code-007656
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_slices", "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-014061
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7", "style": "code", "source": "template", "tests": [ "r0 = erange(98, 1700, 100, 0.22, 2.2, 0.009, 0.4, 0.94, 0.9)", "assert abs(r0[0] - 760.7) < 1e-6", "assert abs(r0[1] - 11.59) < 1e-6", "assert abs(r0[2] - 11.59) < 1e-6", "r1 = erange(9...
theo-eng-code-L3-code-006054
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 40, 3.7, 100)", "assert r0[0] == 54", "assert r0[1] == 3", "assert r0[2] == 162", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 59.94) < 1e-6" ], ...
theo-eng-code-L3-code-012988
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(29, 4, 0.5)", "assert abs(r0 - 20.7) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "saf...
theo-eng-code-L2-code-007846
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([110, 250, 490, 450], 1)", "assert abs(r0 - 0.3611) < 1e-6", "r1 = rect_energy([150, 460, 450, 180], 1)", "assert abs(r1 - 0.3444) < 1e-6", "r2 = rect_energy([280...
theo-eng-code-L2-code-007475
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 63, 92, 78, 60, 28])", "assert abs(r0[0] - 69.833) < 1e-6", "assert abs(r0[1] - 25.475) < 1e-6", "r1 = summarise([45, 72, 71, 81, 90])", "assert abs(r1[0] - 71....
theo-eng-code-L2-code-006388
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-015380
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 26, -0.03, 0.04, 0.7, 0.9, 0.5)", "assert abs(r0[0] - 0.0114) < 1e-6", "assert abs(r0[1] - 0.8182) < 1e-6", "assert abs(r0[2] - -0.0303) < 1e-6", "r1 = com_zmp(17, 16, -0...
theo-eng-code-L2-code-014971
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(75, [0, 25, 50, 75, 100], [0.8, 0.84, 0.88, 0.88, 0.85])", "assert abs(r0 - 0.88) < 1e-6", "r1 = interp_eff(75, [0, 25, 50, 75, 100], [0.74, 0.8, 0.85, 0.9, 0.8])", "asser...
theo-eng-code-L2-code-014331
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 50, 0.1, 0.8)", "assert abs(r0[0] - 1.05) < 1e-6", "assert abs(r0[1] - 63.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_tim...
theo-eng-code-L3-code-013528
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": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 150, 0.2, 0.9)", "assert abs(r0[0] - 0.29) < 1e-6", "assert abs(r0[1] - 17.5) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert abs(r0[3] - 60.0) < 1e-6", "r1 ...
theo-eng-code-L2-code-008168
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 220, 390, 0.5)", "assert abs(r0[0] - 305.0) < 1e-6", "assert abs(r0[1] - 2.95) < 1e-6", "assert abs(r0[2] - 177.0) < 1e-6", "r1 = runtime(0.2, 150, 240, 0.5)", "...
theo-eng-code-L2-code-003748
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(39, 13, 0.5)", "assert abs(r0 - 29.07) < 1e-6", "r1 = rms_torque(70, 4, 0.5)", "assert abs(r1 - 49.58) < 1e-6", "r2 = rms_torque(28, 28, 0.25)", "assert abs(r2 - 28.0)...
theo-eng-code-L2-code-009758
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([72, 36, 15, 66])", "assert abs(r0[0] - 47.25) < 1e-6", "assert abs(r0[1] - 26.651) < 1e-6", "r1 = summarise([52, 35, 16, 22])", "assert abs(r1[0] - 31.25) < 1e-6", ...
theo-eng-code-L3-code-008251
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 10, 3.7, 5)", "assert r0[0] == 216", "assert r0[1] == 3", "assert r0[2] == 648", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-000451
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 11, 0.07, -0.02, 0.4, 0.5, 0.5)", "assert abs(r0[0] - 0.0359) < 1e-6", "assert abs(r0[1] - 0.4379) < 1e-6", "assert abs(r0[2] - 0.0135) < 1e-6", "r1 = com_zmp(14, 28, -0....
theo-eng-code-L2-code-004820
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 16, -0.03, 0.12, 0.5, 0.9, 1)", "assert abs(r0[0] - 0.0589) < 1e-6", "assert abs(r0[1] - 0.737) < 1e-6", "assert abs(r0[2] - -0.0162) < 1e-6", "r1 = com_zmp(9, 28, -0.03,...
theo-eng-code-L2-code-012937
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 0.2, 0.9)", "assert abs(r0[0] - 0.58) < 1e-6", "assert abs(r0[1] - 35.0) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_...
theo-eng-code-L2-code-002145
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.0, 2.5], [1.5, 3.0])", "assert abs(r0 - 2.5495) < 1e-6", "r1 = seg_len([5.0, 3.0], [5.0, 2.5])", "assert abs(r1 - 0.5) < 1e-6", "r2 = seg_len([5.0, 3.0], [4.0, 4.5])",...
theo-eng-code-L3-code-002260
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(69, 13, 0.5)", "assert abs(r0 - 49.65) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L3-code-007638
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(52, 34, 0.75)", "assert abs(r0 - 48.14) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L3-code-012273
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": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 50, 0.1, 0.8)", "assert abs(r0[0] - 0.7) < 1e-6", "assert abs(r0[1] - 42.0) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 50" ], "subtask":...
theo-eng-code-L2-code-011929
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(41, 38, 0.5)", "assert abs(r0 - 39.53) < 1e-6", "r1 = rms_torque(55, 9, 0.25)", "assert abs(r1 - 28.58) < 1e-6", "r2 = rms_torque(25, 25, 0.75)", "assert abs(r2 - 25.0...
theo-eng-code-L2-code-002858
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 160, 560, 0.3)", "assert abs(r0[0] - 440.0) < 1e-6", "assert abs(r0[1] - 1.02) < 1e-6", "assert abs(r0[2] - 61.4) < 1e-6", "r1 = runtime(0.5, 50, 390, 0.5)", "as...
theo-eng-code-L2-code-008191
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 220, 560, 0.5)", "assert abs(r0[0] - 390.0) < 1e-6", "assert abs(r0[1] - 2.31) < 1e-6", "assert abs(r0[2] - 138.5) < 1e-6", "r1 = runtime(0.1, 50, 40, 0.3)", "as...
theo-eng-code-L3-code-010062
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(800, 10, 3.7, 50)", "assert r0[0] == 216", "assert r0[1] == 1", "assert r0[2] == 216", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6" ], ...
theo-eng-code-L2-code-015178
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 16, -0.05, 0.06, 0.3, 0.6, 0)", "assert abs(r0[0] - 0.0233) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - 0.0233) < 1e-6", "r1 = com_zmp(5, 28, -0.07, 0.1...
theo-eng-code-L1-clarify-014133
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": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-002184
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.7, 0.5, 45, 6.5, 2.5)", "assert abs(r0[0] - 27.23) < 1e-6", "assert abs(r0[1] - 1.85) < 1e-6", "assert abs(r0[2] - 31.85) < 1e-6", "r1 = joint_torque(2.4, 0.25, 60, ...
theo-eng-code-L2-code-005906
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(90, [0, 25, 50, 75, 100], [0.7, 0.84, 0.87, 0.87, 0.85])", "assert abs(r0 - 0.858) < 1e-6", "r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.72, 0.85, 0.88, 0.88, 0.84])", "a...
theo-eng-code-L2-code-008691
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 11, 0.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-L2-code-004443
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 150, 0.2, 0.9)", "assert abs(r0[0] - 0.35) < 1e-6", "assert abs(r0[1] - 21.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L2-code-003208
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')", "assert r0[0] == 60", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')", "assert r1[0] == 20", ...
theo-eng-code-L3-code-003209
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(13, 23, 0.09, 0.03, 0.3, 0.4, 1)", "assert abs(r0[0] - 0.0517) < 1e-6", "assert abs(r0[1] - 0.3639) < 1e-6", "assert abs(r0[2] - 0.0146) < 1e-6", "r1 = com_zmp(17, 23, 0.08, -0...
theo-eng-code-L3-code-012891
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(5.7, 0.13, 60, 6.0, 1.0)", "assert abs(r0[0] - 9.77) < 1e-6", "assert abs(r0[1] - 0.1335) < 1e-6", "assert abs(r0[2] - 9.91) < 1e-6", "r1 = joint_torque(1.9, 0.57, 30, 6...
theo-eng-code-L2-code-003195
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 150, 0.2, 1.0)", "assert abs(r0[0] - 0.4) < 1e-6", "assert abs(r0[1] - 24.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L2-code-000178
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.6, 0.55, 30, 0.0, 2.0)", "assert abs(r0[0] - 6.2) < 1e-6", "assert abs(r0[1] - 0.4638) < 1e-6", "assert abs(r0[2] - 7.13) < 1e-6", "r1 = joint_torque(4.5, 0.25, 60, ...
theo-eng-code-L3-code-011728
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": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.44, 5500, 100)", "assert abs(r0[0] - 9.12) < 1e-6", "assert abs(r0[1] - 602.9) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", ...
theo-eng-code-L2-code-007036
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_sumloop", "user_template": "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-L3-code-015564
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.9, 0.2, 30, 2.0, 1.5)", "assert abs(r0[0] - 4.86) < 1e-6", "assert abs(r0[1] - 0.1587) < 1e-6", "assert abs(r0[2] - 5.09) < 1e-6", "r1 = joint_torque(1.9, 0.44, 30, 6....
theo-eng-code-L3-code-010679
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(89, 1250, 60, 0.24, 3.1, 0.013, 0.8, 0.92, 0.9)", "assert abs(r0[0] - 803.5) < 1e-6", "assert abs(r0[1] - 9.97) < 1e-6", "assert abs(r0[2] - 5.98) < 1e-6", "r1 = erange(26, 26...
theo-eng-code-L2-code-004924
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 260, 110, 0.7)", "assert abs(r0[0] - 215.0) < 1e-6", "assert abs(r0[1] - 4.19) < 1e-6", "assert abs(r0[2] - 251.2) < 1e-6", "r1 = runtime(0.2, 150, 390, 0.3)", "...
theo-eng-code-L1-code-005656
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": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-013560
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_sumloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-015431
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.75, 0.8, 0.89, 0.89, 0.81])", "assert abs(r0 - 0.818) < 1e-6", "r1 = interp_eff(55, [0, 25, 50, 75, 100], [0.75, 0.85, 0.86, 0.9, 0.85])", "as...
theo-eng-code-L3-code-000297
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(5, 12, -0.08, 0.15, 0.9, 0.8, 1)", "assert abs(r0[0] - 0.0824) < 1e-6", "assert abs(r0[1] - 0.8294) < 1e-6", "assert abs(r0[2] - -0.0022) < 1e-6" ], "subtask": "writetes...
theo-eng-code-L2-code-011791
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.4, 0.36, 30, 6.0, 3.5)", "assert abs(r0[0] - 11.83) < 1e-6", "assert abs(r0[1] - 0.8381) < 1e-6", "assert abs(r0[2] - 14.76) < 1e-6", "r1 = joint_torque(3.7, 0.2, 45...
theo-eng-code-L2-code-013602
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 220, 570, 0.7)", "assert abs(r0[0] - 325.0) < 1e-6", "assert abs(r0[1] - 1.38) < 1e-6", "assert abs(r0[2] - 83.1) < 1e-6", "r1 = runtime(0.2, 230, 330, 0.3)", "a...
theo-eng-code-L2-code-007594
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 60, 3.6, 50)", "assert r0[0] == 56", "assert r0[1] == 6", "assert r0[2] == 336", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 60.48) < 1e-6", "r1 = p...
theo-eng-code-L3-code-009945
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 40, 420, 0.3)", "assert abs(r0[0] - 306.0) < 1e-6", "assert abs(r0[1] - 2.94) < 1e-6", "assert abs(r0[2] - 176.5) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L2-code-004672
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 12500, 120)", "assert abs(r0[0] - 16.49) < 1e-6", "assert abs(r0[1] - 757.9) < 1e-6", "r1 = gear_ratio(0.39, 14000, 180)", "assert abs(r1[0] - 11.44) < 1e-6", "...
theo-eng-code-L3-code-001151
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(8, 18, -0.05, 0.05, 0.8, 0.4, 1)", "assert abs(r0[0] - 0.0192) < 1e-6", "assert abs(r0[1] - 0.5231) < 1e-6", "assert abs(r0[2] - -0.0341) < 1e-6", "r1 = com_zmp(11, 28, -0.03, ...
theo-eng-code-L3-code-006150
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 40, 3.6, 10)", "assert r0[0] == 222", "assert r0[1] == 6", "assert r0[2] == 1332", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 47.952) < 1e-6" ],...
theo-eng-code-L3-code-002627
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 80, 3.6, 50)", "assert r0[0] == 111", "assert r0[1] == 5", "assert r0[2] == 555", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 99.9) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-008270
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 11000, 120)", "assert abs(r0[0] - 15.55) < 1e-6", "assert abs(r0[1] - 707.4) < 1e-6", "r1 = gear_ratio(0.38, 11500, 120)", "assert abs(r1[0] - 13.73) < 1e-6", "...
theo-eng-code-L2-code-013437
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.4, 0.12, 30, 7.0, 0.5)", "assert abs(r0[0] - 6.0) < 1e-6", "assert abs(r0[1] - 0.1315) < 1e-6", "assert abs(r0[2] - 6.07) < 1e-6", "r1 = joint_torque(3.7, 0.57, 60, ...
theo-eng-code-L3-code-005380
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.2, 0.47, 30, 6.5, 1.5)", "assert abs(r0[0] - 23.28) < 1e-6", "assert abs(r0[1] - 1.966) < 1e-6", "assert abs(r0[2] - 26.23) < 1e-6", "r1 = joint_torque(3.6, 0.42, 45, ...
theo-eng-code-L2-code-009946
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 160, 490, 0.3)", "assert abs(r0[0] - 391.0) < 1e-6", "assert abs(r0[1] - 0.23) < 1e-6", "assert abs(r0[2] - 13.8) < 1e-6", "r1 = runtime(1.0, 170, 420, 0.5)", "a...
theo-eng-code-L2-code-004446
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-015870
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 27, -0.03, 0.06, 0.7, 0.5, 0.5)", "assert abs(r0[0] - 0.0375) < 1e-6", "assert abs(r0[1] - 0.55) < 1e-6", "assert abs(r0[2] - 0.0095) < 1e-6", "r1 = com_zmp(11, 27, 0.04, ...
theo-eng-code-L2-code-010043
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([220, 260, 300, 90, 310], 10)", "assert abs(r0 - 3.2778) < 1e-6", "r1 = rect_energy([170, 370, 480, 450], 2)", "assert abs(r1 - 0.8167) < 1e-6", "r2 = rect_energy...
theo-eng-code-L3-code-014041
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(19, 22, 0.07, 0.07, 0.9, 0.6, 0.5)", "assert abs(r0[0] - 0.07) < 1e-6", "assert abs(r0[1] - 0.739) < 1e-6", "assert abs(r0[2] - 0.0323) < 1e-6" ], "subtask": "writetests...
theo-eng-code-L3-code-009319
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(6.4, 0.21, 45, 8.0, 2.5)", "assert abs(r0[0] - 16.32) < 1e-6", "assert abs(r0[1] - 0.4469) < 1e-6", "assert abs(r0[2] - 17.43) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L2-code-003385
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-014932
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 220, 310, 0.3)", "assert abs(r0[0] - 283.0) < 1e-6", "assert abs(r0[1] - 3.18) < 1e-6", "assert abs(r0[2] - 190.8) < 1e-6", "r1 = runtime(0.5, 240, 300, 0.7)", "as...
theo-eng-code-L1-clarify-008594
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": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-code-003287
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_dictget", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-008228
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": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.37, 9000, 150)", "assert abs(r0[0] - 8.37) < 1e-6", "assert abs(r0[1] - 1075.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-011303
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-002628
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(19, 15, -0.01, 0.15, 0.4, 0.3, 0)", "assert abs(r0[0] - 0.0606) < 1e-6", "assert abs(r0[1] - 0.3559) < 1e-6", "assert abs(r0[2] - 0.0606) < 1e-6", "r1 = com_zmp(20, 11, 0.03, 0...
theo-eng-code-L2-code-014588
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 22, 0.1, 0.9)", "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-L2-code-008087
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 240, 470, 0.5)", "assert abs(r0[0] - 355.0) < 1e-6", "assert abs(r0[1] - 2.54) < 1e-6", "assert abs(r0[2] - 152.1) < 1e-6", "r1 = runtime(1.0, 120, 580, 0.7)", "...
theo-eng-code-L2-code-004907
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 540, 0.5)", "assert abs(r0[0] - 295.0) < 1e-6", "assert abs(r0[1] - 0.61) < 1e-6", "assert abs(r0[2] - 36.6) < 1e-6", "r1 = runtime(0.1, 70, 450, 0.5)", "ass...
theo-eng-code-L1-code-007086
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_countdown", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-015935
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": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 260, 470, 0.3)", "assert abs(r0[0] - 407.0) < 1e-6", "assert abs(r0[1] - 2.21) < 1e-6", "assert abs(r0[2] - 132.7) < 1e-6" ], "subtask": "writetests", "verifi...
theo-eng-code-L2-code-004418
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_countloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-clarify-010337
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": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }