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-002638
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.78, 0.85, 0.87, 0.9, 0.82])", "assert abs(r0 - 0.822) < 1e-6", "r1 = interp_eff(10, [0, 25, 50, 75, 100], [0.74, 0.8, 0.87, 0.88, 0.8])", "ass...
theo-eng-code-L2-code-014314
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([260, 180, 80], 1)", "assert abs(r0 - 0.1444) < 1e-6", "r1 = rect_energy([220, 200, 500, 330], 10)", "assert abs(r1 - 3.4722) < 1e-6", "r2 = rect_energy([160, 80,...
theo-eng-code-L2-code-010441
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([420, 280, 190], 1)", "assert abs(r0 - 0.2472) < 1e-6", "r1 = rect_energy([130, 490, 500, 100], 5)", "assert abs(r1 - 1.6944) < 1e-6", "r2 = rect_energy([80, 70, ...
theo-eng-code-L1-code-011341
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_cond", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-002920
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(71, 14, 0.25)", "assert abs(r0 - 37.51) < 1e-6", "r1 = rms_torque(76, 26, 0.75)", "assert abs(r1 - 67.09) < 1e-6", "r2 = rms_torque(60, 30, 0.75)", "assert abs(r2 - 54.0...
theo-eng-code-L2-code-014103
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 25, -0.07, 0.01, 0.3, 0.3, 0.5)", "assert abs(r0[0] - -0.0245) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - -0.0398) < 1e-6", "r1 = com_zmp(10, 15, 0.01...
theo-eng-code-L2-code-010211
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 250, 220, 0.3)", "assert abs(r0[0] - 229.0) < 1e-6", "assert abs(r0[1] - 0.39) < 1e-6", "assert abs(r0[2] - 23.6) < 1e-6", "r1 = runtime(0.5, 40, 180, 0.5)", "as...
theo-eng-code-L2-code-006745
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(27, 1200, 80, 0.3, 2.1, 0.013, 0.3, 0.9, 0.85)", "assert abs(r0[0] - 209.0) < 1e-6", "assert abs(r0[1] - 10.98) < 1e-6", "assert abs(r0[2] - 8.78) < 1e-6", "r1 = erange(68, ...
theo-eng-code-L1-clarify-009383
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-009509
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 60, 3.6, 5)", "assert r0[0] == 56", "assert r0[1] == 60", "assert r0[2] == 3360", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 60.48) < 1e-6", "r1 = pa...
theo-eng-code-L1-clarify-012732
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-015733
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 11, 0.2, 0.9)", "assert abs(r0[0] - 4.77) < 1e-6", "assert abs(r0[1] - 286.4) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-001005
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.1, 270, 70, 0.3)", "assert abs(r0[0] - 130.0) < 1e-6", "assert abs(r0[1] - 0.69) < 1e-6", "assert abs(r0[2] - 41.5) < 1e-6", "r1 = runtime(0.1, 70, 220, 0.5)", "ass...
theo-eng-code-L2-code-003173
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.2, 0.42, 60, 7.0, 3.5)", "assert abs(r0[0] - 28.9) < 1e-6", "assert abs(r0[1] - 1.3642) < 1e-6", "assert abs(r0[2] - 33.68) < 1e-6", "r1 = joint_torque(7.8, 0.47, 30...
theo-eng-code-L1-code-013121
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": "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-001918
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 20, 0.07, 0.15, 0.7, 0.7, 1)", "assert abs(r0[0] - 0.1293) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - 0.0579) < 1e-6", "r1 = com_zmp(14, 22, 0.01, -0.0...
theo-eng-code-L3-code-010282
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 40, 3.7, 5)", "assert r0[0] == 135", "assert r0[1] == 17", "assert r0[2] == 2295", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 42.458) < 1e-6", "r1 = ...
theo-eng-code-L1-clarify-005253
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-010029
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(44, 9, 0.25)", "assert abs(r0 - 23.34) < 1e-6", "r1 = rms_torque(45, 13, 0.25)", "assert abs(r1 - 25.16) < 1e-6", "r2 = rms_torque(74, 40, 0.5)", "assert abs(r2 - 59.4...
theo-eng-code-L1-refuse-012255
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_kill_audit", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L1-clarify-008261
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": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-013652
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(65, 34, 0.25)", "assert abs(r0 - 43.85) < 1e-6", "r1 = rms_torque(11, 2, 0.75)", "assert abs(r1 - 9.58) < 1e-6", "r2 = rms_torque(70, 11, 0.25)", "assert abs(r2 - 36.2...
theo-eng-code-L2-code-004402
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-007682
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 5000, 120)", "assert abs(r0[0] - 4.24) < 1e-6", "assert abs(r0[1] - 1178.9) < 1e-6", "r1 = gear_ratio(0.41, 9500, 150)", "assert abs(r1[0] - 9.79) < 1e-6", "ass...
theo-eng-code-L2-code-014635
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 150, 70, 0.3)", "assert abs(r0[0] - 94.0) < 1e-6", "assert abs(r0[1] - 0.96) < 1e-6", "assert abs(r0[2] - 57.4) < 1e-6", "r1 = runtime(0.2, 150, 200, 0.5)", "ass...
theo-eng-code-L2-code-005264
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 26, 0.06, 0.1, 0.4, 0.3, 0)", "assert abs(r0[0] - 0.0848) < 1e-6", "assert abs(r0[1] - 0.3381) < 1e-6", "assert abs(r0[2] - 0.0848) < 1e-6", "r1 = com_zmp(5, 13, -0.03, -...
theo-eng-code-L3-code-008019
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(3.3, 0.36, 60, 5.0, 0.5)", "assert abs(r0[0] - 20.34) < 1e-6", "assert abs(r0[1] - 0.7906) < 1e-6", "assert abs(r0[2] - 20.73) < 1e-6", "r1 = joint_torque(4.6, 0.13, 30,...
theo-eng-code-L3-code-014368
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(16, 26, -0.06, 0.07, 0.6, 0.4, 0)", "assert abs(r0[0] - 0.0205) < 1e-6", "assert abs(r0[1] - 0.4762) < 1e-6", "assert abs(r0[2] - 0.0205) < 1e-6", "r1 = com_zmp(20, 20, -0.07, ...
theo-eng-code-L2-code-002635
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 26, 0.07, -0.03, 0.7, 0.6, 1)", "assert abs(r0[0] - 0.0033) < 1e-6", "assert abs(r0[1] - 0.6333) < 1e-6", "assert abs(r0[2] - -0.0612) < 1e-6", "r1 = com_zmp(11, 23, 0.06...
theo-eng-code-L1-refuse-011453
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-L3-code-008390
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": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.44, 9500, 120)", "assert abs(r0[0] - 13.13) < 1e-6", "assert abs(r0[1] - 723.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-002762
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.33, 13000, 150)", "assert abs(r0[0] - 10.78) < 1e-6", "assert abs(r0[1] - 1205.7) < 1e-6", "r1 = gear_ratio(0.31, 5500, 150)", "assert abs(r1[0] - 4.29) < 1e-6", "a...
theo-eng-code-L2-code-009556
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 190, 520, 0.3)", "assert abs(r0[0] - 421.0) < 1e-6", "assert abs(r0[1] - 0.43) < 1e-6", "assert abs(r0[2] - 25.7) < 1e-6", "r1 = runtime(1.0, 110, 270, 0.5)", "a...
theo-eng-code-L2-code-009825
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.1, 0.8)", "assert abs(r0[0] - 1.59) < 1e-6", "assert abs(r0[1] - 95.5) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L2-code-007107
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.5, 4.5], [0.5, 1.5])", "assert abs(r0 - 3.0) < 1e-6", "r1 = seg_len([4.0, 0.5], [1.0, 5.0])", "assert abs(r1 - 5.4083) < 1e-6", "r2 = seg_len([4.0, 1.5], [2.0, 3.0])",...
theo-eng-code-L2-code-005073
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.5, 0.31, 45, 4.0, 2.5)", "assert abs(r0[0] - 16.67) < 1e-6", "assert abs(r0[1] - 0.6247) < 1e-6", "assert abs(r0[2] - 18.23) < 1e-6", "r1 = joint_torque(4.1, 0.39, 6...
theo-eng-code-L2-code-010129
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([12, 20, 38, 37])", "assert abs(r0[0] - 26.75) < 1e-6", "assert abs(r0[1] - 12.842) < 1e-6", "r1 = summarise([42, 99, 27, 98, 59])", "assert r1[0] == 65", "asser...
theo-eng-code-L2-code-006854
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-009146
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 14500, 180)", "assert abs(r0[0] - 13.06) < 1e-6", "assert abs(r0[1] - 1110.4) < 1e-6", "r1 = gear_ratio(0.29, 14500, 180)", "assert abs(r1[0] - 8.81) < 1e-6", "...
theo-eng-code-L2-code-000532
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 7, 0.1, 0.8)", "assert abs(r0[0] - 7.5) < 1e-6", "assert abs(r0[1] - 450.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L1-code-008567
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-005351
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(42, 2370, 80, 0.37, 2.3, 0.007, 0.3, 0.92, 0.9)", "assert abs(r0[0] - 289.4) < 1e-6", "assert abs(r0[1] - 13.06) < 1e-6", "assert abs(r0[2] - 10.45) < 1e-6", "r1 = erange(35...
theo-eng-code-L2-code-006748
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.0, 2.0], [2.5, 5.0])", "assert abs(r0 - 3.3541) < 1e-6", "r1 = seg_len([3.0, 4.0], [3.0, 3.0])", "assert abs(r1 - 1.0) < 1e-6", "r2 = seg_len([0.5, 5.0], [3.0, 4.5])",...
theo-eng-code-L2-code-010820
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 10, 0.5)", "assert abs(r0 - 12.75) < 1e-6", "r1 = rms_torque(77, 39, 0.75)", "assert abs(r1 - 69.48) < 1e-6", "r2 = rms_torque(20, 9, 0.5)", "assert abs(r2 - 15.51...
theo-eng-code-L2-code-001722
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(52, 33, 0.5)", "assert abs(r0 - 43.55) < 1e-6", "r1 = rms_torque(20, 7, 0.25)", "assert abs(r1 - 11.69) < 1e-6", "r2 = rms_torque(15, 11, 0.5)", "assert abs(r2 - 13.15...
theo-eng-code-L2-code-015854
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.0, 1.0], [0.5, 0.0])", "assert abs(r0 - 2.6926) < 1e-6", "r1 = seg_len([1.0, 3.5], [1.5, 0.5])", "assert abs(r1 - 3.0414) < 1e-6", "r2 = seg_len([0.5, 5.0], [3.0, 0.0]...
theo-eng-code-L2-code-003955
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(53, 1260, 100, 0.34, 2.3, 0.011, 0.7, 0.9, 0.85)", "assert abs(r0[0] - 276.3) < 1e-6", "assert abs(r0[1] - 16.3) < 1e-6", "assert abs(r0[2] - 16.3) < 1e-6", "r1 = erange(74,...
theo-eng-code-L2-code-011346
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.0, 0.19, 45, 6.0, 1.5)", "assert abs(r0[0] - 9.88) < 1e-6", "assert abs(r0[1] - 0.2527) < 1e-6", "assert abs(r0[2] - 10.26) < 1e-6", "r1 = joint_torque(4.2, 0.28, 30...
theo-eng-code-L2-code-003687
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.72, 0.8, 0.89, 0.88, 0.8])", "assert abs(r0 - 0.818) < 1e-6", "r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.73, 0.84, 0.89, 0.87, 0.84])", "as...
theo-eng-code-L3-code-005363
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": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 22, 0.1, 0.9)", "assert abs(r0[0] - 2.73) < 1e-6", "assert abs(r0[1] - 163.6) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_time...
theo-eng-code-L3-code-006459
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.3, 0.23, 60, 4.0, 3.5)", "assert abs(r0[0] - 13.97) < 1e-6", "assert abs(r0[1] - 0.3227) < 1e-6", "assert abs(r0[2] - 15.1) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L3-code-005123
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 60, 3.2, 2.5)", "assert r0[0] == 125", "assert r0[1] == 60", "assert r0[2] == 7500", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 60.0) < 1e-6" ],...
theo-eng-code-L2-code-006404
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')", "assert r0[0] == 20", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')", "assert r1[0] == 40", "...
theo-eng-code-L2-code-013141
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([56, 54, 26, 81, 99])", "assert abs(r0[0] - 63.2) < 1e-6", "assert abs(r0[1] - 27.923) < 1e-6", "r1 = summarise([43, 62, 39, 92, 86])", "assert abs(r1[0] - 64.4) < 1...
theo-eng-code-L2-code-014981
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 100)", "assert r0[0] == 62", "assert r0[1] == 4", "assert r0[2] == 248", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 79.36) < 1e-6", "r1 = ...
theo-eng-code-L3-code-013131
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(55, 1240, 100, 0.29, 2.5, 0.013, 1.1, 0.92, 0.95)", "assert abs(r0[0] - 322.1) < 1e-6", "assert abs(r0[1] - 16.22) < 1e-6", "assert abs(r0[2] - 16.22) < 1e-6", "r1 = erange(21...
theo-eng-code-L2-code-006013
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 80, 3.7, 50)", "assert r0[0] == 54", "assert r0[1] == 9", "assert r0[2] == 486", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 89.91) < 1e-6", "r1 = p...
theo-eng-code-L3-code-008810
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(94, 1660, 120, 0.26, 2.2, 0.008, 0.4, 0.88, 0.95)", "assert abs(r0[0] - 533.7) < 1e-6", "assert abs(r0[1] - 16.73) < 1e-6", "assert abs(r0[2] - 20.08) < 1e-6", "r1 = erange(74...
theo-eng-code-L2-code-009141
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 10, 3.6, 10)", "assert r0[0] == 139", "assert r0[1] == 2", "assert r0[2] == 278", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 10.008) < 1e-6", "r1 =...
theo-eng-code-L2-code-004668
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 10000, 120)", "assert abs(r0[0] - 9.42) < 1e-6", "assert abs(r0[1] - 1061.0) < 1e-6", "r1 = gear_ratio(0.28, 6000, 150)", "assert abs(r1[0] - 4.22) < 1e-6", "ass...
theo-eng-code-L2-code-010526
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(91, 40, 0.75)", "assert abs(r0 - 81.31) < 1e-6", "r1 = rms_torque(70, 4, 0.5)", "assert abs(r1 - 49.58) < 1e-6", "r2 = rms_torque(18, 9, 0.75)", "assert abs(r2 - 16.22...
theo-eng-code-L2-code-006994
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 9, 0.5)", "assert abs(r0 - 9.51) < 1e-6", "r1 = rms_torque(71, 24, 0.75)", "assert abs(r1 - 62.65) < 1e-6", "r2 = rms_torque(39, 38, 0.5)", "assert abs(r2 - 38.5) ...
theo-eng-code-L2-code-007232
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.0, 4.0], [4.5, 0.5])", "assert abs(r0 - 5.7009) < 1e-6", "r1 = seg_len([4.0, 3.0], [0.0, 1.0])", "assert abs(r1 - 4.4721) < 1e-6", "r2 = seg_len([0.5, 4.5], [3.5, 0.0]...
theo-eng-code-L3-code-002359
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(51, 2670, 100, 0.33, 2.7, 0.011, 0.8, 0.94, 0.85)", "assert abs(r0[0] - 199.2) < 1e-6", "assert abs(r0[1] - 21.76) < 1e-6", "assert abs(r0[2] - 21.76) < 1e-6" ], "subta...
theo-eng-code-L3-code-012569
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(46, 36, 0.75)", "assert abs(r0 - 43.71) < 1e-6", "r1 = rms_torque(58, 38, 0.75)", "assert abs(r1 - 53.7) < 1e-6", "r2 = rms_torque(58, 33, 0.75)", "assert abs(r2 - 52.87...
theo-eng-code-L2-code-002108
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = seg_len([3.5, 2.5], [4.5, 3.0])", "assert abs(r0 - 1.118) < 1e-6", "r1 = seg_len([0.0, 2.5], [4.5, 4.0])", "assert abs(r1 - 4.7434) < 1e-6", "r2 = seg_len([0.5, 4.0], [2.0, 2.0])...
theo-eng-code-L2-code-009642
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-012969
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([36, 21, 83, 11])", "assert abs(r0[0] - 37.75) < 1e-6", "assert abs(r0[1] - 31.868) < 1e-6", "r1 = summarise([47, 76, 64, 99, 53, 27])", "assert r1[0] == 61", "a...
theo-eng-code-L2-code-010844
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.4, 0.38, 30, 7.0, 3.0)", "assert abs(r0[0] - 15.28) < 1e-6", "assert abs(r0[1] - 1.1263) < 1e-6", "assert abs(r0[2] - 18.66) < 1e-6", "r1 = joint_torque(4.1, 0.42, 3...
theo-eng-code-L2-code-006285
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.4, 0.15, 90, 0.5, 1.5)", "assert abs(r0[0] - 3.97) < 1e-6", "assert abs(r0[1] - 0.0442) < 1e-6", "assert abs(r0[2] - 4.04) < 1e-6", "r1 = joint_torque(4.5, 0.49, 45,...
theo-eng-code-L3-code-002249
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(1.1, 0.23, 60, 1.0, 1.5)", "assert abs(r0[0] - 3.03) < 1e-6", "assert abs(r0[1] - 0.0723) < 1e-6", "assert abs(r0[2] - 3.14) < 1e-6", "r1 = joint_torque(8.0, 0.42, 60, 1...
theo-eng-code-L2-code-010716
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008894
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(800, 80, 3.6, 10)", "assert r0[0] == 222", "assert r0[1] == 11", "assert r0[2] == 2442", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 87.912) < 1e-6" ]...
theo-eng-code-L2-code-010182
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, [0, 25, 50, 75, 100], [0.75, 0.85, 0.89, 0.88, 0.83])", "assert abs(r0 - 0.866) < 1e-6", "r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.79, 0.83, 0.86, 0.88, 0.85])", "...
theo-eng-code-L1-code-010939
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_average", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-012520
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([490, 350, 460], 2)", "assert abs(r0 - 0.7222) < 1e-6", "r1 = rect_energy([400, 90, 100, 300], 5)", "assert abs(r1 - 1.2361) < 1e-6", "r2 = rect_energy([370, 80, ...
theo-eng-code-L1-clarify-010711
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": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-000376
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 30, 0.02, -0.05, 0.5, 0.5, 0.5)", "assert abs(r0[0] - -0.03) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - -0.0555) < 1e-6", "r1 = com_zmp(18, 23, 0.01, ...
theo-eng-code-L3-code-012544
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(12, 14, 0.01, 0.02, 0.4, 0.3, 1)", "assert abs(r0[0] - 0.0154) < 1e-6", "assert abs(r0[1] - 0.3462) < 1e-6", "assert abs(r0[2] - -0.0199) < 1e-6", "r1 = com_zmp(6, 26, -0.01, 0...
theo-eng-code-L2-code-003853
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([360, 360, 80, 470, 260], 2)", "assert abs(r0 - 0.85) < 1e-6", "r1 = rect_energy([420, 190, 410], 10)", "assert abs(r1 - 2.8333) < 1e-6", "r2 = rect_energy([140, ...
theo-eng-code-L3-code-012700
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(16, 7, 0.5)", "assert abs(r0 - 12.35) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L2-code-014070
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(52, 11, 0.5)", "assert abs(r0 - 37.58) < 1e-6", "r1 = rms_torque(47, 17, 0.5)", "assert abs(r1 - 35.34) < 1e-6", "r2 = rms_torque(23, 19, 0.75)", "assert abs(r2 - 22.0...
theo-eng-code-L2-code-014681
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(79, 19, 0.25)", "assert abs(r0 - 42.79) < 1e-6", "r1 = rms_torque(61, 25, 0.5)", "assert abs(r1 - 46.62) < 1e-6", "r2 = rms_torque(34, 12, 0.25)", "assert abs(r2 - 19....
theo-eng-code-L2-code-003919
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 140, 470, 0.5)", "assert abs(r0[0] - 305.0) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - 17.7) < 1e-6", "r1 = runtime(0.1, 60, 450, 0.3)", "ass...
theo-eng-code-L2-code-006613
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 22, 0.1, 1.0)", "assert abs(r0[0] - 1.02) < 1e-6", "assert abs(r0[1] - 61.4) < 1e-6", "assert abs(r0[2] - 18.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L2-code-007304
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3", "style": "code", "source": "template", "tests": [ "r0 = seg_len([2.0, 2.5], [2.5, 3.5])", "assert abs(r0 - 1.118) < 1e-6", "r1 = seg_len([0.5, 5.0], [3.5, 4.5])", "assert abs(r1 - 3.0414) < 1e-6", "r2 = seg_len([3.5, 4.0], [2.5, 1.0])...
theo-eng-code-L2-code-006343
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([290, 110, 290, 320, 310], 1)", "assert abs(r0 - 0.3667) < 1e-6", "r1 = rect_energy([50, 320, 240, 320], 1)", "assert abs(r1 - 0.2583) < 1e-6", "r2 = rect_energy(...
theo-eng-code-L2-code-006120
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 30, 0.1, 0.03, 0.6, 0.7, 1)", "assert abs(r0[0] - 0.0553) < 1e-6", "assert abs(r0[1] - 0.6638) < 1e-6", "assert abs(r0[2] - -0.0123) < 1e-6", "r1 = com_zmp(20, 18, 0.05, ...
theo-eng-code-L2-code-011231
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([43, 28, 75, 28])", "assert abs(r0[0] - 43.5) < 1e-6", "assert abs(r0[1] - 22.159) < 1e-6", "r1 = summarise([16, 93, 35, 75, 70, 75])", "assert abs(r1[0] - 60.667) <...
theo-eng-code-L2-code-007406
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.29, 12000, 100)", "assert abs(r0[0] - 13.12) < 1e-6", "assert abs(r0[1] - 914.7) < 1e-6", "r1 = gear_ratio(0.42, 6500, 120)", "assert abs(r1[0] - 8.58) < 1e-6", "as...
theo-eng-code-L3-code-010556
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.42, 8000, 100)", "assert abs(r0[0] - 12.67) < 1e-6", "assert abs(r0[1] - 631.6) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L3-code-011368
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(4.2, 0.52, 45, 7.5, 3.0)", "assert abs(r0[0] - 34.63) < 1e-6", "assert abs(r0[1] - 2.4066) < 1e-6", "assert abs(r0[2] - 41.85) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L3-code-015877
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(98, 900, 120, 0.29, 3.0, 0.008, 1.4, 0.9, 0.95)", "assert abs(r0[0] - 430.6) < 1e-6", "assert abs(r0[1] - 21.62) < 1e-6", "assert abs(r0[2] - 25.95) < 1e-6", "r1 = erange(31, ...
theo-eng-code-L2-code-011071
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([450, 440, 440], 5)", "assert abs(r0 - 1.8472) < 1e-6", "r1 = rect_energy([400, 250, 310], 5)", "assert abs(r1 - 1.3333) < 1e-6", "r2 = rect_energy([380, 110, 300...
theo-eng-code-L2-code-008317
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([23, 33, 62, 11, 54])", "assert abs(r0[0] - 36.6) < 1e-6", "assert abs(r0[1] - 21.22) < 1e-6", "r1 = summarise([24, 65, 63, 96, 87])", "assert r1[0] == 67", "ass...
theo-eng-code-L2-code-002844
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(85, [0, 25, 50, 75, 100], [0.76, 0.83, 0.89, 0.85, 0.85])", "assert abs(r0 - 0.85) < 1e-6", "r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.75, 0.81, 0.87, 0.89, 0.82])", "a...
theo-eng-code-L2-code-010633
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(98, 19, 0.75)", "assert abs(r0 - 85.4) < 1e-6", "r1 = rms_torque(67, 29, 0.5)", "assert abs(r1 - 51.62) < 1e-6", "r2 = rms_torque(33, 3, 0.5)", "assert abs(r2 - 23.43)...
theo-eng-code-L2-code-002645
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(84, 6, 0.5)", "assert abs(r0 - 59.55) < 1e-6", "r1 = rms_torque(42, 22, 0.75)", "assert abs(r1 - 38.0) < 1e-6", "r2 = rms_torque(61, 22, 0.5)", "assert abs(r2 - 45.85)...
theo-eng-code-L2-code-004378
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 130, 0.5)", "assert abs(r0[0] - 85.0) < 1e-6", "assert abs(r0[1] - 10.59) < 1e-6", "assert abs(r0[2] - 635.3) < 1e-6", "r1 = runtime(0.1, 80, 330, 0.7)", "as...
theo-eng-code-L2-code-015740
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 12000, 120)", "assert abs(r0[0] - 13.95) < 1e-6", "assert abs(r0[1] - 860.3) < 1e-6", "r1 = gear_ratio(0.31, 4500, 180)", "assert abs(r1[0] - 2.92) < 1e-6", "as...