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-013877
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.25, 7500, 150)", "assert abs(r0[0] - 4.71) < 1e-6", "assert abs(r0[1] - 1591.5) < 1e-6", "r1 = gear_ratio(0.27, 14500, 180)", "assert abs(r1[0] - 8.2) < 1e-6", "ass...
theo-eng-code-L2-code-008234
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 23, 0.05, 0.09, 0.6, 0.8, 1)", "assert abs(r0[0] - 0.0807) < 1e-6", "assert abs(r0[1] - 0.7533) < 1e-6", "assert abs(r0[2] - 0.0039) < 1e-6", "r1 = com_zmp(17, 29, 0.1, 0....
theo-eng-code-L2-code-008046
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 0.2, 1.0)", "assert abs(r0[0] - 0.67) < 1e-6", "assert abs(r0[1] - 40.0) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_...
theo-eng-code-L3-code-004562
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.4, 5000, 180)", "assert abs(r0[0] - 4.19) < 1e-6", "assert abs(r0[1] - 1193.7) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", ...
theo-eng-code-L2-code-007697
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.9, 0.51, 45, 2.5, 1.5)", "assert abs(r0[0] - 13.97) < 1e-6", "assert abs(r0[1] - 0.9017) < 1e-6", "assert abs(r0[2] - 15.33) < 1e-6", "r1 = joint_torque(6.8, 0.15, 6...
theo-eng-code-L2-code-008063
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 11, 0.1, 1.0)", "assert abs(r0[0] - 8.18) < 1e-6", "assert abs(r0[1] - 490.9) < 1e-6", "assert abs(r0[2] - 72.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-010302
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(64, 1340, 100, 0.34, 2.0, 0.013, 1.4, 0.94, 0.9)", "assert abs(r0[0] - 361.2) < 1e-6", "assert abs(r0[1] - 15.95) < 1e-6", "assert abs(r0[2] - 15.95) < 1e-6", "r1 = erange(8...
theo-eng-code-L1-refuse-011153
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_unlock_speed", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-007226
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.8, 0.34, 45, 6.5, 2.5)", "assert abs(r0[0] - 17.45) < 1e-6", "assert abs(r0[1] - 0.8208) < 1e-6", "assert abs(r0[2] - 19.5) < 1e-6", "r1 = joint_torque(5.2, 0.33, 30...
theo-eng-code-L2-code-010737
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-clarify-008273
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": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-012743
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 30, 0.02, 0.07, 0.8, 0.6, 0)", "assert abs(r0[0] - 0.0566) < 1e-6", "assert abs(r0[1] - 0.6537) < 1e-6", "assert abs(r0[2] - 0.0566) < 1e-6", "r1 = com_zmp(11, 28, 0.0, 0.0...
theo-eng-code-L3-code-009463
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(6, 30, -0.1, 0.04, 0.8, 0.7, 0.5)", "assert abs(r0[0] - 0.0167) < 1e-6", "assert abs(r0[1] - 0.7167) < 1e-6", "assert abs(r0[2] - -0.0199) < 1e-6", "r1 = com_zmp(19, 19, 0.05, ...
theo-eng-code-L2-code-001202
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-004726
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.3, 15000, 180)", "assert abs(r0[0] - 9.42) < 1e-6", "assert abs(r0[1] - 1591.5) < 1e-6", "r1 = gear_ratio(0.4, 4000, 180)", "assert abs(r1[0] - 3.35) < 1e-6", "assert...
theo-eng-code-L2-code-007856
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.79, 0.82, 0.89, 0.86, 0.84])", "assert abs(r0 - 0.848) < 1e-6", "r1 = interp_eff(80, [0, 25, 50, 75, 100], [0.78, 0.82, 0.88, 0.89, 0.85])", "...
theo-eng-code-L3-code-009854
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(18, 3, 0.75)", "assert abs(r0 - 15.66) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L3-code-004832
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": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 190, 230, 0.3)", "assert abs(r0[0] - 218.0) < 1e-6", "assert abs(r0[1] - 0.83) < 1e-6", "assert abs(r0[2] - 49.5) < 1e-6", "r1 = runtime(0.5, 140, 70, 0.3)", "asse...
theo-eng-code-L2-code-011377
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 80, 3.6, 2.5)", "assert r0[0] == 222", "assert r0[1] == 41", "assert r0[2] == 9102", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 81.918) < 1e-6", "r...
theo-eng-code-L2-code-001056
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 300, 150, 0.3)", "assert abs(r0[0] - 195.0) < 1e-6", "assert abs(r0[1] - 4.62) < 1e-6", "assert abs(r0[2] - 276.9) < 1e-6", "r1 = runtime(0.1, 210, 410, 0.3)", "...
theo-eng-code-L3-code-001048
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(5.6, 0.24, 30, 0.5, 3.0)", "assert abs(r0[0] - 3.88) < 1e-6", "assert abs(r0[1] - 0.1363) < 1e-6", "assert abs(r0[2] - 4.29) < 1e-6", "r1 = joint_torque(6.9, 0.19, 30, 4...
theo-eng-code-L2-code-014911
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-010443
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([66, 47, 21, 65, 13, 51])", "assert abs(r0[0] - 43.833) < 1e-6", "assert abs(r0[1] - 22.239) < 1e-6", "r1 = summarise([21, 72, 42, 79, 86])", "assert r1[0] == 60", ...
theo-eng-code-L2-code-004693
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')", "assert r0[0] == 80", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')", "assert r1[0] == 80", ...
theo-eng-code-L3-code-003981
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(87, 5, 0.75)", "assert abs(r0 - 75.39) < 1e-6", "r1 = rms_torque(61, 31, 0.25)", "assert abs(r1 - 40.63) < 1e-6", "r2 = rms_torque(21, 13, 0.5)", "assert abs(r2 - 17.46)...
theo-eng-code-L3-code-003669
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(300, 20, 3.7, 50)", "assert r0[0] == 81", "assert r0[1] == 2", "assert r0[2] == 162", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 29.97) < 1e-6" ], ...
theo-eng-code-L2-code-003574
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L1-clarify-015741
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-clarify-001607
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-006828
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(51, 1380, 60, 0.38, 2.2, 0.012, 1.0, 0.88, 0.95)", "assert abs(r0[0] - 429.4) < 1e-6", "assert abs(r0[1] - 11.28) < 1e-6", "assert abs(r0[2] - 6.77) < 1e-6", "r1 = erange(78, ...
theo-eng-code-L3-code-013745
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(7, 30, -0.07, 0.11, 0.7, 0.9, 0.5)", "assert abs(r0[0] - 0.0759) < 1e-6", "assert abs(r0[1] - 0.8622) < 1e-6", "assert abs(r0[2] - 0.032) < 1e-6" ], "subtask": "writetes...
theo-eng-code-L2-code-005277
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L1-code-007712
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": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-001762
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(0.5, 290, 400, 0.3)", "assert abs(r0[0] - 367.0) < 1e-6", "assert abs(r0[1] - 1.23) < 1e-6", "assert abs(r0[2] - 73.6) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L2-code-010510
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 20, 3.7, 10)", "assert r0[0] == 81", "assert r0[1] == 7", "assert r0[2] == 567", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 20.979) < 1e-6", "r1 = ...
theo-eng-code-L3-code-011219
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(81, 10, 0.5)", "assert abs(r0 - 57.71) < 1e-6", "r1 = rms_torque(35, 7, 0.5)", "assert abs(r1 - 25.24) < 1e-6", "r2 = rms_torque(32, 26, 0.75)", "assert abs(r2 - 30.61) ...
theo-eng-code-L3-code-007716
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": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 190, 500, 0.3)", "assert abs(r0[0] - 407.0) < 1e-6", "assert abs(r0[1] - 0.44) < 1e-6", "assert abs(r0[2] - 26.5) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L3-code-008439
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(25, 24, 0.5)", "assert abs(r0 - 24.51) < 1e-6", "r1 = rms_torque(9, 4, 0.75)", "assert abs(r1 - 8.05) < 1e-6", "r2 = rms_torque(80, 24, 0.25)", "assert abs(r2 - 45.08) <...
theo-eng-code-L2-code-015405
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 60, 3.2, 100)", "assert r0[0] == 156", "assert r0[1] == 2", "assert r0[2] == 312", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 99.84) < 1e-6", "r1 =...
theo-eng-code-L2-code-007020
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, 1060, 80, 0.25, 3.1, 0.008, 0.8, 0.92, 0.85)", "assert abs(r0[0] - 240.8) < 1e-6", "assert abs(r0[1] - 10.59) < 1e-6", "assert abs(r0[2] - 8.47) < 1e-6", "r1 = erange(40...
theo-eng-code-L2-code-009610
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.0, 0.11, 60, 0.5, 0.5)", "assert abs(r0[0] - 1.87) < 1e-6", "assert abs(r0[1] - 0.0181) < 1e-6", "assert abs(r0[2] - 1.88) < 1e-6", "r1 = joint_torque(4.1, 0.38, 45,...
theo-eng-code-L3-code-014366
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.39, 13000, 100)", "assert abs(r0[0] - 19.11) < 1e-6", "assert abs(r0[1] - 680.1) < 1e-6", "r1 = gear_ratio(0.36, 9000, 120)", "assert abs(r1[0] - 10.18) < 1e-6", "ass...
theo-eng-code-L2-code-004808
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 60, 3.2, 5)", "assert r0[0] == 250", "assert r0[1] == 15", "assert r0[2] == 3750", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 60.0) < 1e-6", "r1 = ...
theo-eng-code-L3-code-004631
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.35, 15000, 120)", "assert abs(r0[0] - 16.49) < 1e-6", "assert abs(r0[1] - 909.5) < 1e-6", "r1 = gear_ratio(0.31, 9000, 180)", "assert abs(r1[0] - 5.84) < 1e-6", "asse...
theo-eng-code-L2-code-001228
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(87, 36, 0.25)", "assert abs(r0 - 53.52) < 1e-6", "r1 = rms_torque(100, 24, 0.25)", "assert abs(r1 - 54.15) < 1e-6", "r2 = rms_torque(71, 36, 0.25)", "assert abs(r2 - 4...
theo-eng-code-L1-clarify-001693
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": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-003857
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, 10, 3.7, 50)", "assert r0[0] == 135", "assert r0[1] == 1", "assert r0[2] == 135", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 24.975) < 1e-6", "r1 = p...
theo-eng-code-L3-code-005859
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": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.6, 0.51, 45, 5.0, 3.0)", "assert abs(r0[0] - 20.52) < 1e-6", "assert abs(r0[1] - 1.4392) < 1e-6", "assert abs(r0[2] - 24.84) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L1-clarify-012629
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-014940
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-015849
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(91, 26, 0.25)", "assert abs(r0 - 50.77) < 1e-6", "r1 = rms_torque(95, 40, 0.5)", "assert abs(r1 - 72.89) < 1e-6", "r2 = rms_torque(37, 24, 0.5)", "assert abs(r2 - 31.1...
theo-eng-code-L3-code-015148
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(13, 30, -0.03, 0.06, 0.9, 0.9, 0)", "assert abs(r0[0] - 0.0328) < 1e-6", "assert abs(r0[1] - 0.9) < 1e-6", "assert abs(r0[2] - 0.0328) < 1e-6", "r1 = com_zmp(6, 11, 0.07, 0.08,...
theo-eng-code-L1-code-006551
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_strmul", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-013063
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.31, 11000, 100)", "assert abs(r0[0] - 12.86) < 1e-6", "assert abs(r0[1] - 855.7) < 1e-6", "r1 = gear_ratio(0.38, 5500, 120)", "assert abs(r1[0] - 6.57) < 1e-6", "asse...
theo-eng-code-L3-code-004573
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(60, 7, 0.2, 0.8)", "assert abs(r0[0] - 6.43) < 1e-6", "assert abs(r0[1] - 385.7) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(6...
theo-eng-code-L2-code-010986
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(96, 1550, 120, 0.31, 2.4, 0.012, 1.3, 0.88, 0.85)", "assert abs(r0[0] - 357.5) < 1e-6", "assert abs(r0[1] - 22.83) < 1e-6", "assert abs(r0[2] - 27.39) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-006883
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = erange(29, 1140, 100, 0.38, 2.3, 0.009, 0.4, 0.94, 0.9)", "assert abs(r0[0] - 167.5) < 1e-6", "assert abs(r0[1] - 15.58) < 1e-6", "assert abs(r0[2] - 15.58) < 1e-6", "r1 = erange(2...
theo-eng-code-L2-code-013997
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([70, 55, 18, 89])", "assert r0[0] == 58", "assert abs(r0[1] - 30.078) < 1e-6", "r1 = summarise([55, 97, 12, 40, 86, 74])", "assert abs(r1[0] - 60.667) < 1e-6", "...
theo-eng-code-L3-code-008669
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(200, 40, 3.2, 2.5)", "assert r0[0] == 62", "assert r0[1] == 81", "assert r0[2] == 5022", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 40.176) < 1e-6", "r1 =...
theo-eng-code-L2-code-011220
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 26, 0.0, 0.04, 0.3, 0.7, 2)", "assert abs(r0[0] - 0.0254) < 1e-6", "assert abs(r0[1] - 0.5537) < 1e-6", "assert abs(r0[2] - -0.0875) < 1e-6", "r1 = com_zmp(14, 16, 0.05, ...
theo-eng-code-L3-code-012845
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.43, 6500, 150)", "assert abs(r0[0] - 7.02) < 1e-6", "assert abs(r0[1] - 925.3) < 1e-6", "r1 = gear_ratio(0.42, 9000, 100)", "assert abs(r1[0] - 14.25) < 1e-6", "asser...
theo-eng-code-L3-code-001003
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.4, 0.32, 90, 2.0, 3.0)", "assert abs(r0[0] - 13.18) < 1e-6", "assert abs(r0[1] - 0.355) < 1e-6", "assert abs(r0[2] - 14.25) < 1e-6", "r1 = joint_torque(5.4, 0.26, 45, ...
theo-eng-code-L2-code-007568
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 20, 3.6, 100)", "assert r0[0] == 83", "assert r0[1] == 1", "assert r0[2] == 83", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 29.88) < 1e-6", "r1 = p...
theo-eng-code-L2-code-014835
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(72, 2230, 60, 0.38, 2.1, 0.008, 1.5, 0.94, 0.9)", "assert abs(r0[0] - 554.6) < 1e-6", "assert abs(r0[1] - 11.68) < 1e-6", "assert abs(r0[2] - 7.01) < 1e-6", "r1 = erange(21,...
theo-eng-code-L1-clarify-014667
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-013311
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.0, 0.53, 45, 4.0, 1.5)", "assert abs(r0[0] - 16.54) < 1e-6", "assert abs(r0[1] - 1.2172) < 1e-6", "assert abs(r0[2] - 18.37) < 1e-6", "r1 = joint_torque(5.7, 0.38, 6...
theo-eng-code-L3-code-007971
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(47, 17, 0.25)", "assert abs(r0 - 27.73) < 1e-6", "r1 = rms_torque(58, 17, 0.75)", "assert abs(r1 - 50.94) < 1e-6", "r2 = rms_torque(97, 33, 0.25)", "assert abs(r2 - 56.2...
theo-eng-code-L2-code-002112
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(60, 1410, 120, 0.3, 1.9, 0.01, 1.0, 0.94, 0.95)", "assert abs(r0[0] - 347.9) < 1e-6", "assert abs(r0[1] - 16.38) < 1e-6", "assert abs(r0[2] - 19.66) < 1e-6", "r1 = erange(36...
theo-eng-code-L2-code-013036
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.1, 0.42, 60, 2.5, 2.5)", "assert abs(r0[0] - 18.02) < 1e-6", "assert abs(r0[1] - 0.7409) < 1e-6", "assert abs(r0[2] - 19.87) < 1e-6", "r1 = joint_torque(1.6, 0.43, 3...
theo-eng-code-L2-code-004475
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 190, 340, 0.5)", "assert abs(r0[0] - 265.0) < 1e-6", "assert abs(r0[1] - 1.7) < 1e-6", "assert abs(r0[2] - 101.9) < 1e-6", "r1 = runtime(0.2, 190, 30, 0.3)", "as...
theo-eng-code-L2-code-004482
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(70, [0, 25, 50, 75, 100], [0.75, 0.82, 0.87, 0.88, 0.8])", "assert abs(r0 - 0.878) < 1e-6", "r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.79, 0.83, 0.85, 0.89, 0.83])", "a...
theo-eng-code-L2-code-010931
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 11, -0.1, 0.1, 0.7, 0.5, 2)", "assert abs(r0[0] - -0.0083) < 1e-6", "assert abs(r0[1] - 0.6083) < 1e-6", "assert abs(r0[2] - -0.1324) < 1e-6", "r1 = com_zmp(14, 16, -0.04...
theo-eng-code-L2-code-003947
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([2.5, 5.0], [4.5, 0.5])", "assert abs(r0 - 4.9244) < 1e-6", "r1 = seg_len([1.0, 0.0], [4.5, 2.5])", "assert abs(r1 - 4.3012) < 1e-6", "r2 = seg_len([0.5, 2.5], [2.5, 4.0]...
theo-eng-code-L2-code-007755
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(66, 31, 0.25)", "assert abs(r0 - 42.54) < 1e-6", "r1 = rms_torque(98, 34, 0.75)", "assert abs(r1 - 86.56) < 1e-6", "r2 = rms_torque(96, 18, 0.75)", "assert abs(r2 - 83...
theo-eng-code-L3-code-009182
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.1, 260, 550, 0.5)", "assert abs(r0[0] - 405.0) < 1e-6", "assert abs(r0[1] - 0.22) < 1e-6", "assert abs(r0[2] - 13.3) < 1e-6", "r1 = runtime(0.2, 210, 490, 0.7)", "ass...
theo-eng-code-L2-code-014179
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([21, 87, 57, 20, 21])", "assert abs(r0[0] - 41.2) < 1e-6", "assert abs(r0[1] - 30.053) < 1e-6", "r1 = summarise([17, 91, 30, 57, 49])", "assert abs(r1[0] - 48.8) < 1...
theo-eng-code-L2-code-007748
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 10, 0.09, -0.04, 0.9, 0.8, 0)", "assert abs(r0[0] - 0.0033) < 1e-6", "assert abs(r0[1] - 0.8333) < 1e-6", "assert abs(r0[2] - 0.0033) < 1e-6", "r1 = com_zmp(18, 10, 0.05, ...
theo-eng-code-L2-code-011337
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-002996
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 11, 0.1, 0.8)", "assert abs(r0[0] - 7.95) < 1e-6", "assert abs(r0[1] - 477.3) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_tim...
theo-eng-code-L2-code-001937
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 60, 260, 0.5)", "assert abs(r0[0] - 160.0) < 1e-6", "assert abs(r0[1] - 1.13) < 1e-6", "assert abs(r0[2] - 67.5) < 1e-6", "r1 = runtime(1.0, 300, 280, 0.3)", "as...
theo-eng-code-L2-code-007941
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.31, 4000, 180)", "assert abs(r0[0] - 2.6) < 1e-6", "assert abs(r0[1] - 1540.2) < 1e-6", "r1 = gear_ratio(0.26, 8000, 120)", "assert abs(r1[0] - 6.53) < 1e-6", "asse...
theo-eng-code-L2-code-008254
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-014832
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 280, 260, 0.7)", "assert abs(r0[0] - 274.0) < 1e-6", "assert abs(r0[1] - 3.28) < 1e-6", "assert abs(r0[2] - 197.1) < 1e-6", "r1 = runtime(0.1, 90, 30, 0.7)", "as...
theo-eng-code-L2-code-009214
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 15, 0.75)", "assert abs(r0 - 52.5) < 1e-6", "r1 = rms_torque(18, 4, 0.25)", "assert abs(r1 - 9.64) < 1e-6", "r2 = rms_torque(68, 32, 0.5)", "assert abs(r2 - 53.14)...
theo-eng-code-L2-code-006681
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([32, 76, 60, 63])", "assert abs(r0[0] - 57.75) < 1e-6", "assert abs(r0[1] - 18.518) < 1e-6", "r1 = summarise([33, 76, 34, 57, 64])", "assert abs(r1[0] - 52.8) < 1e-6...
theo-eng-code-L2-code-006655
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(97, 4, 0.25)", "assert abs(r0 - 48.62) < 1e-6", "r1 = rms_torque(7, 6, 0.5)", "assert abs(r1 - 6.52) < 1e-6", "r2 = rms_torque(69, 37, 0.5)", "assert abs(r2 - 55.36) <...
theo-eng-code-L2-code-004154
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([86, 38, 17, 49, 73])", "assert abs(r0[0] - 52.6) < 1e-6", "assert abs(r0[1] - 27.501) < 1e-6", "r1 = summarise([68, 28, 17, 40, 84])", "assert abs(r1[0] - 47.4) < 1...
theo-eng-code-L3-code-007574
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.31, 14000, 180)", "assert abs(r0[0] - 9.09) < 1e-6", "assert abs(r0[1] - 1540.2) < 1e-6", "r1 = gear_ratio(0.37, 5500, 120)", "assert abs(r1[0] - 6.39) < 1e-6", "asse...
theo-eng-code-L2-code-010000
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.32, 9500, 150)", "assert abs(r0[0] - 7.64) < 1e-6", "assert abs(r0[1] - 1243.4) < 1e-6", "r1 = gear_ratio(0.27, 4500, 150)", "assert abs(r1[0] - 3.05) < 1e-6", "ass...
theo-eng-code-L1-clarify-012147
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-001810
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 12, 0.5)", "assert abs(r0 - 13.04) < 1e-6", "r1 = rms_torque(14, 8, 0.75)", "assert abs(r1 - 12.77) < 1e-6", "r2 = rms_torque(12, 5, 0.75)", "assert abs(r2 - 10.69...
theo-eng-code-L3-code-015606
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, 260, 330, 0.3)", "assert abs(r0[0] - 309.0) < 1e-6", "assert abs(r0[1] - 1.46) < 1e-6", "assert abs(r0[2] - 87.4) < 1e-6", "r1 = runtime(0.1, 50, 160, 0.7)", "asse...
theo-eng-code-L3-code-002173
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(40, 11, 0.2, 0.9)", "assert abs(r0[0] - 3.18) < 1e-6", "assert abs(r0[1] - 190.9) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_time...
theo-eng-code-L2-code-000278
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 150}')", "assert r0[0] == 80", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')", "assert r1[0] == 80", ...
theo-eng-code-L2-code-006094
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(59, 1070, 120, 0.26, 2.7, 0.009, 0.4, 0.92, 0.95)", "assert abs(r0[0] - 318.3) < 1e-6", "assert abs(r0[1] - 17.61) < 1e-6", "assert abs(r0[2] - 21.13) < 1e-6", "r1 = erange(...
theo-eng-code-L3-code-012260
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(6.5, 0.12, 45, 7.0, 4.0)", "assert abs(r0[0] - 8.53) < 1e-6", "assert abs(r0[1] - 0.132) < 1e-6", "assert abs(r0[2] - 9.06) < 1e-6", "r1 = joint_torque(7.5, 0.3, 90, 0.5...
theo-eng-code-L2-code-008271
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([420, 180, 200, 160], 2)", "assert abs(r0 - 0.5333) < 1e-6", "r1 = rect_energy([210, 240, 70, 410], 10)", "assert abs(r1 - 2.5833) < 1e-6", "r2 = rect_energy([60,...
theo-eng-code-L2-code-011340
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([420, 430, 470], 10)", "assert abs(r0 - 3.6667) < 1e-6", "r1 = rect_energy([410, 50, 340, 130], 10)", "assert abs(r1 - 2.5833) < 1e-6", "r2 = rect_energy([390, 38...
theo-eng-code-L2-code-001053
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.4, 0.48, 90, 3.0, 2.5)", "assert abs(r0[0] - 29.19) < 1e-6", "assert abs(r0[1] - 1.1827) < 1e-6", "assert abs(r0[2] - 32.15) < 1e-6", "r1 = joint_torque(3.6, 0.27, 6...
theo-eng-code-L3-code-004290
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": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.38, 12500, 180)", "assert abs(r0[0] - 9.95) < 1e-6", "assert abs(r0[1] - 1256.5) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...