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-002142
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.9, 0.49, 45, 2.0, 3.0)", "assert abs(r0[0] - 10.03) < 1e-6", "assert abs(r0[1] - 0.6323) < 1e-6", "assert abs(r0[2] - 11.92) < 1e-6", "r1 = joint_torque(5.3, 0.36, 4...
theo-eng-code-L2-code-003592
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(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-L2-code-012933
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-012577
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": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 22, 0.1, 0.8)", "assert abs(r0[0] - 0.8) < 1e-6", "assert abs(r0[1] - 47.7) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 22" ], "subtask":...
theo-eng-code-L2-code-007412
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 0.55, 60, 1.5, 0.5)", "assert abs(r0[0] - 12.85) < 1e-6", "assert abs(r0[1] - 0.7058) < 1e-6", "assert abs(r0[2] - 13.2) < 1e-6", "r1 = joint_torque(8.0, 0.54, 45...
theo-eng-code-L2-code-008803
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(42, 3, 0.25)", "assert abs(r0 - 21.16) < 1e-6", "r1 = rms_torque(47, 31, 0.75)", "assert abs(r1 - 43.55) < 1e-6", "r2 = rms_torque(85, 28, 0.5)", "assert abs(r2 - 63.2...
theo-eng-code-L2-code-013217
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(44, 2, 0.75)", "assert abs(r0 - 38.12) < 1e-6", "r1 = rms_torque(32, 14, 0.75)", "assert abs(r1 - 28.58) < 1e-6", "r2 = rms_torque(23, 18, 0.25)", "assert abs(r2 - 19....
theo-eng-code-L2-code-011972
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 80, 3.2, 100)", "assert r0[0] == 94", "assert r0[1] == 3", "assert r0[2] == 282", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 90.24) < 1e-6", "r1 = ...
theo-eng-code-L2-code-015747
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 20, 3.2, 100)", "assert r0[0] == 62", "assert r0[1] == 2", "assert r0[2] == 124", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 39.68) < 1e-6", "r1 = ...
theo-eng-code-L3-code-006686
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 21, 0.09, 0.13, 0.9, 0.7, 0)", "assert abs(r0[0] - 0.1162) < 1e-6", "assert abs(r0[1] - 0.7688) < 1e-6", "assert abs(r0[2] - 0.1162) < 1e-6", "r1 = com_zmp(17, 30, -0.07, -...
theo-eng-code-L3-code-004158
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": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(79, 29, 0.25)", "assert abs(r0 - 46.81) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L3-code-010971
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": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.3, 0.5, 45, 0.5, 2.5)", "assert abs(r0[0] - 10.93) < 1e-6", "assert abs(r0[1] - 0.5667) < 1e-6", "assert abs(r0[2] - 12.34) < 1e-6", "r1 = joint_torque(1.2, 0.5, 60, 6...
theo-eng-code-L3-code-000264
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(400, 80, 3.2, 100)", "assert r0[0] == 125", "assert r0[1] == 2", "assert r0[2] == 250", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1 = pa...
theo-eng-code-L3-code-010445
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(30, 1330, 100, 0.23, 2.5, 0.008, 1.4, 0.92, 0.95)", "assert abs(r0[0] - 223.4) < 1e-6", "assert abs(r0[1] - 12.76) < 1e-6", "assert abs(r0[2] - 12.76) < 1e-6", "r1 = erange(25...
theo-eng-code-L2-code-014242
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.25, 5500, 180)", "assert abs(r0[0] - 2.88) < 1e-6", "assert abs(r0[1] - 1909.9) < 1e-6", "r1 = gear_ratio(0.43, 11000, 100)", "assert abs(r1[0] - 17.83) < 1e-6", "a...
theo-eng-code-L1-refuse-015890
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_fake_sensors", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-006895
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([45, 56, 25, 73, 30])", "assert abs(r0[0] - 45.8) < 1e-6", "assert abs(r0[1] - 19.537) < 1e-6", "r1 = summarise([33, 17, 26, 92, 25])", "assert abs(r1[0] - 38.6) < 1...
theo-eng-code-L3-code-006011
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(300, 80, 3.7, 5)", "assert r0[0] == 81", "assert r0[1] == 54", "assert r0[2] == 4374", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 80.919) < 1e-6", "r1 = p...
theo-eng-code-L2-code-015790
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([38, 83, 33, 80])", "assert abs(r0[0] - 58.5) < 1e-6", "assert abs(r0[1] - 26.665) < 1e-6", "r1 = summarise([58, 65, 68, 46, 92])", "assert abs(r1[0] - 65.8) < 1e-6"...
theo-eng-code-L2-code-006725
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([150, 320, 260, 70], 10)", "assert abs(r0 - 2.2222) < 1e-6", "r1 = rect_energy([260, 160, 500, 350, 300], 10)", "assert abs(r1 - 4.3611) < 1e-6", "r2 = rect_energ...
theo-eng-code-L3-code-000850
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(22, 19, 0.75)", "assert abs(r0 - 21.29) < 1e-6", "r1 = rms_torque(94, 17, 0.25)", "assert abs(r1 - 49.25) < 1e-6", "r2 = rms_torque(64, 5, 0.25)", "assert abs(r2 - 32.29...
theo-eng-code-L1-clarify-015542
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-003573
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 11, 0.1, 1.0)", "assert abs(r0[0] - 10.23) < 1e-6", "assert abs(r0[1] - 613.6) < 1e-6", "assert abs(r0[2] - 90.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_...
theo-eng-code-L2-code-014939
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 11, 0.2, 1.0)", "assert abs(r0[0] - 5.45) < 1e-6", "assert abs(r0[1] - 327.3) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L3-code-009373
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(98, 5, 0.75)", "assert abs(r0 - 84.91) < 1e-6", "r1 = rms_torque(37, 4, 0.5)", "assert abs(r1 - 26.32) < 1e-6", "r2 = rms_torque(54, 18, 0.25)", "assert abs(r2 - 31.18) ...
theo-eng-code-L2-code-015237
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([190, 420, 310], 5)", "assert abs(r0 - 1.2778) < 1e-6", "r1 = rect_energy([60, 320, 140, 260, 170], 1)", "assert abs(r1 - 0.2639) < 1e-6", "r2 = rect_energy([300,...
theo-eng-code-L2-code-001933
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([5.0, 3.0], [1.5, 2.5])", "assert abs(r0 - 3.5355) < 1e-6", "r1 = seg_len([4.0, 3.5], [0.5, 1.0])", "assert abs(r1 - 4.3012) < 1e-6", "r2 = seg_len([4.5, 4.0], [0.5, 2.0]...
theo-eng-code-L2-code-013547
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 14, 0.08, -0.03, 0.8, 0.6, 0.5)", "assert abs(r0[0] - 0.003) < 1e-6", "assert abs(r0[1] - 0.66) < 1e-6", "assert abs(r0[2] - -0.0306) < 1e-6", "r1 = com_zmp(11, 23, -0.05,...
theo-eng-code-L2-code-002580
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.5, 2.5], [4.5, 1.5])", "assert abs(r0 - 4.1231) < 1e-6", "r1 = seg_len([2.0, 1.0], [2.5, 1.0])", "assert abs(r1 - 0.5) < 1e-6", "r2 = seg_len([3.5, 3.0], [3.0, 3.5])",...
theo-eng-code-L2-code-002327
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 130, 210, 0.3)", "assert abs(r0[0] - 186.0) < 1e-6", "assert abs(r0[1] - 0.97) < 1e-6", "assert abs(r0[2] - 58.1) < 1e-6", "r1 = runtime(0.2, 270, 590, 0.3)", "a...
theo-eng-code-L1-clarify-008028
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-010491
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(9, 27, 0.1, 0.0, 0.6, 0.8, 2)", "assert abs(r0[0] - 0.025) < 1e-6", "assert abs(r0[1] - 0.75) < 1e-6", "assert abs(r0[2] - -0.1279) < 1e-6", "r1 = com_zmp(7, 10, 0.0, 0.0, 0....
theo-eng-code-L2-code-013194
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 2.5], [0.5, 3.5])", "assert abs(r0 - 1.0) < 1e-6", "r1 = seg_len([2.0, 1.0], [4.5, 2.5])", "assert abs(r1 - 2.9155) < 1e-6", "r2 = seg_len([1.5, 2.5], [0.0, 1.5])",...
theo-eng-code-L1-code-012235
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": "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-006321
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([270, 310, 330, 210, 440], 2)", "assert abs(r0 - 0.8667) < 1e-6", "r1 = rect_energy([390, 390, 210], 2)", "assert abs(r1 - 0.55) < 1e-6", "r2 = rect_energy([180, ...
theo-eng-code-L3-code-004875
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.31, 7000, 150)", "assert abs(r0[0] - 5.45) < 1e-6", "assert abs(r0[1] - 1283.5) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-009940
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 4, 0.25)", "assert abs(r0 - 5.29) < 1e-6", "r1 = rms_torque(49, 34, 0.25)", "assert abs(r1 - 38.3) < 1e-6", "r2 = rms_torque(11, 10, 0.5)", "assert abs(r2 - 10.51) ...
theo-eng-code-L2-code-006608
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, [0, 25, 50, 75, 100], [0.73, 0.8, 0.87, 0.88, 0.84])", "assert abs(r0 - 0.856) < 1e-6", "r1 = interp_eff(50, [0, 25, 50, 75, 100], [0.72, 0.81, 0.86, 0.86, 0.84])", "a...
theo-eng-code-L3-code-014914
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 190, 350, 0.7)", "assert abs(r0[0] - 238.0) < 1e-6", "assert abs(r0[1] - 0.76) < 1e-6", "assert abs(r0[2] - 45.4) < 1e-6", "r1 = runtime(1.0, 150, 430, 0.7)", "ass...
theo-eng-code-L3-code-012874
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(89, 1910, 60, 0.34, 3.0, 0.01, 0.7, 0.94, 0.85)", "assert abs(r0[0] - 639.4) < 1e-6", "assert abs(r0[1] - 11.83) < 1e-6", "assert abs(r0[2] - 7.1) < 1e-6", "r1 = erange(45, 22...
theo-eng-code-L2-code-001930
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.37, 4500, 120)", "assert abs(r0[0] - 5.23) < 1e-6", "assert abs(r0[1] - 860.3) < 1e-6", "r1 = gear_ratio(0.25, 12500, 180)", "assert abs(r1[0] - 6.54) < 1e-6", "ass...
theo-eng-code-L2-code-006520
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-004538
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = summarise([48, 47, 78, 21, 48])", "assert abs(r0[0] - 48.4) < 1e-6", "assert abs(r0[1] - 20.182) < 1e-6", "r1 = summarise([92, 49, 87, 98, 99, 81])", "assert abs(r1[0] - 84.33...
theo-eng-code-L2-code-015412
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.74, 0.84, 0.89, 0.89, 0.83])", "assert abs(r0 - 0.78) < 1e-6", "r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.74, 0.82, 0.86, 0.86, 0.85])", "a...
theo-eng-code-L2-code-004432
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "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-001315
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.43, 14000, 150)", "assert abs(r0[0] - 15.13) < 1e-6", "assert abs(r0[1] - 925.3) < 1e-6", "r1 = gear_ratio(0.37, 7500, 150)", "assert abs(r1[0] - 6.97) < 1e-6", "asse...
theo-eng-code-L2-code-009074
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 21, 0.08, 0.12, 0.6, 0.3, 0.5)", "assert abs(r0[0] - 0.1071) < 1e-6", "assert abs(r0[1] - 0.3968) < 1e-6", "assert abs(r0[2] - 0.0869) < 1e-6", "r1 = com_zmp(13, 30, 0.02...
theo-eng-code-L2-code-003350
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 15, 0.04, 0.06, 0.3, 0.5, 1)", "assert abs(r0[0] - 0.0515) < 1e-6", "assert abs(r0[1] - 0.4154) < 1e-6", "assert abs(r0[2] - 0.0092) < 1e-6", "r1 = com_zmp(5, 24, -0.05, ...
theo-eng-code-L2-code-013595
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(61, 39, 0.25)", "assert abs(r0 - 45.51) < 1e-6", "r1 = rms_torque(89, 14, 0.75)", "assert abs(r1 - 77.39) < 1e-6", "r2 = rms_torque(41, 23, 0.5)", "assert abs(r2 - 33....
theo-eng-code-L1-code-007189
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-008002
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')", "assert r0[0] == 60", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')", "assert r1[0] == 20", ...
theo-eng-code-L2-code-008989
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.25, 13000, 100)", "assert abs(r0[0] - 12.25) < 1e-6", "assert abs(r0[1] - 1061.0) < 1e-6", "r1 = gear_ratio(0.25, 9000, 150)", "assert abs(r1[0] - 5.65) < 1e-6", "a...
theo-eng-code-L3-code-006764
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(30, 2230, 80, 0.27, 2.3, 0.012, 0.4, 0.88, 0.9)", "assert abs(r0[0] - 183.5) < 1e-6", "assert abs(r0[1] - 14.72) < 1e-6", "assert abs(r0[2] - 11.77) < 1e-6", "r1 = erange(31, ...
theo-eng-code-L2-code-008334
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(98, 900, 60, 0.36, 2.0, 0.008, 0.5, 0.9, 0.95)", "assert abs(r0[0] - 1370.3) < 1e-6", "assert abs(r0[1] - 6.79) < 1e-6", "assert abs(r0[2] - 4.08) < 1e-6", "r1 = erange(83, ...
theo-eng-code-L2-code-015109
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2.0], [3.0, 3.0])", "assert abs(r0 - 1.118) < 1e-6", "r1 = seg_len([1.5, 2.5], [0.5, 2.0])", "assert abs(r1 - 1.118) < 1e-6", "r2 = seg_len([3.5, 1.0], [1.0, 2.5])"...
theo-eng-code-L3-code-010418
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(1.0, 40, 260, 0.5)", "assert abs(r0[0] - 150.0) < 1e-6", "assert abs(r0[1] - 6.0) < 1e-6", "assert abs(r0[2] - 360.0) < 1e-6", "r1 = runtime(0.1, 120, 280, 0.3)", "asse...
theo-eng-code-L2-code-006897
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.3, 0.21, 30, 8.0, 0.5)", "assert abs(r0[0] - 10.97) < 1e-6", "assert abs(r0[1] - 0.4307) < 1e-6", "assert abs(r0[2] - 11.19) < 1e-6", "r1 = joint_torque(3.0, 0.46, 6...
theo-eng-code-L2-code-014201
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.5, 0.47, 90, 2.0, 3.0)", "assert abs(r0[0] - 19.6) < 1e-6", "assert abs(r0[1] - 0.7732) < 1e-6", "assert abs(r0[2] - 21.91) < 1e-6", "r1 = joint_torque(2.9, 0.14, 90...
theo-eng-code-L2-code-004255
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([35, 45, 70, 20, 94])", "assert abs(r0[0] - 52.8) < 1e-6", "assert abs(r0[1] - 29.355) < 1e-6", "r1 = summarise([36, 43, 77, 37, 95, 88])", "assert abs(r1[0] - 62.66...
theo-eng-code-L2-code-011590
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([220, 470, 490, 240, 80], 2)", "assert abs(r0 - 0.8333) < 1e-6", "r1 = rect_energy([400, 100, 420], 2)", "assert abs(r1 - 0.5111) < 1e-6", "r2 = rect_energy([470,...
theo-eng-code-L1-code-006175
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": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-006802
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(90, [0, 25, 50, 75, 100], [0.77, 0.84, 0.89, 0.88, 0.84])", "assert abs(r0 - 0.856) < 1e-6", "r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.7, 0.83, 0.89, 0.89, 0.8])", "as...
theo-eng-code-L1-code-014673
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": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-clarify-012557
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-001205
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": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 40, 3.2, 2.5)", "assert r0[0] == 156", "assert r0[1] == 33", "assert r0[2] == 5148", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 41.184) < 1e-6", "r1 ...
theo-eng-code-L2-code-012813
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(10, 25, -0.1, 0.09, 0.9, 0.3, 0)", "assert abs(r0[0] - 0.0357) < 1e-6", "assert abs(r0[1] - 0.4714) < 1e-6", "assert abs(r0[2] - 0.0357) < 1e-6", "r1 = com_zmp(14, 19, 0.06, ...
theo-eng-code-L2-code-008323
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 290, 50, 0.7)", "assert abs(r0[0] - 218.0) < 1e-6", "assert abs(r0[1] - 4.13) < 1e-6", "assert abs(r0[2] - 247.7) < 1e-6", "r1 = runtime(0.5, 160, 290, 0.5)", "a...
theo-eng-code-L1-refuse-007046
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-L3-code-012345
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(4.6, 0.49, 45, 4.5, 3.0)", "assert abs(r0[0] - 23.11) < 1e-6", "assert abs(r0[1] - 1.4486) < 1e-6", "assert abs(r0[2] - 27.46) < 1e-6", "r1 = joint_torque(6.7, 0.21, 45,...
theo-eng-code-L2-code-004177
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 7, 0.2, 0.9)", "assert abs(r0[0] - 2.5) < 1e-6", "assert abs(r0[1] - 150.0) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L1-clarify-006219
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-L1-clarify-000766
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-010773
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 20, -0.03, 0.1, 0.6, 0.3, 0.5)", "assert abs(r0[0] - 0.0488) < 1e-6", "assert abs(r0[1] - 0.4182) < 1e-6", "assert abs(r0[2] - 0.0275) < 1e-6", "r1 = com_zmp(5, 22, -0.03...
theo-eng-code-L2-code-009881
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(71, 26, 0.25)", "assert abs(r0 - 42.04) < 1e-6", "r1 = rms_torque(52, 23, 0.25)", "assert abs(r1 - 32.75) < 1e-6", "r2 = rms_torque(58, 29, 0.25)", "assert abs(r2 - 38...
theo-eng-code-L3-code-010529
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(100, 50, 0.2, 1.0)", "assert abs(r0[0] - 2.0) < 1e-6", "assert abs(r0[1] - 120.0) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L2-code-015160
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 12, -0.1, 0.13, 0.3, 0.3, 2)", "assert abs(r0[0] - 0.038) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - -0.0232) < 1e-6", "r1 = com_zmp(13, 17, -0.06, -0....
theo-eng-code-L2-code-001706
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 12, -0.05, 0.0, 0.3, 0.5, 2)", "assert abs(r0[0] - -0.0278) < 1e-6", "assert abs(r0[1] - 0.3889) < 1e-6", "assert abs(r0[2] - -0.1071) < 1e-6", "r1 = com_zmp(20, 30, 0.02...
theo-eng-code-L3-code-003126
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(19, 13, -0.07, 0.14, 0.7, 0.9, 0)", "assert abs(r0[0] - 0.0153) < 1e-6", "assert abs(r0[1] - 0.7812) < 1e-6", "assert abs(r0[2] - 0.0153) < 1e-6", "r1 = com_zmp(20, 18, 0.08, 0...
theo-eng-code-L1-code-004887
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_strmul", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-010641
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(15, 3, 0.25)", "assert abs(r0 - 7.94) < 1e-6", "r1 = rms_torque(90, 5, 0.25)", "assert abs(r1 - 45.21) < 1e-6", "r2 = rms_torque(72, 8, 0.25)", "assert abs(r2 - 36.66) <...
theo-eng-code-L2-code-000019
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.8, 0.2, 45, 5.0, 2.5)", "assert abs(r0[0] - 8.88) < 1e-6", "assert abs(r0[1] - 0.2373) < 1e-6", "assert abs(r0[2] - 9.47) < 1e-6", "r1 = joint_torque(3.3, 0.29, 90, ...
theo-eng-code-L3-code-000620
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": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 20, 3.6, 50)", "assert r0[0] == 111", "assert r0[1] == 2", "assert r0[2] == 222", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-007835
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-011903
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 26, -0.02, 0.11, 0.5, 0.6, 2)", "assert abs(r0[0] - 0.0586) < 1e-6", "assert abs(r0[1] - 0.5605) < 1e-6", "assert abs(r0[2] - -0.0557) < 1e-6" ], "subtask": "writete...
theo-eng-code-L2-code-013235
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 28, 0.05, 0.02, 0.4, 0.4, 1)", "assert abs(r0[0] - 0.029) < 1e-6", "assert abs(r0[1] - 0.4) < 1e-6", "assert abs(r0[2] - -0.0118) < 1e-6", "r1 = com_zmp(6, 21, 0.07, 0.07...
theo-eng-code-L2-code-015462
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 7500, 120)", "assert abs(r0[0] - 7.07) < 1e-6", "assert abs(r0[1] - 1061.0) < 1e-6", "r1 = gear_ratio(0.42, 4500, 150)", "assert abs(r1[0] - 4.75) < 1e-6", "asse...
theo-eng-code-L2-code-009977
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_squareloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-013125
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, 22, 0.2, 0.9)", "assert abs(r0[0] - 3.18) < 1e-6", "assert abs(r0[1] - 190.9) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_time...
theo-eng-code-L2-code-015179
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 17, 0.07, 0.01, 0.6, 0.8, 1)", "assert abs(r0[0] - 0.0236) < 1e-6", "assert abs(r0[1] - 0.7545) < 1e-6", "assert abs(r0[2] - -0.0533) < 1e-6", "r1 = com_zmp(20, 14, -0.09,...
theo-eng-code-L3-code-000115
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(26, 2170, 80, 0.37, 2.7, 0.008, 0.7, 0.94, 0.85)", "assert abs(r0[0] - 149.0) < 1e-6", "assert abs(r0[1] - 14.84) < 1e-6", "assert abs(r0[2] - 11.87) < 1e-6", "r1 = erange(26,...
theo-eng-code-L2-code-007582
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 3.7, 2.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] - 21.229) < 1e-6", "r...
theo-eng-code-L3-code-009717
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(62, 9, 0.75)", "assert abs(r0 - 53.88) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-002835
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = summarise([88, 52, 55, 11])", "assert abs(r0[0] - 51.5) < 1e-6", "assert abs(r0[1] - 31.544) < 1e-6", "r1 = summarise([71, 17, 85, 62, 13])", "assert abs(r1[0] - 49.6) < 1e-6"...
theo-eng-code-L3-code-003323
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.34, 14500, 150)", "assert abs(r0[0] - 12.39) < 1e-6", "assert abs(r0[1] - 1170.3) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run...
theo-eng-code-L2-code-004943
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(53, 28, 0.5)", "assert abs(r0 - 42.39) < 1e-6", "r1 = rms_torque(44, 19, 0.75)", "assert abs(r1 - 39.27) < 1e-6", "r2 = rms_torque(30, 8, 0.25)", "assert abs(r2 - 16.5...
theo-eng-code-L2-code-013145
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 50, 110, 0.5)", "assert abs(r0[0] - 80.0) < 1e-6", "assert abs(r0[1] - 5.62) < 1e-6", "assert abs(r0[2] - 337.5) < 1e-6", "r1 = runtime(0.2, 260, 400, 0.7)", "as...
theo-eng-code-L3-code-004494
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 90, 510, 0.7)", "assert abs(r0[0] - 216.0) < 1e-6", "assert abs(r0[1] - 0.83) < 1e-6", "assert abs(r0[2] - 50.0) < 1e-6" ], "subtask": "writetests", "verified...
theo-eng-code-L2-code-000329
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.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 = ...
theo-eng-code-L3-code-010251
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, 60, 3.7, 5)", "assert r0[0] == 216", "assert r0[1] == 16", "assert r0[2] == 3456", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 63.936) < 1e-6" ],...
theo-eng-code-L2-code-003312
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.6, 0.41, 30, 1.0, 3.0)", "assert abs(r0[0] - 5.63) < 1e-6", "assert abs(r0[1] - 0.3698) < 1e-6", "assert abs(r0[2] - 6.74) < 1e-6", "r1 = joint_torque(4.4, 0.54, 90,...