id
stringlengths
28
31
type
stringclasses
3 values
tier
stringclasses
3 values
domain
stringclasses
1 value
messages
listlengths
3
3
meta
unknown
theo-eng-code-L2-code-001987
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.75, 0.81, 0.88, 0.87, 0.8])", "assert abs(r0 - 0.876) < 1e-6", "r1 = interp_eff(25, [0, 25, 50, 75, 100], [0.75, 0.85, 0.89, 0.9, 0.83])", "as...
theo-eng-code-L3-code-004844
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(3.3, 0.16, 30, 6.0, 0.0)", "assert abs(r0[0] - 6.0) < 1e-6", "assert abs(r0[1] - 0.1818) < 1e-6", "assert abs(r0[2] - 6.0) < 1e-6", "r1 = joint_torque(7.8, 0.44, 90, 6.5...
theo-eng-code-L3-code-003164
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.8, 0.21, 60, 4.5, 2.5)", "assert abs(r0[0] - 13.2) < 1e-6", "assert abs(r0[1] - 0.2837) < 1e-6", "assert abs(r0[2] - 13.91) < 1e-6", "r1 = joint_torque(5.9, 0.43, 60, ...
theo-eng-code-L2-code-013387
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 180, 130, 0.3)", "assert abs(r0[0] - 145.0) < 1e-6", "assert abs(r0[1] - 6.21) < 1e-6", "assert abs(r0[2] - 372.4) < 1e-6", "r1 = runtime(1.0, 30, 310, 0.3)", "a...
theo-eng-code-L3-code-011179
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": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(7, 20, -0.07, -0.01, 0.4, 0.7, 0.5)", "assert abs(r0[0] - -0.0256) < 1e-6", "assert abs(r0[1] - 0.6222) < 1e-6", "assert abs(r0[2] - -0.0573) < 1e-6", "r1 = com_zmp(6, 10, 0.04...
theo-eng-code-L3-code-003401
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": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(94, 38, 0.75)", "assert abs(r0 - 83.59) < 1e-6", "r1 = rms_torque(77, 17, 0.5)", "assert abs(r1 - 55.76) < 1e-6", "r2 = rms_torque(63, 19, 0.25)", "assert abs(r2 - 35.54...
theo-eng-code-L3-code-014927
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.32, 7500, 100)", "assert abs(r0[0] - 9.05) < 1e-6", "assert abs(r0[1] - 828.9) < 1e-6", "r1 = gear_ratio(0.3, 10000, 120)", "assert abs(r1[0] - 9.42) < 1e-6", "assert...
theo-eng-code-L2-code-005016
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 130, 220, 0.7)", "assert abs(r0[0] - 157.0) < 1e-6", "assert abs(r0[1] - 0.57) < 1e-6", "assert abs(r0[2] - 34.4) < 1e-6", "r1 = runtime(1.0, 280, 310, 0.7)", "a...
theo-eng-code-L1-refuse-004171
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-L3-code-005668
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 60, 3.2, 2.5)", "assert r0[0] == 250", "assert r0[1] == 30", "assert r0[2] == 7500", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 60.0) < 1e-6" ],...
theo-eng-code-L2-code-011924
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 100}')", "assert r0[0] == 40", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')", "assert r1[0] == 40", "...
theo-eng-code-L3-code-007047
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(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" ], ...
theo-eng-code-L3-code-002289
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 170, 250, 0.5)", "assert abs(r0[0] - 210.0) < 1e-6", "assert abs(r0[1] - 0.86) < 1e-6", "assert abs(r0[2] - 51.4) < 1e-6", "r1 = runtime(1.0, 100, 240, 0.7)", "ass...
theo-eng-code-L3-code-004607
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.8, 0.41, 60, 7.0, 2.0)", "assert abs(r0[0] - 34.48) < 1e-6", "assert abs(r0[1] - 1.5017) < 1e-6", "assert abs(r0[2] - 37.49) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L2-code-000505
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-002550
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')", "assert r0[0] == 60", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 150}')", "assert r1[0] == 40", ...
theo-eng-code-L3-code-003319
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 130, 40, 0.7)", "assert abs(r0[0] - 103.0) < 1e-6", "assert abs(r0[1] - 8.74) < 1e-6", "assert abs(r0[2] - 524.3) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L3-code-011405
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(36, 1570, 80, 0.22, 2.4, 0.008, 1.5, 0.92, 0.95)", "assert abs(r0[0] - 328.3) < 1e-6", "assert abs(r0[1] - 10.42) < 1e-6", "assert abs(r0[2] - 8.33) < 1e-6", "r1 = erange(51, ...
theo-eng-code-L2-code-005680
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([64, 97, 95, 19, 68])", "assert abs(r0[0] - 68.6) < 1e-6", "assert abs(r0[1] - 31.564) < 1e-6", "r1 = summarise([44, 25, 82, 15])", "assert abs(r1[0] - 41.5) < 1e-6"...
theo-eng-code-L2-code-012826
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(93, 35, 0.75)", "assert abs(r0 - 82.42) < 1e-6", "r1 = rms_torque(36, 12, 0.75)", "assert abs(r1 - 31.75) < 1e-6", "r2 = rms_torque(99, 11, 0.75)", "assert abs(r2 - 85...
theo-eng-code-L3-code-015685
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(500, 20, 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 = p...
theo-eng-code-L2-code-005641
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.3, 15000, 150)", "assert abs(r0[0] - 11.31) < 1e-6", "assert abs(r0[1] - 1326.3) < 1e-6", "r1 = gear_ratio(0.3, 6500, 100)", "assert abs(r1[0] - 7.35) < 1e-6", "ass...
theo-eng-code-L2-code-015997
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.28, 9000, 100)", "assert abs(r0[0] - 9.5) < 1e-6", "assert abs(r0[1] - 947.4) < 1e-6", "r1 = gear_ratio(0.36, 14000, 120)", "assert abs(r1[0] - 15.83) < 1e-6", "ass...
theo-eng-code-L2-code-001568
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 80, 3.6, 100)", "assert r0[0] == 139", "assert r0[1] == 2", "assert r0[2] == 278", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 100.08) < 1e-6", "r1 ...
theo-eng-code-L2-code-004974
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.6, 0.47, 30, 7.5, 4.0)", "assert abs(r0[0] - 19.13) < 1e-6", "assert abs(r0[1] - 1.7746) < 1e-6", "assert abs(r0[2] - 26.23) < 1e-6", "r1 = joint_torque(6.7, 0.18, 6...
theo-eng-code-L2-code-006603
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = summarise([13, 61, 52, 12, 95, 47])", "assert abs(r0[0] - 46.667) < 1e-6", "assert abs(r0[1] - 31.322) < 1e-6", "r1 = summarise([83, 70, 94, 35])", "assert abs(r1[0] - 70.5) <...
theo-eng-code-L2-code-008824
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 11500, 100)", "assert abs(r0[0] - 11.71) < 1e-6", "assert abs(r0[1] - 982.4) < 1e-6", "r1 = gear_ratio(0.41, 8500, 150)", "assert abs(r1[0] - 8.76) < 1e-6", "as...
theo-eng-code-L3-code-010260
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(29, 990, 100, 0.22, 2.1, 0.011, 1.5, 0.9, 0.85)", "assert abs(r0[0] - 213.7) < 1e-6", "assert abs(r0[1] - 11.54) < 1e-6", "assert abs(r0[2] - 11.54) < 1e-6", "r1 = erange(48, ...
theo-eng-code-L3-code-008770
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.5, 130, 570, 0.3)", "assert abs(r0[0] - 438.0) < 1e-6", "assert abs(r0[1] - 1.03) < 1e-6", "assert abs(r0[2] - 61.6) < 1e-6", "r1 = runtime(1.0, 120, 430, 0.3)", "ass...
theo-eng-code-L3-code-006473
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": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(14, 21, 0.0, -0.03, 0.5, 0.3, 0)", "assert abs(r0[0] - -0.018) < 1e-6", "assert abs(r0[1] - 0.38) < 1e-6", "assert abs(r0[2] - -0.018) < 1e-6" ], "subtask": "writetests"...
theo-eng-code-L1-clarify-004798
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-clarify-011683
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-007867
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(68, 14, 0.5)", "assert abs(r0 - 49.09) < 1e-6", "r1 = rms_torque(85, 9, 0.75)", "assert abs(r1 - 73.75) < 1e-6", "r2 = rms_torque(39, 3, 0.5)", "assert abs(r2 - 27.66) <...
theo-eng-code-L3-code-014807
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": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(19, 14, 0.05, 0.09, 0.9, 0.4, 1)", "assert abs(r0[0] - 0.067) < 1e-6", "assert abs(r0[1] - 0.6879) < 1e-6", "assert abs(r0[2] - -0.0032) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L2-code-012543
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(7, 20, -0.08, 0.15, 0.3, 0.9, 1)", "assert abs(r0[0] - 0.0904) < 1e-6", "assert abs(r0[1] - 0.7444) < 1e-6", "assert abs(r0[2] - 0.0145) < 1e-6", "r1 = com_zmp(17, 26, 0.07, ...
theo-eng-code-L2-code-012259
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-012438
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-004558
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')", "assert r0[0] == 60", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')", "assert r1[0] == 20", "...
theo-eng-code-L3-code-004445
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(84, 2670, 60, 0.24, 2.1, 0.012, 0.9, 0.92, 0.95)", "assert abs(r0[0] - 587.7) < 1e-6", "assert abs(r0[1] - 13.58) < 1e-6", "assert abs(r0[2] - 8.15) < 1e-6", "r1 = erange(66, ...
theo-eng-code-L3-code-012449
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": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(18, 10, -0.08, -0.05, 0.6, 0.8, 2)", "assert abs(r0[0] - -0.0693) < 1e-6", "assert abs(r0[1] - 0.6714) < 1e-6", "assert abs(r0[2] - -0.2062) < 1e-6" ], "subtask": "write...
theo-eng-code-L3-code-002603
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.41, 14500, 150)", "assert abs(r0[0] - 14.94) < 1e-6", "assert abs(r0[1] - 970.5) < 1e-6", "r1 = gear_ratio(0.45, 9500, 180)", "assert abs(r1[0] - 8.95) < 1e-6", "asse...
theo-eng-code-L2-code-004621
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.5, 0.11, 30, 5.0, 3.5)", "assert abs(r0[0] - 2.83) < 1e-6", "assert abs(r0[1] - 0.0625) < 1e-6", "assert abs(r0[2] - 3.05) < 1e-6", "r1 = joint_torque(7.6, 0.54, 45,...
theo-eng-code-L2-code-001154
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 22, 0.2, 1.0)", "assert abs(r0[0] - 4.55) < 1e-6", "assert abs(r0[1] - 272.7) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_t...
theo-eng-code-L3-code-015553
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": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(93, 1550, 60, 0.36, 3.1, 0.01, 1.5, 0.94, 0.9)", "assert abs(r0[0] - 664.1) < 1e-6", "assert abs(r0[1] - 12.6) < 1e-6", "assert abs(r0[2] - 7.56) < 1e-6" ], "subtask": ...
theo-eng-code-L2-code-002428
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-012745
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, 25, 0.5)", "assert abs(r0 - 30.41) < 1e-6", "r1 = rms_torque(13, 7, 0.25)", "assert abs(r1 - 8.89) < 1e-6", "r2 = rms_torque(37, 14, 0.5)", "assert abs(r2 - 27.97)...
theo-eng-code-L2-code-000851
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 90, 390, 0.7)", "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.5, 280, 600, 0.5)", "ass...
theo-eng-code-L2-code-004366
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.5, 2.5], [0.5, 3.0])", "assert abs(r0 - 0.5) < 1e-6", "r1 = seg_len([4.5, 3.5], [2.0, 0.0])", "assert abs(r1 - 4.3012) < 1e-6", "r2 = seg_len([2.5, 4.5], [2.5, 2.0])",...
theo-eng-code-L2-code-011859
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 7000, 120)", "assert abs(r0[0] - 5.94) < 1e-6", "assert abs(r0[1] - 1178.9) < 1e-6", "r1 = gear_ratio(0.26, 10500, 150)", "assert abs(r1[0] - 6.86) < 1e-6", "as...
theo-eng-code-L3-code-004019
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": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.32, 13500, 120)", "assert abs(r0[0] - 13.57) < 1e-6", "assert abs(r0[1] - 994.7) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L3-code-001411
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(80, 22, 0.1, 0.9)", "assert abs(r0[0] - 3.64) < 1e-6", "assert abs(r0[1] - 218.2) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_time...
theo-eng-code-L3-code-006625
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 40, 3.6, 50)", "assert r0[0] == 222", "assert r0[1] == 2", "assert r0[2] == 444", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6" ], ...
theo-eng-code-L2-code-005295
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 17, 0.07, 0.12, 0.5, 0.4, 0)", "assert abs(r0[0] - 0.0993) < 1e-6", "assert abs(r0[1] - 0.4414) < 1e-6", "assert abs(r0[2] - 0.0993) < 1e-6", "r1 = com_zmp(19, 15, 0.03, ...
theo-eng-code-L3-code-005058
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 40, 560, 0.3)", "assert abs(r0[0] - 404.0) < 1e-6", "assert abs(r0[1] - 1.11) < 1e-6", "assert abs(r0[2] - 66.8) < 1e-6", "r1 = runtime(0.2, 70, 540, 0.5)", "asser...
theo-eng-code-L3-code-005501
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(74, 15, 0.5)", "assert abs(r0 - 53.39) < 1e-6", "r1 = rms_torque(18, 3, 0.25)", "assert abs(r1 - 9.37) < 1e-6", "r2 = rms_torque(38, 20, 0.25)", "assert abs(r2 - 25.71) ...
theo-eng-code-L3-code-015439
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.45, 5000, 150)", "assert abs(r0[0] - 5.65) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6", "r1 = gear_ratio(0.45, 10000, 150)", "assert abs(r1[0] - 11.31) < 1e-6", "asse...
theo-eng-code-L2-code-001118
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = summarise([70, 65, 36, 47, 32])", "assert r0[0] == 50", "assert abs(r0[1] - 16.985) < 1e-6", "r1 = summarise([92, 40, 50, 68, 76])", "assert abs(r1[0] - 65.2) < 1e-6", "as...
theo-eng-code-L2-code-001109
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 3.7, 100)", "assert r0[0] == 216", "assert r0[1] == 1", "assert r0[2] == 216", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6", "r1 =...
theo-eng-code-L2-code-012930
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 160, 260, 0.5)", "assert abs(r0[0] - 210.0) < 1e-6", "assert abs(r0[1] - 0.86) < 1e-6", "assert abs(r0[2] - 51.4) < 1e-6", "r1 = runtime(0.2, 290, 280, 0.5)", "a...
theo-eng-code-L2-code-002788
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.7, 0.53, 45, 4.0, 3.0)", "assert abs(r0[0] - 21.51) < 1e-6", "assert abs(r0[1] - 1.47) < 1e-6", "assert abs(r0[2] - 25.92) < 1e-6", "r1 = joint_torque(6.8, 0.33, 45,...
theo-eng-code-L3-code-001954
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(26, 2120, 60, 0.33, 1.9, 0.01, 1.4, 0.92, 0.9)", "assert abs(r0[0] - 197.7) < 1e-6", "assert abs(r0[1] - 11.83) < 1e-6", "assert abs(r0[2] - 7.1) < 1e-6" ], "subtask": ...
theo-eng-code-L3-code-001004
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 7, 0.1, 1.0)", "assert abs(r0[0] - 16.07) < 1e-6", "assert abs(r0[1] - 964.3) < 1e-6", "assert abs(r0[2] - 90.0) < 1e-6", "assert r0[3] == 7" ], "subtask...
theo-eng-code-L2-code-005648
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(93, 12, 0.5)", "assert abs(r0 - 66.31) < 1e-6", "r1 = rms_torque(91, 30, 0.25)", "assert abs(r1 - 52.4) < 1e-6", "r2 = rms_torque(25, 17, 0.25)", "assert abs(r2 - 19.3...
theo-eng-code-L2-code-011855
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, [0, 25, 50, 75, 100], [0.71, 0.82, 0.85, 0.88, 0.83])", "assert abs(r0 - 0.826) < 1e-6", "r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.7, 0.84, 0.89, 0.85, 0.84])", "a...
theo-eng-code-L2-code-008433
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 20, \"max_kw\": 100}')", "assert r0[0] == 20", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')", "assert r1[0] == 20", "...
theo-eng-code-L2-code-010470
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-013617
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = summarise([83, 63, 64, 62])", "assert r0[0] == 68", "assert abs(r0[1] - 10.033) < 1e-6", "r1 = summarise([93, 78, 25, 19, 22, 94])", "assert abs(r1[0] - 55.167) < 1e-6", "...
theo-eng-code-L1-code-014946
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": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-002210
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-010056
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.7, 0.22, 45, 7.0, 0.0)", "assert abs(r0[0] - 14.27) < 1e-6", "assert abs(r0[1] - 0.4146) < 1e-6", "assert abs(r0[2] - 14.27) < 1e-6", "r1 = joint_torque(2.6, 0.1, 30, ...
theo-eng-code-L2-code-001892
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_squareloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-007031
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": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 9000, 100)", "assert abs(r0[0] - 9.16) < 1e-6", "assert abs(r0[1] - 982.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", ...
theo-eng-code-L3-code-010630
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(16, 10, -0.04, 0.07, 0.4, 0.4, 2)", "assert abs(r0[0] - 0.0023) < 1e-6", "assert abs(r0[1] - 0.4) < 1e-6", "assert abs(r0[2] - -0.0792) < 1e-6", "r1 = com_zmp(5, 13, 0.08, 0.03...
theo-eng-code-L2-code-009901
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 1930, 120, 0.37, 2.3, 0.01, 1.0, 0.9, 0.85)", "assert abs(r0[0] - 138.5) < 1e-6", "assert abs(r0[1] - 24.55) < 1e-6", "assert abs(r0[2] - 29.46) < 1e-6", "r1 = erange(37...
theo-eng-code-L3-code-007059
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(800, 20, 3.2, 50)", "assert r0[0] == 250", "assert r0[1] == 1", "assert r0[2] == 250", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 40.0) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-005623
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 210, 570, 0.7)", "assert abs(r0[0] - 318.0) < 1e-6", "assert abs(r0[1] - 0.57) < 1e-6", "assert abs(r0[2] - 34.0) < 1e-6", "r1 = runtime(0.5, 70, 550, 0.5)", "as...
theo-eng-code-L2-code-000969
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(97, 1600, 60, 0.37, 2.7, 0.01, 1.2, 0.88, 0.85)", "assert abs(r0[0] - 669.3) < 1e-6", "assert abs(r0[1] - 12.32) < 1e-6", "assert abs(r0[2] - 7.39) < 1e-6", "r1 = erange(37,...
theo-eng-code-L2-code-001488
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([440, 460, 370], 5)", "assert abs(r0 - 1.7639) < 1e-6", "r1 = rect_energy([160, 160, 150], 2)", "assert abs(r1 - 0.2611) < 1e-6", "r2 = rect_energy([330, 270, 240...
theo-eng-code-L2-code-000707
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 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 = p...
theo-eng-code-L2-code-011570
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 7, 0.1, 0.8)", "assert abs(r0[0] - 2.5) < 1e-6", "assert abs(r0[1] - 150.0) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L3-code-013085
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(8, 7, 0.25)", "assert abs(r0 - 7.26) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "saf...
theo-eng-code-L2-code-012648
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([330, 170, 390], 10)", "assert abs(r0 - 2.4722) < 1e-6", "r1 = rect_energy([430, 200, 390, 220, 320], 2)", "assert abs(r1 - 0.8667) < 1e-6", "r2 = rect_energy([15...
theo-eng-code-L3-code-007479
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": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 80, 3.2, 10)", "assert r0[0] == 156", "assert r0[1] == 17", "assert r0[2] == 2652", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 84.864) < 1e-6", "r1 =...
theo-eng-code-L2-code-004950
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.8, 0.89, 0.85, 0.82])", "assert abs(r0 - 0.836) < 1e-6", "r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.79, 0.81, 0.85, 0.86, 0.83])", "a...
theo-eng-code-L2-code-007060
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([370, 380, 190], 2)", "assert abs(r0 - 0.5222) < 1e-6", "r1 = rect_energy([270, 480, 410, 260, 150], 1)", "assert abs(r1 - 0.4361) < 1e-6", "r2 = rect_energy([230...
theo-eng-code-L2-code-005218
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 30, 0.09, -0.01, 0.9, 0.8, 2)", "assert abs(r0[0] - 0.0043) < 1e-6", "assert abs(r0[1] - 0.8143) < 1e-6", "assert abs(r0[2] - -0.1617) < 1e-6", "r1 = com_zmp(16, 26, -0.02...
theo-eng-code-L2-code-006371
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 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", "r...
theo-eng-code-L3-code-003048
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.44, 14000, 180)", "assert abs(r0[0] - 12.9) < 1e-6", "assert abs(r0[1] - 1085.1) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L2-code-009545
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 0.2, 30, 8.0, 0.5)", "assert abs(r0[0] - 8.83) < 1e-6", "assert abs(r0[1] - 0.3467) < 1e-6", "assert abs(r0[2] - 9.0) < 1e-6", "r1 = joint_torque(6.5, 0.37, 90, 5...
theo-eng-code-L2-code-007760
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 3.7, 100)", "assert r0[0] == 108", "assert r0[1] == 1", "assert r0[2] == 108", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 =...
theo-eng-code-L1-code-007881
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_slices", "user_template": "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-013918
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = summarise([46, 77, 27, 76, 59])", "assert r0[0] == 57", "assert abs(r0[1] - 21.131) < 1e-6", "r1 = summarise([84, 33, 87, 98])", "assert abs(r1[0] - 75.5) < 1e-6", "assert...
theo-eng-code-L2-code-002919
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(90, [0, 25, 50, 75, 100], [0.77, 0.84, 0.9, 0.88, 0.82])", "assert abs(r0 - 0.844) < 1e-6", "r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.73, 0.81, 0.9, 0.86, 0.82])", "as...
theo-eng-code-L2-code-006017
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([37, 92, 43, 32, 20, 58])", "assert r0[0] == 47", "assert abs(r0[1] - 25.361) < 1e-6", "r1 = summarise([69, 46, 43, 37, 18, 31])", "assert abs(r1[0] - 40.667) < 1e-6...
theo-eng-code-L3-code-007423
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.2, 0.22, 60, 4.0, 0.0)", "assert abs(r0[0] - 11.4) < 1e-6", "assert abs(r0[1] - 0.2614) < 1e-6", "assert abs(r0[2] - 11.4) < 1e-6", "r1 = joint_torque(1.4, 0.39, 90, 5...
theo-eng-code-L1-clarify-004426
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-003127
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 10500, 100)", "assert abs(r0[0] - 15.04) < 1e-6", "assert abs(r0[1] - 698.0) < 1e-6", "r1 = gear_ratio(0.27, 15000, 100)", "assert abs(r1[0] - 15.27) < 1e-6", "...
theo-eng-code-L2-code-013895
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 3.7, 5)", "assert r0[0] == 216", "assert r0[1] == 3", "assert r0[2] == 648", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6", "r1 = ...
theo-eng-code-L1-clarify-002813
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-003534
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.1, 0.3, 60, 3.5, 0.0)", "assert abs(r0[0] - 16.69) < 1e-6", "assert abs(r0[1] - 0.498) < 1e-6", "assert abs(r0[2] - 16.69) < 1e-6", "r1 = joint_torque(3.6, 0.19, 45,...