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-005830
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(64, 30, 0.5)", "assert abs(r0 - 49.98) < 1e-6", "r1 = rms_torque(36, 29, 0.25)", "assert abs(r1 - 30.9) < 1e-6", "r2 = rms_torque(43, 27, 0.25)", "assert abs(r2 - 31.7...
theo-eng-code-L2-code-013846
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(15, 15, 0.5)", "assert abs(r0 - 15.0) < 1e-6", "r1 = rms_torque(71, 27, 0.75)", "assert abs(r1 - 62.95) < 1e-6", "r2 = rms_torque(67, 4, 0.5)", "assert abs(r2 - 47.46)...
theo-eng-code-L1-refuse-004071
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": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-015081
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 22, 0.2, 0.8)", "assert abs(r0[0] - 3.41) < 1e-6", "assert abs(r0[1] - 204.5) < 1e-6", "assert abs(r0[2] - 60.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L3-code-008656
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(98, 4, 0.5)", "assert abs(r0 - 69.35) < 1e-6", "r1 = rms_torque(5, 5, 0.5)", "assert abs(r1 - 5.0) < 1e-6", "r2 = rms_torque(14, 10, 0.25)", "assert abs(r2 - 11.14) < 1e...
theo-eng-code-L3-code-008375
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, 22, 0.2, 0.8)", "assert abs(r0[0] - 0.68) < 1e-6", "assert abs(r0[1] - 40.9) < 1e-6", "assert abs(r0[2] - 12.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_time(...
theo-eng-code-L2-code-014205
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 90, 2.5, 1.0)", "assert abs(r0[0] - 21.22) < 1e-6", "assert abs(r0[1] - 0.7526) < 1e-6", "assert abs(r0[2] - 21.97) < 1e-6", "r1 = joint_torque(7.3, 0.18, 6...
theo-eng-code-L3-code-002840
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, 70, 30, 0.7)", "assert abs(r0[0] - 58.0) < 1e-6", "assert abs(r0[1] - 3.1) < 1e-6", "assert abs(r0[2] - 186.2) < 1e-6", "r1 = runtime(0.1, 180, 400, 0.5)", "assert...
theo-eng-code-L2-code-006965
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-000608
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.32, 11500, 120)", "assert abs(r0[0] - 11.56) < 1e-6", "assert abs(r0[1] - 994.7) < 1e-6", "r1 = gear_ratio(0.29, 11500, 100)", "assert abs(r1[0] - 12.57) < 1e-6", "as...
theo-eng-code-L3-code-011541
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(69, 23, 0.75)", "assert abs(r0 - 60.85) < 1e-6", "r1 = rms_torque(80, 39, 0.75)", "assert abs(r1 - 71.97) < 1e-6", "r2 = rms_torque(20, 6, 0.5)", "assert abs(r2 - 14.76)...
theo-eng-code-L3-code-006705
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(55, 1700, 100, 0.32, 2.5, 0.008, 0.8, 0.92, 0.95)", "assert abs(r0[0] - 321.7) < 1e-6", "assert abs(r0[1] - 16.24) < 1e-6", "assert abs(r0[2] - 16.24) < 1e-6", "r1 = erange(43...
theo-eng-code-L3-code-010190
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.45, 4000, 150)", "assert abs(r0[0] - 4.52) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6", "r1 = gear_ratio(0.37, 8000, 120)", "assert abs(r1[0] - 9.3) < 1e-6", "assert ...
theo-eng-code-L2-code-005177
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(97, 19, 0.25)", "assert abs(r0 - 51.22) < 1e-6", "r1 = rms_torque(80, 5, 0.5)", "assert abs(r1 - 56.68) < 1e-6", "r2 = rms_torque(49, 12, 0.5)", "assert abs(r2 - 35.67...
theo-eng-code-L2-code-013396
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 11, 0.25)", "assert abs(r0 - 12.12) < 1e-6", "r1 = rms_torque(43, 14, 0.5)", "assert abs(r1 - 31.98) < 1e-6", "r2 = rms_torque(92, 30, 0.5)", "assert abs(r2 - 68.4...
theo-eng-code-L2-code-013133
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 0.2, 1.0)", "assert abs(r0[0] - 0.33) < 1e-6", "assert abs(r0[1] - 20.0) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert abs(r0[3] - 120.0) < 1e-6", "...
theo-eng-code-L2-code-002314
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-013451
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 26, 0.09, 0.01, 0.9, 0.6, 1)", "assert abs(r0[0] - 0.0438) < 1e-6", "assert abs(r0[1] - 0.7267) < 1e-6", "assert abs(r0[2] - -0.0303) < 1e-6", "r1 = com_zmp(7, 30, 0.08, ...
theo-eng-code-L3-code-003070
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(87, 1230, 80, 0.34, 3.1, 0.009, 1.2, 0.92, 0.9)", "assert abs(r0[0] - 543.6) < 1e-6", "assert abs(r0[1] - 14.4) < 1e-6", "assert abs(r0[2] - 11.52) < 1e-6", "r1 = erange(65, 2...
theo-eng-code-L2-code-007162
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(14, 13, 0.25)", "assert abs(r0 - 13.26) < 1e-6", "r1 = rms_torque(71, 25, 0.75)", "assert abs(r1 - 62.75) < 1e-6", "r2 = rms_torque(57, 29, 0.75)", "assert abs(r2 - 51...
theo-eng-code-L3-code-004653
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": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.4, 14000, 180)", "assert abs(r0[0] - 11.73) < 1e-6", "assert abs(r0[1] - 1193.7) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L2-code-005599
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 150}')", "assert r0[0] == 40", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 50}')", "assert r1[0] == 80", "...
theo-eng-code-L3-code-007884
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.27, 6000, 100)", "assert abs(r0[0] - 6.11) < 1e-6", "assert abs(r0[1] - 982.4) < 1e-6", "r1 = gear_ratio(0.3, 15000, 150)", "assert abs(r1[0] - 11.31) < 1e-6", "asser...
theo-eng-code-L2-code-000201
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 20, \"max_kw\": 150}')", "assert r0[0] == 20", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')", "assert r1[0] == 80", ...
theo-eng-code-L3-code-005410
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": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.36, 15000, 120)", "assert abs(r0[0] - 16.96) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L2-code-012849
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-001582
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-013949
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 6500, 100)", "assert abs(r0[0] - 10.78) < 1e-6", "assert abs(r0[1] - 602.9) < 1e-6", "r1 = gear_ratio(0.43, 7000, 120)", "assert abs(r1[0] - 9.46) < 1e-6", "ass...
theo-eng-code-L3-code-000502
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.6, 100)", "assert r0[0] == 222", "assert r0[1] == 2", "assert r0[2] == 444", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 159.84) < 1e-6", "r1 = ...
theo-eng-code-L2-code-012518
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(7, 22, 0.05, 0.11, 0.3, 0.4, 0)", "assert abs(r0[0] - 0.0955) < 1e-6", "assert abs(r0[1] - 0.3759) < 1e-6", "assert abs(r0[2] - 0.0955) < 1e-6", "r1 = com_zmp(18, 30, -0.06, ...
theo-eng-code-L3-code-009257
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 80, 3.2, 10)", "assert r0[0] == 250", "assert r0[1] == 10", "assert r0[2] == 2500", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1 = p...
theo-eng-code-L2-code-013657
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 12, -0.1, 0.11, 0.5, 0.8, 0.5)", "assert abs(r0[0] - 0.02) < 1e-6", "assert abs(r0[1] - 0.6714) < 1e-6", "assert abs(r0[2] - -0.0142) < 1e-6", "r1 = com_zmp(12, 19, 0.03, ...
theo-eng-code-L2-code-015486
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(57, 1490, 100, 0.23, 3.1, 0.008, 1.3, 0.92, 0.85)", "assert abs(r0[0] - 322.9) < 1e-6", "assert abs(r0[1] - 15.0) < 1e-6", "assert abs(r0[2] - 15.0) < 1e-6", "r1 = erange(64...
theo-eng-code-L2-code-000712
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 0.0], [0.0, 4.0])", "assert abs(r0 - 5.3151) < 1e-6", "r1 = seg_len([2.5, 1.5], [1.0, 1.5])", "assert abs(r1 - 1.5) < 1e-6", "r2 = seg_len([5.0, 4.0], [5.0, 2.5])",...
theo-eng-code-L2-code-001429
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-002115
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 100}')", "assert r1[0] == 80", ...
theo-eng-code-L2-code-002587
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.5, 2.5], [4.5, 5.0])", "assert abs(r0 - 3.2016) < 1e-6", "r1 = seg_len([2.5, 5.0], [0.5, 0.5])", "assert abs(r1 - 4.9244) < 1e-6", "r2 = seg_len([4.0, 4.5], [0.0, 4.5]...
theo-eng-code-L3-code-014574
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(0.2, 220, 540, 0.7)", "assert abs(r0[0] - 316.0) < 1e-6", "assert abs(r0[1] - 0.57) < 1e-6", "assert abs(r0[2] - 34.2) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L2-code-005203
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([53, 75, 50, 29, 67, 26])", "assert r0[0] == 50", "assert abs(r0[1] - 19.698) < 1e-6", "r1 = summarise([98, 45, 81, 31])", "assert abs(r1[0] - 63.75) < 1e-6", "a...
theo-eng-code-L3-code-013004
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.28, 4000, 120)", "assert abs(r0[0] - 3.52) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.44, 14000, 180)", "assert abs(r1[0] - 12.9) < 1e-6", "asse...
theo-eng-code-L2-code-011104
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 60, 3.2, 50)", "assert r0[0] == 62", "assert r0[1] == 7", "assert r0[2] == 434", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 69.44) < 1e-6", "r1 = p...
theo-eng-code-L2-code-004203
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 7, 0.1, 1.0)", "assert abs(r0[0] - 9.64) < 1e-6", "assert abs(r0[1] - 578.6) < 1e-6", "assert abs(r0[2] - 54.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L2-code-002802
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([62, 28, 21, 74])", "assert abs(r0[0] - 46.25) < 1e-6", "assert abs(r0[1] - 25.747) < 1e-6", "r1 = summarise([34, 66, 15, 31, 11])", "assert abs(r1[0] - 31.4) < 1e-6...
theo-eng-code-L2-code-006228
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.35, 13000, 150)", "assert abs(r0[0] - 11.44) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.41, 13500, 100)", "assert abs(r1[0] - 20.87) < 1e-6", ...
theo-eng-code-L2-code-013153
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 3.0], [0.0, 0.5])", "assert abs(r0 - 3.5355) < 1e-6", "r1 = seg_len([1.0, 3.0], [3.5, 3.0])", "assert abs(r1 - 2.5) < 1e-6", "r2 = seg_len([4.5, 3.5], [2.0, 2.0])",...
theo-eng-code-L3-code-011174
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.6, 0.21, 30, 6.5, 1.5)", "assert abs(r0[0] - 7.52) < 1e-6", "assert abs(r0[1] - 0.3102) < 1e-6", "assert abs(r0[2] - 7.98) < 1e-6", "r1 = joint_torque(1.2, 0.22, 60, 6...
theo-eng-code-L3-code-001317
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": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(61, 1070, 80, 0.33, 3.0, 0.008, 1.3, 0.88, 0.9)", "assert abs(r0[0] - 399.9) < 1e-6", "assert abs(r0[1] - 13.73) < 1e-6", "assert abs(r0[2] - 10.98) < 1e-6", "r1 = erange(59, ...
theo-eng-code-L2-code-003759
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 11, 0.1, 0.9)", "assert abs(r0[0] - 3.64) < 1e-6", "assert abs(r0[1] - 218.2) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L3-code-002838
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(0.5, 50, 460, 0.3)", "assert abs(r0[0] - 337.0) < 1e-6", "assert abs(r0[1] - 1.34) < 1e-6", "assert abs(r0[2] - 80.1) < 1e-6" ], "subtask": "writetests", "verified...
theo-eng-code-L2-code-015447
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 100, 220, 360, 300], 2)", "assert abs(r0 - 0.6611) < 1e-6", "r1 = rect_energy([140, 160, 240, 320, 220], 5)", "assert abs(r1 - 1.5) < 1e-6", "r2 = rect_ener...
theo-eng-code-L2-code-011170
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([470, 280, 280], 5)", "assert abs(r0 - 1.4306) < 1e-6", "r1 = rect_energy([400, 290, 340, 360, 200], 2)", "assert abs(r1 - 0.8833) < 1e-6", "r2 = rect_energy([280...
theo-eng-code-L2-code-007151
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(51, 1920, 100, 0.32, 3.1, 0.012, 0.8, 0.94, 0.95)", "assert abs(r0[0] - 227.1) < 1e-6", "assert abs(r0[1] - 21.33) < 1e-6", "assert abs(r0[2] - 21.33) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-011797
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 7, 0.2, 0.9)", "assert abs(r0[0] - 7.5) < 1e-6", "assert abs(r0[1] - 450.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L2-code-011584
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.53) < 1e-6", "assert abs(r0[1] - 32.0) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L3-code-010222
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(44, 1920, 60, 0.37, 3.0, 0.01, 1.0, 0.9, 0.9)", "assert abs(r0[0] - 297.5) < 1e-6", "assert abs(r0[1] - 13.31) < 1e-6", "assert abs(r0[2] - 7.99) < 1e-6", "r1 = erange(55, 250...
theo-eng-code-L3-code-004430
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": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(8, 15, -0.02, -0.04, 0.3, 0.4, 1)", "assert abs(r0[0] - -0.033) < 1e-6", "assert abs(r0[1] - 0.3652) < 1e-6", "assert abs(r0[2] - -0.0703) < 1e-6" ], "subtask": "writete...
theo-eng-code-L2-code-011498
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([480, 200, 230], 5)", "assert abs(r0 - 1.2639) < 1e-6", "r1 = rect_energy([180, 180, 310, 250], 5)", "assert abs(r1 - 1.2778) < 1e-6", "r2 = rect_energy([330, 50,...
theo-eng-code-L3-code-007735
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": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.6, 0.41, 45, 6.5, 3.0)", "assert abs(r0[0] - 29.29) < 1e-6", "assert abs(r0[1] - 1.5185) < 1e-6", "assert abs(r0[2] - 33.85) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L2-code-003503
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 7, 0.1, 0.8)", "assert abs(r0[0] - 5.0) < 1e-6", "assert abs(r0[1] - 300.0) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L1-clarify-004991
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-clarify-006472
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-013646
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(1.0, 0.55, 30, 4.5, 0.5)", "assert abs(r0[0] - 13.49) < 1e-6", "assert abs(r0[1] - 1.4621) < 1e-6", "assert abs(r0[2] - 14.22) < 1e-6", "r1 = joint_torque(2.5, 0.32, 90,...
theo-eng-code-L1-code-011166
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": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-015274
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(55, 1540, 100, 0.32, 2.2, 0.013, 1.0, 0.92, 0.85)", "assert abs(r0[0] - 275.4) < 1e-6", "assert abs(r0[1] - 16.98) < 1e-6", "assert abs(r0[2] - 16.98) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-004686
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.1, 0.9)", "assert abs(r0[0] - 2.73) < 1e-6", "assert abs(r0[1] - 163.6) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L2-code-015507
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.33, 10500, 180)", "assert abs(r0[0] - 7.26) < 1e-6", "assert abs(r0[1] - 1446.9) < 1e-6", "r1 = gear_ratio(0.33, 4000, 150)", "assert abs(r1[0] - 3.32) < 1e-6", "as...
theo-eng-code-L2-code-005502
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = summarise([12, 56, 19, 18, 30, 50])", "assert abs(r0[0] - 30.833) < 1e-6", "assert abs(r0[1] - 18.225) < 1e-6", "r1 = summarise([57, 87, 87, 34, 46])", "assert abs(r1[0] - 62....
theo-eng-code-L2-code-014638
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 25, 0.09, 0.01, 0.4, 0.8, 2)", "assert abs(r0[0] - 0.0233) < 1e-6", "assert abs(r0[1] - 0.7333) < 1e-6", "assert abs(r0[2] - -0.1262) < 1e-6", "r1 = com_zmp(14, 13, -0.02,...
theo-eng-code-L3-code-008626
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(17, 23, -0.02, -0.01, 0.6, 0.3, 2)", "assert abs(r0[0] - -0.0143) < 1e-6", "assert abs(r0[1] - 0.4275) < 1e-6", "assert abs(r0[2] - -0.1014) < 1e-6", "r1 = com_zmp(13, 27, -0.0...
theo-eng-code-L3-code-009065
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(96, 29, 0.5)", "assert abs(r0 - 70.91) < 1e-6", "r1 = rms_torque(25, 6, 0.75)", "assert abs(r1 - 21.86) < 1e-6", "r2 = rms_torque(89, 32, 0.25)", "assert abs(r2 - 52.42)...
theo-eng-code-L2-code-012628
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(36, 5, 0.5)", "assert abs(r0 - 25.7) < 1e-6", "r1 = rms_torque(98, 40, 0.75)", "assert abs(r1 - 87.2) < 1e-6", "r2 = rms_torque(44, 7, 0.25)", "assert abs(r2 - 22.82) ...
theo-eng-code-L3-code-013600
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": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 11, 0.1, 0.9)", "assert abs(r0[0] - 3.64) < 1e-6", "assert abs(r0[1] - 218.2) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 11" ], "subtask...
theo-eng-code-L3-code-004091
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(38, 1120, 60, 0.35, 2.2, 0.007, 1.4, 0.94, 0.85)", "assert abs(r0[0] - 381.0) < 1e-6", "assert abs(r0[1] - 8.48) < 1e-6", "assert abs(r0[2] - 5.09) < 1e-6", "r1 = erange(21, 2...
theo-eng-code-L2-code-000800
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-000762
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 150, 0.1, 1.0)", "assert abs(r0[0] - 0.45) < 1e-6", "assert abs(r0[1] - 27.0) < 1e-6", "assert abs(r0[2] - 54.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L3-code-003971
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = erange(65, 1460, 120, 0.3, 3.0, 0.01, 1.4, 0.92, 0.95)", "assert abs(r0[0] - 257.5) < 1e-6", "assert abs(r0[1] - 23.98) < 1e-6", "assert abs(r0[2] - 28.78) < 1e-6", "r1 = erange(74, ...
theo-eng-code-L2-code-005647
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 270, 570, 0.7)", "assert abs(r0[0] - 360.0) < 1e-6", "assert abs(r0[1] - 2.5) < 1e-6", "assert abs(r0[2] - 150.0) < 1e-6", "r1 = runtime(0.2, 200, 430, 0.7)", "a...
theo-eng-code-L2-code-001786
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 170, 450, 0.5)", "assert abs(r0[0] - 310.0) < 1e-6", "assert abs(r0[1] - 1.45) < 1e-6", "assert abs(r0[2] - 87.1) < 1e-6", "r1 = runtime(0.5, 110, 220, 0.3)", "a...
theo-eng-code-L3-code-001477
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(8.0, 0.58, 60, 4.0, 0.5)", "assert abs(r0[0] - 39.42) < 1e-6", "assert abs(r0[1] - 2.2427) < 1e-6", "assert abs(r0[2] - 40.54) < 1e-6", "r1 = joint_torque(5.6, 0.56, 60,...
theo-eng-code-L2-code-011425
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 22, 0.2, 1.0)", "assert abs(r0[0] - 2.73) < 1e-6", "assert abs(r0[1] - 163.6) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L1-code-010577
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": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-002733
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 19, 0.03, 0.03, 0.6, 0.9, 0.5)", "assert abs(r0[0] - 0.03) < 1e-6", "assert abs(r0[1] - 0.7462) < 1e-6", "assert abs(r0[2] - -0.008) < 1e-6", "r1 = com_zmp(16, 15, -0.08,...
theo-eng-code-L1-code-004030
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_fstring", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-003949
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": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.4, 0.51, 45, 8.0, 0.0)", "assert abs(r0[0] - 37.85) < 1e-6", "assert abs(r0[1] - 2.549) < 1e-6", "assert abs(r0[2] - 37.85) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L2-code-010214
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 26, 0.04, 0.02, 0.3, 0.9, 1)", "assert abs(r0[0] - 0.0276) < 1e-6", "assert abs(r0[1] - 0.6714) < 1e-6", "assert abs(r0[2] - -0.0408) < 1e-6", "r1 = com_zmp(5, 11, -0.09,...
theo-eng-code-L3-code-012688
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(20, 10, 0.07, 0.12, 0.7, 0.7, 0.5)", "assert abs(r0[0] - 0.0867) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - 0.051) < 1e-6" ], "subtask": "writetests"...
theo-eng-code-L2-code-001323
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(55, [0, 25, 50, 75, 100], [0.79, 0.81, 0.9, 0.86, 0.85])", "assert abs(r0 - 0.892) < 1e-6", "r1 = interp_eff(55, [0, 25, 50, 75, 100], [0.8, 0.83, 0.86, 0.86, 0.8])", "ass...
theo-eng-code-L2-code-007164
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([200, 330, 170, 260, 270], 10)", "assert abs(r0 - 3.4167) < 1e-6", "r1 = rect_energy([110, 500, 460, 450, 430], 10)", "assert abs(r1 - 5.4167) < 1e-6", "r2 = rect...
theo-eng-code-L3-code-005776
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": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.36, 11000, 180)", "assert abs(r0[0] - 8.29) < 1e-6", "assert abs(r0[1] - 1326.3) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L3-code-009956
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, 170, 100, 0.5)", "assert abs(r0[0] - 135.0) < 1e-6", "assert abs(r0[1] - 1.33) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "r1 = runtime(0.5, 30, 530, 0.3)", "asse...
theo-eng-code-L2-code-008451
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 440, 70, 60, 330], 5)", "assert abs(r0 - 1.4306) < 1e-6", "r1 = rect_energy([390, 70, 100, 190], 2)", "assert abs(r1 - 0.4167) < 1e-6", "r2 = rect_energy([1...
theo-eng-code-L2-code-009101
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-007545
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": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(70, 1900, 80, 0.36, 2.1, 0.008, 1.2, 0.92, 0.85)", "assert abs(r0[0] - 461.0) < 1e-6", "assert abs(r0[1] - 12.91) < 1e-6", "assert abs(r0[2] - 10.33) < 1e-6", "r1 = erange(92,...
theo-eng-code-L3-code-004238
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(72, 1430, 120, 0.29, 2.3, 0.011, 0.5, 0.88, 0.95)", "assert abs(r0[0] - 348.7) < 1e-6", "assert abs(r0[1] - 19.62) < 1e-6", "assert abs(r0[2] - 23.54) < 1e-6", "r1 = erange(76...
theo-eng-code-L2-code-008406
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-004386
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.32, 9500, 150)", "assert abs(r0[0] - 7.64) < 1e-6", "assert abs(r0[1] - 1243.4) < 1e-6", "r1 = gear_ratio(0.37, 6000, 100)", "assert abs(r1[0] - 8.37) < 1e-6", "ass...
theo-eng-code-L3-code-006484
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, 12500, 100)", "assert abs(r0[0] - 12.25) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6", "r1 = gear_ratio(0.32, 11500, 120)", "assert abs(r1[0] - 11.56) < 1e-6", "a...
theo-eng-code-L2-code-007643
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(32, 8, 0.25)", "assert abs(r0 - 17.44) < 1e-6", "r1 = rms_torque(29, 21, 0.25)", "assert abs(r1 - 23.26) < 1e-6", "r2 = rms_torque(72, 35, 0.75)", "assert abs(r2 - 64....
theo-eng-code-L2-code-015157
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([74, 51, 96, 35])", "assert r0[0] == 64", "assert abs(r0[1] - 26.671) < 1e-6", "r1 = summarise([69, 84, 15, 47, 56])", "assert abs(r1[0] - 54.2) < 1e-6", "assert...
theo-eng-code-L2-code-009605
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }