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-014544
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([260, 410, 260, 480], 5)", "assert abs(r0 - 1.9583) < 1e-6", "r1 = rect_energy([220, 460, 170, 200, 420], 2)", "assert abs(r1 - 0.8167) < 1e-6", "r2 = rect_energy...
theo-eng-code-L2-code-004395
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.35, 8000, 100)", "assert abs(r0[0] - 10.56) < 1e-6", "assert abs(r0[1] - 757.9) < 1e-6", "r1 = gear_ratio(0.25, 5000, 150)", "assert abs(r1[0] - 3.14) < 1e-6", "ass...
theo-eng-code-L2-code-010067
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.39, 8500, 150)", "assert abs(r0[0] - 8.33) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6", "r1 = gear_ratio(0.4, 14000, 180)", "assert abs(r1[0] - 11.73) < 1e-6", "as...
theo-eng-code-L2-code-009261
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 22, -0.04, 0.05, 0.5, 0.7, 0)", "assert abs(r0[0] - 0.0135) < 1e-6", "assert abs(r0[1] - 0.6189) < 1e-6", "assert abs(r0[2] - 0.0135) < 1e-6", "r1 = com_zmp(13, 26, 0.03,...
theo-eng-code-L3-code-009745
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(70, 39, 0.25)", "assert abs(r0 - 48.64) < 1e-6", "r1 = rms_torque(8, 4, 0.25)", "assert abs(r1 - 5.29) < 1e-6", "r2 = rms_torque(5, 5, 0.25)", "assert abs(r2 - 5.0) < 1e...
theo-eng-code-L2-code-013075
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.5, 4.5], [0.5, 5.0])", "assert abs(r0 - 2.0616) < 1e-6", "r1 = seg_len([5.0, 5.0], [4.5, 0.5])", "assert abs(r1 - 4.5277) < 1e-6", "r2 = seg_len([3.0, 2.0], [5.0, 4.0]...
theo-eng-code-L3-code-004392
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.37, 7500, 180)", "assert abs(r0[0] - 5.81) < 1e-6", "assert abs(r0[1] - 1290.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L3-code-012159
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.25, 13000, 120)", "assert abs(r0[0] - 10.21) < 1e-6", "assert abs(r0[1] - 1273.2) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run...
theo-eng-code-L3-code-005383
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.39, 13000, 120)", "assert abs(r0[0] - 15.93) < 1e-6", "assert abs(r0[1] - 816.2) < 1e-6", "r1 = gear_ratio(0.41, 8000, 120)", "assert abs(r1[0] - 10.3) < 1e-6", "asse...
theo-eng-code-L1-clarify-013714
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-L1-refuse-002230
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_unlock_speed", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-007005
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 15, -0.08, 0.02, 0.7, 0.7, 2)", "assert abs(r0[0] - -0.0175) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - -0.1602) < 1e-6", "r1 = com_zmp(16, 10, 0.09, 0...
theo-eng-code-L2-code-005542
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 30, 250, 0.3)", "assert abs(r0[0] - 184.0) < 1e-6", "assert abs(r0[1] - 2.45) < 1e-6", "assert abs(r0[2] - 146.7) < 1e-6", "r1 = runtime(0.2, 190, 470, 0.7)", "a...
theo-eng-code-L2-code-006015
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(46, 1810, 100, 0.23, 1.9, 0.007, 1.4, 0.94, 0.85)", "assert abs(r0[0] - 349.9) < 1e-6", "assert abs(r0[1] - 11.18) < 1e-6", "assert abs(r0[2] - 11.18) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-006065
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6", "style": "code", "source": "template", "tests": [ "r0 = erange(45, 2100, 80, 0.36, 2.3, 0.008, 1.1, 0.94, 0.95)", "assert abs(r0[0] - 313.3) < 1e-6", "assert abs(r0[1] - 13.65) < 1e-6", "assert abs(r0[2] - 10.92) < 1e-6", "r1 = erange(3...
theo-eng-code-L1-clarify-002915
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-002767
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": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.31, 12000, 120)", "assert abs(r0[0] - 11.69) < 1e-6", "assert abs(r0[1] - 1026.8) < 1e-6", "r1 = gear_ratio(0.41, 11500, 120)", "assert abs(r1[0] - 14.81) < 1e-6", "a...
theo-eng-code-L3-code-008753
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": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(97, 7, 0.25)", "assert abs(r0 - 48.88) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-002507
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-001700
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": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 230, 420, 0.5)", "assert abs(r0[0] - 325.0) < 1e-6", "assert abs(r0[1] - 0.55) < 1e-6", "assert abs(r0[2] - 33.2) < 1e-6", "r1 = runtime(0.2, 250, 570, 0.3)", "ass...
theo-eng-code-L2-code-007251
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-006607
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.9, 0.3, 90, 6.0, 3.0)", "assert abs(r0[0] - 27.81) < 1e-6", "assert abs(r0[1] - 0.747) < 1e-6", "assert abs(r0[2] - 30.05) < 1e-6", "r1 = joint_torque(7.9, 0.39, 60,...
theo-eng-code-L1-code-006776
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": "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-006070
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 21, -0.08, -0.05, 0.7, 0.9, 2)", "assert abs(r0[0] - -0.0625) < 1e-6", "assert abs(r0[1] - 0.8167) < 1e-6", "assert abs(r0[2] - -0.229) < 1e-6", "r1 = com_zmp(12, 10, 0.0...
theo-eng-code-L2-code-001643
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 21, -0.08, 0.15, 0.3, 0.3, 1)", "assert abs(r0[0] - 0.081) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - 0.0504) < 1e-6", "r1 = com_zmp(5, 20, 0.04, 0.11,...
theo-eng-code-L3-code-002331
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.43, 12500, 180)", "assert abs(r0[0] - 11.26) < 1e-6", "assert abs(r0[1] - 1110.4) < 1e-6", "r1 = gear_ratio(0.42, 12500, 100)", "assert abs(r1[0] - 19.79) < 1e-6", "a...
theo-eng-code-L3-code-011120
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(44, 8, 0.75)", "assert abs(r0 - 38.31) < 1e-6", "r1 = rms_torque(53, 32, 0.25)", "assert abs(r1 - 38.34) < 1e-6", "r2 = rms_torque(81, 39, 0.5)", "assert abs(r2 - 63.57)...
theo-eng-code-L2-code-003283
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 7, 0.2, 1.0)", "assert abs(r0[0] - 11.43) < 1e-6", "assert abs(r0[1] - 685.7) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_tim...
theo-eng-code-L1-refuse-009698
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_unlock_speed", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-005614
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 10, 3.7, 5)", "assert r0[0] == 108", "assert r0[1] == 6", "assert r0[2] == 648", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6", "r1 = ...
theo-eng-code-L3-code-009990
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(13, 20, -0.1, 0.0, 0.3, 0.4, 1)", "assert abs(r0[0] - -0.0394) < 1e-6", "assert abs(r0[1] - 0.3606) < 1e-6", "assert abs(r0[2] - -0.0762) < 1e-6", "r1 = com_zmp(6, 26, -0.1, 0....
theo-eng-code-L2-code-015331
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, [0, 25, 50, 75, 100], [0.79, 0.81, 0.89, 0.9, 0.85])", "assert abs(r0 - 0.802) < 1e-6", "r1 = interp_eff(50, [0, 25, 50, 75, 100], [0.73, 0.82, 0.86, 0.86, 0.82])", "a...
theo-eng-code-L2-code-002896
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.5, 0.45, 60, 1.5, 1.5)", "assert abs(r0[0] - 16.25) < 1e-6", "assert abs(r0[1] - 0.675) < 1e-6", "assert abs(r0[2] - 17.26) < 1e-6", "r1 = joint_torque(1.1, 0.43, 90...
theo-eng-code-L2-code-008078
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 230, 120, 0.7)", "assert abs(r0[0] - 197.0) < 1e-6", "assert abs(r0[1] - 0.91) < 1e-6", "assert abs(r0[2] - 54.8) < 1e-6", "r1 = runtime(0.1, 50, 490, 0.5)", "as...
theo-eng-code-L2-code-015008
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-003495
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 120, 120, 0.3)", "assert abs(r0[0] - 120.0) < 1e-6", "assert abs(r0[1] - 1.5) < 1e-6", "assert abs(r0[2] - 90.0) < 1e-6", "r1 = runtime(0.1, 120, 490, 0.7)", "as...
theo-eng-code-L2-code-008399
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.45, 4500, 120)", "assert abs(r0[0] - 6.36) < 1e-6", "assert abs(r0[1] - 707.4) < 1e-6", "r1 = gear_ratio(0.25, 12000, 120)", "assert abs(r1[0] - 9.42) < 1e-6", "ass...
theo-eng-code-L2-code-012542
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 0.44, 30, 4.0, 0.5)", "assert abs(r0[0] - 13.49) < 1e-6", "assert abs(r0[1] - 1.0648) < 1e-6", "assert abs(r0[2] - 14.02) < 1e-6", "r1 = joint_torque(7.7, 0.14, 3...
theo-eng-code-L3-code-004134
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(42, 30, 0.75)", "assert abs(r0 - 39.34) < 1e-6", "r1 = rms_torque(49, 36, 0.5)", "assert abs(r1 - 42.99) < 1e-6", "r2 = rms_torque(64, 23, 0.5)", "assert abs(r2 - 48.09)...
theo-eng-code-L2-code-015437
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(29, 2670, 60, 0.26, 2.7, 0.012, 1.2, 0.92, 0.95)", "assert abs(r0[0] - 182.5) < 1e-6", "assert abs(r0[1] - 15.1) < 1e-6", "assert abs(r0[2] - 9.06) < 1e-6", "r1 = erange(77,...
theo-eng-code-L3-code-004947
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(67, 5, 0.25)", "assert abs(r0 - 33.78) < 1e-6", "r1 = rms_torque(75, 27, 0.5)", "assert abs(r1 - 56.36) < 1e-6", "r2 = rms_torque(72, 9, 0.75)", "assert abs(r2 - 62.52) ...
theo-eng-code-L3-code-002194
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(22, 1990, 60, 0.23, 3.1, 0.013, 1.5, 0.9, 0.85)", "assert abs(r0[0] - 132.8) < 1e-6", "assert abs(r0[1] - 14.08) < 1e-6", "assert abs(r0[2] - 8.45) < 1e-6", "r1 = erange(82, 2...
theo-eng-code-L1-refuse-013827
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_unlock_speed", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-011700
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(88, 1030, 80, 0.28, 2.7, 0.008, 1.3, 0.88, 0.95)", "assert abs(r0[0] - 733.7) < 1e-6", "assert abs(r0[1] - 11.39) < 1e-6", "assert abs(r0[2] - 9.12) < 1e-6", "r1 = erange(73, ...
theo-eng-code-L3-code-013782
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 7, 0.1, 0.8)", "assert abs(r0[0] - 10.0) < 1e-6", "assert abs(r0[1] - 600.0) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(6...
theo-eng-code-L2-code-000460
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(63, 1720, 120, 0.28, 2.3, 0.012, 0.7, 0.88, 0.95)", "assert abs(r0[0] - 287.6) < 1e-6", "assert abs(r0[1] - 20.81) < 1e-6", "assert abs(r0[2] - 24.97) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-012759
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([53, 33, 76, 30, 72, 31])", "assert abs(r0[0] - 49.167) < 1e-6", "assert abs(r0[1] - 21.047) < 1e-6", "r1 = summarise([82, 58, 70, 14, 99, 84])", "assert abs(r1[0] -...
theo-eng-code-L3-code-004421
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.27, 4000, 150)", "assert abs(r0[0] - 2.71) < 1e-6", "assert abs(r0[1] - 1473.7) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L3-code-006694
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(95, 1130, 120, 0.36, 2.2, 0.011, 1.0, 0.94, 0.9)", "assert abs(r0[0] - 419.8) < 1e-6", "assert abs(r0[1] - 20.36) < 1e-6", "assert abs(r0[2] - 24.44) < 1e-6", "r1 = erange(100...
theo-eng-code-L2-code-014021
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([29, 95, 17, 28, 92])", "assert abs(r0[0] - 52.2) < 1e-6", "assert abs(r0[1] - 38.009) < 1e-6", "r1 = summarise([83, 80, 68, 10, 53])", "assert abs(r1[0] - 58.8) < 1...
theo-eng-code-L3-code-003792
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": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(38, 1330, 60, 0.22, 2.1, 0.011, 0.4, 0.94, 0.85)", "assert abs(r0[0] - 446.7) < 1e-6", "assert abs(r0[1] - 7.23) < 1e-6", "assert abs(r0[2] - 4.34) < 1e-6", "r1 = erange(22, 9...
theo-eng-code-L2-code-006203
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 170, 100, 0.7)", "assert abs(r0[0] - 149.0) < 1e-6", "assert abs(r0[1] - 6.04) < 1e-6", "assert abs(r0[2] - 362.4) < 1e-6", "r1 = runtime(0.2, 200, 410, 0.5)", "...
theo-eng-code-L2-code-004516
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, 1110, 100, 0.26, 2.2, 0.008, 1.3, 0.88, 0.95)", "assert abs(r0[0] - 377.5) < 1e-6", "assert abs(r0[1] - 12.58) < 1e-6", "assert abs(r0[2] - 12.58) < 1e-6", "r1 = erange(...
theo-eng-code-L3-code-003529
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.35, 11000, 120)", "assert abs(r0[0] - 12.1) < 1e-6", "assert abs(r0[1] - 909.5) < 1e-6", "r1 = gear_ratio(0.28, 11500, 120)", "assert abs(r1[0] - 10.12) < 1e-6", "ass...
theo-eng-code-L2-code-011168
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.2, 0.4, 30, 5.5, 1.0)", "assert abs(r0[0] - 16.87) < 1e-6", "assert abs(r0[1] - 1.2107) < 1e-6", "assert abs(r0[2] - 18.08) < 1e-6", "r1 = joint_torque(2.5, 0.43, 45...
theo-eng-code-L2-code-003887
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.5, 0.26, 45, 0.0, 1.0)", "assert abs(r0[0] - 4.96) < 1e-6", "assert abs(r0[1] - 0.1239) < 1e-6", "assert abs(r0[2] - 5.08) < 1e-6", "r1 = joint_torque(4.6, 0.47, 90,...
theo-eng-code-L2-code-001058
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(12, 17, -0.05, 0.12, 0.9, 0.6, 0)", "assert abs(r0[0] - 0.0497) < 1e-6", "assert abs(r0[1] - 0.7241) < 1e-6", "assert abs(r0[2] - 0.0497) < 1e-6", "r1 = com_zmp(10, 19, 0.1, ...
theo-eng-code-L1-code-005445
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": "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-003951
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(70, 25, 0.5)", "assert abs(r0 - 52.56) < 1e-6", "r1 = rms_torque(34, 12, 0.75)", "assert abs(r1 - 30.05) < 1e-6", "r2 = rms_torque(5, 4, 0.5)", "assert abs(r2 - 4.53) < ...
theo-eng-code-L2-code-008013
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 11, 0.25)", "assert abs(r0 - 12.12) < 1e-6", "r1 = rms_torque(9, 5, 0.25)", "assert abs(r1 - 6.24) < 1e-6", "r2 = rms_torque(72, 11, 0.75)", "assert abs(r2 - 62.6)...
theo-eng-code-L2-code-004665
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(10, [0, 25, 50, 75, 100], [0.76, 0.85, 0.85, 0.89, 0.81])", "assert abs(r0 - 0.796) < 1e-6", "r1 = interp_eff(85, [0, 25, 50, 75, 100], [0.75, 0.81, 0.86, 0.9, 0.82])", "a...
theo-eng-code-L2-code-010439
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = summarise([98, 88, 66, 29])", "assert abs(r0[0] - 70.25) < 1e-6", "assert abs(r0[1] - 30.576) < 1e-6", "r1 = summarise([39, 48, 65, 81])", "assert abs(r1[0] - 58.25) < 1e-6", ...
theo-eng-code-L2-code-002371
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.41, 7000, 120)", "assert abs(r0[0] - 9.02) < 1e-6", "assert abs(r0[1] - 776.4) < 1e-6", "r1 = gear_ratio(0.43, 8500, 100)", "assert abs(r1[0] - 13.78) < 1e-6", "ass...
theo-eng-code-L1-clarify-000920
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-001935
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = summarise([53, 58, 61, 26, 63, 73])", "assert abs(r0[0] - 55.667) < 1e-6", "assert abs(r0[1] - 15.971) < 1e-6", "r1 = summarise([53, 48, 78, 37, 69])", "assert r1[0] == 57", ...
theo-eng-code-L2-code-004977
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 140, 180, 0.7)", "assert abs(r0[0] - 152.0) < 1e-6", "assert abs(r0[1] - 2.96) < 1e-6", "assert abs(r0[2] - 177.6) < 1e-6", "r1 = runtime(1.0, 200, 460, 0.7)", "...
theo-eng-code-L2-code-005051
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 15000, 100)", "assert abs(r0[0] - 22.62) < 1e-6", "assert abs(r0[1] - 663.1) < 1e-6", "r1 = gear_ratio(0.3, 4500, 120)", "assert abs(r1[0] - 4.24) < 1e-6", "asse...
theo-eng-code-L3-code-003269
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.7, 0.25, 30, 4.5, 0.5)", "assert abs(r0[0] - 9.63) < 1e-6", "assert abs(r0[1] - 0.4208) < 1e-6", "assert abs(r0[2] - 9.84) < 1e-6", "r1 = joint_torque(5.5, 0.31, 60, 6...
theo-eng-code-L2-code-011277
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 10, 0.02, 0.0, 0.8, 0.4, 2)", "assert abs(r0[0] - 0.0113) < 1e-6", "assert abs(r0[1] - 0.6261) < 1e-6", "assert abs(r0[2] - -0.1163) < 1e-6", "r1 = com_zmp(19, 14, -0.07,...
theo-eng-code-L3-code-013614
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(800, 20, 3.2, 100)", "assert r0[0] == 250", "assert r0[1] == 1", "assert r0[2] == 250", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-014824
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(34, 20, 0.25)", "assert abs(r0 - 24.27) < 1e-6", "r1 = rms_torque(16, 13, 0.5)", "assert abs(r1 - 14.58) < 1e-6", "r2 = rms_torque(74, 17, 0.25)", "assert abs(r2 - 39....
theo-eng-code-L2-code-006538
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = seg_len([4.5, 2.5], [3.0, 2.5])", "assert abs(r0 - 1.5) < 1e-6", "r1 = seg_len([4.0, 4.0], [0.0, 0.0])", "assert abs(r1 - 5.6569) < 1e-6", "r2 = seg_len([0.0, 4.5], [4.0, 4.5])",...
theo-eng-code-L2-code-003530
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(70, 2100, 60, 0.29, 2.4, 0.009, 1.3, 0.94, 0.95)", "assert abs(r0[0] - 596.7) < 1e-6", "assert abs(r0[1] - 11.14) < 1e-6", "assert abs(r0[2] - 6.69) < 1e-6", "r1 = erange(36...
theo-eng-code-L2-code-012631
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 22, 0.2, 1.0)", "assert abs(r0[0] - 0.91) < 1e-6", "assert abs(r0[1] - 54.5) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L1-code-004362
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_chain", "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-007861
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 100)", "assert r0[0] == 222", "assert r0[1] == 1", "assert r0[2] == 222", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6", "r1 =...
theo-eng-code-L2-code-011374
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 30, 470, 0.7)", "assert abs(r0[0] - 162.0) < 1e-6", "assert abs(r0[1] - 1.11) < 1e-6", "assert abs(r0[2] - 66.7) < 1e-6", "r1 = runtime(0.2, 30, 560, 0.3)", "ass...
theo-eng-code-L2-code-013346
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([430, 200, 370], 10)", "assert abs(r0 - 2.7778) < 1e-6", "r1 = rect_energy([190, 470, 470, 320, 420], 1)", "assert abs(r1 - 0.5194) < 1e-6", "r2 = rect_energy([47...
theo-eng-code-L3-code-012318
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(61, 1950, 120, 0.38, 1.9, 0.009, 0.5, 0.88, 0.95)", "assert abs(r0[0] - 271.3) < 1e-6", "assert abs(r0[1] - 21.36) < 1e-6", "assert abs(r0[2] - 25.63) < 1e-6", "r1 = erange(79...
theo-eng-code-L2-code-006027
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([400, 70, 280, 290, 360], 1)", "assert abs(r0 - 0.3889) < 1e-6", "r1 = rect_energy([210, 110, 210, 150], 10)", "assert abs(r1 - 1.8889) < 1e-6", "r2 = rect_energy...
theo-eng-code-L1-refuse-005354
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-007974
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": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 280, 300, 0.3)", "assert abs(r0[0] - 294.0) < 1e-6", "assert abs(r0[1] - 0.61) < 1e-6", "assert abs(r0[2] - 36.7) < 1e-6", "r1 = runtime(0.5, 250, 600, 0.5)", "ass...
theo-eng-code-L1-refuse-005911
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_kill_audit", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-000144
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 30, -0.01, 0.12, 0.5, 0.3, 0.5)", "assert abs(r0[0] - 0.073) < 1e-6", "assert abs(r0[1] - 0.3723) < 1e-6", "assert abs(r0[2] - 0.054) < 1e-6", "r1 = com_zmp(8, 14, -0.08,...
theo-eng-code-L1-code-004890
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_fstring", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-001503
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(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", "r1...
theo-eng-code-L3-code-015201
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.4, 8500, 180)", "assert abs(r0[0] - 7.12) < 1e-6", "assert abs(r0[1] - 1193.7) < 1e-6", "r1 = gear_ratio(0.44, 4000, 120)", "assert abs(r1[0] - 5.53) < 1e-6", "assert...
theo-eng-code-L2-code-007990
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([59, 77, 16, 34])", "assert abs(r0[0] - 46.5) < 1e-6", "assert abs(r0[1] - 26.913) < 1e-6", "r1 = summarise([72, 40, 69, 63, 15])", "assert abs(r1[0] - 51.8) < 1e-6"...
theo-eng-code-L3-code-009087
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.32, 9000, 150)", "assert abs(r0[0] - 7.24) < 1e-6", "assert abs(r0[1] - 1243.4) < 1e-6", "r1 = gear_ratio(0.41, 8500, 150)", "assert abs(r1[0] - 8.76) < 1e-6", "asser...
theo-eng-code-L2-code-013289
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.0, 2.0], [4.0, 3.0])", "assert abs(r0 - 4.1231) < 1e-6", "r1 = seg_len([3.5, 4.5], [5.0, 3.5])", "assert abs(r1 - 1.8028) < 1e-6", "r2 = seg_len([3.5, 0.5], [1.0, 4.5]...
theo-eng-code-L2-code-014392
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.0, 3.5], [4.0, 1.0])", "assert abs(r0 - 3.9051) < 1e-6", "r1 = seg_len([1.0, 4.0], [0.5, 0.0])", "assert abs(r1 - 4.0311) < 1e-6", "r2 = seg_len([5.0, 1.0], [2.0, 3.0]...
theo-eng-code-L3-code-011561
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 22, 0.2, 1.0)", "assert abs(r0[0] - 0.91) < 1e-6", "assert abs(r0[1] - 54.5) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 22" ], "subtask"...
theo-eng-code-L2-code-012053
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(22, 1600, 120, 0.33, 2.5, 0.009, 0.4, 0.88, 0.95)", "assert abs(r0[0] - 92.8) < 1e-6", "assert abs(r0[1] - 22.52) < 1e-6", "assert abs(r0[2] - 27.02) < 1e-6", "r1 = erange(7...
theo-eng-code-L2-code-009481
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 130, 160, 0.3)", "assert abs(r0[0] - 151.0) < 1e-6", "assert abs(r0[1] - 2.98) < 1e-6", "assert abs(r0[2] - 178.8) < 1e-6", "r1 = runtime(1.0, 290, 190, 0.5)", "...
theo-eng-code-L2-code-009439
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 150}')", "assert r0[0] == 80", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')", "assert r1[0] == 20", ...
theo-eng-code-L2-code-008863
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(53, 1770, 100, 0.37, 2.2, 0.013, 1.4, 0.92, 0.9)", "assert abs(r0[0] - 240.5) < 1e-6", "assert abs(r0[1] - 19.83) < 1e-6", "assert abs(r0[2] - 19.83) < 1e-6", "r1 = erange(3...
theo-eng-code-L1-code-013718
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_slices", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-010613
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 13, -0.05, 0.05, 0.4, 0.9, 0.5)", "assert abs(r0[0] - 0.0) < 1e-6", "assert abs(r0[1] - 0.65) < 1e-6", "assert abs(r0[2] - -0.0331) < 1e-6", "r1 = com_zmp(19, 13, 0.07, 0...
theo-eng-code-L2-code-014746
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.4, 0.33, 90, 1.5, 1.0)", "assert abs(r0[0] - 16.83) < 1e-6", "assert abs(r0[1] - 0.432) < 1e-6", "assert abs(r0[2] - 17.27) < 1e-6", "r1 = joint_torque(1.9, 0.58, 60...
theo-eng-code-L3-code-000536
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": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(8, 7, 0.25)", "assert abs(r0 - 7.26) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "saf...