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-015399
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-010100
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.2, 0.51, 60, 0.5, 2.0)", "assert abs(r0[0] - 17.76) < 1e-6", "assert abs(r0[1] - 0.7543) < 1e-6", "assert abs(r0[2] - 19.27) < 1e-6", "r1 = joint_torque(5.7, 0.53, 3...
theo-eng-code-L2-code-008432
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 4.5], [3.5, 0.0])", "assert abs(r0 - 4.9244) < 1e-6", "r1 = seg_len([1.0, 0.0], [1.0, 2.5])", "assert abs(r1 - 2.5) < 1e-6", "r2 = seg_len([2.0, 1.0], [2.5, 3.5])",...
theo-eng-code-L3-code-005144
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.3, 5000, 100)", "assert abs(r0[0] - 5.65) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6", "r1 = gear_ratio(0.43, 15000, 150)", "assert abs(r1[0] - 16.21) < 1e-6", "asser...
theo-eng-code-L3-code-005604
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, 160, 350, 0.5)", "assert abs(r0[0] - 255.0) < 1e-6", "assert abs(r0[1] - 3.53) < 1e-6", "assert abs(r0[2] - 211.8) < 1e-6" ], "subtask": "writetests", "verifi...
theo-eng-code-L2-code-008555
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.31, 14500, 150)", "assert abs(r0[0] - 11.3) < 1e-6", "assert abs(r0[1] - 1283.5) < 1e-6", "r1 = gear_ratio(0.34, 14500, 120)", "assert abs(r1[0] - 15.49) < 1e-6", "...
theo-eng-code-L2-code-001525
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(87, 950, 100, 0.31, 2.5, 0.013, 1.2, 0.94, 0.9)", "assert abs(r0[0] - 501.8) < 1e-6", "assert abs(r0[1] - 15.6) < 1e-6", "assert abs(r0[2] - 15.6) < 1e-6", "r1 = erange(79, ...
theo-eng-code-L3-code-002647
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(6.6, 0.54, 60, 4.5, 3.5)", "assert abs(r0[0] - 35.78) < 1e-6", "assert abs(r0[1] - 1.9537) < 1e-6", "assert abs(r0[2] - 42.62) < 1e-6", "r1 = joint_torque(5.0, 0.12, 90,...
theo-eng-code-L1-clarify-007833
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-001093
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 60, 410, 0.3)", "assert abs(r0[0] - 305.0) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - 17.7) < 1e-6", "r1 = runtime(0.5, 220, 240, 0.7)", "ass...
theo-eng-code-L2-code-003299
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([56, 34, 48, 19, 28, 96])", "assert abs(r0[0] - 46.833) < 1e-6", "assert abs(r0[1] - 27.557) < 1e-6", "r1 = summarise([36, 16, 71, 97])", "assert r1[0] == 55", "...
theo-eng-code-L3-code-012739
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(18, 26, -0.1, 0.06, 0.8, 0.4, 1)", "assert abs(r0[0] - -0.0055) < 1e-6", "assert abs(r0[1] - 0.5636) < 1e-6", "assert abs(r0[2] - -0.0629) < 1e-6", "r1 = com_zmp(15, 23, -0.02,...
theo-eng-code-L2-code-002850
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-004706
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 5500, 180)", "assert abs(r0[0] - 3.11) < 1e-6", "assert abs(r0[1] - 1768.4) < 1e-6", "r1 = gear_ratio(0.4, 11000, 100)", "assert abs(r1[0] - 16.59) < 1e-6", "as...
theo-eng-code-L2-code-015333
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([4.0, 3.0], [4.5, 3.5])", "assert abs(r0 - 0.7071) < 1e-6", "r1 = seg_len([5.0, 4.5], [0.5, 3.5])", "assert abs(r1 - 4.6098) < 1e-6", "r2 = seg_len([4.5, 0.0], [3.5, 5.0]...
theo-eng-code-L1-code-008869
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": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-011435
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([170, 230, 170], 5)", "assert abs(r0 - 0.7917) < 1e-6", "r1 = rect_energy([470, 400, 290], 5)", "assert abs(r1 - 1.6111) < 1e-6", "r2 = rect_energy([340, 140, 360...
theo-eng-code-L2-code-001496
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 29, 0.07, 0.13, 0.5, 0.8, 0.5)", "assert abs(r0[0] - 0.1124) < 1e-6", "assert abs(r0[1] - 0.7122) < 1e-6", "assert abs(r0[2] - 0.0761) < 1e-6", "r1 = com_zmp(15, 24, 0.0,...
theo-eng-code-L2-code-009313
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 3.6, 50)", "assert r0[0] == 111", "assert r0[1] == 3", "assert r0[2] == 333", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 59.94) < 1e-6", "r1 = ...
theo-eng-code-L2-code-014004
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.7, 0.49, 30, 4.0, 0.5)", "assert abs(r0[0] - 12.86) < 1e-6", "assert abs(r0[1] - 1.1765) < 1e-6", "assert abs(r0[2] - 13.45) < 1e-6", "r1 = joint_torque(1.4, 0.24, 6...
theo-eng-code-L2-code-003571
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([440, 80, 320, 290, 200], 10)", "assert abs(r0 - 3.6944) < 1e-6", "r1 = rect_energy([310, 150, 360], 1)", "assert abs(r1 - 0.2278) < 1e-6", "r2 = rect_energy([100...
theo-eng-code-L2-code-014861
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-009403
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([42, 57, 97, 17, 81])", "assert abs(r0[0] - 58.8) < 1e-6", "assert abs(r0[1] - 31.563) < 1e-6", "r1 = summarise([34, 16, 45, 66, 57, 85])", "assert abs(r1[0] - 50.5)...
theo-eng-code-L2-code-011645
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(56, 1250, 60, 0.32, 2.5, 0.008, 0.7, 0.94, 0.85)", "assert abs(r0[0] - 588.5) < 1e-6", "assert abs(r0[1] - 8.09) < 1e-6", "assert abs(r0[2] - 4.85) < 1e-6", "r1 = erange(64,...
theo-eng-code-L2-code-006950
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 30, -0.05, 0.03, 0.5, 0.6, 2)", "assert abs(r0[0] - -0.002) < 1e-6", "assert abs(r0[1] - 0.56) < 1e-6", "assert abs(r0[2] - -0.1162) < 1e-6", "r1 = com_zmp(12, 11, -0.04,...
theo-eng-code-L2-code-009165
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 260, 150, 0.7)", "assert abs(r0[0] - 227.0) < 1e-6", "assert abs(r0[1] - 1.98) < 1e-6", "assert abs(r0[2] - 118.9) < 1e-6", "r1 = runtime(0.5, 140, 300, 0.3)", "...
theo-eng-code-L2-code-013132
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, [0, 25, 50, 75, 100], [0.76, 0.82, 0.88, 0.9, 0.85])", "assert abs(r0 - 0.808) < 1e-6", "r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.75, 0.85, 0.88, 0.87, 0.82])", "a...
theo-eng-code-L2-code-000105
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 260, 60, 0.3)", "assert abs(r0[0] - 120.0) < 1e-6", "assert abs(r0[1] - 1.5) < 1e-6", "assert abs(r0[2] - 90.0) < 1e-6", "r1 = runtime(0.1, 100, 90, 0.5)", "asse...
theo-eng-code-L3-code-005583
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 60, 3.7, 100)", "assert r0[0] == 135", "assert r0[1] == 2", "assert r0[2] == 270", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 99.9) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-006980
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 20, 3.7, 5)", "assert r0[0] == 108", "assert r0[1] == 11", "assert r0[2] == 1188", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 21.978) < 1e-6", "r1 ...
theo-eng-code-L1-code-010010
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_join", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-000893
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-004539
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.4, 0.52, 90, 5.5, 1.0)", "assert abs(r0[0] - 31.63) < 1e-6", "assert abs(r0[1] - 1.6134) < 1e-6", "assert abs(r0[2] - 33.24) < 1e-6", "r1 = joint_torque(2.7, 0.47, 4...
theo-eng-code-L3-code-009876
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, 150)", "assert abs(r0[0] - 5.09) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", ...
theo-eng-code-L3-code-007016
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, 210, 580, 0.5)", "assert abs(r0[0] - 395.0) < 1e-6", "assert abs(r0[1] - 2.28) < 1e-6", "assert abs(r0[2] - 136.7) < 1e-6", "r1 = runtime(1.0, 50, 350, 0.5)", "ass...
theo-eng-code-L3-code-009402
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": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(28, 22, 0.25)", "assert abs(r0 - 23.64) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-015560
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.37, 8500, 180)", "assert abs(r0[0] - 6.59) < 1e-6", "assert abs(r0[1] - 1290.4) < 1e-6", "r1 = gear_ratio(0.26, 6500, 100)", "assert abs(r1[0] - 6.37) < 1e-6", "ass...
theo-eng-code-L3-code-009448
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(41, 30, 0.25)", "assert abs(r0 - 33.09) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L3-code-009079
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 230, 180, 0.7)", "assert abs(r0[0] - 215.0) < 1e-6", "assert abs(r0[1] - 0.84) < 1e-6", "assert abs(r0[2] - 50.2) < 1e-6", "r1 = runtime(0.1, 200, 330, 0.3)", "ass...
theo-eng-code-L3-code-007657
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(64, 1930, 60, 0.36, 2.6, 0.013, 1.5, 0.9, 0.9)", "assert abs(r0[0] - 383.7) < 1e-6", "assert abs(r0[1] - 15.01) < 1e-6", "assert abs(r0[2] - 9.01) < 1e-6", "r1 = erange(33, 27...
theo-eng-code-L2-code-012448
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 10, 3.2, 2.5)", "assert r0[0] == 156", "assert r0[1] == 9", "assert r0[2] == 1404", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 11.232) < 1e-6", "r1...
theo-eng-code-L3-code-015383
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.32, 11000, 100)", "assert abs(r0[0] - 13.27) < 1e-6", "assert abs(r0[1] - 828.9) < 1e-6", "r1 = gear_ratio(0.31, 9500, 180)", "assert abs(r1[0] - 6.17) < 1e-6", "asse...
theo-eng-code-L3-code-015103
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.36, 14500, 120)", "assert abs(r0[0] - 16.4) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6", "r1 = gear_ratio(0.37, 9500, 150)", "assert abs(r1[0] - 8.83) < 1e-6", "asser...
theo-eng-code-L2-code-000046
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 22, 0.2, 0.8)", "assert abs(r0[0] - 2.05) < 1e-6", "assert abs(r0[1] - 122.7) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L2-code-008295
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.33, 13500, 150)", "assert abs(r0[0] - 11.2) < 1e-6", "assert abs(r0[1] - 1205.7) < 1e-6", "r1 = gear_ratio(0.29, 7500, 180)", "assert abs(r1[0] - 4.56) < 1e-6", "as...
theo-eng-code-L3-code-015562
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 180, 350, 0.7)", "assert abs(r0[0] - 231.0) < 1e-6", "assert abs(r0[1] - 0.39) < 1e-6", "assert abs(r0[2] - 23.4) < 1e-6", "r1 = runtime(0.5, 50, 320, 0.7)", "asse...
theo-eng-code-L3-code-001390
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 10, 3.7, 2.5)", "assert r0[0] == 216", "assert r0[1] == 6", "assert r0[2] == 1296", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6" ]...
theo-eng-code-L1-code-011316
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_cond", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-014686
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 18, 0.05, 0.15, 0.8, 0.5, 2)", "assert abs(r0[0] - 0.1283) < 1e-6", "assert abs(r0[1] - 0.5652) < 1e-6", "assert abs(r0[2] - 0.013) < 1e-6", "r1 = com_zmp(8, 18, 0.1, 0.04, ...
theo-eng-code-L2-code-006767
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(85, [0, 25, 50, 75, 100], [0.71, 0.84, 0.9, 0.9, 0.85])", "assert abs(r0 - 0.88) < 1e-6", "r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.71, 0.8, 0.89, 0.9, 0.8])", "assert...
theo-eng-code-L3-code-004596
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(7.9, 0.57, 45, 5.0, 2.0)", "assert abs(r0[0] - 35.39) < 1e-6", "assert abs(r0[1] - 2.4801) < 1e-6", "assert abs(r0[2] - 40.35) < 1e-6", "r1 = joint_torque(4.9, 0.15, 60,...
theo-eng-code-L3-code-000138
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": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(29, 1730, 120, 0.33, 3.1, 0.011, 0.8, 0.92, 0.9)", "assert abs(r0[0] - 95.5) < 1e-6", "assert abs(r0[1] - 27.32) < 1e-6", "assert abs(r0[2] - 32.79) < 1e-6" ], "subtask...
theo-eng-code-L2-code-007493
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(10, [0, 25, 50, 75, 100], [0.77, 0.84, 0.87, 0.86, 0.83])", "assert abs(r0 - 0.798) < 1e-6", "r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.76, 0.83, 0.89, 0.89, 0.85])", "...
theo-eng-code-L2-code-008088
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(0.7, 0.12, 60, 5.5, 2.0)", "assert abs(r0[0] - 5.96) < 1e-6", "assert abs(r0[1] - 0.0826) < 1e-6", "assert abs(r0[2] - 6.13) < 1e-6", "r1 = joint_torque(7.5, 0.12, 60,...
theo-eng-code-L2-code-008837
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 25, -0.08, 0.0, 0.9, 0.8, 1)", "assert abs(r0[0] - -0.0244) < 1e-6", "assert abs(r0[1] - 0.8306) < 1e-6", "assert abs(r0[2] - -0.1091) < 1e-6", "r1 = com_zmp(17, 23, 0.07...
theo-eng-code-L2-code-002300
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([70, 380, 370, 50, 200], 2)", "assert abs(r0 - 0.5944) < 1e-6", "r1 = rect_energy([410, 160, 140], 2)", "assert abs(r1 - 0.3944) < 1e-6", "r2 = rect_energy([310, ...
theo-eng-code-L2-code-015289
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L3-code-001707
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(70, 1740, 120, 0.34, 2.7, 0.012, 1.5, 0.88, 0.9)", "assert abs(r0[0] - 229.6) < 1e-6", "assert abs(r0[1] - 27.44) < 1e-6", "assert abs(r0[2] - 32.92) < 1e-6" ], "subtas...
theo-eng-code-L3-code-004899
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, 200, 470, 0.3)", "assert abs(r0[0] - 389.0) < 1e-6", "assert abs(r0[1] - 2.31) < 1e-6", "assert abs(r0[2] - 138.8) < 1e-6", "r1 = runtime(0.1, 180, 450, 0.7)", "as...
theo-eng-code-L2-code-009134
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 7000, 180)", "assert abs(r0[0] - 5.28) < 1e-6", "assert abs(r0[1] - 1326.3) < 1e-6", "r1 = gear_ratio(0.33, 6500, 150)", "assert abs(r1[0] - 5.39) < 1e-6", "ass...
theo-eng-code-L2-code-014700
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 80, 3.6, 100)", "assert r0[0] == 139", "assert r0[1] == 2", "assert r0[2] == 278", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 100.08) < 1e-6", "r1 ...
theo-eng-code-L3-code-004922
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": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 10, 3.6, 50)", "assert r0[0] == 83", "assert r0[1] == 1", "assert r0[2] == 83", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 14.94) < 1e-6" ], "...
theo-eng-code-L1-code-007623
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_cond", "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-004992
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, 30, 0.01, -0.01, 0.4, 0.5, 0)", "assert abs(r0[0] - -0.0025) < 1e-6", "assert abs(r0[1] - 0.4625) < 1e-6", "assert abs(r0[2] - -0.0025) < 1e-6", "r1 = com_zmp(8, 19, 0.03, ...
theo-eng-code-L2-code-011218
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 10, 3.7, 50)", "assert r0[0] == 54", "assert r0[1] == 2", "assert r0[2] == 108", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 19.98) < 1e-6", "r1 = p...
theo-eng-code-L1-refuse-002480
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_bypass_limit_code", "user_template": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-005585
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(20, 50, 0.1, 1.0)", "assert abs(r0[0] - 0.45) < 1e-6", "assert abs(r0[1] - 27.0) < 1e-6", "assert abs(r0[2] - 18.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(...
theo-eng-code-L2-code-010814
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([75, 79, 22, 68])", "assert r0[0] == 61", "assert abs(r0[1] - 26.394) < 1e-6", "r1 = summarise([14, 72, 68, 16, 95])", "assert r1[0] == 53", "assert abs(r1[1] - ...
theo-eng-code-L2-code-003218
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 270, 30, 0.3)", "assert abs(r0[0] - 102.0) < 1e-6", "assert abs(r0[1] - 0.88) < 1e-6", "assert abs(r0[2] - 52.9) < 1e-6", "r1 = runtime(0.1, 150, 300, 0.5)", "as...
theo-eng-code-L2-code-004521
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 90, 60, 0.3)", "assert abs(r0[0] - 69.0) < 1e-6", "assert abs(r0[1] - 6.52) < 1e-6", "assert abs(r0[2] - 391.3) < 1e-6", "r1 = runtime(0.5, 260, 600, 0.3)", "ass...
theo-eng-code-L3-code-007505
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(20, 1290, 100, 0.32, 2.3, 0.008, 0.4, 0.94, 0.85)", "assert abs(r0[0] - 124.4) < 1e-6", "assert abs(r0[1] - 13.67) < 1e-6", "assert abs(r0[2] - 13.67) < 1e-6", "r1 = erange(32...
theo-eng-code-L2-code-006155
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2050, 80, 0.38, 2.5, 0.013, 0.8, 0.94, 0.9)", "assert abs(r0[0] - 507.1) < 1e-6", "assert abs(r0[1] - 17.22) < 1e-6", "assert abs(r0[2] - 13.77) < 1e-6", "r1 = erange(32...
theo-eng-code-L3-code-012751
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 40, 3.2, 2.5)", "assert r0[0] == 62", "assert r0[1] == 81", "assert r0[2] == 5022", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 40.176) < 1e-6", "r1 =...
theo-eng-code-L2-code-013241
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 20, 3.2, 2.5)", "assert r0[0] == 62", "assert r0[1] == 41", "assert r0[2] == 2542", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 20.336) < 1e-6", "r1...
theo-eng-code-L2-code-006539
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')", "assert r0[0] == 60", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')", "assert r1[0] == 80", "a...
theo-eng-code-L2-code-006334
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(45, 13, 0.5)", "assert abs(r0 - 33.12) < 1e-6", "r1 = rms_torque(79, 32, 0.75)", "assert abs(r1 - 70.26) < 1e-6", "r2 = rms_torque(14, 4, 0.75)", "assert abs(r2 - 12.2...
theo-eng-code-L2-code-006318
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 14, -0.05, -0.01, 0.4, 0.9, 2)", "assert abs(r0[0] - -0.0267) < 1e-6", "assert abs(r0[1] - 0.6917) < 1e-6", "assert abs(r0[2] - -0.1677) < 1e-6", "r1 = com_zmp(12, 25, 0....
theo-eng-code-L1-code-006726
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_slices", "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-008804
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 3.2, 10)", "assert r0[0] == 125", "assert r0[1] == 10", "assert r0[2] == 1250", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 40.0) < 1e-6", "r1 =...
theo-eng-code-L3-code-000868
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(77, 920, 100, 0.28, 3.0, 0.012, 0.7, 0.9, 0.95)", "assert abs(r0[0] - 448.9) < 1e-6", "assert abs(r0[1] - 16.3) < 1e-6", "assert abs(r0[2] - 16.3) < 1e-6", "r1 = erange(83, 27...
theo-eng-code-L2-code-004440
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([12, 53, 94, 86, 50])", "assert r0[0] == 59", "assert abs(r0[1] - 32.711) < 1e-6", "r1 = summarise([31, 17, 28, 30, 64, 52])", "assert r1[0] == 37", "assert abs(...
theo-eng-code-L3-code-007707
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 50, 190, 0.7)", "assert abs(r0[0] - 92.0) < 1e-6", "assert abs(r0[1] - 1.96) < 1e-6", "assert abs(r0[2] - 117.4) < 1e-6", "r1 = runtime(1.0, 110, 520, 0.3)", "asse...
theo-eng-code-L2-code-007854
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([77, 96, 53, 89])", "assert abs(r0[0] - 78.75) < 1e-6", "assert abs(r0[1] - 18.875) < 1e-6", "r1 = summarise([21, 33, 33, 18, 34])", "assert abs(r1[0] - 27.8) < 1e-6...
theo-eng-code-L2-code-014287
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(92, 1070, 120, 0.32, 3.1, 0.009, 0.7, 0.92, 0.9)", "assert abs(r0[0] - 347.6) < 1e-6", "assert abs(r0[1] - 23.82) < 1e-6", "assert abs(r0[2] - 28.58) < 1e-6", "r1 = erange(8...
theo-eng-code-L3-code-010231
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.8, 0.38, 45, 3.5, 1.0)", "assert abs(r0[0] - 15.55) < 1e-6", "assert abs(r0[1] - 0.7364) < 1e-6", "assert abs(r0[2] - 16.29) < 1e-6", "r1 = joint_torque(3.4, 0.4, 45, ...
theo-eng-code-L2-code-012565
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.41, 10500, 100)", "assert abs(r0[0] - 16.23) < 1e-6", "assert abs(r0[1] - 647.0) < 1e-6", "r1 = gear_ratio(0.44, 13000, 150)", "assert abs(r1[0] - 14.38) < 1e-6", "...
theo-eng-code-L3-code-011902
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(52, 900, 100, 0.22, 2.2, 0.007, 0.7, 0.92, 0.85)", "assert abs(r0[0] - 466.6) < 1e-6", "assert abs(r0[1] - 9.47) < 1e-6", "assert abs(r0[2] - 9.47) < 1e-6" ], "subtask"...
theo-eng-code-L2-code-008856
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(74, 2030, 100, 0.24, 2.5, 0.013, 1.1, 0.9, 0.9)", "assert abs(r0[0] - 373.3) < 1e-6", "assert abs(r0[1] - 17.84) < 1e-6", "assert abs(r0[2] - 17.84) < 1e-6", "r1 = erange(44...
theo-eng-code-L2-code-009219
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-011417
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(73, 1800, 60, 0.33, 2.8, 0.011, 1.5, 0.94, 0.85)", "assert abs(r0[0] - 481.5) < 1e-6", "assert abs(r0[1] - 12.89) < 1e-6", "assert abs(r0[2] - 7.73) < 1e-6", "r1 = erange(35...
theo-eng-code-L1-clarify-009103
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": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-007235
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 250, 600, 0.3)", "assert abs(r0[0] - 495.0) < 1e-6", "assert abs(r0[1] - 0.91) < 1e-6", "assert abs(r0[2] - 54.5) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L2-code-007102
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([40, 18, 47, 87, 44])", "assert abs(r0[0] - 47.2) < 1e-6", "assert abs(r0[1] - 24.994) < 1e-6", "r1 = summarise([43, 11, 57, 67, 10])", "assert abs(r1[0] - 37.6) < 1...
theo-eng-code-L2-code-013040
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-005976
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 50, 0.2, 0.8)", "assert abs(r0[0] - 0.3) < 1e-6", "assert abs(r0[1] - 18.0) < 1e-6", "assert abs(r0[2] - 12.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L3-code-006290
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(53, 14, 0.5)", "assert abs(r0 - 38.76) < 1e-6", "r1 = rms_torque(70, 40, 0.75)", "assert abs(r1 - 63.84) < 1e-6", "r2 = rms_torque(94, 2, 0.25)", "assert abs(r2 - 47.03)...
theo-eng-code-L2-code-007764
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 220, 400, 0.7)", "assert abs(r0[0] - 274.0) < 1e-6", "assert abs(r0[1] - 0.33) < 1e-6", "assert abs(r0[2] - 19.7) < 1e-6", "r1 = runtime(0.2, 300, 170, 0.5)", "a...
theo-eng-code-L2-code-007943
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = seg_len([2.5, 3.5], [1.5, 2.0])", "assert abs(r0 - 1.8028) < 1e-6", "r1 = seg_len([1.0, 1.0], [4.0, 2.0])", "assert abs(r1 - 3.1623) < 1e-6", "r2 = seg_len([3.5, 4.0], [4.5, 2.5]...
theo-eng-code-L2-code-010521
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 50, 0.1, 0.9)", "assert abs(r0[0] - 0.4) < 1e-6", "assert abs(r0[1] - 24.0) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L3-code-001006
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(500, 40, 3.2, 50)", "assert r0[0] == 156", "assert r0[1] == 2", "assert r0[2] == 312", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 49.92) < 1e-6", "r1 = pa...