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-005983
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": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 10, -0.08, 0.04, 0.9, 0.9, 2)", "assert abs(r0[0] - -0.0229) < 1e-6", "assert abs(r0[1] - 0.9) < 1e-6", "assert abs(r0[2] - -0.2063) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L2-code-003538
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([400, 140, 270, 110, 270], 10)", "assert abs(r0 - 3.3056) < 1e-6", "r1 = rect_energy([200, 170, 320, 210, 150], 2)", "assert abs(r1 - 0.5833) < 1e-6", "r2 = rect_...
theo-eng-code-L3-code-013546
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(9, 13, 0.08, -0.01, 0.3, 0.4, 1)", "assert abs(r0[0] - 0.0268) < 1e-6", "assert abs(r0[1] - 0.3591) < 1e-6", "assert abs(r0[2] - -0.0098) < 1e-6", "r1 = com_zmp(5, 28, -0.06, 0...
theo-eng-code-L2-code-012833
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, 2600, 100, 0.38, 2.1, 0.011, 1.2, 0.88, 0.9)", "assert abs(r0[0] - 143.4) < 1e-6", "assert abs(r0[1] - 21.96) < 1e-6", "assert abs(r0[2] - 21.96) < 1e-6", "r1 = erange(8...
theo-eng-code-L2-code-006931
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.5, 0.11, 30, 1.0, 4.0)", "assert abs(r0[0] - 2.56) < 1e-6", "assert abs(r0[1] - 0.0423) < 1e-6", "assert abs(r0[2] - 2.73) < 1e-6", "r1 = joint_torque(2.0, 0.21, 90,...
theo-eng-code-L2-code-001704
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 1120, 100, 0.27, 2.6, 0.007, 0.9, 0.92, 0.85)", "assert abs(r0[0] - 128.4) < 1e-6", "assert abs(r0[1] - 13.24) < 1e-6", "assert abs(r0[2] - 13.24) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-008509
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([290, 280, 230, 50], 5)", "assert abs(r0 - 1.1806) < 1e-6", "r1 = rect_energy([170, 260, 330, 430], 5)", "assert abs(r1 - 1.6528) < 1e-6", "r2 = rect_energy([320,...
theo-eng-code-L2-code-010032
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(51, 2520, 60, 0.27, 3.1, 0.012, 0.5, 0.88, 0.9)", "assert abs(r0[0] - 312.4) < 1e-6", "assert abs(r0[1] - 14.69) < 1e-6", "assert abs(r0[2] - 8.82) < 1e-6", "r1 = erange(52,...
theo-eng-code-L2-code-002305
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 13, 0.06, 0.04, 0.6, 0.6, 2)", "assert abs(r0[0] - 0.0516) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - -0.0707) < 1e-6", "r1 = com_zmp(9, 18, -0.07, 0....
theo-eng-code-L2-code-002181
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(77, 34, 0.5)", "assert abs(r0 - 59.52) < 1e-6", "r1 = rms_torque(68, 13, 0.25)", "assert abs(r1 - 35.82) < 1e-6", "r2 = rms_torque(47, 30, 0.25)", "assert abs(r2 - 35....
theo-eng-code-L2-code-006584
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 460, 0.5)", "assert abs(r0[0] - 310.0) < 1e-6", "assert abs(r0[1] - 0.58) < 1e-6", "assert abs(r0[2] - 34.8) < 1e-6", "r1 = runtime(1.0, 160, 270, 0.7)", "a...
theo-eng-code-L3-code-003172
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, 50, 0.2, 1.0)", "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(4...
theo-eng-code-L2-code-005098
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([91, 93, 24, 76, 57, 37])", "assert r0[0] == 63", "assert abs(r0[1] - 28.587) < 1e-6", "r1 = summarise([17, 33, 75, 61, 46, 67])", "assert abs(r1[0] - 49.833) < 1e-6...
theo-eng-code-L3-code-004688
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, 7, 0.1, 0.8)", "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(6...
theo-eng-code-L2-code-007239
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([240, 100, 180, 160, 330], 1)", "assert abs(r0 - 0.2806) < 1e-6", "r1 = rect_energy([380, 360, 220], 1)", "assert abs(r1 - 0.2667) < 1e-6", "r2 = rect_energy([340...
theo-eng-code-L1-code-004522
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": "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-007673
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(82, 17, 0.5)", "assert abs(r0 - 59.22) < 1e-6", "r1 = rms_torque(75, 6, 0.5)", "assert abs(r1 - 53.2) < 1e-6", "r2 = rms_torque(49, 3, 0.75)", "assert abs(r2 - 42.46) < ...
theo-eng-code-L1-clarify-013866
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-005172
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(0.7, 0.21, 60, 2.5, 2.0)", "assert abs(r0[0] - 5.08) < 1e-6", "assert abs(r0[1] - 0.1205) < 1e-6", "assert abs(r0[2] - 5.33) < 1e-6", "r1 = joint_torque(3.3, 0.54, 45, 6...
theo-eng-code-L2-code-011621
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 160, 370, 0.3)", "assert abs(r0[0] - 307.0) < 1e-6", "assert abs(r0[1] - 0.59) < 1e-6", "assert abs(r0[2] - 35.2) < 1e-6", "r1 = runtime(0.1, 140, 100, 0.5)", "a...
theo-eng-code-L1-code-013749
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": "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-013379
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(34, 28, 0.75)", "assert abs(r0 - 32.6) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-008630
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([90, 450, 500, 310], 10)", "assert abs(r0 - 3.75) < 1e-6", "r1 = rect_energy([420, 500, 340], 5)", "assert abs(r1 - 1.75) < 1e-6", "r2 = rect_energy([420, 150, 32...
theo-eng-code-L3-code-003554
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.37, 9000, 150)", "assert abs(r0[0] - 8.37) < 1e-6", "assert abs(r0[1] - 1075.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L3-code-003903
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 50, 80, 0.7)", "assert abs(r0[0] - 59.0) < 1e-6", "assert abs(r0[1] - 15.25) < 1e-6", "assert abs(r0[2] - 915.3) < 1e-6", "r1 = runtime(0.5, 190, 510, 0.7)", "asse...
theo-eng-code-L2-code-005007
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.3, 0.47, 45, 5.5, 1.5)", "assert abs(r0[0] - 26.57) < 1e-6", "assert abs(r0[1] - 1.6052) < 1e-6", "assert abs(r0[2] - 28.98) < 1e-6", "r1 = joint_torque(5.1, 0.11, 4...
theo-eng-code-L3-code-001293
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.45, 4500, 120)", "assert abs(r0[0] - 6.36) < 1e-6", "assert abs(r0[1] - 707.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", ...
theo-eng-code-L1-clarify-006970
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": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-005325
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.4, 9500, 120)", "assert abs(r0[0] - 11.94) < 1e-6", "assert abs(r0[1] - 795.8) < 1e-6", "r1 = gear_ratio(0.25, 4500, 100)", "assert abs(r1[0] - 4.24) < 1e-6", "asse...
theo-eng-code-L1-code-007591
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_average", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-015736
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-009643
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(28, 1310, 80, 0.34, 2.6, 0.013, 0.6, 0.9, 0.95)", "assert abs(r0[0] - 187.9) < 1e-6", "assert abs(r0[1] - 14.16) < 1e-6", "assert abs(r0[2] - 11.33) < 1e-6", "r1 = erange(72...
theo-eng-code-L1-code-008044
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": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-refuse-000181
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": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-004013
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(50, 1970, 120, 0.25, 2.3, 0.012, 0.4, 0.9, 0.85)", "assert abs(r0[0] - 217.2) < 1e-6", "assert abs(r0[1] - 19.57) < 1e-6", "assert abs(r0[2] - 23.48) < 1e-6" ], "subtas...
theo-eng-code-L2-code-014917
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 10500, 150)", "assert abs(r0[0] - 10.56) < 1e-6", "assert abs(r0[1] - 994.7) < 1e-6", "r1 = gear_ratio(0.4, 12000, 120)", "assert abs(r1[0] - 15.08) < 1e-6", "as...
theo-eng-code-L2-code-008912
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.1, 0.39, 90, 8.0, 2.5)", "assert abs(r0[0] - 44.19) < 1e-6", "assert abs(r0[1] - 1.5768) < 1e-6", "assert abs(r0[2] - 48.13) < 1e-6", "r1 = joint_torque(6.8, 0.31, 9...
theo-eng-code-L2-code-012730
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 19, -0.06, 0.15, 0.5, 0.3, 0.5)", "assert abs(r0[0] - 0.1063) < 1e-6", "assert abs(r0[1] - 0.3417) < 1e-6", "assert abs(r0[2] - 0.0888) < 1e-6", "r1 = com_zmp(18, 12, 0.06...
theo-eng-code-L1-clarify-006241
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-014069
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(21, 14, 0.25)", "assert abs(r0 - 16.04) < 1e-6", "r1 = rms_torque(59, 37, 0.25)", "assert abs(r1 - 43.55) < 1e-6", "r2 = rms_torque(84, 14, 0.75)", "assert abs(r2 - 73...
theo-eng-code-L2-code-003145
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(97, 24, 0.5)", "assert abs(r0 - 70.66) < 1e-6", "r1 = rms_torque(97, 5, 0.25)", "assert abs(r1 - 48.69) < 1e-6", "r2 = rms_torque(35, 20, 0.75)", "assert abs(r2 - 31.9...
theo-eng-code-L2-code-005414
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-011550
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([31, 87, 36, 48, 16])", "assert abs(r0[0] - 43.6) < 1e-6", "assert abs(r0[1] - 26.838) < 1e-6", "r1 = summarise([47, 77, 76, 19])", "assert abs(r1[0] - 54.75) < 1e-6...
theo-eng-code-L3-code-004065
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.29, 8500, 180)", "assert abs(r0[0] - 5.16) < 1e-6", "assert abs(r0[1] - 1646.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-013298
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(84, 22, 0.75)", "assert abs(r0 - 73.57) < 1e-6", "r1 = rms_torque(99, 40, 0.5)", "assert abs(r1 - 75.5) < 1e-6", "r2 = rms_torque(44, 32, 0.5)", "assert abs(r2 - 38.47...
theo-eng-code-L2-code-009511
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L2-code-010879
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([50, 90, 370, 490], 2)", "assert abs(r0 - 0.5556) < 1e-6", "r1 = rect_energy([130, 100, 420, 430, 450], 5)", "assert abs(r1 - 2.125) < 1e-6", "r2 = rect_energy([4...
theo-eng-code-L1-code-003933
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_modulo", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-015872
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([96, 13, 22, 10, 84, 69])", "assert r0[0] == 49", "assert abs(r0[1] - 38.419) < 1e-6", "r1 = summarise([16, 53, 46, 43, 21])", "assert abs(r1[0] - 35.8) < 1e-6", ...
theo-eng-code-L3-code-009462
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(40, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.33) < 1e-6", "assert abs(r0[1] - 20.0) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert abs(r0[3] - 120.0) < 1e-6", "r1...
theo-eng-code-L2-code-006647
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(93, 2630, 120, 0.35, 2.8, 0.01, 0.8, 0.88, 0.85)", "assert abs(r0[0] - 264.7) < 1e-6", "assert abs(r0[1] - 29.86) < 1e-6", "assert abs(r0[2] - 35.84) < 1e-6", "r1 = erange(6...
theo-eng-code-L3-code-015108
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": "1", "style": "code", "source": "template", "tests": [ "r0 = erange(65, 1980, 120, 0.24, 2.2, 0.008, 0.5, 0.9, 0.9)", "assert abs(r0[0] - 358.8) < 1e-6", "assert abs(r0[1] - 16.3) < 1e-6", "assert abs(r0[2] - 19.56) < 1e-6", "r1 = erange(68, 1...
theo-eng-code-L3-code-015942
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(26, 5, 0.25)", "assert abs(r0 - 13.7) < 1e-6", "r1 = rms_torque(61, 20, 0.75)", "assert abs(r1 - 53.77) < 1e-6", "r2 = rms_torque(42, 38, 0.5)", "assert abs(r2 - 40.05) ...
theo-eng-code-L3-code-010413
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(18, 14, 0.07, 0.04, 0.9, 0.7, 1)", "assert abs(r0[0] - 0.0569) < 1e-6", "assert abs(r0[1] - 0.8125) < 1e-6", "assert abs(r0[2] - -0.0259) < 1e-6", "r1 = com_zmp(12, 25, -0.06, ...
theo-eng-code-L3-code-012770
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(1.0, 220, 590, 0.7)", "assert abs(r0[0] - 331.0) < 1e-6", "assert abs(r0[1] - 2.72) < 1e-6", "assert abs(r0[2] - 163.1) < 1e-6", "r1 = runtime(0.1, 40, 230, 0.3)", "ass...
theo-eng-code-L2-code-008443
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 15, -0.05, 0.14, 0.3, 0.5, 0.5)", "assert abs(r0[0] - 0.0925) < 1e-6", "assert abs(r0[1] - 0.45) < 1e-6", "assert abs(r0[2] - 0.0696) < 1e-6", "r1 = com_zmp(15, 21, 0.04, ...
theo-eng-code-L3-code-005273
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(55, 3, 0.25)", "assert abs(r0 - 27.62) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-004627
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 250}')", "assert r0[0] == 40", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')", "assert r1[0] == 20", ...
theo-eng-code-L3-code-010099
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(48, 2380, 120, 0.23, 2.4, 0.008, 0.4, 0.92, 0.95)", "assert abs(r0[0] - 263.3) < 1e-6", "assert abs(r0[1] - 17.32) < 1e-6", "assert abs(r0[2] - 20.78) < 1e-6", "r1 = erange(67...
theo-eng-code-L2-code-001124
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(51, 1180, 100, 0.31, 2.3, 0.012, 0.4, 0.94, 0.95)", "assert abs(r0[0] - 335.0) < 1e-6", "assert abs(r0[1] - 14.46) < 1e-6", "assert abs(r0[2] - 14.46) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-006342
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 250}')", "assert r0[0] == 20", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')", "assert r1[0] == 20", ...
theo-eng-code-L2-code-001857
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 160, 240, 0.3)", "assert abs(r0[0] - 216.0) < 1e-6", "assert abs(r0[1] - 0.83) < 1e-6", "assert abs(r0[2] - 50.0) < 1e-6", "r1 = runtime(0.5, 40, 60, 0.5)", "ass...
theo-eng-code-L2-code-000877
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 20, \"max_kw\": 100}')", "assert r1[0] == 20", "a...
theo-eng-code-L1-clarify-003485
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-006396
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(800, 40, 3.6, 10)", "assert r0[0] == 222", "assert r0[1] == 6", "assert r0[2] == 1332", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 47.952) < 1e-6" ],...
theo-eng-code-L2-code-001783
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')", "assert r0[0] == 40", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')", "assert r1[0] == 20", ...
theo-eng-code-L3-code-015046
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.25, 10000, 180)", "assert abs(r0[0] - 5.24) < 1e-6", "assert abs(r0[1] - 1909.9) < 1e-6", "r1 = gear_ratio(0.41, 6500, 120)", "assert abs(r1[0] - 8.37) < 1e-6", "asse...
theo-eng-code-L2-code-013291
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 200, 450, 0.7)", "assert abs(r0[0] - 275.0) < 1e-6", "assert abs(r0[1] - 1.64) < 1e-6", "assert abs(r0[2] - 98.2) < 1e-6", "r1 = runtime(0.2, 180, 270, 0.3)", "a...
theo-eng-code-L2-code-015360
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-010175
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(6, 15, 0.05, 0.13, 0.9, 0.8, 0)", "assert abs(r0[0] - 0.1071) < 1e-6", "assert abs(r0[1] - 0.8286) < 1e-6", "assert abs(r0[2] - 0.1071) < 1e-6", "r1 = com_zmp(19, 11, 0.02, -0....
theo-eng-code-L2-code-003965
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 250, 400, 0.3)", "assert abs(r0[0] - 355.0) < 1e-6", "assert abs(r0[1] - 0.51) < 1e-6", "assert abs(r0[2] - 30.4) < 1e-6", "r1 = runtime(0.2, 40, 220, 0.5)", "as...
theo-eng-code-L3-code-009235
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 20, 3.7, 50)", "assert r0[0] == 108", "assert r0[1] == 2", "assert r0[2] == 216", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 = pa...
theo-eng-code-L3-code-002665
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(15, 17, 0.03, 0.08, 0.9, 0.7, 0.5)", "assert abs(r0[0] - 0.0566) < 1e-6", "assert abs(r0[1] - 0.7937) < 1e-6", "assert abs(r0[2] - 0.0161) < 1e-6", "r1 = com_zmp(18, 21, -0.02,...
theo-eng-code-L1-code-011020
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": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-004561
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([440, 220, 290, 60, 170], 5)", "assert abs(r0 - 1.6389) < 1e-6", "r1 = rect_energy([140, 130, 100, 50], 10)", "assert abs(r1 - 1.1667) < 1e-6", "r2 = rect_energy(...
theo-eng-code-L2-code-014000
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-012463
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(76, 2170, 100, 0.24, 3.0, 0.009, 0.6, 0.88, 0.9)", "assert abs(r0[0] - 393.4) < 1e-6", "assert abs(r0[1] - 17.39) < 1e-6", "assert abs(r0[2] - 17.39) < 1e-6", "r1 = erange(3...
theo-eng-code-L1-code-003654
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_average", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-011964
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_sumloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-007812
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([98, 50, 87, 62])", "assert abs(r0[0] - 74.25) < 1e-6", "assert abs(r0[1] - 22.096) < 1e-6", "r1 = summarise([34, 58, 55, 86, 12])", "assert r1[0] == 49", "asser...
theo-eng-code-L2-code-002352
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 40, 3.7, 2.5)", "assert r0[0] == 216", "assert r0[1] == 21", "assert r0[2] == 4536", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 41.958) < 1e-6", "r...
theo-eng-code-L3-code-008242
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(12, 30, -0.03, 0.14, 0.9, 0.5, 1)", "assert abs(r0[0] - 0.0914) < 1e-6", "assert abs(r0[1] - 0.6143) < 1e-6", "assert abs(r0[2] - 0.0288) < 1e-6", "r1 = com_zmp(6, 10, 0.05, 0....
theo-eng-code-L2-code-004512
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(36, 1900, 80, 0.32, 2.9, 0.01, 1.1, 0.94, 0.85)", "assert abs(r0[0] - 201.6) < 1e-6", "assert abs(r0[1] - 15.18) < 1e-6", "assert abs(r0[2] - 12.14) < 1e-6", "r1 = erange(98...
theo-eng-code-L3-code-013214
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": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(60, 1480, 100, 0.23, 1.9, 0.011, 1.1, 0.9, 0.9)", "assert abs(r0[0] - 435.4) < 1e-6", "assert abs(r0[1] - 12.4) < 1e-6", "assert abs(r0[2] - 12.4) < 1e-6", "r1 = erange(86, 20...
theo-eng-code-L2-code-009008
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 28, 0.03, 0.12, 0.4, 0.9, 0.5)", "assert abs(r0[0] - 0.0915) < 1e-6", "assert abs(r0[1] - 0.7415) < 1e-6", "assert abs(r0[2] - 0.0537) < 1e-6", "r1 = com_zmp(12, 28, 0.02...
theo-eng-code-L2-code-006852
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 80, 3.2, 10)", "assert r0[0] == 125", "assert r0[1] == 20", "assert r0[2] == 2500", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1 =...
theo-eng-code-L3-code-013735
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": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 120, 300, 0.7)", "assert abs(r0[0] - 174.0) < 1e-6", "assert abs(r0[1] - 5.17) < 1e-6", "assert abs(r0[2] - 310.3) < 1e-6" ], "subtask": "writetests", "verifi...
theo-eng-code-L3-code-002498
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.3, 10500, 120)", "assert abs(r0[0] - 9.9) < 1e-6", "assert abs(r0[1] - 1061.0) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", ...
theo-eng-code-L2-code-000434
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-004590
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(300, 60, 3.2, 100)", "assert r0[0] == 94", "assert r0[1] == 2", "assert r0[2] == 188", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 60.16) < 1e-6", "r1 = pa...
theo-eng-code-L3-code-013955
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.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_time...
theo-eng-code-L2-code-003252
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.38, 15000, 150)", "assert abs(r0[0] - 14.33) < 1e-6", "assert abs(r0[1] - 1047.1) < 1e-6", "r1 = gear_ratio(0.34, 10500, 100)", "assert abs(r1[0] - 13.46) < 1e-6", ...
theo-eng-code-L2-code-008216
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.26, 9500, 150)", "assert abs(r0[0] - 6.21) < 1e-6", "assert abs(r0[1] - 1530.3) < 1e-6", "r1 = gear_ratio(0.26, 5500, 120)", "assert abs(r1[0] - 4.49) < 1e-6", "ass...
theo-eng-code-L2-code-003430
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 0.2, 0.8)", "assert abs(r0[0] - 0.9) < 1e-6", "assert abs(r0[1] - 54.0) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L3-code-004728
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(72, 1280, 100, 0.37, 3.1, 0.009, 0.6, 0.94, 0.95)", "assert abs(r0[0] - 342.7) < 1e-6", "assert abs(r0[1] - 19.96) < 1e-6", "assert abs(r0[2] - 19.96) < 1e-6" ], "subta...
theo-eng-code-L2-code-000971
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, [0, 25, 50, 75, 100], [0.75, 0.8, 0.9, 0.89, 0.84])", "assert abs(r0 - 0.86) < 1e-6", "r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.7, 0.81, 0.87, 0.9, 0.84])", "asser...
theo-eng-code-L3-code-002997
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": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(59, 1070, 120, 0.38, 2.1, 0.009, 0.3, 0.88, 0.95)", "assert abs(r0[0] - 275.1) < 1e-6", "assert abs(r0[1] - 20.37) < 1e-6", "assert abs(r0[2] - 24.45) < 1e-6" ], "subta...
theo-eng-code-L3-code-000482
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.39, 14000, 150)", "assert abs(r0[0] - 13.72) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run...
theo-eng-code-L3-code-009742
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, 4500, 100)", "assert abs(r0[0] - 6.96) < 1e-6", "assert abs(r0[1] - 647.0) < 1e-6", "r1 = gear_ratio(0.32, 5000, 120)", "assert abs(r1[0] - 5.03) < 1e-6", "assert...
theo-eng-code-L2-code-000986
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, [0, 25, 50, 75, 100], [0.74, 0.84, 0.86, 0.9, 0.8])", "assert abs(r0 - 0.86) < 1e-6", "r1 = interp_eff(45, [0, 25, 50, 75, 100], [0.77, 0.81, 0.88, 0.9, 0.82])", "asse...