id
stringlengths
28
31
type
stringclasses
3 values
tier
stringclasses
3 values
domain
stringclasses
1 value
messages
listlengths
3
3
meta
unknown
theo-eng-code-L3-code-015022
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": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.6, 0.29, 90, 3.5, 4.0)", "assert abs(r0[0] - 13.66) < 1e-6", "assert abs(r0[1] - 0.3672) < 1e-6", "assert abs(r0[2] - 15.12) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L3-code-004708
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.34, 10000, 180)", "assert abs(r0[0] - 7.12) < 1e-6", "assert abs(r0[1] - 1404.3) < 1e-6", "r1 = gear_ratio(0.31, 8000, 120)", "assert abs(r1[0] - 7.79) < 1e-6", "asse...
theo-eng-code-L2-code-012477
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, 2480, 100, 0.33, 3.0, 0.008, 1.5, 0.88, 0.85)", "assert abs(r0[0] - 189.6) < 1e-6", "assert abs(r0[1] - 22.41) < 1e-6", "assert abs(r0[2] - 22.41) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-008484
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')", "assert r0[0] == 60", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')", "assert r1[0] == 80", "a...
theo-eng-code-L2-code-015150
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.9, 0.31, 45, 1.5, 4.0)", "assert abs(r0[0] - 9.57) < 1e-6", "assert abs(r0[1] - 0.3331) < 1e-6", "assert abs(r0[2] - 10.9) < 1e-6", "r1 = joint_torque(4.7, 0.47, 60,...
theo-eng-code-L2-code-008415
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-004853
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 23, 0.01, 0.11, 0.5, 0.9, 1)", "assert abs(r0[0] - 0.0757) < 1e-6", "assert abs(r0[1] - 0.7629) < 1e-6", "assert abs(r0[2] - -0.002) < 1e-6", "r1 = com_zmp(17, 27, -0.05,...
theo-eng-code-L2-code-012307
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 220, 130, 0.7)", "assert abs(r0[0] - 193.0) < 1e-6", "assert abs(r0[1] - 4.66) < 1e-6", "assert abs(r0[2] - 279.8) < 1e-6", "r1 = runtime(1.0, 300, 450, 0.7)", "...
theo-eng-code-L2-code-014864
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 11, 0.1, 0.8)", "assert abs(r0[0] - 4.77) < 1e-6", "assert abs(r0[1] - 286.4) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-005785
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(12, 8, 0.5)", "assert abs(r0 - 10.2) < 1e-6", "r1 = rms_torque(97, 34, 0.75)", "assert abs(r1 - 85.71) < 1e-6", "r2 = rms_torque(92, 12, 0.5)", "assert abs(r2 - 65.6) ...
theo-eng-code-L2-code-008092
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-011918
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(19, 8, 0.25)", "assert abs(r0 - 11.76) < 1e-6", "r1 = rms_torque(92, 5, 0.75)", "assert abs(r1 - 79.71) < 1e-6", "r2 = rms_torque(34, 8, 0.5)", "assert abs(r2 - 24.7) ...
theo-eng-code-L2-code-007976
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 90, 240, 0.7)", "assert abs(r0[0] - 135.0) < 1e-6", "assert abs(r0[1] - 1.33) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "r1 = runtime(0.5, 210, 330, 0.5)", "as...
theo-eng-code-L1-clarify-014114
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-L2-code-013513
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 290, 190, 0.5)", "assert abs(r0[0] - 240.0) < 1e-6", "assert abs(r0[1] - 0.38) < 1e-6", "assert abs(r0[2] - 22.5) < 1e-6", "r1 = runtime(0.1, 120, 40, 0.3)", "as...
theo-eng-code-L3-code-008211
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.25, 12000, 120)", "assert abs(r0[0] - 9.42) < 1e-6", "assert abs(r0[1] - 1273.2) < 1e-6", "r1 = gear_ratio(0.39, 5000, 100)", "assert abs(r1[0] - 7.35) < 1e-6", "asse...
theo-eng-code-L2-code-010041
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 25, -0.03, 0.12, 0.9, 0.6, 1)", "assert abs(r0[0] - 0.0836) < 1e-6", "assert abs(r0[1] - 0.6727) < 1e-6", "assert abs(r0[2] - 0.0151) < 1e-6", "r1 = com_zmp(12, 27, 0.1, 0...
theo-eng-code-L2-code-002734
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([170, 340, 360, 300], 10)", "assert abs(r0 - 3.25) < 1e-6", "r1 = rect_energy([160, 150, 390, 240, 50], 1)", "assert abs(r1 - 0.275) < 1e-6", "r2 = rect_energy([8...
theo-eng-code-L2-code-013443
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(90, 2410, 80, 0.38, 2.5, 0.012, 1.5, 0.92, 0.85)", "assert abs(r0[0] - 400.2) < 1e-6", "assert abs(r0[1] - 19.12) < 1e-6", "assert abs(r0[2] - 15.29) < 1e-6", "r1 = erange(5...
theo-eng-code-L2-code-008006
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 50, 0.2, 0.8)", "assert abs(r0[0] - 1.2) < 1e-6", "assert abs(r0[1] - 72.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L3-code-004530
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(26, 1040, 100, 0.33, 2.8, 0.008, 0.9, 0.9, 0.95)", "assert abs(r0[0] - 146.2) < 1e-6", "assert abs(r0[1] - 16.9) < 1e-6", "assert abs(r0[2] - 16.9) < 1e-6", "r1 = erange(23, 2...
theo-eng-code-L2-code-012689
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.44, 4000, 180)", "assert abs(r0[0] - 3.69) < 1e-6", "assert abs(r0[1] - 1085.1) < 1e-6", "r1 = gear_ratio(0.35, 4000, 150)", "assert abs(r1[0] - 3.52) < 1e-6", "ass...
theo-eng-code-L2-code-006914
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 70, 460, 0.7)", "assert abs(r0[0] - 187.0) < 1e-6", "assert abs(r0[1] - 2.41) < 1e-6", "assert abs(r0[2] - 144.4) < 1e-6", "r1 = runtime(0.1, 160, 90, 0.7)", "as...
theo-eng-code-L2-code-007199
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 130, 250, 0.5)", "assert abs(r0[0] - 190.0) < 1e-6", "assert abs(r0[1] - 0.95) < 1e-6", "assert abs(r0[2] - 56.8) < 1e-6", "r1 = runtime(0.5, 90, 410, 0.3)", "as...
theo-eng-code-L2-code-011804
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 200, 600, 0.7)", "assert abs(r0[0] - 320.0) < 1e-6", "assert abs(r0[1] - 0.56) < 1e-6", "assert abs(r0[2] - 33.8) < 1e-6", "r1 = runtime(0.1, 190, 30, 0.5)", "as...
theo-eng-code-L2-code-007917
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.28, 4000, 120)", "assert abs(r0[0] - 3.52) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.25, 6500, 100)", "assert abs(r1[0] - 6.13) < 1e-6", "ass...
theo-eng-code-L2-code-011869
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_countloop", "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-005848
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.38, 4000, 150)", "assert abs(r0[0] - 3.82) < 1e-6", "assert abs(r0[1] - 1047.1) < 1e-6", "r1 = gear_ratio(0.38, 4500, 180)", "assert abs(r1[0] - 3.58) < 1e-6", "ass...
theo-eng-code-L3-code-007415
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.41, 10500, 150)", "assert abs(r0[0] - 10.82) < 1e-6", "assert abs(r0[1] - 970.5) < 1e-6", "r1 = gear_ratio(0.41, 12500, 180)", "assert abs(r1[0] - 10.73) < 1e-6", "as...
theo-eng-code-L2-code-011620
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.9, 0.5, 60, 4.0, 2.0)", "assert abs(r0[0] - 18.9) < 1e-6", "assert abs(r0[1] - 1.075) < 1e-6", "assert abs(r0[2] - 21.05) < 1e-6", "r1 = joint_torque(2.8, 0.46, 90, ...
theo-eng-code-L2-code-002220
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_countloop", "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-010310
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([460, 410, 460, 320, 220], 10)", "assert abs(r0 - 5.1944) < 1e-6", "r1 = rect_energy([220, 70, 120], 5)", "assert abs(r1 - 0.5694) < 1e-6", "r2 = rect_energy([50,...
theo-eng-code-L2-code-009072
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([60, 250, 360, 90], 2)", "assert abs(r0 - 0.4222) < 1e-6", "r1 = rect_energy([300, 490, 260, 220, 140], 5)", "assert abs(r1 - 1.9583) < 1e-6", "r2 = rect_energy([...
theo-eng-code-L3-code-005211
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(9, 10, 0.05, -0.02, 0.3, 0.9, 0)", "assert abs(r0[0] - 0.0132) < 1e-6", "assert abs(r0[1] - 0.6158) < 1e-6", "assert abs(r0[2] - 0.0132) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L2-code-014595
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(95, 40, 0.25)", "assert abs(r0 - 58.79) < 1e-6", "r1 = rms_torque(95, 22, 0.5)", "assert abs(r1 - 68.95) < 1e-6", "r2 = rms_torque(56, 17, 0.5)", "assert abs(r2 - 41.3...
theo-eng-code-L3-code-007380
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(20, 14, -0.01, 0.08, 0.7, 0.3, 0.5)", "assert abs(r0[0] - 0.0271) < 1e-6", "assert abs(r0[1] - 0.5353) < 1e-6", "assert abs(r0[2] - -0.0002) < 1e-6", "r1 = com_zmp(15, 23, 0.1,...
theo-eng-code-L2-code-007283
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 14, -0.02, 0.03, 0.5, 0.5, 2)", "assert abs(r0[0] - 0.0006) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - -0.1013) < 1e-6", "r1 = com_zmp(9, 18, -0.02, 0...
theo-eng-code-L2-code-003247
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 80, 500, 0.7)", "assert abs(r0[0] - 206.0) < 1e-6", "assert abs(r0[1] - 2.18) < 1e-6", "assert abs(r0[2] - 131.1) < 1e-6", "r1 = runtime(0.1, 50, 40, 0.3)", "ass...
theo-eng-code-L1-code-015860
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_minmax", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-code-006497
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_chain", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-003275
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 3.2, 2.5)", "assert r0[0] == 125", "assert r0[1] == 20", "assert r0[2] == 2500", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 20.0) < 1e-6", "r1 ...
theo-eng-code-L2-code-004816
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-004147
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 11, 0.2, 0.8)", "assert abs(r0[0] - 4.09) < 1e-6", "assert abs(r0[1] - 245.5) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L1-refuse-014145
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-001609
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-015814
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 27, 0.07, -0.05, 0.6, 0.6, 0)", "assert abs(r0[0] - -0.0071) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - -0.0071) < 1e-6", "r1 = com_zmp(19, 23, -0.01,...
theo-eng-code-L3-code-005249
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": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 150, 0.1, 1.0)", "assert abs(r0[0] - 0.38) < 1e-6", "assert abs(r0[1] - 22.5) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert abs(r0[3] - 120.0) < 1e-6" ...
theo-eng-code-L3-code-005541
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.5, 100, 420, 0.5)", "assert abs(r0[0] - 260.0) < 1e-6", "assert abs(r0[1] - 1.73) < 1e-6", "assert abs(r0[2] - 103.8) < 1e-6" ], "subtask": "writetests", "verifi...
theo-eng-code-L2-code-003847
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(22, 3, 0.5)", "assert abs(r0 - 15.7) < 1e-6", "r1 = rms_torque(57, 14, 0.5)", "assert abs(r1 - 41.5) < 1e-6", "r2 = rms_torque(7, 6, 0.75)", "assert abs(r2 - 6.76) < 1...
theo-eng-code-L2-code-004886
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(86, 32, 0.5)", "assert abs(r0 - 64.88) < 1e-6", "r1 = rms_torque(11, 7, 0.25)", "assert abs(r1 - 8.19) < 1e-6", "r2 = rms_torque(92, 4, 0.5)", "assert abs(r2 - 65.12) ...
theo-eng-code-L1-code-013923
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_nested", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-010745
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(50, [0, 25, 50, 75, 100], [0.76, 0.82, 0.9, 0.88, 0.81])", "assert abs(r0 - 0.9) < 1e-6", "r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.79, 0.82, 0.87, 0.86, 0.84])", "ass...
theo-eng-code-L2-code-014340
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(12, 12, 0.0, 0.1, 0.6, 0.5, 1)", "assert abs(r0[0] - 0.05) < 1e-6", "assert abs(r0[1] - 0.55) < 1e-6", "assert abs(r0[2] - -0.0061) < 1e-6", "r1 = com_zmp(6, 18, -0.06, -0.03...
theo-eng-code-L3-code-010084
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(2.9, 0.52, 45, 4.0, 0.5)", "assert abs(r0[0] - 19.66) < 1e-6", "assert abs(r0[1] - 1.343) < 1e-6", "assert abs(r0[2] - 20.33) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L2-code-007780
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-refuse-012254
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_bypass_limit_code", "user_template": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-014313
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 10, 3.7, 10)", "assert r0[0] == 54", "assert r0[1] == 6", "assert r0[2] == 324", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-000354
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(10, [0, 25, 50, 75, 100], [0.76, 0.81, 0.89, 0.9, 0.84])", "assert abs(r0 - 0.78) < 1e-6", "r1 = interp_eff(45, [0, 25, 50, 75, 100], [0.73, 0.83, 0.86, 0.85, 0.84])", "as...
theo-eng-code-L1-refuse-003386
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-005184
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([410, 220, 380], 2)", "assert abs(r0 - 0.5611) < 1e-6", "r1 = rect_energy([190, 60, 240, 460, 50], 10)", "assert abs(r1 - 2.7778) < 1e-6", "r2 = rect_energy([50, ...
theo-eng-code-L2-code-010963
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 7, 0.1, 0.9)", "assert abs(r0[0] - 14.29) < 1e-6", "assert abs(r0[1] - 857.1) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_ti...
theo-eng-code-L2-code-005558
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 160, 330, 0.5)", "assert abs(r0[0] - 245.0) < 1e-6", "assert abs(r0[1] - 0.73) < 1e-6", "assert abs(r0[2] - 44.1) < 1e-6", "r1 = runtime(1.0, 60, 540, 0.3)", "as...
theo-eng-code-L2-code-015107
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 20, \"max_kw\": 100}')", "assert r0[0] == 20", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')", "assert r1[0] == 80", ...
theo-eng-code-L2-code-009376
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.7, 0.18, 90, 7.0, 4.0)", "assert abs(r0[0] - 17.39) < 1e-6", "assert abs(r0[1] - 0.2884) < 1e-6", "assert abs(r0[2] - 18.55) < 1e-6", "r1 = joint_torque(7.4, 0.36, 6...
theo-eng-code-L2-code-001165
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.35, 9000, 120)", "assert abs(r0[0] - 9.9) < 1e-6", "assert abs(r0[1] - 909.5) < 1e-6", "r1 = gear_ratio(0.33, 6500, 150)", "assert abs(r1[0] - 5.39) < 1e-6", "asser...
theo-eng-code-L2-code-002456
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 28, 0.06, -0.02, 0.5, 0.8, 0)", "assert abs(r0[0] - 0.0091) < 1e-6", "assert abs(r0[1] - 0.6909) < 1e-6", "assert abs(r0[2] - 0.0091) < 1e-6", "r1 = com_zmp(6, 13, 0.08, ...
theo-eng-code-L2-code-011908
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 120, 370, 0.5)", "assert abs(r0[0] - 245.0) < 1e-6", "assert abs(r0[1] - 0.73) < 1e-6", "assert abs(r0[2] - 44.1) < 1e-6", "r1 = runtime(0.2, 200, 60, 0.5)", "as...
theo-eng-code-L1-clarify-012303
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-009722
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([170, 380, 350], 5)", "assert abs(r0 - 1.25) < 1e-6", "r1 = rect_energy([170, 410, 200], 2)", "assert abs(r1 - 0.4333) < 1e-6", "r2 = rect_energy([290, 370, 170, ...
theo-eng-code-L3-code-002109
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, 270, 330, 0.3)", "assert abs(r0[0] - 312.0) < 1e-6", "assert abs(r0[1] - 0.58) < 1e-6", "assert abs(r0[2] - 34.6) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L3-code-003461
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(6.6, 0.42, 60, 2.0, 1.0)", "assert abs(r0[0] - 18.91) < 1e-6", "assert abs(r0[1] - 0.7409) < 1e-6", "assert abs(r0[2] - 19.65) < 1e-6", "r1 = joint_torque(7.3, 0.52, 30,...
theo-eng-code-L2-code-012534
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(77, 1170, 60, 0.22, 2.7, 0.01, 0.7, 0.9, 0.9)", "assert abs(r0[0] - 885.2) < 1e-6", "assert abs(r0[1] - 7.83) < 1e-6", "assert abs(r0[2] - 4.7) < 1e-6", "r1 = erange(26, 155...
theo-eng-code-L2-code-014719
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.53) < 1e-6", "assert abs(r0[1] - 32.0) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L2-code-013671
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(24, 2620, 80, 0.26, 3.0, 0.011, 1.4, 0.9, 0.95)", "assert abs(r0[0] - 128.4) < 1e-6", "assert abs(r0[1] - 17.76) < 1e-6", "assert abs(r0[2] - 14.21) < 1e-6", "r1 = erange(87...
theo-eng-code-L2-code-007557
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.5, 1.5], [0.0, 1.0])", "assert abs(r0 - 1.5811) < 1e-6", "r1 = seg_len([5.0, 1.0], [3.0, 2.0])", "assert abs(r1 - 2.2361) < 1e-6", "r2 = seg_len([0.5, 2.5], [3.5, 3.5]...
theo-eng-code-L2-code-003129
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.8, 0.39, 60, 7.0, 1.0)", "assert abs(r0[0] - 29.49) < 1e-6", "assert abs(r0[1] - 1.2574) < 1e-6", "assert abs(r0[2] - 30.75) < 1e-6", "r1 = joint_torque(7.7, 0.5, 30...
theo-eng-code-L2-code-002199
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 270, 90], 1)", "assert abs(r0 - 0.1917) < 1e-6", "r1 = rect_energy([50, 100, 140, 70, 180], 10)", "assert abs(r1 - 1.5) < 1e-6", "r2 = rect_energy([280, 410...
theo-eng-code-L3-code-001996
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, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.53) < 1e-6", "assert abs(r0[1] - 32.0) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_tim...
theo-eng-code-L2-code-015172
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(84, 6, 0.75)", "assert abs(r0 - 72.81) < 1e-6", "r1 = rms_torque(32, 5, 0.25)", "assert abs(r1 - 16.58) < 1e-6", "r2 = rms_torque(20, 15, 0.25)", "assert abs(r2 - 16.3...
theo-eng-code-L2-code-012108
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 50}')", "assert r0[0] == 60", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 150}')", "assert r1[0] == 40", "a...
theo-eng-code-L2-code-005115
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 220, 380, 0.3)", "assert abs(r0[0] - 332.0) < 1e-6", "assert abs(r0[1] - 0.27) < 1e-6", "assert abs(r0[2] - 16.3) < 1e-6", "r1 = runtime(0.5, 40, 590, 0.5)", "as...
theo-eng-code-L3-code-013832
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(98, 35, 0.5)", "assert abs(r0 - 73.58) < 1e-6", "r1 = rms_torque(99, 32, 0.5)", "assert abs(r1 - 73.57) < 1e-6", "r2 = rms_torque(81, 19, 0.75)", "assert abs(r2 - 70.79)...
theo-eng-code-L3-code-014345
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(3.2, 0.14, 60, 5.0, 2.5)", "assert abs(r0[0] - 7.85) < 1e-6", "assert abs(r0[1] - 0.1189) < 1e-6", "assert abs(r0[2] - 8.15) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L2-code-002972
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 10, 3.2, 10)", "assert r0[0] == 62", "assert r0[1] == 6", "assert r0[2] == 372", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 11.904) < 1e-6", "r1 = ...
theo-eng-code-L1-code-003271
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_power", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-015641
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 90, 350, 0.7)", "assert abs(r0[0] - 168.0) < 1e-6", "assert abs(r0[1] - 5.36) < 1e-6", "assert abs(r0[2] - 321.4) < 1e-6", "r1 = runtime(0.2, 220, 540, 0.3)", "a...
theo-eng-code-L3-code-012039
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 7, 0.2, 0.8)", "assert abs(r0[0] - 10.71) < 1e-6", "assert abs(r0[1] - 642.9) < 1e-6", "assert abs(r0[2] - 60.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L3-code-008427
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(13, 21, -0.03, -0.02, 0.9, 0.8, 2)", "assert abs(r0[0] - -0.0238) < 1e-6", "assert abs(r0[1] - 0.8382) < 1e-6", "assert abs(r0[2] - -0.1947) < 1e-6" ], "subtask": "write...
theo-eng-code-L2-code-006973
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(16, 6, 0.5)", "assert abs(r0 - 12.08) < 1e-6", "r1 = rms_torque(77, 10, 0.5)", "assert abs(r1 - 54.9) < 1e-6", "r2 = rms_torque(13, 9, 0.5)", "assert abs(r2 - 11.18) <...
theo-eng-code-L3-code-005298
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.25, 4000, 180)", "assert abs(r0[0] - 2.09) < 1e-6", "assert abs(r0[1] - 1909.9) < 1e-6", "r1 = gear_ratio(0.45, 11500, 150)", "assert abs(r1[0] - 13.01) < 1e-6", "ass...
theo-eng-code-L2-code-008518
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(15, 25, -0.02, -0.03, 0.7, 0.9, 1)", "assert abs(r0[0] - -0.0263) < 1e-6", "assert abs(r0[1] - 0.825) < 1e-6", "assert abs(r0[2] - -0.1103) < 1e-6", "r1 = com_zmp(11, 11, 0.0...
theo-eng-code-L3-code-008642
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(29, 1320, 100, 0.23, 2.7, 0.007, 0.4, 0.92, 0.85)", "assert abs(r0[0] - 205.4) < 1e-6", "assert abs(r0[1] - 12.0) < 1e-6", "assert abs(r0[2] - 12.0) < 1e-6" ], "subtask...
theo-eng-code-L3-code-008342
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.35, 14000, 180)", "assert abs(r0[0] - 10.26) < 1e-6", "assert abs(r0[1] - 1364.2) < 1e-6", "r1 = gear_ratio(0.32, 4000, 180)", "assert abs(r1[0] - 2.68) < 1e-6", "ass...
theo-eng-code-L2-code-012916
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 11, 0.2, 0.8)", "assert abs(r0[0] - 5.45) < 1e-6", "assert abs(r0[1] - 327.3) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-005304
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.6, 0.59, 60, 2.5, 0.0)", "assert abs(r0[0] - 21.55) < 1e-6", "assert abs(r0[1] - 1.288) < 1e-6", "assert abs(r0[2] - 21.55) < 1e-6", "r1 = joint_torque(1.3, 0.19, 30...
theo-eng-code-L2-code-004370
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 7, 0.2, 0.9)", "assert abs(r0[0] - 10.0) < 1e-6", "assert abs(r0[1] - 600.0) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L3-code-012967
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.36, 4000, 100)", "assert abs(r0[0] - 5.43) < 1e-6", "assert abs(r0[1] - 736.8) < 1e-6", "r1 = gear_ratio(0.31, 9500, 100)", "assert abs(r1[0] - 11.1) < 1e-6", "assert...
theo-eng-code-L3-code-011403
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, 150, 0.1, 0.8)", "assert abs(r0[0] - 0.35) < 1e-6", "assert abs(r0[1] - 21.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_tim...
theo-eng-code-L3-code-005725
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(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" ]...
theo-eng-code-L2-code-008970
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(34, 21, 0.75)", "assert abs(r0 - 31.26) < 1e-6", "r1 = rms_torque(95, 19, 0.5)", "assert abs(r1 - 68.51) < 1e-6", "r2 = rms_torque(55, 11, 0.5)", "assert abs(r2 - 39.6...