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-L1-code-006045
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_minmax", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-012846
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = erange(34, 2230, 120, 0.37, 2.8, 0.012, 0.4, 0.92, 0.95)", "assert abs(r0[0] - 109.3) < 1e-6", "assert abs(r0[1] - 29.55) < 1e-6", "assert abs(r0[2] - 35.46) < 1e-6", "r1 = erange(...
theo-eng-code-L3-code-000263
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": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.41, 8500, 180)", "assert abs(r0[0] - 7.3) < 1e-6", "assert abs(r0[1] - 1164.5) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", ...
theo-eng-code-L3-code-002049
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, 9500, 180)", "assert abs(r0[0] - 8.36) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L3-code-012866
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 150, 300, 0.5)", "assert abs(r0[0] - 225.0) < 1e-6", "assert abs(r0[1] - 2.0) < 1e-6", "assert abs(r0[2] - 120.0) < 1e-6", "r1 = runtime(1.0, 190, 420, 0.3)", "ass...
theo-eng-code-L2-code-014874
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 8500, 120)", "assert abs(r0[0] - 11.75) < 1e-6", "assert abs(r0[1] - 723.4) < 1e-6", "r1 = gear_ratio(0.34, 6000, 180)", "assert abs(r1[0] - 4.27) < 1e-6", "ass...
theo-eng-code-L2-code-010187
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 100, 340, 0.5)", "assert abs(r0[0] - 220.0) < 1e-6", "assert abs(r0[1] - 0.41) < 1e-6", "assert abs(r0[2] - 24.5) < 1e-6", "r1 = runtime(1.0, 210, 160, 0.7)", "a...
theo-eng-code-L3-code-007045
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(81, 8, 0.25)", "assert abs(r0 - 41.09) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-015656
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = seg_len([3.5, 5.0], [2.0, 0.5])", "assert abs(r0 - 4.7434) < 1e-6", "r1 = seg_len([0.0, 4.0], [0.5, 5.0])", "assert abs(r1 - 1.118) < 1e-6", "r2 = seg_len([4.5, 2.0], [4.5, 1.5])...
theo-eng-code-L2-code-014298
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([130, 210, 280, 390, 160], 10)", "assert abs(r0 - 3.25) < 1e-6", "r1 = rect_energy([220, 90, 150], 5)", "assert abs(r1 - 0.6389) < 1e-6", "r2 = rect_energy([250, ...
theo-eng-code-L3-code-003181
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(82, 25, 0.25)", "assert abs(r0 - 46.37) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-004597
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-010414
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 50, 0.1, 1.0)", "assert abs(r0[0] - 1.8) < 1e-6", "assert abs(r0[1] - 108.0) < 1e-6", "assert abs(r0[2] - 72.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(...
theo-eng-code-L2-code-015090
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(49, 19, 0.25)", "assert abs(r0 - 29.51) < 1e-6", "r1 = rms_torque(56, 40, 0.25)", "assert abs(r1 - 44.54) < 1e-6", "r2 = rms_torque(20, 16, 0.75)", "assert abs(r2 - 19...
theo-eng-code-L3-code-015282
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.4, 13000, 180)", "assert abs(r0[0] - 10.89) < 1e-6", "assert abs(r0[1] - 1193.7) < 1e-6", "r1 = gear_ratio(0.38, 9000, 120)", "assert abs(r1[0] - 10.74) < 1e-6", "ass...
theo-eng-code-L2-code-006445
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.8, 0.18, 30, 5.5, 2.5)", "assert abs(r0[0] - 7.42) < 1e-6", "assert abs(r0[1] - 0.2408) < 1e-6", "assert abs(r0[2] - 8.02) < 1e-6", "r1 = joint_torque(0.6, 0.19, 30,...
theo-eng-code-L2-code-004744
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 190, 370, 0.7)", "assert abs(r0[0] - 244.0) < 1e-6", "assert abs(r0[1] - 1.84) < 1e-6", "assert abs(r0[2] - 110.7) < 1e-6", "r1 = runtime(1.0, 290, 440, 0.3)", "...
theo-eng-code-L2-code-006207
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, [0, 25, 50, 75, 100], [0.73, 0.8, 0.88, 0.89, 0.85])", "assert abs(r0 - 0.882) < 1e-6", "r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.73, 0.81, 0.9, 0.89, 0.82])", "as...
theo-eng-code-L3-code-015800
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(100, 8, 0.25)", "assert abs(r0 - 50.48) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-008929
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 30, 0.09, -0.03, 0.7, 0.9, 1)", "assert abs(r0[0] - 0.0117) < 1e-6", "assert abs(r0[1] - 0.8304) < 1e-6", "assert abs(r0[2] - -0.0729) < 1e-6", "r1 = com_zmp(7, 16, 0.08,...
theo-eng-code-L2-code-010133
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(22, 2030, 80, 0.22, 2.9, 0.009, 1.0, 0.92, 0.95)", "assert abs(r0[0] - 167.4) < 1e-6", "assert abs(r0[1] - 12.49) < 1e-6", "assert abs(r0[2] - 9.99) < 1e-6", "r1 = erange(20...
theo-eng-code-L3-code-002926
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(1.6, 0.18, 45, 4.0, 3.0)", "assert abs(r0[0] - 5.99) < 1e-6", "assert abs(r0[1] - 0.1469) < 1e-6", "assert abs(r0[2] - 6.43) < 1e-6", "r1 = joint_torque(4.4, 0.29, 90, 4...
theo-eng-code-L2-code-005378
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 10, 3.2, 100)", "assert r0[0] == 94", "assert r0[1] == 1", "assert r0[2] == 94", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 30.08) < 1e-6", "r1 = p...
theo-eng-code-L3-code-000657
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 50, 140, 0.7)", "assert abs(r0[0] - 77.0) < 1e-6", "assert abs(r0[1] - 1.17) < 1e-6", "assert abs(r0[2] - 70.1) < 1e-6", "r1 = runtime(1.0, 220, 80, 0.7)", "assert...
theo-eng-code-L2-code-015042
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-015318
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(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-L2-code-014470
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 190, 100, 0.7)", "assert abs(r0[0] - 163.0) < 1e-6", "assert abs(r0[1] - 0.55) < 1e-6", "assert abs(r0[2] - 33.1) < 1e-6", "r1 = runtime(0.2, 290, 570, 0.5)", "a...
theo-eng-code-L2-code-007766
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 80, 3.6, 10)", "assert r0[0] == 56", "assert r0[1] == 40", "assert r0[2] == 2240", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 80.64) < 1e-6", "r1 =...
theo-eng-code-L3-code-001471
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 11, 0.1, 0.8)", "assert abs(r0[0] - 6.36) < 1e-6", "assert abs(r0[1] - 381.8) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_time...
theo-eng-code-L3-code-011598
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 200, 130, 0.7)", "assert abs(r0[0] - 179.0) < 1e-6", "assert abs(r0[1] - 5.03) < 1e-6", "assert abs(r0[2] - 301.7) < 1e-6", "r1 = runtime(1.0, 150, 390, 0.3)", "as...
theo-eng-code-L3-code-005099
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 22, -0.01, -0.01, 0.5, 0.9, 0.5)", "assert abs(r0[0] - -0.01) < 1e-6", "assert abs(r0[1] - 0.7316) < 1e-6", "assert abs(r0[2] - -0.0473) < 1e-6" ], "subtask": "write...
theo-eng-code-L3-code-015732
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 80, 3.2, 10)", "assert r0[0] == 62", "assert r0[1] == 41", "assert r0[2] == 2542", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 81.344) < 1e-6" ],...
theo-eng-code-L2-code-002233
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.29, 11000, 180)", "assert abs(r0[0] - 6.68) < 1e-6", "assert abs(r0[1] - 1646.4) < 1e-6", "r1 = gear_ratio(0.34, 9500, 100)", "assert abs(r1[0] - 12.18) < 1e-6", "a...
theo-eng-code-L2-code-002889
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 17, -0.01, 0.04, 0.5, 0.9, 2)", "assert abs(r0[0] - 0.0286) < 1e-6", "assert abs(r0[1] - 0.8091) < 1e-6", "assert abs(r0[2] - -0.1363) < 1e-6", "r1 = com_zmp(13, 14, -0.01...
theo-eng-code-L2-code-005549
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 14, 0.06, 0.03, 0.6, 0.9, 0)", "assert abs(r0[0] - 0.046) < 1e-6", "assert abs(r0[1] - 0.74) < 1e-6", "assert abs(r0[2] - 0.046) < 1e-6", "r1 = com_zmp(9, 25, -0.01, 0.01...
theo-eng-code-L2-code-001827
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 25, -0.09, 0.11, 0.9, 0.6, 1)", "assert abs(r0[0] - 0.0211) < 1e-6", "assert abs(r0[1] - 0.7333) < 1e-6", "assert abs(r0[2] - -0.0536) < 1e-6", "r1 = com_zmp(6, 24, -0.03...
theo-eng-code-L2-code-006486
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = erange(90, 2060, 80, 0.23, 2.6, 0.013, 0.6, 0.92, 0.95)", "assert abs(r0[0] - 604.5) < 1e-6", "assert abs(r0[1] - 14.14) < 1e-6", "assert abs(r0[2] - 11.31) < 1e-6", "r1 = erange(5...
theo-eng-code-L2-code-009063
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 24, -0.03, 0.03, 0.3, 0.5, 0.5)", "assert abs(r0[0] - 0.0043) < 1e-6", "assert abs(r0[1] - 0.4143) < 1e-6", "assert abs(r0[2] - -0.0168) < 1e-6", "r1 = com_zmp(12, 16, 0....
theo-eng-code-L2-code-004767
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 19, -0.07, 0.14, 0.8, 0.9, 0.5)", "assert abs(r0[0] - 0.035) < 1e-6", "assert abs(r0[1] - 0.85) < 1e-6", "assert abs(r0[2] - -0.0083) < 1e-6", "r1 = com_zmp(19, 13, -0.09...
theo-eng-code-L2-code-003888
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([51, 71, 89, 86, 18])", "assert r0[0] == 63", "assert abs(r0[1] - 29.317) < 1e-6", "r1 = summarise([42, 22, 81, 58, 30])", "assert abs(r1[0] - 46.6) < 1e-6", "as...
theo-eng-code-L3-code-015326
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(87, 1000, 80, 0.38, 2.5, 0.008, 0.8, 0.88, 0.85)", "assert abs(r0[0] - 589.4) < 1e-6", "assert abs(r0[1] - 12.55) < 1e-6", "assert abs(r0[2] - 10.04) < 1e-6", "r1 = erange(100...
theo-eng-code-L2-code-007739
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 7, 0.2, 0.8)", "assert abs(r0[0] - 6.43) < 1e-6", "assert abs(r0[1] - 385.7) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L2-code-003184
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(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-L2-code-006382
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 10000, 120)", "assert abs(r0[0] - 8.48) < 1e-6", "assert abs(r0[1] - 1178.9) < 1e-6", "r1 = gear_ratio(0.36, 13000, 180)", "assert abs(r1[0] - 9.8) < 1e-6", "as...
theo-eng-code-L1-clarify-007100
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-004813
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 50, 0.1, 1.0)", "assert abs(r0[0] - 0.9) < 1e-6", "assert abs(r0[1] - 54.0) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L3-code-000474
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(800, 80, 3.2, 50)", "assert r0[0] == 250", "assert r0[1] == 2", "assert r0[2] == 500", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-013830
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 1.0)", "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-L2-code-008652
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 21, -0.02, 0.02, 0.5, 0.4, 0.5)", "assert abs(r0[0] - 0.0047) < 1e-6", "assert abs(r0[1] - 0.4382) < 1e-6", "assert abs(r0[2] - -0.0176) < 1e-6", "r1 = com_zmp(5, 10, 0.0...
theo-eng-code-L1-refuse-003915
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-L3-code-004995
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.31, 4500, 100)", "assert abs(r0[0] - 5.26) < 1e-6", "assert abs(r0[1] - 855.7) < 1e-6", "r1 = gear_ratio(0.39, 8000, 150)", "assert abs(r1[0] - 7.84) < 1e-6", "assert...
theo-eng-code-L3-code-004903
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.3, 0.23, 30, 7.0, 0.5)", "assert abs(r0[0] - 10.89) < 1e-6", "assert abs(r0[1] - 0.4638) < 1e-6", "assert abs(r0[2] - 11.12) < 1e-6", "r1 = joint_torque(2.1, 0.53, 60,...
theo-eng-code-L2-code-013586
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = erange(59, 2470, 60, 0.38, 2.1, 0.008, 1.2, 0.92, 0.9)", "assert abs(r0[0] - 444.3) < 1e-6", "assert abs(r0[1] - 11.95) < 1e-6", "assert abs(r0[2] - 7.17) < 1e-6", "r1 = erange(31,...
theo-eng-code-L3-code-002789
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(36, 1000, 120, 0.31, 3.1, 0.007, 1.0, 0.94, 0.9)", "assert abs(r0[0] - 146.0) < 1e-6", "assert abs(r0[1] - 22.19) < 1e-6", "assert abs(r0[2] - 26.63) < 1e-6", "r1 = erange(56,...
theo-eng-code-L1-code-010857
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": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-013342
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([160, 220, 230, 410, 280], 2)", "assert abs(r0 - 0.7222) < 1e-6", "r1 = rect_energy([340, 50, 90, 210, 340], 1)", "assert abs(r1 - 0.2861) < 1e-6", "r2 = rect_ene...
theo-eng-code-L2-code-000057
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 50}')", "assert r0[0] == 40", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')", "assert r1[0] == 20", "a...
theo-eng-code-L2-code-008445
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 10, -0.03, -0.02, 0.6, 0.6, 1)", "assert abs(r0[0] - -0.0233) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - -0.0845) < 1e-6", "r1 = com_zmp(8, 29, 0.07, -...
theo-eng-code-L1-code-012168
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_dictget", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-000068
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 40, 250, 0.7)", "assert abs(r0[0] - 103.0) < 1e-6", "assert abs(r0[1] - 0.87) < 1e-6", "assert abs(r0[2] - 52.4) < 1e-6", "r1 = runtime(0.5, 210, 60, 0.3)", "ass...
theo-eng-code-L3-code-011987
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, 110, 560, 0.3)", "assert abs(r0[0] - 425.0) < 1e-6", "assert abs(r0[1] - 2.12) < 1e-6", "assert abs(r0[2] - 127.1) < 1e-6", "r1 = runtime(0.1, 110, 470, 0.3)", "as...
theo-eng-code-L3-code-003397
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.6, 0.3, 45, 7.5, 1.5)", "assert abs(r0[0] - 19.35) < 1e-6", "assert abs(r0[1] - 0.783) < 1e-6", "assert abs(r0[2] - 20.53) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L3-code-000369
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(300, 20, 3.7, 2.5)", "assert r0[0] == 81", "assert r0[1] == 27", "assert r0[2] == 2187", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 20.23) < 1e-6" ],...
theo-eng-code-L2-code-008899
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L1-refuse-015567
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-L1-refuse-014310
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-001012
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([87, 21, 94, 57, 65])", "assert abs(r0[0] - 64.8) < 1e-6", "assert abs(r0[1] - 28.831) < 1e-6", "r1 = summarise([20, 23, 99, 89, 32, 66])", "assert abs(r1[0] - 54.83...
theo-eng-code-L2-code-003782
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(75, 18, 0.5)", "assert abs(r0 - 54.54) < 1e-6", "r1 = rms_torque(60, 24, 0.75)", "assert abs(r1 - 53.33) < 1e-6", "r2 = rms_torque(37, 20, 0.75)", "assert abs(r2 - 33....
theo-eng-code-L3-code-003329
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(11, 19, 0.1, 0.1, 0.7, 0.7, 2)", "assert abs(r0[0] - 0.1) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - -0.0427) < 1e-6", "r1 = com_zmp(15, 23, 0.02, 0.14, 0.8...
theo-eng-code-L2-code-001339
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([23, 89, 74, 72, 85, 32])", "assert abs(r0[0] - 62.5) < 1e-6", "assert abs(r0[1] - 28.005) < 1e-6", "r1 = summarise([32, 35, 40, 44, 14, 46])", "assert abs(r1[0] - 3...
theo-eng-code-L2-code-013154
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(95, 3, 0.5)", "assert abs(r0 - 67.21) < 1e-6", "r1 = rms_torque(60, 29, 0.75)", "assert abs(r1 - 53.95) < 1e-6", "r2 = rms_torque(85, 34, 0.75)", "assert abs(r2 - 75.5...
theo-eng-code-L2-code-002420
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(36, 1220, 60, 0.28, 1.9, 0.009, 1.1, 0.9, 0.85)", "assert abs(r0[0] - 384.8) < 1e-6", "assert abs(r0[1] - 7.95) < 1e-6", "assert abs(r0[2] - 4.77) < 1e-6", "r1 = erange(54, ...
theo-eng-code-L2-code-004707
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = seg_len([4.5, 4.0], [1.0, 4.0])", "assert abs(r0 - 3.5) < 1e-6", "r1 = seg_len([3.0, 3.5], [1.5, 3.0])", "assert abs(r1 - 1.5811) < 1e-6", "r2 = seg_len([2.0, 2.0], [3.5, 2.0])",...
theo-eng-code-L2-code-007967
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.7, 0.4, 90, 3.0, 3.5)", "assert abs(r0[0] - 17.07) < 1e-6", "assert abs(r0[1] - 0.624) < 1e-6", "assert abs(r0[2] - 19.25) < 1e-6", "r1 = joint_torque(3.2, 0.46, 60,...
theo-eng-code-L1-code-014169
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_minmax", "user_template": "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-004328
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(800, 10, 3.2, 10)", "assert r0[0] == 250", "assert r0[1] == 2", "assert r0[2] == 500", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 16.0) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-011115
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 60, 3.2, 50)", "assert r0[0] == 156", "assert r0[1] == 3", "assert r0[2] == 468", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 74.88) < 1e-6", "r1 = ...
theo-eng-code-L2-code-002077
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([69, 79, 91, 19, 55, 42])", "assert abs(r0[0] - 59.167) < 1e-6", "assert abs(r0[1] - 26.187) < 1e-6", "r1 = summarise([62, 47, 72, 34])", "assert abs(r1[0] - 53.75) ...
theo-eng-code-L2-code-016025
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')", "assert r0[0] == 80", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')", "assert r1[0] == 60", ...
theo-eng-code-L3-code-004722
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": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(37, 3, 0.75)", "assert abs(r0 - 32.08) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-009028
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 22, 0.1, 1.0)", "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-006363
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 3.2, 100)", "assert r0[0] == 62", "assert r0[1] == 3", "assert r0[2] == 186", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 59.52) < 1e-6", "r1 = ...
theo-eng-code-L3-code-011204
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 270, 580, 0.3)", "assert abs(r0[0] - 487.0) < 1e-6", "assert abs(r0[1] - 1.85) < 1e-6", "assert abs(r0[2] - 110.9) < 1e-6", "r1 = runtime(0.2, 50, 290, 0.5)", "ass...
theo-eng-code-L3-code-005456
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(6, 13, -0.02, -0.04, 0.6, 0.5, 0.5)", "assert abs(r0[0] - -0.0337) < 1e-6", "assert abs(r0[1] - 0.5316) < 1e-6", "assert abs(r0[2] - -0.0608) < 1e-6" ], "subtask": "writ...
theo-eng-code-L3-code-008615
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(50, 1600, 60, 0.25, 2.9, 0.007, 0.8, 0.88, 0.95)", "assert abs(r0[0] - 546.3) < 1e-6", "assert abs(r0[1] - 8.7) < 1e-6", "assert abs(r0[2] - 5.22) < 1e-6", "r1 = erange(57, 14...
theo-eng-code-L2-code-010860
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 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 = p...
theo-eng-code-L2-code-002499
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.0, 1.5], [3.5, 1.5])", "assert abs(r0 - 3.5) < 1e-6", "r1 = seg_len([3.5, 5.0], [5.0, 4.0])", "assert abs(r1 - 1.8028) < 1e-6", "r2 = seg_len([3.5, 5.0], [1.0, 3.5])",...
theo-eng-code-L1-code-003797
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": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-code-011756
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": "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-003560
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.37, 11500, 150)", "assert abs(r0[0] - 10.69) < 1e-6", "assert abs(r0[1] - 1075.4) < 1e-6", "r1 = gear_ratio(0.4, 15000, 180)", "assert abs(r1[0] - 12.57) < 1e-6", "...
theo-eng-code-L2-code-013453
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')", "assert r0[0] == 80", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')", "assert r1[0] == 20", ...
theo-eng-code-L2-code-012491
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-006595
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, 60, 560, 0.3)", "assert abs(r0[0] - 410.0) < 1e-6", "assert abs(r0[1] - 0.44) < 1e-6", "assert abs(r0[2] - 26.3) < 1e-6", "r1 = runtime(1.0, 240, 400, 0.7)", "asse...
theo-eng-code-L2-code-005964
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(82, 7, 0.75)", "assert abs(r0 - 71.1) < 1e-6", "r1 = rms_torque(81, 32, 0.75)", "assert abs(r1 - 71.95) < 1e-6", "r2 = rms_torque(30, 8, 0.5)", "assert abs(r2 - 21.95)...
theo-eng-code-L2-code-006587
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 23, 0.0, 0.09, 0.7, 0.7, 0.5)", "assert abs(r0[0] - 0.0481) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - 0.0125) < 1e-6", "r1 = com_zmp(15, 18, 0.02, -0...
theo-eng-code-L2-code-010463
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-005807
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(34, 17, 0.5)", "assert abs(r0 - 26.88) < 1e-6", "r1 = rms_torque(28, 18, 0.75)", "assert abs(r1 - 25.87) < 1e-6", "r2 = rms_torque(24, 13, 0.75)", "assert abs(r2 - 21....
theo-eng-code-L2-code-001041
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(18, 16, 0.75)", "assert abs(r0 - 17.52) < 1e-6", "r1 = rms_torque(75, 37, 0.75)", "assert abs(r1 - 67.54) < 1e-6", "r2 = rms_torque(28, 18, 0.75)", "assert abs(r2 - 25...
theo-eng-code-L3-code-013801
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(200, 80, 3.7, 2.5)", "assert r0[0] == 54", "assert r0[1] == 161", "assert r0[2] == 8694", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 80.419) < 1e-6" ...
theo-eng-code-L2-code-009757
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(83, 31, 0.25)", "assert abs(r0 - 49.43) < 1e-6", "r1 = rms_torque(91, 28, 0.5)", "assert abs(r1 - 67.32) < 1e-6", "r2 = rms_torque(70, 36, 0.5)", "assert abs(r2 - 55.6...