id
stringlengths
28
31
type
stringclasses
3 values
tier
stringclasses
3 values
domain
stringclasses
1 value
messages
listlengths
3
3
meta
unknown
theo-eng-code-L3-code-007737
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(14, 16, -0.03, 0.02, 0.3, 0.7, 2)", "assert abs(r0[0] - -0.0033) < 1e-6", "assert abs(r0[1] - 0.5133) < 1e-6", "assert abs(r0[2] - -0.108) < 1e-6", "r1 = com_zmp(18, 12, 0.05, ...
theo-eng-code-L2-code-008324
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(78, 35, 0.25)", "assert abs(r0 - 49.39) < 1e-6", "r1 = rms_torque(34, 24, 0.5)", "assert abs(r1 - 29.43) < 1e-6", "r2 = rms_torque(86, 13, 0.75)", "assert abs(r2 - 74....
theo-eng-code-L2-code-015223
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 1.5], [0.5, 4.0])", "assert abs(r0 - 2.5) < 1e-6", "r1 = seg_len([2.0, 3.0], [3.5, 2.5])", "assert abs(r1 - 1.5811) < 1e-6", "r2 = seg_len([2.5, 4.5], [4.0, 4.0])",...
theo-eng-code-L2-code-005096
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.6, 0.52, 45, 4.0, 0.0)", "assert abs(r0[0] - 26.33) < 1e-6", "assert abs(r0[1] - 1.6765) < 1e-6", "assert abs(r0[2] - 26.33) < 1e-6", "r1 = joint_torque(6.3, 0.27, 4...
theo-eng-code-L2-code-015454
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = summarise([22, 18, 28, 46, 17, 72])", "assert abs(r0[0] - 33.833) < 1e-6", "assert abs(r0[1] - 21.507) < 1e-6", "r1 = summarise([89, 10, 66, 49])", "assert abs(r1[0] - 53.5) <...
theo-eng-code-L2-code-005389
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 170, 120, 0.5)", "assert abs(r0[0] - 145.0) < 1e-6", "assert abs(r0[1] - 1.24) < 1e-6", "assert abs(r0[2] - 74.5) < 1e-6", "r1 = runtime(0.5, 160, 210, 0.7)", "a...
theo-eng-code-L2-code-009883
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 60, 3.2, 50)", "assert r0[0] == 250", "assert r0[1] == 2", "assert r0[2] == 500", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1 = p...
theo-eng-code-L2-code-005886
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = summarise([38, 57, 10, 98, 87, 48])", "assert abs(r0[0] - 56.333) < 1e-6", "assert abs(r0[1] - 32.34) < 1e-6", "r1 = summarise([54, 62, 16, 17])", "assert abs(r1[0] - 37.25) <...
theo-eng-code-L1-clarify-009031
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": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-014060
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.7, 0.45, 60, 0.0, 1.5)", "assert abs(r0[0] - 12.81) < 1e-6", "assert abs(r0[1] - 0.4523) < 1e-6", "assert abs(r0[2] - 13.49) < 1e-6", "r1 = joint_torque(7.4, 0.15, 9...
theo-eng-code-L3-code-002815
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": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 290, 200, 0.3)", "assert abs(r0[0] - 227.0) < 1e-6", "assert abs(r0[1] - 0.79) < 1e-6", "assert abs(r0[2] - 47.6) < 1e-6", "r1 = runtime(0.5, 290, 410, 0.3)", "ass...
theo-eng-code-L1-clarify-014341
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-002925
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(88, 1030, 60, 0.28, 2.1, 0.012, 0.5, 0.94, 0.95)", "assert abs(r0[0] - 1133.9) < 1e-6", "assert abs(r0[1] - 7.37) < 1e-6", "assert abs(r0[2] - 4.42) < 1e-6", "r1 = erange(36...
theo-eng-code-L2-code-004381
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-code-010125
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-003106
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_squareloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-002493
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.38, 7000, 120)", "assert abs(r0[0] - 8.36) < 1e-6", "assert abs(r0[1] - 837.7) < 1e-6", "r1 = gear_ratio(0.36, 10500, 180)", "assert abs(r1[0] - 7.92) < 1e-6", "asser...
theo-eng-code-L2-code-013444
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(66, 1210, 60, 0.3, 2.4, 0.011, 1.3, 0.9, 0.9)", "assert abs(r0[0] - 595.3) < 1e-6", "assert abs(r0[1] - 9.98) < 1e-6", "assert abs(r0[2] - 5.99) < 1e-6", "r1 = erange(70, 14...
theo-eng-code-L2-code-015653
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-014452
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-012487
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(300, 20, 3.6, 10)", "assert r0[0] == 83", "assert r0[1] == 7", "assert r0[2] == 581", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 20.916) < 1e-6" ], ...
theo-eng-code-L1-clarify-015246
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-code-006746
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": "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-010083
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.0, 0.31, 90, 0.0, 0.0)", "assert abs(r0[0] - 9.12) < 1e-6", "assert abs(r0[1] - 0.1922) < 1e-6", "assert abs(r0[2] - 9.12) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L3-code-001064
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(40, 11, 0.2, 0.9)", "assert abs(r0[0] - 3.18) < 1e-6", "assert abs(r0[1] - 190.9) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_time...
theo-eng-code-L1-clarify-005902
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-015018
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(85, 6, 0.75)", "assert abs(r0 - 73.67) < 1e-6", "r1 = rms_torque(98, 5, 0.75)", "assert abs(r1 - 84.91) < 1e-6", "r2 = rms_torque(19, 14, 0.5)", "assert abs(r2 - 16.69) ...
theo-eng-code-L2-code-006267
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-009223
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-000418
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 7, 0.2, 0.9)", "assert abs(r0[0] - 12.5) < 1e-6", "assert abs(r0[1] - 750.0) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_tim...
theo-eng-code-L2-code-007820
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.34, 15000, 100)", "assert abs(r0[0] - 19.23) < 1e-6", "assert abs(r0[1] - 780.2) < 1e-6", "r1 = gear_ratio(0.27, 14500, 150)", "assert abs(r1[0] - 9.84) < 1e-6", "a...
theo-eng-code-L2-code-002564
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_maxloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-003143
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 40, 3.7, 100)", "assert r0[0] == 81", "assert r0[1] == 2", "assert r0[2] == 162", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 59.94) < 1e-6", "r1 = ...
theo-eng-code-L1-code-010882
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_countdown", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-005825
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-007666
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = erange(68, 1760, 60, 0.36, 2.4, 0.007, 1.3, 0.9, 0.9)", "assert abs(r0[0] - 586.5) < 1e-6", "assert abs(r0[1] - 10.43) < 1e-6", "assert abs(r0[2] - 6.26) < 1e-6", "r1 = erange(40, 98...
theo-eng-code-L2-code-009132
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([50, 120, 90], 5)", "assert abs(r0 - 0.3611) < 1e-6", "r1 = rect_energy([180, 400, 460, 380, 500], 10)", "assert abs(r1 - 5.3333) < 1e-6", "r2 = rect_energy([410,...
theo-eng-code-L2-code-014514
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 29, -0.02, 0.02, 0.4, 0.3, 1)", "assert abs(r0[0] - 0.0037) < 1e-6", "assert abs(r0[1] - 0.3408) < 1e-6", "assert abs(r0[2] - -0.0311) < 1e-6", "r1 = com_zmp(15, 18, -0.0...
theo-eng-code-L2-code-013378
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(74, 2, 0.75)", "assert abs(r0 - 64.09) < 1e-6", "r1 = rms_torque(100, 38, 0.75)", "assert abs(r1 - 88.66) < 1e-6", "r2 = rms_torque(44, 33, 0.75)", "assert abs(r2 - 41...
theo-eng-code-L2-code-011788
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 26, 0.09, 0.11, 0.5, 0.5, 2)", "assert abs(r0[0] - 0.103) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - 0.0011) < 1e-6", "r1 = com_zmp(20, 15, 0.06, 0.09...
theo-eng-code-L2-code-012636
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, [0, 25, 50, 75, 100], [0.77, 0.83, 0.88, 0.85, 0.81])", "assert abs(r0 - 0.87) < 1e-6", "r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.73, 0.85, 0.9, 0.9, 0.82])", "ass...
theo-eng-code-L2-code-001065
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 60, 3.6, 50)", "assert r0[0] == 222", "assert r0[1] == 2", "assert r0[2] == 444", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6", "r1 = ...
theo-eng-code-L3-code-008951
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(400, 20, 3.7, 5)", "assert r0[0] == 108", "assert r0[1] == 11", "assert r0[2] == 1188", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 21.978) < 1e-6" ],...
theo-eng-code-L3-code-011002
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 3.7, 10)", "assert r0[0] == 108", "assert r0[1] == 11", "assert r0[2] == 1188", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 43.956) < 1e-6", "r1 =...
theo-eng-code-L2-code-009671
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 25, -0.04, 0.02, 0.6, 0.7, 1)", "assert abs(r0[0] - 0.0029) < 1e-6", "assert abs(r0[1] - 0.6714) < 1e-6", "assert abs(r0[2] - -0.0656) < 1e-6", "r1 = com_zmp(16, 26, -0.0...
theo-eng-code-L3-code-014456
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 110, 60, 0.7)", "assert abs(r0[0] - 95.0) < 1e-6", "assert abs(r0[1] - 4.74) < 1e-6", "assert abs(r0[2] - 284.2) < 1e-6" ], "subtask": "writetests", "verified...
theo-eng-code-L3-code-012945
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(18, 28, 0.01, 0.03, 0.4, 0.4, 0.5)", "assert abs(r0[0] - 0.0222) < 1e-6", "assert abs(r0[1] - 0.4) < 1e-6", "assert abs(r0[2] - 0.0018) < 1e-6" ], "subtask": "writetests...
theo-eng-code-L2-code-008935
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([400, 210, 150, 270], 10)", "assert abs(r0 - 2.8611) < 1e-6", "r1 = rect_energy([370, 210, 460, 380], 5)", "assert abs(r1 - 1.9722) < 1e-6", "r2 = rect_energy([39...
theo-eng-code-L2-code-009122
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 7, 0.2, 1.0)", "assert abs(r0[0] - 5.71) < 1e-6", "assert abs(r0[1] - 342.9) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L2-code-004234
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([35, 12, 63, 97, 65])", "assert abs(r0[0] - 54.4) < 1e-6", "assert abs(r0[1] - 32.308) < 1e-6", "r1 = summarise([66, 62, 64, 59, 63])", "assert abs(r1[0] - 62.8) < 1...
theo-eng-code-L2-code-013482
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.4, 0.55, 90, 5.5, 3.5)", "assert abs(r0[0] - 49.64) < 1e-6", "assert abs(r0[1] - 2.4099) < 1e-6", "assert abs(r0[2] - 58.07) < 1e-6", "r1 = joint_torque(1.3, 0.43, 6...
theo-eng-code-L2-code-011024
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 50, 0.2, 0.9)", "assert abs(r0[0] - 1.75) < 1e-6", "assert abs(r0[1] - 105.0) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_t...
theo-eng-code-L2-code-010522
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 5500, 180)", "assert abs(r0[0] - 4.84) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.3, 5500, 150)", "assert abs(r1[0] - 4.15) < 1e-6", "asse...
theo-eng-code-L2-code-013840
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(52, 7, 0.25)", "assert abs(r0 - 26.7) < 1e-6", "r1 = rms_torque(25, 23, 0.75)", "assert abs(r1 - 24.52) < 1e-6", "r2 = rms_torque(48, 39, 0.75)", "assert abs(r2 - 45.9...
theo-eng-code-L2-code-000135
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(22, 6, 0.25)", "assert abs(r0 - 12.17) < 1e-6", "r1 = rms_torque(49, 14, 0.25)", "assert abs(r1 - 27.34) < 1e-6", "r2 = rms_torque(76, 15, 0.5)", "assert abs(r2 - 54.7...
theo-eng-code-L2-code-007859
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.5, 0.6, 30, 6.5, 0.0)", "assert abs(r0[0] - 28.69) < 1e-6", "assert abs(r0[1] - 3.12) < 1e-6", "assert abs(r0[2] - 28.69) < 1e-6", "r1 = joint_torque(7.7, 0.23, 45, ...
theo-eng-code-L3-code-006713
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(53, 12, 0.75)", "assert abs(r0 - 46.29) < 1e-6", "r1 = rms_torque(20, 14, 0.5)", "assert abs(r1 - 17.26) < 1e-6", "r2 = rms_torque(58, 26, 0.25)", "assert abs(r2 - 36.72...
theo-eng-code-L2-code-009210
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.7, 100)", "assert r0[0] == 54", "assert r0[1] == 4", "assert r0[2] == 216", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6", "r1 = ...
theo-eng-code-L2-code-013025
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 22, 0.2, 1.0)", "assert abs(r0[0] - 1.82) < 1e-6", "assert abs(r0[1] - 109.1) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L3-code-007646
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.41, 10500, 120)", "assert abs(r0[0] - 13.52) < 1e-6", "assert abs(r0[1] - 776.4) < 1e-6", "r1 = gear_ratio(0.39, 4000, 120)", "assert abs(r1[0] - 4.9) < 1e-6", "asser...
theo-eng-code-L2-code-009849
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(34, 27, 0.25)", "assert abs(r0 - 28.91) < 1e-6", "r1 = rms_torque(12, 9, 0.5)", "assert abs(r1 - 10.61) < 1e-6", "r2 = rms_torque(50, 38, 0.25)", "assert abs(r2 - 41.3...
theo-eng-code-L2-code-007386
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-000050
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 22, 0.2, 0.9)", "assert abs(r0[0] - 3.18) < 1e-6", "assert abs(r0[1] - 190.9) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L2-code-006826
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 3.7, 5)", "assert r0[0] == 108", "assert r0[1] == 21", "assert r0[2] == 2268", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 41.958) < 1e-6", "r1 ...
theo-eng-code-L2-code-005700
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([410, 280, 350, 360, 490], 2)", "assert abs(r0 - 1.05) < 1e-6", "r1 = rect_energy([400, 70, 450, 360], 5)", "assert abs(r1 - 1.7778) < 1e-6", "r2 = rect_energy([3...
theo-eng-code-L2-code-001672
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.31, 8000, 120)", "assert abs(r0[0] - 7.79) < 1e-6", "assert abs(r0[1] - 1026.8) < 1e-6", "r1 = gear_ratio(0.36, 8500, 100)", "assert abs(r1[0] - 11.54) < 1e-6", "as...
theo-eng-code-L3-code-004322
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 80, 3.2, 50)", "assert r0[0] == 156", "assert r0[1] == 4", "assert r0[2] == 624", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 99.84) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-013062
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 0.2, 0.9)", "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", "r1 = charge_time...
theo-eng-code-L2-code-010753
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, [0, 25, 50, 75, 100], [0.78, 0.84, 0.87, 0.88, 0.8])", "assert abs(r0 - 0.84) < 1e-6", "r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.71, 0.83, 0.85, 0.87, 0.82])", "as...
theo-eng-code-L2-code-007157
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-003616
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.3, 0.15, 45, 7.5, 3.5)", "assert abs(r0[0] - 11.6) < 1e-6", "assert abs(r0[1] - 0.2235) < 1e-6", "assert abs(r0[2] - 12.38) < 1e-6", "r1 = joint_torque(5.5, 0.48, 90...
theo-eng-code-L3-code-015799
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": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(35, 1810, 80, 0.24, 3.0, 0.013, 0.3, 0.88, 0.95)", "assert abs(r0[0] - 228.7) < 1e-6", "assert abs(r0[1] - 14.54) < 1e-6", "assert abs(r0[2] - 11.63) < 1e-6" ], "subtas...
theo-eng-code-L3-code-005163
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(500, 60, 3.2, 50)", "assert r0[0] == 156", "assert r0[1] == 3", "assert r0[2] == 468", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 74.88) < 1e-6" ], ...
theo-eng-code-L3-code-008892
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = erange(54, 2150, 100, 0.34, 1.9, 0.013, 0.6, 0.88, 0.85)", "assert abs(r0[0] - 243.0) < 1e-6", "assert abs(r0[1] - 18.89) < 1e-6", "assert abs(r0[2] - 18.89) < 1e-6", "r1 = erange(99...
theo-eng-code-L2-code-010098
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 100}')", "assert r0[0] == 80", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')", "assert r1[0] == 40", "...
theo-eng-code-L3-code-004545
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": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(66, 1660, 100, 0.36, 2.9, 0.013, 1.0, 0.88, 0.9)", "assert abs(r0[0] - 255.4) < 1e-6", "assert abs(r0[1] - 23.26) < 1e-6", "assert abs(r0[2] - 23.26) < 1e-6" ], "subtas...
theo-eng-code-L2-code-015591
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([88, 30, 34, 14])", "assert abs(r0[0] - 41.5) < 1e-6", "assert abs(r0[1] - 32.182) < 1e-6", "r1 = summarise([16, 17, 16, 77])", "assert abs(r1[0] - 31.5) < 1e-6", ...
theo-eng-code-L3-code-014692
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.4, 0.31, 45, 4.5, 2.0)", "assert abs(r0[0] - 17.63) < 1e-6", "assert abs(r0[1] - 0.6695) < 1e-6", "assert abs(r0[2] - 18.97) < 1e-6", "r1 = joint_torque(7.7, 0.41, 45,...
theo-eng-code-L2-code-000117
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 26, -0.07, 0.05, 0.3, 0.9, 1)", "assert abs(r0[0] - 0.0306) < 1e-6", "assert abs(r0[1] - 0.8032) < 1e-6", "assert abs(r0[2] - -0.0512) < 1e-6", "r1 = com_zmp(8, 26, -0.06,...
theo-eng-code-L1-code-006871
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_squares", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-007878
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 10, 3.7, 2.5)", "assert r0[0] == 135", "assert r0[1] == 9", "assert r0[2] == 1215", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 11.239) < 1e-6", "r1 =...
theo-eng-code-L2-code-006903
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.9, 0.14, 45, 7.5, 0.5)", "assert abs(r0[0] - 8.69) < 1e-6", "assert abs(r0[1] - 0.1659) < 1e-6", "assert abs(r0[2] - 8.77) < 1e-6", "r1 = joint_torque(7.4, 0.31, 90,...
theo-eng-code-L3-code-002429
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_range", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(41, 2630, 100, 0.22, 2.4, 0.01, 0.8, 0.92, 0.95)", "assert abs(r0[0] - 241.6) < 1e-6", "assert abs(r0[1] - 16.12) < 1e-6", "assert abs(r0[2] - 16.12) < 1e-6" ], "subtas...
theo-eng-code-L2-code-007649
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-001658
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(18, 19, -0.03, -0.03, 0.9, 0.4, 2)", "assert abs(r0[0] - -0.03) < 1e-6", "assert abs(r0[1] - 0.6432) < 1e-6", "assert abs(r0[2] - -0.1611) < 1e-6", "r1 = com_zmp(14, 15, -0.07,...
theo-eng-code-L1-refuse-014885
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": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-011790
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-002692
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, [0, 25, 50, 75, 100], [0.77, 0.83, 0.9, 0.9, 0.81])", "assert abs(r0 - 0.886) < 1e-6", "r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.72, 0.84, 0.9, 0.85, 0.81])", "ass...
theo-eng-code-L3-code-009001
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(500, 20, 3.7, 100)", "assert r0[0] == 135", "assert r0[1] == 1", "assert r0[2] == 135", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 49.95) < 1e-6" ], ...
theo-eng-code-L2-code-006306
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, -0.04, -0.04, 0.4, 0.5, 0)", "assert abs(r0[0] - -0.04) < 1e-6", "assert abs(r0[1] - 0.45) < 1e-6", "assert abs(r0[2] - -0.04) < 1e-6", "r1 = com_zmp(7, 29, 0.03, -0....
theo-eng-code-L2-code-002837
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 14500, 150)", "assert abs(r0[0] - 16.4) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6", "r1 = gear_ratio(0.45, 6000, 120)", "assert abs(r1[0] - 8.48) < 1e-6", "ass...
theo-eng-code-L2-code-015250
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_squareloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-005424
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_countloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-000563
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(11, 21, 0.04, -0.03, 0.6, 0.6, 1)", "assert abs(r0[0] - -0.0059) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - -0.0671) < 1e-6", "r1 = com_zmp(6, 28, 0.02, 0.0...
theo-eng-code-L2-code-013182
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 10, -0.03, 0.03, 0.5, 0.6, 1)", "assert abs(r0[0] - -0.0078) < 1e-6", "assert abs(r0[1] - 0.537) < 1e-6", "assert abs(r0[2] - -0.0625) < 1e-6", "r1 = com_zmp(18, 27, -0.0...
theo-eng-code-L2-code-006277
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 22, 0.1, 1.0)", "assert abs(r0[0] - 5.11) < 1e-6", "assert abs(r0[1] - 306.8) < 1e-6", "assert abs(r0[2] - 90.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_t...
theo-eng-code-L1-refuse-009507
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_bypass_limit_code", "user_template": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-002223
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 13, 0.03, -0.03, 0.8, 0.5, 0.5)", "assert abs(r0[0] - -0.0133) < 1e-6", "assert abs(r0[1] - 0.5833) < 1e-6", "assert abs(r0[2] - -0.0431) < 1e-6", "r1 = com_zmp(10, 14, -0...
theo-eng-code-L2-code-003779
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, [0, 25, 50, 75, 100], [0.7, 0.8, 0.85, 0.85, 0.81])", "assert abs(r0 - 0.74) < 1e-6", "r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.73, 0.85, 0.87, 0.85, 0.83])", "ass...
theo-eng-code-L2-code-004703
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 270, 490, 0.5)", "assert abs(r0[0] - 380.0) < 1e-6", "assert abs(r0[1] - 2.37) < 1e-6", "assert abs(r0[2] - 142.1) < 1e-6", "r1 = runtime(1.0, 250, 490, 0.7)", "...