id
stringlengths
28
31
type
stringclasses
3 values
tier
stringclasses
3 values
domain
stringclasses
1 value
messages
listlengths
3
3
meta
unknown
theo-eng-code-L3-code-010988
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.6, 0.45, 30, 0.0, 1.5)", "assert abs(r0[0] - 3.97) < 1e-6", "assert abs(r0[1] - 0.243) < 1e-6", "assert abs(r0[2] - 4.34) < 1e-6", "r1 = joint_torque(5.7, 0.11, 90, 0....
theo-eng-code-L3-code-000342
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.44, 12000, 120)", "assert abs(r0[0] - 16.59) < 1e-6", "assert abs(r0[1] - 723.4) < 1e-6", "r1 = gear_ratio(0.38, 4000, 120)", "assert abs(r1[0] - 4.78) < 1e-6", "asse...
theo-eng-code-L2-code-014315
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 24, -0.09, 0.15, 0.9, 0.3, 0.5)", "assert abs(r0[0] - 0.102) < 1e-6", "assert abs(r0[1] - 0.42) < 1e-6", "assert abs(r0[2] - 0.0806) < 1e-6", "r1 = com_zmp(13, 17, 0.02, 0...
theo-eng-code-L3-code-000343
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.45, 10500, 150)", "assert abs(r0[0] - 11.88) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6", "r1 = gear_ratio(0.25, 12500, 120)", "assert abs(r1[0] - 9.82) < 1e-6", "ass...
theo-eng-code-L2-code-000617
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_maxloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-005314
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 150, 0.2, 0.8)", "assert abs(r0[0] - 0.5) < 1e-6", "assert abs(r0[1] - 30.0) < 1e-6", "assert abs(r0[2] - 60.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_tim...
theo-eng-code-L2-code-013569
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 80, 530, 0.7)", "assert abs(r0[0] - 215.0) < 1e-6", "assert abs(r0[1] - 4.19) < 1e-6", "assert abs(r0[2] - 251.2) < 1e-6", "r1 = runtime(0.5, 60, 590, 0.5)", "as...
theo-eng-code-L2-code-006992
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([60, 210, 500, 390], 10)", "assert abs(r0 - 3.2222) < 1e-6", "r1 = rect_energy([220, 180, 300, 90, 440], 2)", "assert abs(r1 - 0.6833) < 1e-6", "r2 = rect_energy(...
theo-eng-code-L1-refuse-013230
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-004431
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 80, 3.6, 10)", "assert r0[0] == 139", "assert r0[1] == 16", "assert r0[2] == 2224", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 80.064) < 1e-6", "r1...
theo-eng-code-L3-code-008590
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 20, 3.7, 5)", "assert r0[0] == 108", "assert r0[1] == 11", "assert r0[2] == 1188", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 21.978) < 1e-6" ],...
theo-eng-code-L3-code-003992
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, 90, 240, 0.5)", "assert abs(r0[0] - 165.0) < 1e-6", "assert abs(r0[1] - 1.09) < 1e-6", "assert abs(r0[2] - 65.5) < 1e-6", "r1 = runtime(0.5, 30, 250, 0.5)", "asser...
theo-eng-code-L2-code-004529
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 10000, 180)", "assert abs(r0[0] - 5.65) < 1e-6", "assert abs(r0[1] - 1768.4) < 1e-6", "r1 = gear_ratio(0.45, 6500, 120)", "assert abs(r1[0] - 9.19) < 1e-6", "as...
theo-eng-code-L3-code-005748
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(74, 21, 0.5)", "assert abs(r0 - 54.39) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-006929
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([49, 51, 25, 27, 22])", "assert abs(r0[0] - 34.8) < 1e-6", "assert abs(r0[1] - 14.007) < 1e-6", "r1 = summarise([43, 99, 17, 98, 78, 75])", "assert abs(r1[0] - 68.33...
theo-eng-code-L2-code-012626
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 22, 0.1, 0.9)", "assert abs(r0[0] - 1.82) < 1e-6", "assert abs(r0[1] - 109.1) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L1-refuse-000520
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-L3-code-011149
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.4, 0.31, 90, 8.0, 0.5)", "assert abs(r0[0] - 31.02) < 1e-6", "assert abs(r0[1] - 0.9097) < 1e-6", "assert abs(r0[2] - 31.47) < 1e-6", "r1 = joint_torque(7.6, 0.39, 90,...
theo-eng-code-L2-code-015050
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 20, 3.6, 50)", "assert r0[0] == 83", "assert r0[1] == 2", "assert r0[2] == 166", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 29.88) < 1e-6", "r1 = p...
theo-eng-code-L3-code-014386
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": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(88, 35, 0.75)", "assert abs(r0 - 78.19) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-006337
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 10, 3.7, 2.5)", "assert r0[0] == 216", "assert r0[1] == 6", "assert r0[2] == 1296", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6", "r1...
theo-eng-code-L3-code-006146
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(57, 1550, 100, 0.3, 2.4, 0.008, 0.9, 0.94, 0.85)", "assert abs(r0[0] - 333.0) < 1e-6", "assert abs(r0[1] - 14.55) < 1e-6", "assert abs(r0[2] - 14.55) < 1e-6", "r1 = erange(100...
theo-eng-code-L3-code-007446
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(300, 10, 3.7, 50)", "assert r0[0] == 81", "assert r0[1] == 1", "assert r0[2] == 81", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 14.985) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-013721
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 23, 0.04, 0.04, 0.7, 0.8, 0.5)", "assert abs(r0[0] - 0.04) < 1e-6", "assert abs(r0[1] - 0.7719) < 1e-6", "assert abs(r0[2] - 0.0007) < 1e-6", "r1 = com_zmp(18, 28, -0.01, ...
theo-eng-code-L3-code-014475
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": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 160, 570, 0.7)", "assert abs(r0[0] - 283.0) < 1e-6", "assert abs(r0[1] - 0.64) < 1e-6", "assert abs(r0[2] - 38.2) < 1e-6", "r1 = runtime(0.1, 220, 470, 0.3)", "ass...
theo-eng-code-L2-code-005970
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 8500, 120)", "assert abs(r0[0] - 12.02) < 1e-6", "assert abs(r0[1] - 707.4) < 1e-6", "r1 = gear_ratio(0.26, 6500, 100)", "assert abs(r1[0] - 6.37) < 1e-6", "ass...
theo-eng-code-L3-code-014372
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(37, 1870, 80, 0.24, 2.6, 0.012, 0.7, 0.94, 0.9)", "assert abs(r0[0] - 257.0) < 1e-6", "assert abs(r0[1] - 12.96) < 1e-6", "assert abs(r0[2] - 10.37) < 1e-6", "r1 = erange(61, ...
theo-eng-code-L1-clarify-004109
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-015347
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = seg_len([3.5, 4.0], [1.0, 0.0])", "assert abs(r0 - 4.717) < 1e-6", "r1 = seg_len([2.0, 2.5], [4.5, 4.0])", "assert abs(r1 - 2.9155) < 1e-6", "r2 = seg_len([4.0, 5.0], [0.5, 0.0])...
theo-eng-code-L2-code-014564
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.41, 6500, 120)", "assert abs(r0[0] - 8.37) < 1e-6", "assert abs(r0[1] - 776.4) < 1e-6", "r1 = gear_ratio(0.39, 8000, 180)", "assert abs(r1[0] - 6.53) < 1e-6", "asse...
theo-eng-code-L2-code-014898
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 6, 0.75)", "assert abs(r0 - 17.58) < 1e-6", "r1 = rms_torque(15, 4, 0.75)", "assert abs(r1 - 13.14) < 1e-6", "r2 = rms_torque(78, 22, 0.75)", "assert abs(r2 - 68.4...
theo-eng-code-L2-code-003000
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([90, 440, 170], 5)", "assert abs(r0 - 0.9722) < 1e-6", "r1 = rect_energy([110, 330, 130, 230, 330], 2)", "assert abs(r1 - 0.6278) < 1e-6", "r2 = rect_energy([280,...
theo-eng-code-L2-code-003563
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, 1800, 100, 0.27, 2.4, 0.013, 0.3, 0.94, 0.95)", "assert abs(r0[0] - 294.4) < 1e-6", "assert abs(r0[1] - 16.13) < 1e-6", "assert abs(r0[2] - 16.13) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-009503
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 300, 190, 0.5)", "assert abs(r0[0] - 245.0) < 1e-6", "assert abs(r0[1] - 0.37) < 1e-6", "assert abs(r0[2] - 22.0) < 1e-6", "r1 = runtime(0.5, 240, 40, 0.7)", "as...
theo-eng-code-L3-code-010146
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.33, 4500, 180)", "assert abs(r0[0] - 3.11) < 1e-6", "assert abs(r0[1] - 1446.9) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-001461
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 150, 440, 0.7)", "assert abs(r0[0] - 237.0) < 1e-6", "assert abs(r0[1] - 0.38) < 1e-6", "assert abs(r0[2] - 22.8) < 1e-6", "r1 = runtime(1.0, 130, 590, 0.7)", "a...
theo-eng-code-L2-code-012087
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-010581
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(43, 21, 0.5)", "assert abs(r0 - 33.84) < 1e-6", "r1 = rms_torque(9, 4, 0.75)", "assert abs(r1 - 8.05) < 1e-6", "r2 = rms_torque(29, 24, 0.5)", "assert abs(r2 - 26.62) ...
theo-eng-code-L2-code-002320
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 2540, 60, 0.38, 2.0, 0.008, 1.3, 0.9, 0.9)", "assert abs(r0[0] - 146.2) < 1e-6", "assert abs(r0[1] - 12.31) < 1e-6", "assert abs(r0[2] - 7.39) < 1e-6", "r1 = erange(60, ...
theo-eng-code-L2-code-012701
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.26, 4000, 180)", "assert abs(r0[0] - 2.18) < 1e-6", "assert abs(r0[1] - 1836.4) < 1e-6", "r1 = gear_ratio(0.44, 4000, 120)", "assert abs(r1[0] - 5.53) < 1e-6", "ass...
theo-eng-code-L2-code-000643
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_squareloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-005242
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(19, 20, -0.07, 0.07, 0.7, 0.3, 1)", "assert abs(r0[0] - 0.0018) < 1e-6", "assert abs(r0[1] - 0.4949) < 1e-6", "assert abs(r0[2] - -0.0487) < 1e-6" ], "subtask": "writete...
theo-eng-code-L2-code-003320
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2590, 120, 0.29, 3.1, 0.011, 0.3, 0.9, 0.9)", "assert abs(r0[0] - 149.1) < 1e-6", "assert abs(r0[1] - 27.76) < 1e-6", "assert abs(r0[2] - 33.31) < 1e-6", "r1 = erange(27...
theo-eng-code-L3-code-014625
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.39, 14000, 120)", "assert abs(r0[0] - 17.15) < 1e-6", "assert abs(r0[1] - 816.2) < 1e-6", "r1 = gear_ratio(0.41, 14000, 100)", "assert abs(r1[0] - 21.64) < 1e-6", "as...
theo-eng-code-L3-code-012063
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.38, 6500, 150)", "assert abs(r0[0] - 6.21) < 1e-6", "assert abs(r0[1] - 1047.1) < 1e-6", "r1 = gear_ratio(0.3, 7000, 100)", "assert abs(r1[0] - 7.92) < 1e-6", "assert...
theo-eng-code-L2-code-007635
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.2, 0.32, 60, 1.0, 2.5)", "assert abs(r0[0] - 12.51) < 1e-6", "assert abs(r0[1] - 0.3482) < 1e-6", "assert abs(r0[2] - 13.38) < 1e-6", "r1 = joint_torque(2.4, 0.56, 4...
theo-eng-code-L1-refuse-010080
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": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-010152
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.0, 0.0], [5.0, 4.5])", "assert abs(r0 - 6.0208) < 1e-6", "r1 = seg_len([2.5, 5.0], [3.0, 2.5])", "assert abs(r1 - 2.5495) < 1e-6", "r2 = seg_len([1.5, 4.0], [2.0, 0.5]...
theo-eng-code-L2-code-012773
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 13, 0.1, -0.04, 0.3, 0.4, 1)", "assert abs(r0[0] - 0.0448) < 1e-6", "assert abs(r0[1] - 0.3394) < 1e-6", "assert abs(r0[2] - 0.0103) < 1e-6", "r1 = com_zmp(10, 16, 0.02, ...
theo-eng-code-L3-code-011027
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(19, 19, -0.06, 0.07, 0.5, 0.5, 1)", "assert abs(r0[0] - 0.005) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - -0.046) < 1e-6", "r1 = com_zmp(5, 22, -0.1, 0.07, ...
theo-eng-code-L2-code-014978
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 13, -0.07, 0.07, 0.9, 0.3, 2)", "assert abs(r0[0] - -0.0093) < 1e-6", "assert abs(r0[1] - 0.64) < 1e-6", "assert abs(r0[2] - -0.1398) < 1e-6", "r1 = com_zmp(17, 12, 0.02,...
theo-eng-code-L2-code-010592
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(65, 8, 0.25)", "assert abs(r0 - 33.23) < 1e-6", "r1 = rms_torque(78, 38, 0.75)", "assert abs(r1 - 70.17) < 1e-6", "r2 = rms_torque(68, 19, 0.25)", "assert abs(r2 - 37....
theo-eng-code-L2-code-008911
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4", "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\": 60, \"max_kw\": 100}')", "assert r1[0] == 60", ...
theo-eng-code-L2-code-006513
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([39, 92, 74, 46, 96])", "assert abs(r0[0] - 69.4) < 1e-6", "assert abs(r0[1] - 26.035) < 1e-6", "r1 = summarise([26, 70, 61, 79, 32, 82])", "assert abs(r1[0] - 58.33...
theo-eng-code-L1-code-002697
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": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-002342
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.44, 7500, 120)", "assert abs(r0[0] - 10.37) < 1e-6", "assert abs(r0[1] - 723.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L3-code-003716
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(39, 1300, 120, 0.38, 2.0, 0.013, 1.0, 0.9, 0.9)", "assert abs(r0[0] - 160.2) < 1e-6", "assert abs(r0[1] - 21.91) < 1e-6", "assert abs(r0[2] - 26.3) < 1e-6", "r1 = erange(75, 1...
theo-eng-code-L2-code-003227
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 150, 0.1, 0.8)", "assert abs(r0[0] - 0.47) < 1e-6", "assert abs(r0[1] - 28.0) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L2-code-003636
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 120, 220, 0.5)", "assert abs(r0[0] - 170.0) < 1e-6", "assert abs(r0[1] - 2.65) < 1e-6", "assert abs(r0[2] - 158.8) < 1e-6", "r1 = runtime(0.2, 180, 250, 0.7)", "...
theo-eng-code-L3-code-002752
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 22, 0.1, 0.8)", "assert abs(r0[0] - 3.98) < 1e-6", "assert abs(r0[1] - 238.6) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L2-code-010482
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(30, [0, 25, 50, 75, 100], [0.79, 0.81, 0.89, 0.9, 0.81])", "assert abs(r0 - 0.826) < 1e-6", "r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.73, 0.8, 0.85, 0.86, 0.81])", "as...
theo-eng-code-L3-code-011408
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(39, 1180, 120, 0.37, 3.0, 0.008, 1.5, 0.92, 0.9)", "assert abs(r0[0] - 130.7) < 1e-6", "assert abs(r0[1] - 26.85) < 1e-6", "assert abs(r0[2] - 32.23) < 1e-6", "r1 = erange(21,...
theo-eng-code-L2-code-008396
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.06, 0.15, 0.4, 0.6, 0.5)", "assert abs(r0[0] - 0.0673) < 1e-6", "assert abs(r0[1] - 0.5212) < 1e-6", "assert abs(r0[2] - 0.0407) < 1e-6", "r1 = com_zmp(9, 16, 0.04...
theo-eng-code-L2-code-010130
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-013405
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, 80, 3.7, 2.5)", "assert r0[0] == 216", "assert r0[1] == 41", "assert r0[2] == 8856", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 81.918) < 1e-6", "r1 ...
theo-eng-code-L2-code-004655
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 11, 0.2, 0.9)", "assert abs(r0[0] - 3.18) < 1e-6", "assert abs(r0[1] - 190.9) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-001583
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 11, 0.2, 1.0)", "assert abs(r0[0] - 1.82) < 1e-6", "assert abs(r0[1] - 109.1) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-002621
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.29, 15000, 150)", "assert abs(r0[0] - 10.93) < 1e-6", "assert abs(r0[1] - 1372.0) < 1e-6", "r1 = gear_ratio(0.45, 10000, 100)", "assert abs(r1[0] - 16.96) < 1e-6", ...
theo-eng-code-L2-code-014750
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(6, 3, 0.25)", "assert abs(r0 - 3.97) < 1e-6", "r1 = rms_torque(98, 19, 0.75)", "assert abs(r1 - 85.4) < 1e-6", "r2 = rms_torque(11, 5, 0.75)", "assert abs(r2 - 9.85) <...
theo-eng-code-L3-code-007858
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 22, 0.1, 0.9)", "assert abs(r0[0] - 1.82) < 1e-6", "assert abs(r0[1] - 109.1) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_time...
theo-eng-code-L2-code-005433
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 140, 400, 0.5)", "assert abs(r0[0] - 270.0) < 1e-6", "assert abs(r0[1] - 0.67) < 1e-6", "assert abs(r0[2] - 40.0) < 1e-6", "r1 = runtime(0.1, 120, 230, 0.5)", "a...
theo-eng-code-L2-code-007434
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.9, 0.53, 90, 6.0, 1.5)", "assert abs(r0[0] - 38.73) < 1e-6", "assert abs(r0[1] - 1.9569) < 1e-6", "assert abs(r0[2] - 41.67) < 1e-6", "r1 = joint_torque(8.0, 0.45, 4...
theo-eng-code-L3-code-001324
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(77, 1650, 80, 0.24, 1.9, 0.007, 1.2, 0.88, 0.9)", "assert abs(r0[0] - 734.9) < 1e-6", "assert abs(r0[1] - 9.43) < 1e-6", "assert abs(r0[2] - 7.54) < 1e-6" ], "subtask":...
theo-eng-code-L3-code-005835
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(9, 10, 0.04, -0.03, 0.7, 0.5, 1)", "assert abs(r0[0] - 0.0032) < 1e-6", "assert abs(r0[1] - 0.5947) < 1e-6", "assert abs(r0[2] - -0.0575) < 1e-6", "r1 = com_zmp(7, 28, 0.1, 0.0...
theo-eng-code-L2-code-015229
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 5, 0.5)", "assert abs(r0 - 13.21) < 1e-6", "r1 = rms_torque(81, 16, 0.5)", "assert abs(r1 - 58.38) < 1e-6", "r2 = rms_torque(63, 30, 0.5)", "assert abs(r2 - 49.34)...
theo-eng-code-L2-code-014555
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(90, 34, 0.75)", "assert abs(r0 - 79.77) < 1e-6", "r1 = rms_torque(34, 11, 0.5)", "assert abs(r1 - 25.27) < 1e-6", "r2 = rms_torque(11, 3, 0.5)", "assert abs(r2 - 8.06)...
theo-eng-code-L1-code-010874
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_loop_sum", "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-010525
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(41, 5, 0.25)", "assert abs(r0 - 20.95) < 1e-6", "r1 = rms_torque(16, 9, 0.5)", "assert abs(r1 - 12.98) < 1e-6", "r2 = rms_torque(24, 18, 0.75)", "assert abs(r2 - 22.65...
theo-eng-code-L2-code-001161
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 11, -0.08, 0.06, 0.9, 0.9, 1)", "assert abs(r0[0] - -0.0208) < 1e-6", "assert abs(r0[1] - 0.9) < 1e-6", "assert abs(r0[2] - -0.1125) < 1e-6", "r1 = com_zmp(14, 13, -0.02,...
theo-eng-code-L2-code-010605
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, [0, 25, 50, 75, 100], [0.75, 0.84, 0.89, 0.89, 0.84])", "assert abs(r0 - 0.786) < 1e-6", "r1 = interp_eff(55, [0, 25, 50, 75, 100], [0.73, 0.84, 0.88, 0.86, 0.84])", "...
theo-eng-code-L3-code-004594
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(800, 60, 3.6, 2.5)", "assert r0[0] == 222", "assert r0[1] == 31", "assert r0[2] == 6882", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 61.938) < 1e-6", "r1 ...
theo-eng-code-L2-code-011206
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 22, 0.1, 1.0)", "assert abs(r0[0] - 5.11) < 1e-6", "assert abs(r0[1] - 306.8) < 1e-6", "assert abs(r0[2] - 90.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_t...
theo-eng-code-L2-code-004172
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([24, 54, 17, 54, 13])", "assert abs(r0[0] - 32.4) < 1e-6", "assert abs(r0[1] - 20.107) < 1e-6", "r1 = summarise([16, 57, 15, 13, 81])", "assert abs(r1[0] - 36.4) < 1...
theo-eng-code-L1-refuse-000779
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-014986
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.33, 4500, 150)", "assert abs(r0[0] - 3.73) < 1e-6", "assert abs(r0[1] - 1205.7) < 1e-6", "r1 = gear_ratio(0.41, 10500, 100)", "assert abs(r1[0] - 16.23) < 1e-6", "a...
theo-eng-code-L2-code-002080
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 60, 3.2, 2.5)", "assert r0[0] == 125", "assert r0[1] == 60", "assert r0[2] == 7500", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 60.0) < 1e-6", "r1 ...
theo-eng-code-L2-code-007042
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(40, [0, 25, 50, 75, 100], [0.77, 0.85, 0.89, 0.89, 0.85])", "assert abs(r0 - 0.874) < 1e-6", "r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.73, 0.85, 0.89, 0.86, 0.85])", "...
theo-eng-code-L2-code-013978
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-006246
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = seg_len([4.0, 4.5], [5.0, 2.0])", "assert abs(r0 - 2.6926) < 1e-6", "r1 = seg_len([4.5, 1.0], [0.0, 1.5])", "assert abs(r1 - 4.5277) < 1e-6", "r2 = seg_len([1.5, 3.0], [2.5, 5.0]...
theo-eng-code-L2-code-008910
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 20, 3.7, 2.5)", "assert r0[0] == 216", "assert r0[1] == 11", "assert r0[2] == 2376", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 21.978) < 1e-6", "r...
theo-eng-code-L3-code-007244
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.28, 12500, 120)", "assert abs(r0[0] - 11.0) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.34, 14500, 180)", "assert abs(r1[0] - 10.33) < 1e-6", "as...
theo-eng-code-L3-code-001077
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": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(12, 11, -0.04, 0.0, 0.9, 0.4, 2)", "assert abs(r0[0] - -0.0209) < 1e-6", "assert abs(r0[1] - 0.6609) < 1e-6", "assert abs(r0[2] - -0.1556) < 1e-6", "r1 = com_zmp(16, 16, -0.07,...
theo-eng-code-L1-code-003619
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_squares", "user_template": "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-009292
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 100, 250, 0.7)", "assert abs(r0[0] - 145.0) < 1e-6", "assert abs(r0[1] - 3.1) < 1e-6", "assert abs(r0[2] - 186.2) < 1e-6", "r1 = runtime(1.0, 230, 170, 0.3)", "a...
theo-eng-code-L2-code-011036
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 170, 210, 0.3)", "assert abs(r0[0] - 198.0) < 1e-6", "assert abs(r0[1] - 4.55) < 1e-6", "assert abs(r0[2] - 272.7) < 1e-6", "r1 = runtime(0.5, 230, 370, 0.5)", "...
theo-eng-code-L1-code-015780
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_dictget", "user_template": "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-009581
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8.0, 0.37, 60, 6.5, 3.5)", "assert abs(r0[0] - 33.01) < 1e-6", "assert abs(r0[1] - 1.2549) < 1e-6", "assert abs(r0[2] - 37.4) < 1e-6", "r1 = joint_torque(5.9, 0.45, 90...
theo-eng-code-L1-code-010050
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_nested", "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-003980
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 0.5], [1.5, 1.0])", "assert abs(r0 - 1.5811) < 1e-6", "r1 = seg_len([0.5, 5.0], [2.5, 5.0])", "assert abs(r1 - 2.0) < 1e-6", "r2 = seg_len([4.0, 4.0], [4.0, 4.5])",...
theo-eng-code-L2-code-010603
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([400, 80, 450, 140], 2)", "assert abs(r0 - 0.5944) < 1e-6", "r1 = rect_energy([390, 480, 470, 50, 220], 10)", "assert abs(r1 - 4.4722) < 1e-6", "r2 = rect_energy(...