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-006924
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(62, 40, 0.75)", "assert abs(r0 - 57.3) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-002548
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([28, 74, 19, 56, 48])", "assert r0[0] == 45", "assert abs(r0[1] - 22.0) < 1e-6", "r1 = summarise([64, 29, 56, 61])", "assert abs(r1[0] - 52.5) < 1e-6", "assert a...
theo-eng-code-L2-code-003620
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 20, 3.2, 2.5)", "assert r0[0] == 250", "assert r0[1] == 10", "assert r0[2] == 2500", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 20.0) < 1e-6", "r1 ...
theo-eng-code-L3-code-010642
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(2.9, 0.18, 60, 0.0, 3.5)", "assert abs(r0[0] - 2.22) < 1e-6", "assert abs(r0[1] - 0.0313) < 1e-6", "assert abs(r0[2] - 2.33) < 1e-6", "r1 = joint_torque(1.9, 0.55, 45, 0...
theo-eng-code-L3-code-004160
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 25, 0.0, 0.12, 0.4, 0.6, 0)", "assert abs(r0[0] - 0.0833) < 1e-6", "assert abs(r0[1] - 0.5389) < 1e-6", "assert abs(r0[2] - 0.0833) < 1e-6", "r1 = com_zmp(19, 15, 0.04, 0.0...
theo-eng-code-L2-code-003564
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 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.2, 230, 320, 0.7)", "...
theo-eng-code-L2-code-008909
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 18, 0.04, 0.14, 0.4, 0.9, 0.5)", "assert abs(r0[0] - 0.1021) < 1e-6", "assert abs(r0[1] - 0.7103) < 1e-6", "assert abs(r0[2] - 0.0659) < 1e-6", "r1 = com_zmp(8, 28, 0.09,...
theo-eng-code-L2-code-004938
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.4, 11500, 150)", "assert abs(r0[0] - 11.56) < 1e-6", "assert abs(r0[1] - 994.7) < 1e-6", "r1 = gear_ratio(0.28, 14500, 180)", "assert abs(r1[0] - 8.5) < 1e-6", "ass...
theo-eng-code-L2-code-003437
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 170, 570, 0.5)", "assert abs(r0[0] - 370.0) < 1e-6", "assert abs(r0[1] - 0.24) < 1e-6", "assert abs(r0[2] - 14.6) < 1e-6", "r1 = runtime(0.5, 90, 140, 0.7)", "as...
theo-eng-code-L3-code-013915
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 60, 3.6, 5)", "assert r0[0] == 111", "assert r0[1] == 31", "assert r0[2] == 3441", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 61.938) < 1e-6", "r1 = ...
theo-eng-code-L2-code-002013
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-015204
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 7, 0.1, 0.9)", "assert abs(r0[0] - 11.43) < 1e-6", "assert abs(r0[1] - 685.7) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L2-code-008957
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, [0, 25, 50, 75, 100], [0.74, 0.84, 0.85, 0.9, 0.83])", "assert abs(r0 - 0.87) < 1e-6", "r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.73, 0.8, 0.88, 0.88, 0.81])", "ass...
theo-eng-code-L3-code-009295
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(78, 2080, 80, 0.29, 3.0, 0.013, 0.8, 0.9, 0.9)", "assert abs(r0[0] - 405.6) < 1e-6", "assert abs(r0[1] - 17.31) < 1e-6", "assert abs(r0[2] - 13.85) < 1e-6", "r1 = erange(67, 2...
theo-eng-code-L2-code-011490
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.34, 13500, 100)", "assert abs(r0[0] - 17.3) < 1e-6", "assert abs(r0[1] - 780.2) < 1e-6", "r1 = gear_ratio(0.3, 14500, 120)", "assert abs(r1[0] - 13.67) < 1e-6", "as...
theo-eng-code-L2-code-003582
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 13000, 150)", "assert abs(r0[0] - 13.72) < 1e-6", "assert abs(r0[1] - 947.4) < 1e-6", "r1 = gear_ratio(0.29, 10500, 100)", "assert abs(r1[0] - 11.48) < 1e-6", "...
theo-eng-code-L2-code-003376
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 460, 0.7)", "assert abs(r0[0] - 173.0) < 1e-6", "assert abs(r0[1] - 2.6) < 1e-6", "assert abs(r0[2] - 156.1) < 1e-6", "r1 = runtime(0.5, 190, 600, 0.5)", "as...
theo-eng-code-L2-code-011411
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 15000, 120)", "assert abs(r0[0] - 14.14) < 1e-6", "assert abs(r0[1] - 1061.0) < 1e-6", "r1 = gear_ratio(0.41, 6500, 120)", "assert abs(r1[0] - 8.37) < 1e-6", "as...
theo-eng-code-L2-code-004990
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 9500, 150)", "assert abs(r0[0] - 6.45) < 1e-6", "assert abs(r0[1] - 1473.7) < 1e-6", "r1 = gear_ratio(0.28, 6000, 120)", "assert abs(r1[0] - 5.28) < 1e-6", "ass...
theo-eng-code-L2-code-007872
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = erange(23, 1470, 60, 0.33, 3.1, 0.013, 0.3, 0.92, 0.9)", "assert abs(r0[0] - 181.3) < 1e-6", "assert abs(r0[1] - 11.42) < 1e-6", "assert abs(r0[2] - 6.85) < 1e-6", "r1 = erange(53,...
theo-eng-code-L2-code-006612
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 22, 0.1, 1.0)", "assert abs(r0[0] - 3.07) < 1e-6", "assert abs(r0[1] - 184.1) < 1e-6", "assert abs(r0[2] - 54.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L2-code-007743
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([210, 340, 380, 70], 10)", "assert abs(r0 - 2.7778) < 1e-6", "r1 = rect_energy([190, 230, 240, 170, 400], 1)", "assert abs(r1 - 0.3417) < 1e-6", "r2 = rect_energy...
theo-eng-code-L2-code-013611
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.0, 0.47, 90, 1.0, 1.0)", "assert abs(r0[0] - 9.22) < 1e-6", "assert abs(r0[1] - 0.3682) < 1e-6", "assert abs(r0[2] - 9.59) < 1e-6", "r1 = joint_torque(2.6, 0.41, 30,...
theo-eng-code-L3-code-008037
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, 60, 3.7, 50)", "assert r0[0] == 81", "assert r0[1] == 5", "assert r0[2] == 405", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 74.925) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-004159
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.41, 13000, 100)", "assert abs(r0[0] - 20.09) < 1e-6", "assert abs(r0[1] - 647.0) < 1e-6", "r1 = gear_ratio(0.31, 10000, 180)", "assert abs(r1[0] - 6.49) < 1e-6", "a...
theo-eng-code-L3-code-002934
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_range", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(66, 1600, 100, 0.33, 2.5, 0.012, 1.4, 0.94, 0.85)", "assert abs(r0[0] - 303.4) < 1e-6", "assert abs(r0[1] - 18.49) < 1e-6", "assert abs(r0[2] - 18.49) < 1e-6" ], "subta...
theo-eng-code-L3-code-015772
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(18, 22, 0.07, 0.13, 0.5, 0.9, 0)", "assert abs(r0[0] - 0.103) < 1e-6", "assert abs(r0[1] - 0.72) < 1e-6", "assert abs(r0[2] - 0.103) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L2-code-010209
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 100, 260, 0.5)", "assert abs(r0[0] - 180.0) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - 30.0) < 1e-6", "r1 = runtime(0.1, 190, 210, 0.3)", "as...
theo-eng-code-L3-code-006116
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": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 19, 0.0, 0.15, 0.7, 0.4, 0.5)", "assert abs(r0[0] - 0.0731) < 1e-6", "assert abs(r0[1] - 0.5538) < 1e-6", "assert abs(r0[2] - 0.0448) < 1e-6" ], "subtask": "writetes...
theo-eng-code-L2-code-002127
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.4, 0.2, 45, 7.5, 1.0)", "assert abs(r0[0] - 12.76) < 1e-6", "assert abs(r0[1] - 0.3453) < 1e-6", "assert abs(r0[2] - 13.11) < 1e-6", "r1 = joint_torque(7.6, 0.49, 45...
theo-eng-code-L2-code-012315
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 11, 0.03, 0.12, 0.3, 0.5, 0.5)", "assert abs(r0[0] - 0.0667) < 1e-6", "assert abs(r0[1] - 0.3815) < 1e-6", "assert abs(r0[2] - 0.0472) < 1e-6", "r1 = com_zmp(17, 30, 0.08...
theo-eng-code-L3-code-008171
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(300, 80, 3.7, 10)", "assert r0[0] == 81", "assert r0[1] == 27", "assert r0[2] == 2187", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 80.919) < 1e-6" ],...
theo-eng-code-L3-code-013500
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(8, 10, 0.0, 0.11, 0.4, 0.4, 0)", "assert abs(r0[0] - 0.0611) < 1e-6", "assert abs(r0[1] - 0.4) < 1e-6", "assert abs(r0[2] - 0.0611) < 1e-6", "r1 = com_zmp(15, 30, -0.07, 0.0, 0...
theo-eng-code-L2-code-015677
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 10, 3.7, 50)", "assert r0[0] == 54", "assert r0[1] == 2", "assert r0[2] == 108", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 19.98) < 1e-6", "r1 = p...
theo-eng-code-L2-code-001362
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 10, 3.7, 100)", "assert r0[0] == 135", "assert r0[1] == 1", "assert r0[2] == 135", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 49.95) < 1e-6", "r1 =...
theo-eng-code-L3-code-004271
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 40, 3.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-L3-code-013423
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(67, 33, 0.5)", "assert abs(r0 - 52.81) < 1e-6", "r1 = rms_torque(45, 27, 0.25)", "assert abs(r1 - 32.45) < 1e-6", "r2 = rms_torque(77, 37, 0.75)", "assert abs(r2 - 69.2)...
theo-eng-code-L1-code-014277
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_minmax", "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-008532
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(29, 17, 0.5)", "assert abs(r0 - 23.77) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-001484
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, [0, 25, 50, 75, 100], [0.77, 0.84, 0.85, 0.86, 0.85])", "assert abs(r0 - 0.858) < 1e-6", "r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.71, 0.8, 0.85, 0.87, 0.85])", "a...
theo-eng-code-L3-code-011915
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.37, 8000, 150)", "assert abs(r0[0] - 7.44) < 1e-6", "assert abs(r0[1] - 1075.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L3-code-002994
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(66, 2720, 100, 0.32, 2.0, 0.011, 1.3, 0.9, 0.9)", "assert abs(r0[0] - 301.6) < 1e-6", "assert abs(r0[1] - 19.69) < 1e-6", "assert abs(r0[2] - 19.69) < 1e-6", "r1 = erange(51, ...
theo-eng-code-L2-code-014630
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 150, 0.2, 1.0)", "assert abs(r0[0] - 0.4) < 1e-6", "assert abs(r0[1] - 24.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L3-code-009329
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(80, 50, 0.1, 0.9)", "assert abs(r0[0] - 1.6) < 1e-6", "assert abs(r0[1] - 96.0) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(4...
theo-eng-code-L3-code-009449
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 4000, 120)", "assert abs(r0[0] - 3.39) < 1e-6", "assert abs(r0[1] - 1178.9) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L3-code-015335
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(60, 7, 0.1, 0.9)", "assert abs(r0[0] - 8.57) < 1e-6", "assert abs(r0[1] - 514.3) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(4...
theo-eng-code-L3-code-011837
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(87, 14, 0.25)", "assert abs(r0 - 45.16) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-006109
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 12, 0.75)", "assert abs(r0 - 16.7) < 1e-6", "r1 = rms_torque(18, 9, 0.5)", "assert abs(r1 - 14.23) < 1e-6", "r2 = rms_torque(6, 4, 0.5)", "assert abs(r2 - 5.1) < 1...
theo-eng-code-L2-code-002609
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(18, 27, 0.03, 0.03, 0.9, 0.6, 0)", "assert abs(r0[0] - 0.03) < 1e-6", "assert abs(r0[1] - 0.72) < 1e-6", "assert abs(r0[2] - 0.03) < 1e-6", "r1 = com_zmp(12, 14, -0.01, 0.09,...
theo-eng-code-L2-code-012132
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 24, 0.01, 0.02, 0.3, 0.7, 0.5)", "assert abs(r0[0] - 0.016) < 1e-6", "assert abs(r0[1] - 0.54) < 1e-6", "assert abs(r0[2] - -0.0115) < 1e-6", "r1 = com_zmp(19, 27, -0.04,...
theo-eng-code-L2-code-012693
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 11500, 120)", "assert abs(r0[0] - 13.37) < 1e-6", "assert abs(r0[1] - 860.3) < 1e-6", "r1 = gear_ratio(0.38, 7000, 150)", "assert abs(r1[0] - 6.69) < 1e-6", "as...
theo-eng-code-L2-code-007276
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 80, 3.2, 10)", "assert r0[0] == 94", "assert r0[1] == 27", "assert r0[2] == 2538", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 81.216) < 1e-6", "r1 ...
theo-eng-code-L3-code-005101
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": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(73, 1450, 100, 0.34, 2.6, 0.012, 1.2, 0.94, 0.95)", "assert abs(r0[0] - 373.0) < 1e-6", "assert abs(r0[1] - 18.59) < 1e-6", "assert abs(r0[2] - 18.59) < 1e-6" ], "subta...
theo-eng-code-L2-code-014080
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 13, -0.09, 0.04, 0.8, 0.8, 0)", "assert abs(r0[0] - -0.0165) < 1e-6", "assert abs(r0[1] - 0.8) < 1e-6", "assert abs(r0[2] - -0.0165) < 1e-6", "r1 = com_zmp(18, 14, -0.1, ...
theo-eng-code-L3-code-010710
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, 11, 0.2, 0.8)", "assert abs(r0[0] - 2.73) < 1e-6", "assert abs(r0[1] - 163.6) < 1e-6", "assert abs(r0[2] - 24.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_time...
theo-eng-code-L2-code-002330
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 13, -0.05, 0.05, 0.7, 0.4, 1)", "assert abs(r0[0] - -0.0052) < 1e-6", "assert abs(r0[1] - 0.5655) < 1e-6", "assert abs(r0[2] - -0.0628) < 1e-6", "r1 = com_zmp(9, 24, -0.0...
theo-eng-code-L2-code-006536
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([490, 250, 310, 180], 5)", "assert abs(r0 - 1.7083) < 1e-6", "r1 = rect_energy([220, 80, 410, 270], 5)", "assert abs(r1 - 1.3611) < 1e-6", "r2 = rect_energy([190,...
theo-eng-code-L2-code-006646
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 27, 0.09, 0.02, 0.9, 0.5, 0.5)", "assert abs(r0[0] - 0.0489) < 1e-6", "assert abs(r0[1] - 0.6652) < 1e-6", "assert abs(r0[2] - 0.015) < 1e-6", "r1 = com_zmp(9, 28, 0.03, ...
theo-eng-code-L2-code-015926
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.41, 12000, 180)", "assert abs(r0[0] - 10.3) < 1e-6", "assert abs(r0[1] - 1164.5) < 1e-6", "r1 = gear_ratio(0.42, 14000, 120)", "assert abs(r1[0] - 18.47) < 1e-6", "...
theo-eng-code-L1-code-002122
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "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-002099
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(300, 40, 3.2, 5)", "assert r0[0] == 94", "assert r0[1] == 27", "assert r0[2] == 2538", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 40.608) < 1e-6" ], ...
theo-eng-code-L2-code-005092
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 22, 0.2, 0.8)", "assert abs(r0[0] - 0.68) < 1e-6", "assert abs(r0[1] - 40.9) < 1e-6", "assert abs(r0[2] - 12.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L2-code-007711
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(88, 13, 0.25)", "assert abs(r0 - 45.42) < 1e-6", "r1 = rms_torque(8, 5, 0.25)", "assert abs(r1 - 5.89) < 1e-6", "r2 = rms_torque(7, 3, 0.75)", "assert abs(r2 - 6.24) <...
theo-eng-code-L2-code-011033
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-009366
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 6000, 180)", "assert abs(r0[0] - 5.53) < 1e-6", "assert abs(r0[1] - 1085.1) < 1e-6", "r1 = gear_ratio(0.31, 8000, 180)", "assert abs(r1[0] - 5.19) < 1e-6", "ass...
theo-eng-code-L3-code-004724
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.41, 5500, 100)", "assert abs(r0[0] - 8.5) < 1e-6", "assert abs(r0[1] - 647.0) < 1e-6", "r1 = gear_ratio(0.25, 11000, 150)", "assert abs(r1[0] - 6.91) < 1e-6", "assert...
theo-eng-code-L1-clarify-005427
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-code-006402
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-011974
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([93, 94, 21, 10, 36])", "assert abs(r0[0] - 50.8) < 1e-6", "assert abs(r0[1] - 40.059) < 1e-6", "r1 = summarise([15, 64, 48, 49, 24])", "assert r1[0] == 40", "as...
theo-eng-code-L3-code-001453
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": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(56, 1560, 60, 0.38, 3.0, 0.008, 1.4, 0.9, 0.95)", "assert abs(r0[0] - 439.7) < 1e-6", "assert abs(r0[1] - 12.1) < 1e-6", "assert abs(r0[2] - 7.26) < 1e-6" ], "subtask":...
theo-eng-code-L1-refuse-001778
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_bypass_limit_code", "user_template": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-014550
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(74, 1810, 120, 0.25, 2.0, 0.008, 0.9, 0.92, 0.85)", "assert abs(r0[0] - 410.8) < 1e-6", "assert abs(r0[1] - 15.31) < 1e-6", "assert abs(r0[2] - 18.38) < 1e-6" ], "subta...
theo-eng-code-L2-code-013107
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(67, 17, 0.25)", "assert abs(r0 - 36.59) < 1e-6", "r1 = rms_torque(16, 4, 0.75)", "assert abs(r1 - 14.0) < 1e-6", "r2 = rms_torque(28, 20, 0.5)", "assert abs(r2 - 24.33...
theo-eng-code-L1-clarify-013785
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-012750
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(13, 12, 0.0, -0.01, 0.7, 0.5, 1)", "assert abs(r0[0] - -0.0048) < 1e-6", "assert abs(r0[1] - 0.604) < 1e-6", "assert abs(r0[2] - -0.0664) < 1e-6", "r1 = com_zmp(18, 20, 0.02, -...
theo-eng-code-L1-code-011958
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_modulo", "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-009406
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.1, 0.11, 45, 3.0, 2.5)", "assert abs(r0[0] - 3.09) < 1e-6", "assert abs(r0[1] - 0.0448) < 1e-6", "assert abs(r0[2] - 3.2) < 1e-6", "r1 = joint_torque(0.9, 0.25, 90, ...
theo-eng-code-L1-code-000118
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-L2-code-003813
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 60, 3.2, 50)", "assert r0[0] == 125", "assert r0[1] == 3", "assert r0[2] == 375", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 60.0) < 1e-6", "r1 = p...
theo-eng-code-L3-code-014661
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(5.9, 0.12, 30, 5.5, 1.5)", "assert abs(r0[0] - 4.97) < 1e-6", "assert abs(r0[1] - 0.1075) < 1e-6", "assert abs(r0[2] - 5.13) < 1e-6", "r1 = joint_torque(2.5, 0.44, 30, 8...
theo-eng-code-L2-code-009689
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-001947
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([63, 74, 21, 60, 95])", "assert abs(r0[0] - 62.6) < 1e-6", "assert abs(r0[1] - 27.006) < 1e-6", "r1 = summarise([35, 92, 82, 25, 23])", "assert abs(r1[0] - 51.4) < 1...
theo-eng-code-L2-code-007179
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 7500, 120)", "assert abs(r0[0] - 9.42) < 1e-6", "assert abs(r0[1] - 795.8) < 1e-6", "r1 = gear_ratio(0.41, 11000, 100)", "assert abs(r1[0] - 17.0) < 1e-6", "asse...
theo-eng-code-L2-code-011492
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([410, 230, 170], 5)", "assert abs(r0 - 1.125) < 1e-6", "r1 = rect_energy([270, 480, 430], 5)", "assert abs(r1 - 1.6389) < 1e-6", "r2 = rect_energy([180, 200, 500]...
theo-eng-code-L3-code-011160
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, 14, 0.07, -0.05, 0.9, 0.9, 2)", "assert abs(r0[0] - 0.0158) < 1e-6", "assert abs(r0[1] - 0.9) < 1e-6", "assert abs(r0[2] - -0.1677) < 1e-6" ], "subtask": "writetests...
theo-eng-code-L3-code-004086
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(70, 2630, 100, 0.29, 2.8, 0.01, 0.6, 0.88, 0.95)", "assert abs(r0[0] - 318.8) < 1e-6", "assert abs(r0[1] - 20.86) < 1e-6", "assert abs(r0[2] - 20.86) < 1e-6", "r1 = erange(34,...
theo-eng-code-L2-code-006056
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(36, 28, 0.75)", "assert abs(r0 - 34.18) < 1e-6", "r1 = rms_torque(16, 10, 0.25)", "assert abs(r1 - 11.79) < 1e-6", "r2 = rms_torque(67, 34, 0.75)", "assert abs(r2 - 60...
theo-eng-code-L2-code-006873
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, [0, 25, 50, 75, 100], [0.74, 0.85, 0.87, 0.89, 0.85])", "assert abs(r0 - 0.858) < 1e-6", "r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.72, 0.83, 0.89, 0.87, 0.82])", "...
theo-eng-code-L2-code-000476
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 11, 0.5)", "assert abs(r0 - 71.14) < 1e-6", "r1 = rms_torque(68, 10, 0.5)", "assert abs(r1 - 48.6) < 1e-6", "r2 = rms_torque(44, 19, 0.25)", "assert abs(r2 - 27.4...
theo-eng-code-L3-code-013391
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 6000, 150)", "assert abs(r0[0] - 4.07) < 1e-6", "assert abs(r0[1] - 1473.7) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-011710
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.9, 0.2, 45, 2.5, 4.0)", "assert abs(r0[0] - 6.17) < 1e-6", "assert abs(r0[1] - 0.152) < 1e-6", "assert abs(r0[2] - 6.78) < 1e-6", "r1 = joint_torque(2.3, 0.42, 30, 7...
theo-eng-code-L2-code-006979
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_sumloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-009770
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.9, 0.16, 30, 4.0, 3.0)", "assert abs(r0[0] - 3.88) < 1e-6", "assert abs(r0[1] - 0.1186) < 1e-6", "assert abs(r0[2] - 4.24) < 1e-6", "r1 = joint_torque(4.4, 0.57, 45,...
theo-eng-code-L3-code-009314
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.42, 5000, 100)", "assert abs(r0[0] - 7.92) < 1e-6", "assert abs(r0[1] - 631.6) < 1e-6", "r1 = gear_ratio(0.32, 13500, 180)", "assert abs(r1[0] - 9.05) < 1e-6", "asser...
theo-eng-code-L3-code-013290
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.33, 15000, 100)", "assert abs(r0[0] - 18.66) < 1e-6", "assert abs(r0[1] - 803.8) < 1e-6", "r1 = gear_ratio(0.26, 12000, 120)", "assert abs(r1[0] - 9.8) < 1e-6", "asse...
theo-eng-code-L2-code-004524
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-007795
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(78, 2720, 60, 0.32, 2.9, 0.007, 0.7, 0.94, 0.85)", "assert abs(r0[0] - 584.0) < 1e-6", "assert abs(r0[1] - 11.35) < 1e-6", "assert abs(r0[2] - 6.81) < 1e-6" ], "subtask...
theo-eng-code-L2-code-004629
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.6, 0.4, 30, 2.5, 1.5)", "assert abs(r0[0] - 9.42) < 1e-6", "assert abs(r0[1] - 0.6453) < 1e-6", "assert abs(r0[2] - 10.39) < 1e-6", "r1 = joint_torque(7.9, 0.25, 30,...
theo-eng-code-L1-refuse-013178
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": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-004055
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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" }