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-000445
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([18, 24, 80, 97, 24])", "assert abs(r0[0] - 48.6) < 1e-6", "assert abs(r0[1] - 36.997) < 1e-6", "r1 = summarise([48, 60, 26, 30, 54, 80])", "assert abs(r1[0] - 49.66...
theo-eng-code-L2-code-011113
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.6, 0.34, 60, 5.0, 3.0)", "assert abs(r0[0] - 23.97) < 1e-6", "assert abs(r0[1] - 0.8323) < 1e-6", "assert abs(r0[2] - 26.47) < 1e-6", "r1 = joint_torque(5.2, 0.21, 9...
theo-eng-code-L2-code-008343
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.32, 10000, 150)", "assert abs(r0[0] - 8.04) < 1e-6", "assert abs(r0[1] - 1243.4) < 1e-6", "r1 = gear_ratio(0.36, 4000, 120)", "assert abs(r1[0] - 4.52) < 1e-6", "as...
theo-eng-code-L1-code-011344
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_filter", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-011302
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')", "assert r0[0] == 60", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 150}')", "assert r1[0] == 40", ...
theo-eng-code-L1-clarify-015669
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-015183
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, 900, 80, 0.28, 3.1, 0.008, 1.5, 0.94, 0.95)", "assert abs(r0[0] - 405.3) < 1e-6", "assert abs(r0[1] - 11.72) < 1e-6", "assert abs(r0[2] - 9.38) < 1e-6", "r1 = erange(26,...
theo-eng-code-L3-code-008025
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(84, 10, 0.5)", "assert abs(r0 - 59.82) < 1e-6", "r1 = rms_torque(88, 27, 0.75)", "assert abs(r1 - 77.4) < 1e-6", "r2 = rms_torque(58, 20, 0.25)", "assert abs(r2 - 33.78)...
theo-eng-code-L3-code-009768
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(15, 24, 0.03, 0.1, 0.7, 0.5, 0)", "assert abs(r0[0] - 0.0731) < 1e-6", "assert abs(r0[1] - 0.5769) < 1e-6", "assert abs(r0[2] - 0.0731) < 1e-6", "r1 = com_zmp(5, 12, -0.06, -0....
theo-eng-code-L3-code-016016
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(59, 2240, 60, 0.33, 2.0, 0.008, 1.2, 0.88, 0.95)", "assert abs(r0[0] - 505.2) < 1e-6", "assert abs(r0[1] - 11.09) < 1e-6", "assert abs(r0[2] - 6.66) < 1e-6", "r1 = erange(59, ...
theo-eng-code-L1-code-012655
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": "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-008187
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 80, 3.2, 50)", "assert r0[0] == 156", "assert r0[1] == 4", "assert r0[2] == 624", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 99.84) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-011390
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([26, 76, 31, 48, 86])", "assert abs(r0[0] - 53.4) < 1e-6", "assert abs(r0[1] - 26.717) < 1e-6", "r1 = summarise([26, 74, 16, 27])", "assert abs(r1[0] - 35.75) < 1e-6...
theo-eng-code-L2-code-014610
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(55, 6, 0.5)", "assert abs(r0 - 39.12) < 1e-6", "r1 = rms_torque(90, 11, 0.25)", "assert abs(r1 - 46.0) < 1e-6", "r2 = rms_torque(54, 25, 0.75)", "assert abs(r2 - 48.41...
theo-eng-code-L2-code-011607
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.4) < 1e-6", "assert abs(r0[1] - 24.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L2-code-007108
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 13, 0.5)", "assert abs(r0 - 13.51) < 1e-6", "r1 = rms_torque(62, 16, 0.75)", "assert abs(r1 - 54.29) < 1e-6", "r2 = rms_torque(43, 27, 0.5)", "assert abs(r2 - 35.9...
theo-eng-code-L2-code-011713
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([210, 440, 250, 420, 330], 1)", "assert abs(r0 - 0.4583) < 1e-6", "r1 = rect_energy([360, 310, 470, 350], 2)", "assert abs(r1 - 0.8278) < 1e-6", "r2 = rect_energy...
theo-eng-code-L3-code-008452
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(59, 2270, 80, 0.27, 2.3, 0.013, 1.2, 0.88, 0.95)", "assert abs(r0[0] - 338.3) < 1e-6", "assert abs(r0[1] - 16.57) < 1e-6", "assert abs(r0[2] - 13.25) < 1e-6", "r1 = erange(41,...
theo-eng-code-L2-code-000648
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.5, 1.5], [4.5, 5.0])", "assert abs(r0 - 4.0311) < 1e-6", "r1 = seg_len([2.5, 2.5], [2.5, 4.0])", "assert abs(r1 - 1.5) < 1e-6", "r2 = seg_len([0.0, 3.0], [1.5, 4.0])",...
theo-eng-code-L2-code-000031
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 60, 3.6, 10)", "assert r0[0] == 139", "assert r0[1] == 12", "assert r0[2] == 1668", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 60.048) < 1e-6", "r1...
theo-eng-code-L1-clarify-015248
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-002938
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 150, 0.2, 0.9)", "assert abs(r0[0] - 0.47) < 1e-6", "assert abs(r0[1] - 28.0) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L2-code-010219
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([70, 70, 380], 10)", "assert abs(r0 - 1.4444) < 1e-6", "r1 = rect_energy([390, 210, 50, 380], 5)", "assert abs(r1 - 1.4306) < 1e-6", "r2 = rect_energy([450, 230, ...
theo-eng-code-L3-code-015698
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(47, 1160, 120, 0.24, 2.4, 0.012, 1.4, 0.88, 0.85)", "assert abs(r0[0] - 223.8) < 1e-6", "assert abs(r0[1] - 17.85) < 1e-6", "assert abs(r0[2] - 21.42) < 1e-6", "r1 = erange(54...
theo-eng-code-L3-code-011354
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(5.7, 0.34, 45, 5.0, 2.0)", "assert abs(r0[0] - 18.51) < 1e-6", "assert abs(r0[1] - 0.7976) < 1e-6", "assert abs(r0[2] - 20.11) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L3-code-009011
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(1.0, 180, 80, 0.3)", "assert abs(r0[0] - 110.0) < 1e-6", "assert abs(r0[1] - 8.18) < 1e-6", "assert abs(r0[2] - 490.9) < 1e-6", "r1 = runtime(0.5, 210, 370, 0.7)", "ass...
theo-eng-code-L2-code-009425
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([500, 240, 290, 110, 420], 2)", "assert abs(r0 - 0.8667) < 1e-6", "r1 = rect_energy([280, 160, 210], 1)", "assert abs(r1 - 0.1806) < 1e-6", "r2 = rect_energy([450...
theo-eng-code-L1-code-015835
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_countdown", "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-011752
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": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 10, 3.2, 5)", "assert r0[0] == 250", "assert r0[1] == 3", "assert r0[2] == 750", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 12.0) < 1e-6" ], "...
theo-eng-code-L2-code-006991
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-005626
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 22, 0.2, 0.9)", "assert abs(r0[0] - 1.59) < 1e-6", "assert abs(r0[1] - 95.5) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L1-refuse-013709
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_kill_audit", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-008398
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 6500, 120)", "assert abs(r0[0] - 8.58) < 1e-6", "assert abs(r0[1] - 757.9) < 1e-6", "r1 = gear_ratio(0.39, 4500, 180)", "assert abs(r1[0] - 3.68) < 1e-6", "asse...
theo-eng-code-L3-code-013232
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(15, 13, -0.08, 0.04, 0.6, 0.3, 1)", "assert abs(r0[0] - -0.0243) < 1e-6", "assert abs(r0[1] - 0.4607) < 1e-6", "assert abs(r0[2] - -0.0712) < 1e-6" ], "subtask": "writet...
theo-eng-code-L2-code-003747
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-008952
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 3.7, 10)", "assert r0[0] == 108", "assert r0[1] == 11", "assert r0[2] == 1188", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 43.956) < 1e-6" ]...
theo-eng-code-L3-code-012611
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": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.2, 0.58, 45, 1.5, 2.0)", "assert abs(r0[0] - 18.51) < 1e-6", "assert abs(r0[1] - 1.1998) < 1e-6", "assert abs(r0[2] - 20.91) < 1e-6", "r1 = joint_torque(5.0, 0.58, 45,...
theo-eng-code-L2-code-002285
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 30, 450, 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.2, 170, 340, 0.3)", "as...
theo-eng-code-L3-code-012642
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.37, 15000, 100)", "assert abs(r0[0] - 20.92) < 1e-6", "assert abs(r0[1] - 716.9) < 1e-6", "r1 = gear_ratio(0.33, 9500, 100)", "assert abs(r1[0] - 11.82) < 1e-6", "ass...
theo-eng-code-L2-code-000362
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([56, 88, 95, 20, 43])", "assert abs(r0[0] - 60.4) < 1e-6", "assert abs(r0[1] - 31.278) < 1e-6", "r1 = summarise([20, 73, 15, 51, 79, 97])", "assert abs(r1[0] - 55.83...
theo-eng-code-L2-code-012612
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-009970
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(70, [0, 25, 50, 75, 100], [0.79, 0.85, 0.88, 0.9, 0.84])", "assert abs(r0 - 0.896) < 1e-6", "r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.8, 0.8, 0.87, 0.86, 0.8])", "asse...
theo-eng-code-L3-code-000609
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(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" ], "subtask...
theo-eng-code-L2-code-006811
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(85, [0, 25, 50, 75, 100], [0.7, 0.82, 0.88, 0.89, 0.84])", "assert abs(r0 - 0.87) < 1e-6", "r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.76, 0.8, 0.87, 0.88, 0.84])", "ass...
theo-eng-code-L2-code-011657
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 20, 0.1, 0.11, 0.4, 0.6, 1)", "assert abs(r0[0] - 0.1063) < 1e-6", "assert abs(r0[1] - 0.525) < 1e-6", "assert abs(r0[2] - 0.0527) < 1e-6", "r1 = com_zmp(18, 28, -0.08, 0...
theo-eng-code-L3-code-005666
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(98, 8, 0.75)", "assert abs(r0 - 84.96) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-011679
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([64, 34, 61, 28])", "assert abs(r0[0] - 46.75) < 1e-6", "assert abs(r0[1] - 18.392) < 1e-6", "r1 = summarise([57, 55, 58, 22])", "assert r1[0] == 48", "assert ab...
theo-eng-code-L3-code-012811
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, 30, 560, 0.3)", "assert abs(r0[0] - 401.0) < 1e-6", "assert abs(r0[1] - 0.45) < 1e-6", "assert abs(r0[2] - 26.9) < 1e-6", "r1 = runtime(0.2, 30, 550, 0.5)", "asser...
theo-eng-code-L3-code-007438
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(4.6, 0.45, 45, 8.0, 0.5)", "assert abs(r0[0] - 32.15) < 1e-6", "assert abs(r0[1] - 1.9305) < 1e-6", "assert abs(r0[2] - 33.12) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L2-code-015161
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 50, 0.1, 0.8)", "assert abs(r0[0] - 1.05) < 1e-6", "assert abs(r0[1] - 63.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_tim...
theo-eng-code-L3-code-003196
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 280, 600, 0.7)", "assert abs(r0[0] - 376.0) < 1e-6", "assert abs(r0[1] - 2.39) < 1e-6", "assert abs(r0[2] - 143.6) < 1e-6", "r1 = runtime(1.0, 190, 220, 0.5)", "as...
theo-eng-code-L2-code-007336
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(93, 1090, 80, 0.23, 3.0, 0.007, 1.2, 0.94, 0.85)", "assert abs(r0[0] - 800.2) < 1e-6", "assert abs(r0[1] - 9.88) < 1e-6", "assert abs(r0[2] - 7.9) < 1e-6", "r1 = erange(98, ...
theo-eng-code-L2-code-015640
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 60, 3.2, 5)", "assert r0[0] == 62", "assert r0[1] == 61", "assert r0[2] == 3782", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 60.512) < 1e-6", "r1 =...
theo-eng-code-L2-code-005674
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([60, 60, 310], 10)", "assert abs(r0 - 1.1944) < 1e-6", "r1 = rect_energy([350, 420, 270, 430, 440], 1)", "assert abs(r1 - 0.5306) < 1e-6", "r2 = rect_energy([200,...
theo-eng-code-L2-code-000110
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 10500, 120)", "assert abs(r0[0] - 14.51) < 1e-6", "assert abs(r0[1] - 723.4) < 1e-6", "r1 = gear_ratio(0.3, 6500, 180)", "assert abs(r1[0] - 4.08) < 1e-6", "ass...
theo-eng-code-L3-code-000891
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 150, 340, 0.3)", "assert abs(r0[0] - 283.0) < 1e-6", "assert abs(r0[1] - 1.59) < 1e-6", "assert abs(r0[2] - 95.4) < 1e-6", "r1 = runtime(0.2, 280, 490, 0.7)", "ass...
theo-eng-code-L2-code-015519
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')", "assert r0[0] == 20", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')", "assert r1[0] == 80", ...
theo-eng-code-L2-code-002351
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = summarise([70, 99, 64, 67, 80, 89])", "assert abs(r0[0] - 78.167) < 1e-6", "assert abs(r0[1] - 13.761) < 1e-6", "r1 = summarise([13, 81, 56, 40])", "assert abs(r1[0] - 47.5) <...
theo-eng-code-L2-code-006202
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 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] - 18.0) < 1e-6", "assert abs(r0[3] - 60.0) < 1e-6", "r...
theo-eng-code-L3-code-009508
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": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 80, 3.7, 2.5)", "assert r0[0] == 81", "assert r0[1] == 107", "assert r0[2] == 8667", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 80.17) < 1e-6" ]...
theo-eng-code-L1-refuse-015310
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_kill_audit", "user_template": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-008403
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 90, 0.3)", "assert abs(r0[0] - 108.0) < 1e-6", "assert abs(r0[1] - 4.17) < 1e-6", "assert abs(r0[2] - 250.0) < 1e-6", "r1 = runtime(1.0, 130, 500, 0.5)", "a...
theo-eng-code-L2-code-014373
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([44, 66, 89, 62, 77, 94])", "assert r0[0] == 72", "assert abs(r0[1] - 18.536) < 1e-6", "r1 = summarise([87, 85, 77, 78])", "assert abs(r1[0] - 81.75) < 1e-6", "a...
theo-eng-code-L2-code-007822
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 24, -0.09, -0.02, 0.9, 0.3, 0.5)", "assert abs(r0[0] - -0.048) < 1e-6", "assert abs(r0[1] - 0.54) < 1e-6", "assert abs(r0[2] - -0.0755) < 1e-6", "r1 = com_zmp(14, 17, 0.1...
theo-eng-code-L2-code-004153
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 90, 440, 0.5)", "assert abs(r0[0] - 265.0) < 1e-6", "assert abs(r0[1] - 0.34) < 1e-6", "assert abs(r0[2] - 20.4) < 1e-6", "r1 = runtime(1.0, 160, 370, 0.3)", "as...
theo-eng-code-L2-code-015515
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(38, 17, 0.5)", "assert abs(r0 - 29.44) < 1e-6", "r1 = rms_torque(95, 5, 0.75)", "assert abs(r1 - 82.31) < 1e-6", "r2 = rms_torque(18, 11, 0.75)", "assert abs(r2 - 16.5...
theo-eng-code-L2-code-003500
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.35, 5000, 180)", "assert abs(r0[0] - 3.67) < 1e-6", "assert abs(r0[1] - 1364.2) < 1e-6", "r1 = gear_ratio(0.35, 14500, 120)", "assert abs(r1[0] - 15.94) < 1e-6", "a...
theo-eng-code-L3-code-003585
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(10, 25, -0.08, 0.11, 0.3, 0.3, 1)", "assert abs(r0[0] - 0.0557) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - 0.0251) < 1e-6", "r1 = com_zmp(17, 30, -0.08, 0.0...
theo-eng-code-L1-clarify-011640
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": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-001094
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.7, 0.38, 30, 4.5, 3.5)", "assert abs(r0[0] - 15.56) < 1e-6", "assert abs(r0[1] - 1.0204) < 1e-6", "assert abs(r0[2] - 19.14) < 1e-6", "r1 = joint_torque(1.3, 0.38, 9...
theo-eng-code-L2-code-007873
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 10500, 180)", "assert abs(r0[0] - 9.24) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.31, 13500, 180)", "assert abs(r1[0] - 8.77) < 1e-6", "a...
theo-eng-code-L2-code-015981
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 60, 3.2, 2.5)", "assert r0[0] == 250", "assert r0[1] == 30", "assert r0[2] == 7500", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 60.0) < 1e-6", "r1 ...
theo-eng-code-L2-code-011510
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.7, 0.55, 90, 0.0, 0.5)", "assert abs(r0[0] - 4.59) < 1e-6", "assert abs(r0[1] - 0.1714) < 1e-6", "assert abs(r0[2] - 4.67) < 1e-6", "r1 = joint_torque(6.4, 0.38, 45,...
theo-eng-code-L2-code-001259
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.26, 7500, 120)", "assert abs(r0[0] - 6.13) < 1e-6", "assert abs(r0[1] - 1224.3) < 1e-6", "r1 = gear_ratio(0.41, 8000, 100)", "assert abs(r1[0] - 12.37) < 1e-6", "as...
theo-eng-code-L2-code-015032
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 150, 0.1, 0.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-L3-code-012322
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(14, 21, 0.09, 0.07, 0.5, 0.7, 0.5)", "assert abs(r0[0] - 0.078) < 1e-6", "assert abs(r0[1] - 0.62) < 1e-6", "assert abs(r0[2] - 0.0464) < 1e-6", "r1 = com_zmp(5, 14, -0.09, -0....
theo-eng-code-L2-code-007243
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([390, 410, 490, 240, 50], 5)", "assert abs(r0 - 2.1944) < 1e-6", "r1 = rect_energy([430, 400, 440, 410, 310], 2)", "assert abs(r1 - 1.1056) < 1e-6", "r2 = rect_en...
theo-eng-code-L3-code-006444
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 150, 0.2, 0.8)", "assert abs(r0[0] - 0.4) < 1e-6", "assert abs(r0[1] - 24.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_time...
theo-eng-code-L2-code-006502
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 10500, 180)", "assert abs(r0[0] - 8.8) < 1e-6", "assert abs(r0[1] - 1193.7) < 1e-6", "r1 = gear_ratio(0.45, 10000, 150)", "assert abs(r1[0] - 11.31) < 1e-6", "as...
theo-eng-code-L2-code-009288
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.7, 0.39, 30, 5.5, 3.5)", "assert abs(r0[0] - 17.89) < 1e-6", "assert abs(r0[1] - 1.2269) < 1e-6", "assert abs(r0[2] - 22.18) < 1e-6", "r1 = joint_torque(7.3, 0.3, 60...
theo-eng-code-L2-code-000366
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 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-007490
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 14, -0.06, 0.1, 0.4, 0.9, 1)", "assert abs(r0[0] - 0.0123) < 1e-6", "assert abs(r0[1] - 0.6258) < 1e-6", "assert abs(r0[2] - -0.0515) < 1e-6", "r1 = com_zmp(14, 22, -0.06...
theo-eng-code-L2-code-003535
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_squareloop", "user_template": "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-002629
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(37, 36, 0.25)", "assert abs(r0 - 36.25) < 1e-6", "r1 = rms_torque(35, 4, 0.25)", "assert abs(r1 - 17.84) < 1e-6", "r2 = rms_torque(52, 36, 0.5)", "assert abs(r2 - 44.72)...
theo-eng-code-L2-code-003128
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(88, 20, 0.25)", "assert abs(r0 - 47.29) < 1e-6", "r1 = rms_torque(69, 35, 0.75)", "assert abs(r1 - 62.27) < 1e-6", "r2 = rms_torque(32, 3, 0.75)", "assert abs(r2 - 27....
theo-eng-code-L3-code-009739
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 120, 300, 0.5)", "assert abs(r0[0] - 210.0) < 1e-6", "assert abs(r0[1] - 0.43) < 1e-6", "assert abs(r0[2] - 25.7) < 1e-6", "r1 = runtime(1.0, 110, 350, 0.7)", "ass...
theo-eng-code-L3-code-010511
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(26, 5, 0.5)", "assert abs(r0 - 18.72) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L1-refuse-015176
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_fake_sensors", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-002119
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 50}')", "assert r0[0] == 80", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 50}')", "assert r1[0] == 80", "as...
theo-eng-code-L3-code-011983
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": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 10, 3.7, 100)", "assert r0[0] == 81", "assert r0[1] == 1", "assert r0[2] == 81", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 29.97) < 1e-6" ], ...
theo-eng-code-L2-code-006449
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.34, 8000, 120)", "assert abs(r0[0] - 8.55) < 1e-6", "assert abs(r0[1] - 936.2) < 1e-6", "r1 = gear_ratio(0.37, 9500, 120)", "assert abs(r1[0] - 11.04) < 1e-6", "ass...
theo-eng-code-L3-code-009009
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 10, 3.2, 5)", "assert r0[0] == 250", "assert r0[1] == 3", "assert r0[2] == 750", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 12.0) < 1e-6" ], "...
theo-eng-code-L3-code-011039
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(2.7, 0.46, 45, 4.5, 2.5)", "assert abs(r0[0] - 18.67) < 1e-6", "assert abs(r0[1] - 1.1426) < 1e-6", "assert abs(r0[2] - 21.52) < 1e-6", "r1 = joint_torque(1.6, 0.16, 90,...
theo-eng-code-L2-code-001998
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.12, 30, 4.5, 3.0)", "assert abs(r0[0] - 3.53) < 1e-6", "assert abs(r0[1] - 0.0792) < 1e-6", "assert abs(r0[2] - 3.77) < 1e-6", "r1 = joint_torque(3.7, 0.28, 30,...
theo-eng-code-L2-code-008769
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(88, 2660, 80, 0.32, 2.3, 0.009, 1.2, 0.9, 0.95)", "assert abs(r0[0] - 535.2) < 1e-6", "assert abs(r0[1] - 15.62) < 1e-6", "assert abs(r0[2] - 12.5) < 1e-6", "r1 = erange(45,...
theo-eng-code-L2-code-011846
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 10000, 180)", "assert abs(r0[0] - 5.65) < 1e-6", "assert abs(r0[1] - 1768.4) < 1e-6", "r1 = gear_ratio(0.41, 7500, 180)", "assert abs(r1[0] - 6.44) < 1e-6", "as...
theo-eng-code-L3-code-005434
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(46, 2520, 120, 0.33, 2.8, 0.01, 0.9, 0.88, 0.9)", "assert abs(r0[0] - 145.8) < 1e-6", "assert abs(r0[1] - 28.4) < 1e-6", "assert abs(r0[2] - 34.08) < 1e-6" ], "subtask"...
theo-eng-code-L2-code-004975
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 0.2, 1.0)", "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-L1-clarify-006387
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": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-clarify-013665
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": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }