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-010546
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 16, 0.05, -0.02, 0.9, 0.5, 0)", "assert abs(r0[0] - 0.0069) < 1e-6", "assert abs(r0[1] - 0.6538) < 1e-6", "assert abs(r0[2] - 0.0069) < 1e-6", "r1 = com_zmp(10, 14, 0.05,...
theo-eng-code-L3-code-016015
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.25, 5500, 120)", "assert abs(r0[0] - 4.32) < 1e-6", "assert abs(r0[1] - 1273.2) < 1e-6", "r1 = gear_ratio(0.39, 11000, 120)", "assert abs(r1[0] - 13.48) < 1e-6", "ass...
theo-eng-code-L2-code-001174
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-006656
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.4, 0.27, 90, 5.5, 1.5)", "assert abs(r0[0] - 23.04) < 1e-6", "assert abs(r0[1] - 0.5565) < 1e-6", "assert abs(r0[2] - 23.88) < 1e-6", "r1 = joint_torque(4.6, 0.26, 3...
theo-eng-code-L2-code-006338
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(21, 1100, 100, 0.33, 3.0, 0.009, 1.3, 0.92, 0.85)", "assert abs(r0[0] - 97.2) < 1e-6", "assert abs(r0[1] - 18.36) < 1e-6", "assert abs(r0[2] - 18.36) < 1e-6", "r1 = erange(5...
theo-eng-code-L2-code-013728
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(13, 21, 0.1, 0.02, 0.9, 0.3, 2)", "assert abs(r0[0] - 0.0506) < 1e-6", "assert abs(r0[1] - 0.5294) < 1e-6", "assert abs(r0[2] - -0.0573) < 1e-6", "r1 = com_zmp(10, 10, 0.09, ...
theo-eng-code-L3-code-010497
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.2, 10)", "assert r0[0] == 62", "assert r0[1] == 6", "assert r0[2] == 372", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 11.904) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-011434
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 7, 0.1, 0.9)", "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...
theo-eng-code-L2-code-014877
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 40, 3.6, 50)", "assert r0[0] == 139", "assert r0[1] == 2", "assert r0[2] == 278", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 50.04) < 1e-6", "r1 = ...
theo-eng-code-L2-code-008744
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.39, 6000, 120)", "assert abs(r0[0] - 7.35) < 1e-6", "assert abs(r0[1] - 816.2) < 1e-6", "r1 = gear_ratio(0.44, 14000, 150)", "assert abs(r1[0] - 15.48) < 1e-6", "as...
theo-eng-code-L2-code-001292
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 29, -0.06, -0.01, 0.3, 0.5, 1)", "assert abs(r0[0] - -0.0218) < 1e-6", "assert abs(r0[1] - 0.4526) < 1e-6", "assert abs(r0[2] - -0.068) < 1e-6", "r1 = com_zmp(17, 24, -0.0...
theo-eng-code-L2-code-010858
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.2, 1.0)", "assert abs(r0[0] - 0.91) < 1e-6", "assert abs(r0[1] - 54.5) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L2-code-004291
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.0, 1.0], [3.5, 4.0])", "assert abs(r0 - 3.0414) < 1e-6", "r1 = seg_len([4.0, 1.0], [1.0, 0.0])", "assert abs(r1 - 3.1623) < 1e-6", "r2 = seg_len([1.5, 3.0], [3.0, 4.0]...
theo-eng-code-L1-refuse-000610
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_kill_audit", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-009783
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(400, 10, 3.7, 5)", "assert r0[0] == 108", "assert r0[1] == 6", "assert r0[2] == 648", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6", "r1 = pa...
theo-eng-code-L3-code-002265
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(100, 7, 0.2, 0.8)", "assert abs(r0[0] - 10.71) < 1e-6", "assert abs(r0[1] - 642.9) < 1e-6", "assert abs(r0[2] - 60.0) < 1e-6", "assert r0[3] == 7" ], "subtask...
theo-eng-code-L3-code-002679
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(500, 10, 3.2, 100)", "assert r0[0] == 156", "assert r0[1] == 1", "assert r0[2] == 156", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 49.92) < 1e-6", "r1 = p...
theo-eng-code-L3-code-005875
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(400, 40, 3.6, 100)", "assert r0[0] == 111", "assert r0[1] == 2", "assert r0[2] == 222", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6", "r1 = p...
theo-eng-code-L3-code-008733
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(19, 10, -0.06, 0.06, 0.4, 0.9, 1)", "assert abs(r0[0] - -0.0186) < 1e-6", "assert abs(r0[1] - 0.5724) < 1e-6", "assert abs(r0[2] - -0.077) < 1e-6", "r1 = com_zmp(13, 27, 0.02, ...
theo-eng-code-L2-code-008156
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-005156
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.36, 9500, 180)", "assert abs(r0[0] - 7.16) < 1e-6", "assert abs(r0[1] - 1326.3) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-002754
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.5, 1.5], [0.0, 3.0])", "assert abs(r0 - 2.9155) < 1e-6", "r1 = seg_len([1.0, 0.0], [1.0, 2.0])", "assert abs(r1 - 2.0) < 1e-6", "r2 = seg_len([5.0, 1.5], [2.5, 1.5])",...
theo-eng-code-L3-code-012344
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(22, 2140, 60, 0.26, 2.6, 0.012, 1.2, 0.88, 0.95)", "assert abs(r0[0] - 153.9) < 1e-6", "assert abs(r0[1] - 13.58) < 1e-6", "assert abs(r0[2] - 8.15) < 1e-6" ], "subtask...
theo-eng-code-L2-code-009375
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.35, 6000, 180)", "assert abs(r0[0] - 4.4) < 1e-6", "assert abs(r0[1] - 1364.2) < 1e-6", "r1 = gear_ratio(0.35, 4000, 120)", "assert abs(r1[0] - 4.4) < 1e-6", "asser...
theo-eng-code-L1-code-013989
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-L2-code-006434
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.38, 5000, 180)", "assert abs(r0[0] - 3.98) < 1e-6", "assert abs(r0[1] - 1256.5) < 1e-6", "r1 = gear_ratio(0.45, 8000, 150)", "assert abs(r1[0] - 9.05) < 1e-6", "ass...
theo-eng-code-L2-code-012922
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([71, 50, 70, 56, 34, 44])", "assert abs(r0[0] - 54.167) < 1e-6", "assert abs(r0[1] - 14.593) < 1e-6", "r1 = summarise([98, 74, 73, 54, 50, 35])", "assert r1[0] == 64...
theo-eng-code-L3-code-003165
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(5, 19, 0.0, 0.04, 0.4, 0.3, 2)", "assert abs(r0[0] - 0.0317) < 1e-6", "assert abs(r0[1] - 0.3208) < 1e-6", "assert abs(r0[2] - -0.0337) < 1e-6", "r1 = com_zmp(18, 21, 0.04, 0.0...
theo-eng-code-L2-code-012472
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-007225
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 60, 3.6, 2.5)", "assert r0[0] == 139", "assert r0[1] == 48", "assert r0[2] == 6672", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 60.048) < 1e-6", "r...
theo-eng-code-L2-code-009907
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([450, 360, 380, 70], 10)", "assert abs(r0 - 3.5) < 1e-6", "r1 = rect_energy([400, 420, 420, 440], 1)", "assert abs(r1 - 0.4667) < 1e-6", "r2 = rect_energy([310, 4...
theo-eng-code-L3-code-008422
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(7, 24, 0.01, 0.02, 0.6, 0.4, 0)", "assert abs(r0[0] - 0.0177) < 1e-6", "assert abs(r0[1] - 0.4452) < 1e-6", "assert abs(r0[2] - 0.0177) < 1e-6", "r1 = com_zmp(12, 25, 0.02, 0.0...
theo-eng-code-L2-code-013458
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(45, [0, 25, 50, 75, 100], [0.78, 0.85, 0.87, 0.89, 0.83])", "assert abs(r0 - 0.866) < 1e-6", "r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.8, 0.83, 0.85, 0.85, 0.81])", "a...
theo-eng-code-L2-code-000965
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([260, 120, 380, 140, 220], 5)", "assert abs(r0 - 1.5556) < 1e-6", "r1 = rect_energy([80, 260, 360, 320], 2)", "assert abs(r1 - 0.5667) < 1e-6", "r2 = rect_energy(...
theo-eng-code-L2-code-015840
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([480, 280, 340, 170, 180], 5)", "assert abs(r0 - 2.0139) < 1e-6", "r1 = rect_energy([260, 290, 470], 1)", "assert abs(r1 - 0.2833) < 1e-6", "r2 = rect_energy([260...
theo-eng-code-L3-code-006942
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(500, 10, 3.2, 5)", "assert r0[0] == 156", "assert r0[1] == 5", "assert r0[2] == 780", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 12.48) < 1e-6", "r1 = pac...
theo-eng-code-L1-code-014501
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": "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-010483
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(20, 11, 0.2, 1.0)", "assert abs(r0[0] - 1.82) < 1e-6", "assert abs(r0[1] - 109.1) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_time...
theo-eng-code-L3-code-010003
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.42, 14500, 120)", "assert abs(r0[0] - 19.13) < 1e-6", "assert abs(r0[1] - 757.9) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L2-code-002098
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.33, 7000, 100)", "assert abs(r0[0] - 8.71) < 1e-6", "assert abs(r0[1] - 803.8) < 1e-6", "r1 = gear_ratio(0.28, 12000, 150)", "assert abs(r1[0] - 8.44) < 1e-6", "ass...
theo-eng-code-L2-code-013498
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-012037
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 24, -0.06, 0.1, 0.3, 0.5, 0.5)", "assert abs(r0[0] - 0.0564) < 1e-6", "assert abs(r0[1] - 0.4455) < 1e-6", "assert abs(r0[2] - 0.0337) < 1e-6", "r1 = com_zmp(6, 26, -0.07,...
theo-eng-code-L3-code-000538
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(6.7, 0.14, 45, 2.0, 1.0)", "assert abs(r0[0] - 5.2) < 1e-6", "assert abs(r0[1] - 0.083) < 1e-6", "assert abs(r0[2] - 5.28) < 1e-6", "r1 = joint_torque(6.0, 0.11, 30, 5.5...
theo-eng-code-L3-code-008737
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(500, 60, 3.2, 10)", "assert r0[0] == 156", "assert r0[1] == 13", "assert r0[2] == 2028", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 64.896) < 1e-6" ]...
theo-eng-code-L2-code-011609
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.72, 0.81, 0.86, 0.9, 0.85])", "assert abs(r0 - 0.892) < 1e-6", "r1 = interp_eff(85, [0, 25, 50, 75, 100], [0.79, 0.84, 0.9, 0.85, 0.82])", "as...
theo-eng-code-L2-code-002036
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.67) < 1e-6", "assert abs(r0[1] - 40.0) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_...
theo-eng-code-L3-code-014507
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.42, 14500, 150)", "assert abs(r0[0] - 15.31) < 1e-6", "assert abs(r0[1] - 947.4) < 1e-6", "r1 = gear_ratio(0.38, 14000, 150)", "assert abs(r1[0] - 13.37) < 1e-6", "as...
theo-eng-code-L1-refuse-013353
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-L2-code-007973
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-015106
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 22, -0.1, 0.04, 0.7, 0.5, 0.5)", "assert abs(r0[0] - -0.021) < 1e-6", "assert abs(r0[1] - 0.5872) < 1e-6", "assert abs(r0[2] - -0.051) < 1e-6", "r1 = com_zmp(15, 24, -0.0...
theo-eng-code-L2-code-004874
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.2, 0.34, 45, 0.5, 2.0)", "assert abs(r0[0] - 6.13) < 1e-6", "assert abs(r0[1] - 0.2196) < 1e-6", "assert abs(r0[2] - 6.57) < 1e-6", "r1 = joint_torque(0.9, 0.32, 60,...
theo-eng-code-L3-code-006560
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.39, 9500, 150)", "assert abs(r0[0] - 9.31) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6", "r1 = gear_ratio(0.37, 13500, 120)", "assert abs(r1[0] - 15.69) < 1e-6", "ass...
theo-eng-code-L1-code-005011
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_filter", "user_template": "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-009343
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 80, 3.2, 100)", "assert r0[0] == 62", "assert r0[1] == 5", "assert r0[2] == 310", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 99.2) < 1e-6", "r1 = p...
theo-eng-code-L2-code-001721
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(21, 2, 0.5)", "assert abs(r0 - 14.92) < 1e-6", "r1 = rms_torque(77, 11, 0.25)", "assert abs(r1 - 39.66) < 1e-6", "r2 = rms_torque(93, 28, 0.75)", "assert abs(r2 - 81.7...
theo-eng-code-L2-code-000302
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 11, 0.2, 1.0)", "assert abs(r0[0] - 1.82) < 1e-6", "assert abs(r0[1] - 109.1) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-003676
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 14000, 100)", "assert abs(r0[0] - 19.53) < 1e-6", "assert abs(r0[1] - 716.9) < 1e-6", "r1 = gear_ratio(0.32, 13000, 120)", "assert abs(r1[0] - 13.07) < 1e-6", "...
theo-eng-code-L2-code-005329
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([46, 68, 62, 55])", "assert abs(r0[0] - 57.75) < 1e-6", "assert abs(r0[1] - 9.465) < 1e-6", "r1 = summarise([18, 91, 55, 31, 85, 34])", "assert abs(r1[0] - 52.333) <...
theo-eng-code-L2-code-010615
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 20, 3.6, 50)", "assert r0[0] == 83", "assert r0[1] == 2", "assert r0[2] == 166", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 29.88) < 1e-6", "r1 = p...
theo-eng-code-L1-clarify-007196
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-code-004669
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": "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-004150
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 7, 0.2, 1.0)", "assert abs(r0[0] - 8.57) < 1e-6", "assert abs(r0[1] - 514.3) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 7" ], "subtask":...
theo-eng-code-L2-code-009798
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')", "assert r0[0] == 80", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')", "assert r1[0] == 40", ...
theo-eng-code-L2-code-000510
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.6, 0.33, 45, 3.0, 4.0)", "assert abs(r0[0] - 12.13) < 1e-6", "assert abs(r0[1] - 0.4937) < 1e-6", "assert abs(r0[2] - 14.11) < 1e-6", "r1 = joint_torque(2.9, 0.56, 4...
theo-eng-code-L2-code-005579
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.39, 9500, 150)", "assert abs(r0[0] - 9.31) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6", "r1 = gear_ratio(0.43, 6500, 180)", "assert abs(r1[0] - 5.85) < 1e-6", "ass...
theo-eng-code-L2-code-003282
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([87, 38, 79, 46, 85])", "assert r0[0] == 67", "assert abs(r0[1] - 23.184) < 1e-6", "r1 = summarise([83, 72, 34, 41, 87, 94])", "assert abs(r1[0] - 68.5) < 1e-6", ...
theo-eng-code-L2-code-006634
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 6, 0.75)", "assert abs(r0 - 11.65) < 1e-6", "r1 = rms_torque(90, 29, 0.5)", "assert abs(r1 - 66.86) < 1e-6", "r2 = rms_torque(15, 8, 0.5)", "assert abs(r2 - 12.02)...
theo-eng-code-L2-code-012462
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([210, 410, 390], 5)", "assert abs(r0 - 1.4028) < 1e-6", "r1 = rect_energy([280, 250, 200, 480], 1)", "assert abs(r1 - 0.3361) < 1e-6", "r2 = rect_energy([100, 50,...
theo-eng-code-L2-code-001147
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 19, -0.03, 0.14, 0.4, 0.7, 0.5)", "assert abs(r0[0] - 0.0896) < 1e-6", "assert abs(r0[1] - 0.6111) < 1e-6", "assert abs(r0[2] - 0.0585) < 1e-6", "r1 = com_zmp(8, 23, 0.09,...
theo-eng-code-L2-code-008918
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 11500, 150)", "assert abs(r0[0] - 8.38) < 1e-6", "assert abs(r0[1] - 1372.0) < 1e-6", "r1 = gear_ratio(0.25, 11000, 100)", "assert abs(r1[0] - 10.37) < 1e-6", "...
theo-eng-code-L3-code-014800
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.34, 14000, 180)", "assert abs(r0[0] - 9.97) < 1e-6", "assert abs(r0[1] - 1404.3) < 1e-6", "r1 = gear_ratio(0.4, 5000, 120)", "assert abs(r1[0] - 6.28) < 1e-6", "asser...
theo-eng-code-L2-code-001578
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 10, 3.6, 10)", "assert r0[0] == 111", "assert r0[1] == 3", "assert r0[2] == 333", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6", "r1 =...
theo-eng-code-L2-code-008708
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 19, -0.08, -0.05, 0.6, 0.8, 0)", "assert abs(r0[0] - -0.0616) < 1e-6", "assert abs(r0[1] - 0.7226) < 1e-6", "assert abs(r0[2] - -0.0616) < 1e-6", "r1 = com_zmp(16, 24, 0....
theo-eng-code-L3-code-008589
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, 160, 230, 0.7)", "ass...
theo-eng-code-L3-code-000553
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.4, 4000, 120)", "assert abs(r0[0] - 5.03) < 1e-6", "assert abs(r0[1] - 795.8) < 1e-6", "r1 = gear_ratio(0.44, 9500, 150)", "assert abs(r1[0] - 10.51) < 1e-6", "assert...
theo-eng-code-L2-code-005137
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 24, -0.09, -0.04, 0.9, 0.6, 2)", "assert abs(r0[0] - -0.0627) < 1e-6", "assert abs(r0[1] - 0.7364) < 1e-6", "assert abs(r0[2] - -0.2129) < 1e-6", "r1 = com_zmp(7, 29, -0....
theo-eng-code-L2-code-001102
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 40, 3.6, 5)", "assert r0[0] == 83", "assert r0[1] == 27", "assert r0[2] == 2241", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 40.338) < 1e-6", "r1 =...
theo-eng-code-L2-code-006179
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_countloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-007311
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 40, 3.6, 50)", "assert r0[0] == 222", "assert r0[1] == 2", "assert r0[2] == 444", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6", "r1 = ...
theo-eng-code-L3-code-008760
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.43, 6000, 120)", "assert abs(r0[0] - 8.11) < 1e-6", "assert abs(r0[1] - 740.3) < 1e-6", "r1 = gear_ratio(0.35, 11000, 150)", "assert abs(r1[0] - 9.68) < 1e-6", "asser...
theo-eng-code-L3-code-009113
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.33, 11500, 120)", "assert abs(r0[0] - 11.92) < 1e-6", "assert abs(r0[1] - 964.6) < 1e-6", "r1 = gear_ratio(0.27, 8000, 100)", "assert abs(r1[0] - 8.14) < 1e-6", "asse...
theo-eng-code-L2-code-006075
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(79, 2030, 100, 0.26, 2.8, 0.007, 1.3, 0.94, 0.85)", "assert abs(r0[0] - 430.8) < 1e-6", "assert abs(r0[1] - 15.59) < 1e-6", "assert abs(r0[2] - 15.59) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-011848
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.04, 0.14, 0.9, 0.8, 0)", "assert abs(r0[0] - 0.1107) < 1e-6", "assert abs(r0[1] - 0.8293) < 1e-6", "assert abs(r0[2] - 0.1107) < 1e-6", "r1 = com_zmp(13, 18, 0.02, ...
theo-eng-code-L1-refuse-015062
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_kill_audit", "user_template": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L1-clarify-007586
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-004107
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(5.5, 0.27, 45, 0.5, 2.0)", "assert abs(r0[0] - 6.09) < 1e-6", "assert abs(r0[1] - 0.1701) < 1e-6", "assert abs(r0[2] - 6.43) < 1e-6", "r1 = joint_torque(6.5, 0.37, 90, 8...
theo-eng-code-L2-code-010527
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([440, 340, 270, 130], 2)", "assert abs(r0 - 0.6556) < 1e-6", "r1 = rect_energy([80, 500, 230, 50, 250], 2)", "assert abs(r1 - 0.6167) < 1e-6", "r2 = rect_energy([...
theo-eng-code-L3-code-015049
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(13, 5, 0.75)", "assert abs(r0 - 11.53) < 1e-6", "r1 = rms_torque(53, 32, 0.75)", "assert abs(r1 - 48.61) < 1e-6", "r2 = rms_torque(27, 8, 0.75)", "assert abs(r2 - 23.72)...
theo-eng-code-L1-refuse-010262
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_unlock_speed", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-014143
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.3, 0.46, 60, 4.5, 2.5)", "assert abs(r0[0] - 27.94) < 1e-6", "assert abs(r0[1] - 1.326) < 1e-6", "assert abs(r0[2] - 31.26) < 1e-6", "r1 = joint_torque(1.1, 0.33, 45...
theo-eng-code-L2-code-012841
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 22, 0.1, 0.8)", "assert abs(r0[0] - 2.39) < 1e-6", "assert abs(r0[1] - 143.2) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L3-code-010115
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 19, -0.07, 0.08, 0.8, 0.3, 0.5)", "assert abs(r0[0] - 0.0092) < 1e-6", "assert abs(r0[1] - 0.5361) < 1e-6", "assert abs(r0[2] - -0.0182) < 1e-6", "r1 = com_zmp(13, 13, -0.0...
theo-eng-code-L2-code-014193
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 4500, 180)", "assert abs(r0[0] - 3.58) < 1e-6", "assert abs(r0[1] - 1256.5) < 1e-6", "r1 = gear_ratio(0.35, 10500, 180)", "assert abs(r1[0] - 7.7) < 1e-6", "ass...
theo-eng-code-L2-code-010693
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(87, 2280, 100, 0.36, 2.1, 0.01, 1.0, 0.94, 0.95)", "assert abs(r0[0] - 454.9) < 1e-6", "assert abs(r0[1] - 18.17) < 1e-6", "assert abs(r0[2] - 18.17) < 1e-6", "r1 = erange(8...
theo-eng-code-L3-code-001423
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": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 140, 240, 0.3)", "assert abs(r0[0] - 210.0) < 1e-6", "assert abs(r0[1] - 4.29) < 1e-6", "assert abs(r0[2] - 257.1) < 1e-6" ], "subtask": "writetests", "verifi...
theo-eng-code-L2-code-008036
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 19, -0.04, 0.04, 0.8, 0.8, 0)", "assert abs(r0[0] - 0.0075) < 1e-6", "assert abs(r0[1] - 0.8) < 1e-6", "assert abs(r0[2] - 0.0075) < 1e-6", "r1 = com_zmp(8, 14, 0.06, 0.0...
theo-eng-code-L3-code-008281
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.26, 7500, 180)", "assert abs(r0[0] - 4.08) < 1e-6", "assert abs(r0[1] - 1836.4) < 1e-6", "r1 = gear_ratio(0.28, 7000, 150)", "assert abs(r1[0] - 4.93) < 1e-6", "asser...
theo-eng-code-L2-code-005321
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([19, 69, 68, 46, 26])", "assert abs(r0[0] - 45.6) < 1e-6", "assert abs(r0[1] - 23.137) < 1e-6", "r1 = summarise([24, 51, 45, 28, 94, 86])", "assert abs(r1[0] - 54.66...
theo-eng-code-L3-code-008264
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 3.7, 5)", "assert r0[0] == 108", "assert r0[1] == 21", "assert r0[2] == 2268", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 41.958) < 1e-6" ],...
theo-eng-code-L3-code-011241
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = erange(66, 1080, 60, 0.25, 2.8, 0.009, 0.3, 0.94, 0.95)", "assert abs(r0[0] - 917.0) < 1e-6", "assert abs(r0[1] - 6.84) < 1e-6", "assert abs(r0[2] - 4.1) < 1e-6", "r1 = erange(67, 21...