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-011485
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 7, 0.2, 0.9)", "assert abs(r0[0] - 5.0) < 1e-6", "assert abs(r0[1] - 300.0) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L1-code-011034
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-L2-code-005713
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([2.5, 1.5], [0.5, 1.5])", "assert abs(r0 - 2.0) < 1e-6", "r1 = seg_len([0.5, 3.5], [0.0, 0.0])", "assert abs(r1 - 3.5355) < 1e-6", "r2 = seg_len([5.0, 3.0], [3.0, 3.5])",...
theo-eng-code-L3-code-003787
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.7, 0.23, 60, 8.0, 2.5)", "assert abs(r0[0] - 20.22) < 1e-6", "assert abs(r0[1] - 0.5061) < 1e-6", "assert abs(r0[2] - 21.49) < 1e-6", "r1 = joint_torque(2.0, 0.16, 90,...
theo-eng-code-L1-code-000785
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": "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-004993
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 3.6, 50)", "assert r0[0] == 56", "assert r0[1] == 2", "assert r0[2] == 112", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 20.16) < 1e-6", "r1 = p...
theo-eng-code-L3-code-010830
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.26, 7000, 120)", "assert abs(r0[0] - 5.72) < 1e-6", "assert abs(r0[1] - 1224.3) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-009810
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 2580, 80, 0.25, 1.9, 0.012, 1.0, 0.92, 0.9)", "assert abs(r0[0] - 487.9) < 1e-6", "assert abs(r0[1] - 14.76) < 1e-6", "assert abs(r0[2] - 11.81) < 1e-6", "r1 = erange(25...
theo-eng-code-L2-code-006025
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([24, 79, 36, 95, 17])", "assert abs(r0[0] - 50.2) < 1e-6", "assert abs(r0[1] - 34.738) < 1e-6", "r1 = summarise([25, 65, 37, 63])", "assert abs(r1[0] - 47.5) < 1e-6"...
theo-eng-code-L2-code-015312
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(49, 1450, 100, 0.29, 2.9, 0.009, 1.4, 0.9, 0.85)", "assert abs(r0[0] - 236.4) < 1e-6", "assert abs(r0[1] - 17.62) < 1e-6", "assert abs(r0[2] - 17.62) < 1e-6", "r1 = erange(3...
theo-eng-code-L1-code-012314
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-004064
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(89, 1030, 100, 0.28, 1.9, 0.011, 1.4, 0.88, 0.95)", "assert abs(r0[0] - 658.2) < 1e-6", "assert abs(r0[1] - 12.84) < 1e-6", "assert abs(r0[2] - 12.84) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-009748
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(45, [0, 25, 50, 75, 100], [0.72, 0.81, 0.85, 0.87, 0.85])", "assert abs(r0 - 0.842) < 1e-6", "r1 = interp_eff(25, [0, 25, 50, 75, 100], [0.8, 0.85, 0.89, 0.89, 0.84])", "a...
theo-eng-code-L2-code-005809
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_maxloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-010207
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(68, 1340, 100, 0.33, 2.8, 0.009, 0.9, 0.9, 0.95)", "assert abs(r0[0] - 358.3) < 1e-6", "assert abs(r0[1] - 18.03) < 1e-6", "assert abs(r0[2] - 18.03) < 1e-6" ], "subtas...
theo-eng-code-L2-code-002155
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 27, 0.01, -0.02, 0.5, 0.5, 1)", "assert abs(r0[0] - -0.0153) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - -0.0663) < 1e-6", "r1 = com_zmp(13, 26, 0.05, 0...
theo-eng-code-L2-code-004987
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(70, [0, 25, 50, 75, 100], [0.8, 0.83, 0.89, 0.89, 0.82])", "assert abs(r0 - 0.89) < 1e-6", "r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.77, 0.8, 0.85, 0.86, 0.85])", "ass...
theo-eng-code-L1-code-002196
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_power", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-002160
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 7, 0.2, 1.0)", "assert abs(r0[0] - 2.86) < 1e-6", "assert abs(r0[1] - 171.4) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(6...
theo-eng-code-L2-code-008241
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([85, 75, 70, 46, 66, 48])", "assert r0[0] == 65", "assert abs(r0[1] - 15.336) < 1e-6", "r1 = summarise([29, 59, 60, 10, 30])", "assert abs(r1[0] - 37.6) < 1e-6", ...
theo-eng-code-L2-code-001156
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([170, 360, 350, 280], 2)", "assert abs(r0 - 0.6444) < 1e-6", "r1 = rect_energy([160, 160, 400, 370, 100], 5)", "assert abs(r1 - 1.6528) < 1e-6", "r2 = rect_energy...
theo-eng-code-L2-code-003077
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(50, 17, 0.5)", "assert abs(r0 - 37.34) < 1e-6", "r1 = rms_torque(24, 11, 0.25)", "assert abs(r1 - 15.32) < 1e-6", "r2 = rms_torque(44, 16, 0.75)", "assert abs(r2 - 38....
theo-eng-code-L3-code-007619
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": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 10, 3.7, 2.5)", "assert r0[0] == 54", "assert r0[1] == 21", "assert r0[2] == 1134", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 10.489) < 1e-6", "r1 =...
theo-eng-code-L3-code-009286
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": "0", "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" ], "subtask...
theo-eng-code-L2-code-011810
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([60, 290, 150], 1)", "assert abs(r0 - 0.1389) < 1e-6", "r1 = rect_energy([480, 190, 180, 120, 320], 5)", "assert abs(r1 - 1.7917) < 1e-6", "r2 = rect_energy([240,...
theo-eng-code-L2-code-006326
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 19, 0.25)", "assert abs(r0 - 19.25) < 1e-6", "r1 = rms_torque(86, 32, 0.25)", "assert abs(r1 - 51.16) < 1e-6", "r2 = rms_torque(88, 37, 0.75)", "assert abs(r2 - 78...
theo-eng-code-L2-code-010104
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 12500, 150)", "assert abs(r0[0] - 11.62) < 1e-6", "assert abs(r0[1] - 1075.4) < 1e-6", "r1 = gear_ratio(0.41, 4500, 180)", "assert abs(r1[0] - 3.86) < 1e-6", "a...
theo-eng-code-L3-code-012023
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(33, 4, 0.25)", "assert abs(r0 - 16.86) < 1e-6", "r1 = rms_torque(50, 39, 0.5)", "assert abs(r1 - 44.84) < 1e-6", "r2 = rms_torque(49, 14, 0.75)", "assert abs(r2 - 43.01)...
theo-eng-code-L1-code-010530
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_minmax", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-004480
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, 160, 560, 0.7)", "assert abs(r0[0] - 280.0) < 1e-6", "assert abs(r0[1] - 3.21) < 1e-6", "assert abs(r0[2] - 192.9) < 1e-6", "r1 = runtime(0.1, 30, 370, 0.3)", "ass...
theo-eng-code-L3-code-002183
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(64, 35, 0.25)", "assert abs(r0 - 44.08) < 1e-6", "r1 = rms_torque(97, 9, 0.5)", "assert abs(r1 - 68.88) < 1e-6", "r2 = rms_torque(7, 6, 0.75)", "assert abs(r2 - 6.76) < ...
theo-eng-code-L1-clarify-001278
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-L3-code-001901
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 29, 0.07, 0.04, 0.5, 0.7, 2)", "assert abs(r0[0] - 0.0522) < 1e-6", "assert abs(r0[1] - 0.6184) < 1e-6", "assert abs(r0[2] - -0.0738) < 1e-6", "r1 = com_zmp(8, 15, -0.01, 0...
theo-eng-code-L2-code-004476
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 3.7, 10)", "assert r0[0] == 54", "assert r0[1] == 11", "assert r0[2] == 594", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 21.978) < 1e-6", "r1 =...
theo-eng-code-L2-code-000419
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 27, -0.1, 0.07, 0.9, 0.6, 0)", "assert abs(r0[0] - 0.002) < 1e-6", "assert abs(r0[1] - 0.72) < 1e-6", "assert abs(r0[2] - 0.002) < 1e-6", "r1 = com_zmp(7, 22, 0.0, 0.06, ...
theo-eng-code-L2-code-013389
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(97, 1330, 80, 0.35, 2.6, 0.012, 0.7, 0.9, 0.95)", "assert abs(r0[0] - 648.8) < 1e-6", "assert abs(r0[1] - 14.2) < 1e-6", "assert abs(r0[2] - 11.36) < 1e-6", "r1 = erange(42,...
theo-eng-code-L3-code-010804
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(44, 31, 0.75)", "assert abs(r0 - 41.14) < 1e-6", "r1 = rms_torque(14, 13, 0.75)", "assert abs(r1 - 13.76) < 1e-6", "r2 = rms_torque(45, 34, 0.75)", "assert abs(r2 - 42.5...
theo-eng-code-L2-code-013002
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(14, 22, 0.03, 0.03, 0.7, 0.3, 0)", "assert abs(r0[0] - 0.03) < 1e-6", "assert abs(r0[1] - 0.4556) < 1e-6", "assert abs(r0[2] - 0.03) < 1e-6", "r1 = com_zmp(12, 17, 0.08, 0.03...
theo-eng-code-L2-code-005055
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 60, 380, 0.5)", "assert abs(r0[0] - 220.0) < 1e-6", "assert abs(r0[1] - 0.82) < 1e-6", "assert abs(r0[2] - 49.1) < 1e-6", "r1 = runtime(1.0, 280, 440, 0.5)", "as...
theo-eng-code-L3-code-005045
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(5, 11, 0.07, 0.03, 0.5, 0.3, 2)", "assert abs(r0[0] - 0.0425) < 1e-6", "assert abs(r0[1] - 0.3625) < 1e-6", "assert abs(r0[2] - -0.0314) < 1e-6", "r1 = com_zmp(16, 14, 0.02, -0...
theo-eng-code-L2-code-008620
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(12, 26, -0.1, 0.09, 0.4, 0.7, 2)", "assert abs(r0[0] - 0.03) < 1e-6", "assert abs(r0[1] - 0.6053) < 1e-6", "assert abs(r0[2] - -0.0934) < 1e-6", "r1 = com_zmp(6, 20, -0.01, 0...
theo-eng-code-L2-code-012848
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 29, -0.05, 0.13, 0.4, 0.4, 0)", "assert abs(r0[0] - 0.0714) < 1e-6", "assert abs(r0[1] - 0.4) < 1e-6", "assert abs(r0[2] - 0.0714) < 1e-6", "r1 = com_zmp(8, 23, 0.08, 0.0...
theo-eng-code-L2-code-008563
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.0, 0.5], [3.5, 2.5])", "assert abs(r0 - 3.2016) < 1e-6", "r1 = seg_len([4.0, 2.5], [0.5, 0.0])", "assert abs(r1 - 4.3012) < 1e-6", "r2 = seg_len([1.0, 1.0], [1.0, 0.5]...
theo-eng-code-L2-code-014626
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(40, 12, 0.25)", "assert abs(r0 - 22.54) < 1e-6", "r1 = rms_torque(71, 34, 0.75)", "assert abs(r1 - 63.79) < 1e-6", "r2 = rms_torque(72, 40, 0.25)", "assert abs(r2 - 49...
theo-eng-code-L3-code-010516
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": "2", "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", "r1 =...
theo-eng-code-L2-code-004795
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 15, -0.1, -0.01, 0.4, 0.7, 0.5)", "assert abs(r0[0] - -0.0438) < 1e-6", "assert abs(r0[1] - 0.5875) < 1e-6", "assert abs(r0[2] - -0.0737) < 1e-6", "r1 = com_zmp(12, 25, 0....
theo-eng-code-L2-code-011712
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(46, 4, 0.25)", "assert abs(r0 - 23.26) < 1e-6", "r1 = rms_torque(88, 34, 0.5)", "assert abs(r1 - 66.71) < 1e-6", "r2 = rms_torque(21, 16, 0.75)", "assert abs(r2 - 19.8...
theo-eng-code-L2-code-002334
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([31, 28, 22, 63, 16])", "assert r0[0] == 32", "assert abs(r0[1] - 18.262) < 1e-6", "r1 = summarise([23, 22, 99, 88, 11, 26])", "assert abs(r1[0] - 44.833) < 1e-6", ...
theo-eng-code-L2-code-011078
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 15, 0.02, 0.05, 0.4, 0.8, 2)", "assert abs(r0[0] - 0.0332) < 1e-6", "assert abs(r0[1] - 0.5765) < 1e-6", "assert abs(r0[2] - -0.0843) < 1e-6", "r1 = com_zmp(7, 14, -0.01,...
theo-eng-code-L2-code-013074
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(63, 2460, 80, 0.27, 2.7, 0.012, 1.4, 0.94, 0.9)", "assert abs(r0[0] - 337.0) < 1e-6", "assert abs(r0[1] - 16.82) < 1e-6", "assert abs(r0[2] - 13.46) < 1e-6", "r1 = erange(77...
theo-eng-code-L2-code-005300
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([48, 83, 33, 67, 83])", "assert abs(r0[0] - 62.8) < 1e-6", "assert abs(r0[1] - 22.027) < 1e-6", "r1 = summarise([47, 84, 87, 91, 53])", "assert abs(r1[0] - 72.4) < 1...
theo-eng-code-L2-code-006437
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.5, 4.0], [1.5, 0.0])", "assert abs(r0 - 4.0) < 1e-6", "r1 = seg_len([2.0, 2.0], [2.5, 4.0])", "assert abs(r1 - 2.0616) < 1e-6", "r2 = seg_len([0.0, 4.5], [5.0, 4.0])",...
theo-eng-code-L1-clarify-007831
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-015024
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 80, 3.6, 2.5)", "assert r0[0] == 83", "assert r0[1] == 108", "assert r0[2] == 8964", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 80.676) < 1e-6", "r1 ...
theo-eng-code-L2-code-006967
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 50, 0.1, 0.8)", "assert abs(r0[0] - 0.35) < 1e-6", "assert abs(r0[1] - 21.0) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_tim...
theo-eng-code-L1-refuse-002309
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-008060
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(32, 31, 0.25)", "assert abs(r0 - 31.25) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L3-code-003109
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 7, 0.1, 1.0)", "assert abs(r0[0] - 9.64) < 1e-6", "assert abs(r0[1] - 578.6) < 1e-6", "assert abs(r0[2] - 54.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(1...
theo-eng-code-L2-code-001606
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-code-007541
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_dictget", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-007552
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 1250, 100, 0.35, 2.2, 0.008, 0.6, 0.92, 0.95)", "assert abs(r0[0] - 652.9) < 1e-6", "assert abs(r0[1] - 14.55) < 1e-6", "assert abs(r0[2] - 14.55) < 1e-6", "r1 = erange...
theo-eng-code-L3-code-015711
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(12, 14, 0.09, -0.02, 0.5, 0.9, 0.5)", "assert abs(r0[0] - 0.0308) < 1e-6", "assert abs(r0[1] - 0.7154) < 1e-6", "assert abs(r0[2] - -0.0057) < 1e-6" ], "subtask": "write...
theo-eng-code-L3-code-008907
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 11, 0.1, 1.0)", "assert abs(r0[0] - 8.18) < 1e-6", "assert abs(r0[1] - 490.9) < 1e-6", "assert abs(r0[2] - 72.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_time...
theo-eng-code-L3-code-002138
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(89, 980, 100, 0.35, 2.5, 0.009, 1.2, 0.94, 0.85)", "assert abs(r0[0] - 473.5) < 1e-6", "assert abs(r0[1] - 15.98) < 1e-6", "assert abs(r0[2] - 15.98) < 1e-6", "r1 = erange(77,...
theo-eng-code-L2-code-009296
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(65, 27, 0.5)", "assert abs(r0 - 49.77) < 1e-6", "r1 = rms_torque(40, 5, 0.5)", "assert abs(r1 - 28.5) < 1e-6", "r2 = rms_torque(94, 16, 0.25)", "assert abs(r2 - 49.0) ...
theo-eng-code-L2-code-014636
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(97, 1980, 80, 0.23, 2.8, 0.011, 0.3, 0.94, 0.95)", "assert abs(r0[0] - 740.5) < 1e-6", "assert abs(r0[1] - 12.45) < 1e-6", "assert abs(r0[2] - 9.96) < 1e-6", "r1 = erange(82...
theo-eng-code-L3-code-003342
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(46, 26, 0.5)", "assert abs(r0 - 37.36) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L1-clarify-008934
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": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-009220
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "5", "style": "code", "source": "template", "tests": [ "r0 = seg_len([3.0, 4.5], [0.0, 4.5])", "assert abs(r0 - 3.0) < 1e-6", "r1 = seg_len([3.0, 1.5], [2.0, 3.5])", "assert abs(r1 - 2.2361) < 1e-6", "r2 = seg_len([2.0, 0.0], [3.5, 3.0])",...
theo-eng-code-L2-code-009477
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.41, 9500, 100)", "assert abs(r0[0] - 14.68) < 1e-6", "assert abs(r0[1] - 647.0) < 1e-6", "r1 = gear_ratio(0.39, 13000, 150)", "assert abs(r1[0] - 12.74) < 1e-6", "a...
theo-eng-code-L2-code-003443
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(54, 2510, 100, 0.22, 3.1, 0.011, 0.5, 0.9, 0.95)", "assert abs(r0[0] - 272.8) < 1e-6", "assert abs(r0[1] - 18.81) < 1e-6", "assert abs(r0[2] - 18.81) < 1e-6", "r1 = erange(8...
theo-eng-code-L3-code-012004
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": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.2, 0.26, 90, 3.5, 1.0)", "assert abs(r0[0] - 10.46) < 1e-6", "assert abs(r0[1] - 0.2636) < 1e-6", "assert abs(r0[2] - 10.72) < 1e-6", "r1 = joint_torque(2.2, 0.53, 90,...
theo-eng-code-L2-code-008734
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.5, 0.5], [1.0, 2.5])", "assert abs(r0 - 2.0616) < 1e-6", "r1 = seg_len([2.5, 1.0], [4.0, 4.0])", "assert abs(r1 - 3.3541) < 1e-6", "r2 = seg_len([0.0, 3.0], [4.5, 0.5]...
theo-eng-code-L2-code-003518
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 7500, 120)", "assert abs(r0[0] - 9.9) < 1e-6", "assert abs(r0[1] - 757.9) < 1e-6", "r1 = gear_ratio(0.26, 13000, 180)", "assert abs(r1[0] - 7.08) < 1e-6", "asse...
theo-eng-code-L2-code-004425
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 20, \"max_kw\": 250}')", "assert r1[0] == 20", ...
theo-eng-code-L2-code-007219
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 22, 0.02, 0.04, 0.6, 0.6, 0.5)", "assert abs(r0[0] - 0.0322) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - 0.0016) < 1e-6", "r1 = com_zmp(14, 17, -0.04, ...
theo-eng-code-L2-code-001794
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-001100
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.7, 2.5)", "assert r0[0] == 216", "assert r0[1] == 31", "assert r0[2] == 6696", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 61.938) < 1e-6", "r...
theo-eng-code-L2-code-000570
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 10, 3.2, 50)", "assert r0[0] == 125", "assert r0[1] == 1", "assert r0[2] == 125", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 20.0) < 1e-6", "r1 = p...
theo-eng-code-L2-code-005934
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 17, 0.06, -0.01, 0.7, 0.9, 0)", "assert abs(r0[0] - 0.026) < 1e-6", "assert abs(r0[1] - 0.7971) < 1e-6", "assert abs(r0[2] - 0.026) < 1e-6", "r1 = com_zmp(17, 27, -0.04, ...
theo-eng-code-L2-code-006372
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(24, 24, 0.5)", "assert abs(r0 - 24.0) < 1e-6", "r1 = rms_torque(91, 6, 0.5)", "assert abs(r1 - 64.49) < 1e-6", "r2 = rms_torque(29, 21, 0.75)", "assert abs(r2 - 27.22)...
theo-eng-code-L1-clarify-012868
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-006674
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.41, 5500, 180)", "assert abs(r0[0] - 4.72) < 1e-6", "assert abs(r0[1] - 1164.5) < 1e-6", "r1 = gear_ratio(0.39, 11000, 180)", "assert abs(r1[0] - 8.98) < 1e-6", "as...
theo-eng-code-L3-code-009769
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(74, 930, 120, 0.38, 2.4, 0.008, 0.5, 0.88, 0.95)", "assert abs(r0[0] - 315.1) < 1e-6", "assert abs(r0[1] - 22.31) < 1e-6", "assert abs(r0[2] - 26.77) < 1e-6", "r1 = erange(90,...
theo-eng-code-L3-code-011003
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(85, 2580, 80, 0.27, 3.1, 0.011, 1.2, 0.94, 0.9)", "assert abs(r0[0] - 444.5) < 1e-6", "assert abs(r0[1] - 17.21) < 1e-6", "assert abs(r0[2] - 13.77) < 1e-6", "r1 = erange(65, ...
theo-eng-code-L2-code-000835
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 10000, 180)", "assert abs(r0[0] - 9.01) < 1e-6", "assert abs(r0[1] - 1110.4) < 1e-6", "r1 = gear_ratio(0.4, 6000, 100)", "assert abs(r1[0] - 9.05) < 1e-6", "ass...
theo-eng-code-L3-code-007097
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.1, 0.36, 90, 2.5, 2.0)", "assert abs(r0[0] - 14.3) < 1e-6", "assert abs(r0[1] - 0.4579) < 1e-6", "assert abs(r0[2] - 15.22) < 1e-6", "r1 = joint_torque(4.5, 0.15, 60, ...
theo-eng-code-L1-clarify-004118
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-000899
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 12000, 150)", "assert abs(r0[0] - 13.27) < 1e-6", "assert abs(r0[1] - 904.3) < 1e-6", "r1 = gear_ratio(0.43, 5000, 150)", "assert abs(r1[0] - 5.4) < 1e-6", "ass...
theo-eng-code-L3-code-004088
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": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 11, 0.2, 1.0)", "assert abs(r0[0] - 3.64) < 1e-6", "assert abs(r0[1] - 218.2) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_time...
theo-eng-code-L1-clarify-010047
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-000983
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.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-L2-code-007874
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(63, 1350, 60, 0.32, 2.4, 0.008, 1.2, 0.88, 0.9)", "assert abs(r0[0] - 598.8) < 1e-6", "assert abs(r0[1] - 9.47) < 1e-6", "assert abs(r0[2] - 5.68) < 1e-6", "r1 = erange(75, ...
theo-eng-code-L3-code-012045
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": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 20, 3.2, 2.5)", "assert r0[0] == 156", "assert r0[1] == 17", "assert r0[2] == 2652", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 21.216) < 1e-6", "r1 ...
theo-eng-code-L3-code-008799
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(54, 32, 0.25)", "assert abs(r0 - 38.69) < 1e-6", "r1 = rms_torque(13, 7, 0.75)", "assert abs(r1 - 11.79) < 1e-6", "r2 = rms_torque(35, 3, 0.75)", "assert abs(r2 - 30.35)...
theo-eng-code-L3-code-000796
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.6, 0.11, 60, 2.0, 0.5)", "assert abs(r0[0] - 4.95) < 1e-6", "assert abs(r0[1] - 0.0508) < 1e-6", "assert abs(r0[2] - 4.98) < 1e-6", "r1 = joint_torque(4.2, 0.4, 45, 4....
theo-eng-code-L3-code-004264
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, 16, 0.02, 0.11, 0.6, 0.6, 0.5)", "assert abs(r0[0] - 0.0733) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - 0.0428) < 1e-6" ], "subtask": "writetests...
theo-eng-code-L2-code-008781
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.28, 4000, 120)", "assert abs(r0[0] - 3.52) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.4, 9500, 150)", "assert abs(r1[0] - 9.55) < 1e-6", "asse...
theo-eng-code-L2-code-003864
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 28, 0.09, -0.01, 0.4, 0.9, 2)", "assert abs(r0[0] - 0.01) < 1e-6", "assert abs(r0[1] - 0.8) < 1e-6", "assert abs(r0[2] - -0.1531) < 1e-6", "r1 = com_zmp(19, 18, 0.02, 0.11...
theo-eng-code-L2-code-013571
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, [0, 25, 50, 75, 100], [0.79, 0.8, 0.89, 0.9, 0.84])", "assert abs(r0 - 0.888) < 1e-6", "r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.74, 0.83, 0.87, 0.87, 0.85])", "as...