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-013722
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(58, 1420, 80, 0.33, 2.3, 0.007, 0.4, 0.94, 0.85)", "assert abs(r0[0] - 485.0) < 1e-6", "assert abs(r0[1] - 10.17) < 1e-6", "assert abs(r0[2] - 8.13) < 1e-6", "r1 = erange(23...
theo-eng-code-L1-clarify-001663
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-009650
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(5.4, 0.19, 60, 5.5, 3.5)", "assert abs(r0[0] - 13.24) < 1e-6", "assert abs(r0[1] - 0.2635) < 1e-6", "assert abs(r0[2] - 14.16) < 1e-6", "r1 = joint_torque(3.2, 0.56, 45,...
theo-eng-code-L2-code-008973
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-004247
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 260, 150, 0.7)", "assert abs(r0[0] - 227.0) < 1e-6", "assert abs(r0[1] - 3.96) < 1e-6", "assert abs(r0[2] - 237.9) < 1e-6", "r1 = runtime(0.5, 180, 270, 0.3)", "...
theo-eng-code-L3-code-006975
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(0.5, 130, 420, 0.5)", "assert abs(r0[0] - 275.0) < 1e-6", "assert abs(r0[1] - 1.64) < 1e-6", "assert abs(r0[2] - 98.2) < 1e-6", "r1 = runtime(0.1, 50, 600, 0.7)", "asse...
theo-eng-code-L1-clarify-000358
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-L2-code-004741
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(61, 31, 0.75)", "assert abs(r0 - 55.05) < 1e-6", "r1 = rms_torque(11, 3, 0.25)", "assert abs(r1 - 6.08) < 1e-6", "r2 = rms_torque(90, 35, 0.5)", "assert abs(r2 - 68.28...
theo-eng-code-L3-code-014778
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, 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" ], "subtask":...
theo-eng-code-L3-code-004555
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, 2080, 120, 0.34, 2.7, 0.007, 1.0, 0.94, 0.95)", "assert abs(r0[0] - 290.9) < 1e-6", "assert abs(r0[1] - 23.52) < 1e-6", "assert abs(r0[2] - 28.22) < 1e-6", "r1 = erange(48...
theo-eng-code-L3-code-000703
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.4, 0.3, 30, 0.0, 0.0)", "assert abs(r0[0] - 4.71) < 1e-6", "assert abs(r0[1] - 0.192) < 1e-6", "assert abs(r0[2] - 4.71) < 1e-6", "r1 = joint_torque(0.5, 0.21, 90, 7.5...
theo-eng-code-L3-code-009915
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(9, 13, 0.02, 0.03, 0.8, 0.8, 1)", "assert abs(r0[0] - 0.0259) < 1e-6", "assert abs(r0[1] - 0.8) < 1e-6", "assert abs(r0[2] - -0.0556) < 1e-6", "r1 = com_zmp(10, 10, 0.03, 0.05,...
theo-eng-code-L2-code-014842
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.5, 4.5], [1.0, 4.0])", "assert abs(r0 - 0.7071) < 1e-6", "r1 = seg_len([2.0, 5.0], [4.5, 0.5])", "assert abs(r1 - 5.1478) < 1e-6", "r2 = seg_len([2.0, 3.5], [3.0, 5.0]...
theo-eng-code-L2-code-002354
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 150, 460, 0.5)", "assert abs(r0[0] - 305.0) < 1e-6", "assert abs(r0[1] - 2.95) < 1e-6", "assert abs(r0[2] - 177.0) < 1e-6", "r1 = runtime(0.2, 250, 430, 0.3)", "...
theo-eng-code-L3-code-004879
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.38, 14000, 180)", "assert abs(r0[0] - 11.14) < 1e-6", "assert abs(r0[1] - 1256.5) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run...
theo-eng-code-L2-code-007601
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([80, 300, 470], 10)", "assert abs(r0 - 2.3611) < 1e-6", "r1 = rect_energy([260, 270, 110, 290], 10)", "assert abs(r1 - 2.5833) < 1e-6", "r2 = rect_energy([420, 15...
theo-eng-code-L3-code-001155
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(60, 50, 0.1, 0.9)", "assert abs(r0[0] - 1.2) < 1e-6", "assert abs(r0[1] - 72.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(1...
theo-eng-code-L2-code-014875
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.2, 1.0)", "assert abs(r0[0] - 9.09) < 1e-6", "assert abs(r0[1] - 545.5) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_t...
theo-eng-code-L2-code-003031
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 1.5], [4.0, 0.5])", "assert abs(r0 - 2.2361) < 1e-6", "r1 = seg_len([4.5, 2.5], [2.5, 1.0])", "assert abs(r1 - 2.5) < 1e-6", "r2 = seg_len([3.5, 1.0], [2.0, 1.5])",...
theo-eng-code-L3-code-002610
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(42, 2410, 100, 0.27, 2.3, 0.011, 0.9, 0.9, 0.85)", "assert abs(r0[0] - 198.5) < 1e-6", "assert abs(r0[1] - 17.98) < 1e-6", "assert abs(r0[2] - 17.98) < 1e-6", "r1 = erange(31,...
theo-eng-code-L3-code-008722
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 10, 3.6, 50)", "assert r0[0] == 56", "assert r0[1] == 1", "assert r0[2] == 56", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 10.08) < 1e-6", "r1 = pack...
theo-eng-code-L2-code-002887
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 6500, 120)", "assert abs(r0[0] - 5.92) < 1e-6", "assert abs(r0[1] - 1097.6) < 1e-6", "r1 = gear_ratio(0.41, 4000, 100)", "assert abs(r1[0] - 6.18) < 1e-6", "ass...
theo-eng-code-L2-code-003557
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(55, [0, 25, 50, 75, 100], [0.76, 0.82, 0.87, 0.87, 0.85])", "assert abs(r0 - 0.87) < 1e-6", "r1 = interp_eff(10, [0, 25, 50, 75, 100], [0.72, 0.82, 0.87, 0.86, 0.85])", "a...
theo-eng-code-L2-code-015558
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([5.0, 0.0], [0.5, 3.5])", "assert abs(r0 - 5.7009) < 1e-6", "r1 = seg_len([1.5, 3.5], [4.0, 0.0])", "assert abs(r1 - 4.3012) < 1e-6", "r2 = seg_len([1.5, 2.5], [3.0, 0.0]...
theo-eng-code-L3-code-000402
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(14, 21, -0.03, -0.01, 0.4, 0.9, 1)", "assert abs(r0[0] - -0.018) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - -0.0894) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L2-code-013702
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.1, 0.5, 45, 4.0, 3.0)", "assert abs(r0[0] - 22.72) < 1e-6", "assert abs(r0[1] - 1.425) < 1e-6", "assert abs(r0[2] - 26.99) < 1e-6", "r1 = joint_torque(1.3, 0.57, 30,...
theo-eng-code-L2-code-006196
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 190, 240, 0.3)", "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(0.1, 290, 220, 0.5)", "a...
theo-eng-code-L2-code-012837
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_sumloop", "user_template": "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-013480
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 13, 0.01, 0.0, 0.6, 0.5, 0.5)", "assert abs(r0[0] - 0.005) < 1e-6", "assert abs(r0[1] - 0.55) < 1e-6", "assert abs(r0[2] - -0.023) < 1e-6", "r1 = com_zmp(17, 18, 0.0, 0.0...
theo-eng-code-L3-code-008664
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": "3", "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" ], "subtask"...
theo-eng-code-L2-code-001558
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([2.5, 2.0], [5.0, 2.5])", "assert abs(r0 - 2.5495) < 1e-6", "r1 = seg_len([2.0, 3.0], [3.5, 5.0])", "assert abs(r1 - 2.5) < 1e-6", "r2 = seg_len([0.5, 4.5], [2.5, 0.0])",...
theo-eng-code-L1-refuse-011615
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-007401
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 250}')", "assert r1[0] == 40", "a...
theo-eng-code-L2-code-006500
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 50, 0.1, 1.0)", "assert abs(r0[0] - 0.45) < 1e-6", "assert abs(r0[1] - 27.0) < 1e-6", "assert abs(r0[2] - 18.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_tim...
theo-eng-code-L1-code-007483
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_cond", "user_template": "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-009524
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([94, 80, 36, 52, 61])", "assert abs(r0[0] - 64.6) < 1e-6", "assert abs(r0[1] - 22.865) < 1e-6", "r1 = summarise([20, 45, 53, 12, 57])", "assert abs(r1[0] - 37.4) < 1...
theo-eng-code-L1-code-004487
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_modulo", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-code-010852
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_cond", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-009969
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(7, 26, 0.01, 0.03, 0.7, 0.8, 1)", "assert abs(r0[0] - 0.0258) < 1e-6", "assert abs(r0[1] - 0.7788) < 1e-6", "assert abs(r0[2] - -0.0536) < 1e-6", "r1 = com_zmp(19, 10, -0.08, -...
theo-eng-code-L3-code-007520
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 50, 0.2, 0.8)", "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" ], "subtask":...
theo-eng-code-L2-code-005200
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 27, -0.05, -0.01, 0.6, 0.9, 2)", "assert abs(r0[0] - -0.0191) < 1e-6", "assert abs(r0[1] - 0.8314) < 1e-6", "assert abs(r0[2] - -0.1886) < 1e-6", "r1 = com_zmp(7, 27, -0.0...
theo-eng-code-L3-code-008654
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(42, 14, 0.5)", "assert abs(r0 - 31.3) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L2-code-013515
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 7500, 100)", "assert abs(r0[0] - 12.72) < 1e-6", "assert abs(r0[1] - 589.5) < 1e-6", "r1 = gear_ratio(0.26, 7500, 150)", "assert abs(r1[0] - 4.9) < 1e-6", "asse...
theo-eng-code-L2-code-013176
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 21, 0.04, 0.03, 0.9, 0.4, 2)", "assert abs(r0[0] - 0.0343) < 1e-6", "assert abs(r0[1] - 0.6162) < 1e-6", "assert abs(r0[2] - -0.0913) < 1e-6", "r1 = com_zmp(12, 28, 0.03,...
theo-eng-code-L2-code-006243
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.5, 0.45, 60, 8.0, 1.0)", "assert abs(r0[0] - 41.1) < 1e-6", "assert abs(r0[1] - 1.9913) < 1e-6", "assert abs(r0[2] - 43.09) < 1e-6", "r1 = joint_torque(4.8, 0.47, 30...
theo-eng-code-L2-code-014388
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 50, 0.2, 0.8)", "assert abs(r0[0] - 0.6) < 1e-6", "assert abs(r0[1] - 36.0) < 1e-6", "assert abs(r0[2] - 24.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L2-code-010589
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(73, 2730, 120, 0.32, 2.6, 0.011, 0.8, 0.88, 0.95)", "assert abs(r0[0] - 249.1) < 1e-6", "assert abs(r0[1] - 27.84) < 1e-6", "assert abs(r0[2] - 33.41) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-013488
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(80, [0, 25, 50, 75, 100], [0.78, 0.83, 0.87, 0.85, 0.83])", "assert abs(r0 - 0.846) < 1e-6", "r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.78, 0.81, 0.85, 0.85, 0.85])", "...
theo-eng-code-L1-code-009721
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_power", "user_template": "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-006079
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 22, 0.1, 0.9)", "assert abs(r0[0] - 0.91) < 1e-6", "assert abs(r0[1] - 54.5) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_time(...
theo-eng-code-L2-code-003794
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 11, -0.08, 0.0, 0.5, 0.6, 2)", "assert abs(r0[0] - -0.0486) < 1e-6", "assert abs(r0[1] - 0.5393) < 1e-6", "assert abs(r0[2] - -0.1585) < 1e-6", "r1 = com_zmp(6, 27, -0.04...
theo-eng-code-L2-code-012781
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_maxloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-001669
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = summarise([24, 20, 48, 72, 90, 41])", "assert abs(r0[0] - 49.167) < 1e-6", "assert abs(r0[1] - 27.353) < 1e-6", "r1 = summarise([39, 20, 45, 22, 95, 97])", "assert r1[0] == 53...
theo-eng-code-L2-code-006568
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([220, 420, 70], 10)", "assert abs(r0 - 1.9722) < 1e-6", "r1 = rect_energy([240, 310, 470], 1)", "assert abs(r1 - 0.2833) < 1e-6", "r2 = rect_energy([50, 490, 440,...
theo-eng-code-L1-code-001775
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_modulo", "user_template": "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-001911
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(71, 1600, 100, 0.27, 2.2, 0.011, 1.5, 0.9, 0.9)", "assert abs(r0[0] - 412.4) < 1e-6", "assert abs(r0[1] - 15.49) < 1e-6", "assert abs(r0[2] - 15.49) < 1e-6", "r1 = erange(81...
theo-eng-code-L2-code-010086
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 10, 0.25)", "assert abs(r0 - 10.26) < 1e-6", "r1 = rms_torque(52, 6, 0.5)", "assert abs(r1 - 37.01) < 1e-6", "r2 = rms_torque(12, 4, 0.25)", "assert abs(r2 - 6.93)...
theo-eng-code-L3-code-007598
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.4, 13500, 180)", "assert abs(r0[0] - 11.31) < 1e-6", "assert abs(r0[1] - 1193.7) < 1e-6", "r1 = gear_ratio(0.34, 11000, 120)", "assert abs(r1[0] - 11.75) < 1e-6", "as...
theo-eng-code-L2-code-009544
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.0, 4.5], [2.0, 2.0])", "assert abs(r0 - 3.2016) < 1e-6", "r1 = seg_len([2.0, 3.5], [2.0, 0.5])", "assert abs(r1 - 3.0) < 1e-6", "r2 = seg_len([0.0, 5.0], [3.0, 2.5])",...
theo-eng-code-L2-code-014072
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([22, 98, 22, 55, 99])", "assert abs(r0[0] - 59.2) < 1e-6", "assert abs(r0[1] - 38.324) < 1e-6", "r1 = summarise([34, 70, 76, 23, 68])", "assert abs(r1[0] - 54.2) < 1...
theo-eng-code-L2-code-002110
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.1, 0.3, 90, 4.5, 3.0)", "assert abs(r0[0] - 22.22) < 1e-6", "assert abs(r0[1] - 0.588) < 1e-6", "assert abs(r0[2] - 23.98) < 1e-6", "r1 = joint_torque(3.0, 0.44, 45,...
theo-eng-code-L2-code-002161
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([330, 200, 90, 60, 120], 10)", "assert abs(r0 - 2.2222) < 1e-6", "r1 = rect_energy([410, 280, 180, 490, 350], 1)", "assert abs(r1 - 0.475) < 1e-6", "r2 = rect_ene...
theo-eng-code-L2-code-007275
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.5, 1.0], [3.0, 2.5])", "assert abs(r0 - 2.1213) < 1e-6", "r1 = seg_len([1.5, 3.0], [1.0, 0.5])", "assert abs(r1 - 2.5495) < 1e-6", "r2 = seg_len([4.5, 2.0], [3.0, 1.0]...
theo-eng-code-L2-code-013009
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 22, 0.2, 1.0)", "assert abs(r0[0] - 0.91) < 1e-6", "assert abs(r0[1] - 54.5) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L2-code-002604
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(54, 2760, 100, 0.23, 2.5, 0.009, 1.0, 0.9, 0.95)", "assert abs(r0[0] - 303.4) < 1e-6", "assert abs(r0[1] - 16.91) < 1e-6", "assert abs(r0[2] - 16.91) < 1e-6", "r1 = erange(7...
theo-eng-code-L2-code-015239
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 6500, 100)", "assert abs(r0[0] - 9.07) < 1e-6", "assert abs(r0[1] - 716.9) < 1e-6", "r1 = gear_ratio(0.31, 12000, 120)", "assert abs(r1[0] - 11.69) < 1e-6", "as...
theo-eng-code-L2-code-005834
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([220, 180, 160, 460], 2)", "assert abs(r0 - 0.5667) < 1e-6", "r1 = rect_energy([350, 260, 230], 2)", "assert abs(r1 - 0.4667) < 1e-6", "r2 = rect_energy([360, 130...
theo-eng-code-L2-code-012830
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 290, 130, 0.7)", "assert abs(r0[0] - 242.0) < 1e-6", "assert abs(r0[1] - 0.74) < 1e-6", "assert abs(r0[2] - 44.6) < 1e-6", "r1 = runtime(0.1, 190, 40, 0.5)", "as...
theo-eng-code-L3-code-002536
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 220, 600, 0.3)", "assert abs(r0[0] - 486.0) < 1e-6", "assert abs(r0[1] - 0.19) < 1e-6", "assert abs(r0[2] - 11.1) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L2-code-005118
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-012763
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([290, 60, 460, 470], 1)", "assert abs(r0 - 0.3556) < 1e-6", "r1 = rect_energy([130, 460, 90, 270], 1)", "assert abs(r1 - 0.2639) < 1e-6", "r2 = rect_energy([400, ...
theo-eng-code-L2-code-005178
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.28, 14500, 180)", "assert abs(r0[0] - 8.5) < 1e-6", "assert abs(r0[1] - 1705.2) < 1e-6", "r1 = gear_ratio(0.45, 9500, 150)", "assert abs(r1[0] - 10.74) < 1e-6", "as...
theo-eng-code-L3-code-006692
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(20, 11, 0.0, 0.04, 0.6, 0.9, 0)", "assert abs(r0[0] - 0.0142) < 1e-6", "assert abs(r0[1] - 0.7065) < 1e-6", "assert abs(r0[2] - 0.0142) < 1e-6", "r1 = com_zmp(17, 15, -0.02, 0....
theo-eng-code-L1-refuse-012566
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-007484
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(79, 28, 0.5)", "assert abs(r0 - 59.27) < 1e-6", "r1 = rms_torque(62, 25, 0.5)", "assert abs(r1 - 47.27) < 1e-6", "r2 = rms_torque(96, 4, 0.25)", "assert abs(r2 - 48.12...
theo-eng-code-L2-code-010531
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 2260, 100, 0.29, 3.1, 0.008, 0.5, 0.88, 0.9)", "assert abs(r0[0] - 461.3) < 1e-6", "assert abs(r0[1] - 19.51) < 1e-6", "assert abs(r0[2] - 19.51) < 1e-6", "r1 = erange(...
theo-eng-code-L3-code-000967
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": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 20, 3.7, 2.5)", "assert r0[0] == 108", "assert r0[1] == 21", "assert r0[2] == 2268", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 20.979) < 1e-6", "r1 ...
theo-eng-code-L2-code-005227
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.25, 9000, 120)", "assert abs(r0[0] - 7.07) < 1e-6", "assert abs(r0[1] - 1273.2) < 1e-6", "r1 = gear_ratio(0.33, 8000, 150)", "assert abs(r1[0] - 6.64) < 1e-6", "ass...
theo-eng-code-L3-code-005948
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(22, 18, 0.5)", "assert abs(r0 - 20.1) < 1e-6", "r1 = rms_torque(23, 22, 0.75)", "assert abs(r1 - 22.75) < 1e-6", "r2 = rms_torque(31, 20, 0.5)", "assert abs(r2 - 26.09) ...
theo-eng-code-L2-code-008453
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(45, [0, 25, 50, 75, 100], [0.76, 0.83, 0.86, 0.88, 0.82])", "assert abs(r0 - 0.854) < 1e-6", "r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.76, 0.84, 0.88, 0.87, 0.8])", "a...
theo-eng-code-L2-code-013373
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-010847
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(27, 1710, 80, 0.35, 2.0, 0.008, 0.9, 0.88, 0.95)", "assert abs(r0[0] - 213.0) < 1e-6", "assert abs(r0[1] - 12.04) < 1e-6", "assert abs(r0[2] - 9.64) < 1e-6", "r1 = erange(76...
theo-eng-code-L2-code-003232
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.29, 12500, 120)", "assert abs(r0[0] - 11.39) < 1e-6", "assert abs(r0[1] - 1097.6) < 1e-6", "r1 = gear_ratio(0.37, 6500, 150)", "assert abs(r1[0] - 6.04) < 1e-6", "a...
theo-eng-code-L2-code-008444
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 27, 0.1, -0.04, 0.5, 0.7, 2)", "assert abs(r0[0] - 0.0121) < 1e-6", "assert abs(r0[1] - 0.6256) < 1e-6", "assert abs(r0[2] - -0.1154) < 1e-6", "r1 = com_zmp(17, 26, 0.09,...
theo-eng-code-L3-code-013060
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": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(51, 34, 0.5)", "assert abs(r0 - 43.34) < 1e-6", "r1 = rms_torque(45, 23, 0.75)", "assert abs(r1 - 40.63) < 1e-6", "r2 = rms_torque(78, 24, 0.5)", "assert abs(r2 - 57.71)...
theo-eng-code-L2-code-015894
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = seg_len([2.0, 2.5], [0.5, 3.5])", "assert abs(r0 - 1.8028) < 1e-6", "r1 = seg_len([3.0, 2.5], [3.0, 0.0])", "assert abs(r1 - 2.5) < 1e-6", "r2 = seg_len([2.5, 3.5], [4.0, 1.5])",...
theo-eng-code-L2-code-007530
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 22, 0.1, 1.0)", "assert abs(r0[0] - 1.02) < 1e-6", "assert abs(r0[1] - 61.4) < 1e-6", "assert abs(r0[2] - 18.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L3-code-004916
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(57, 980, 60, 0.29, 2.8, 0.01, 0.6, 0.92, 0.95)", "assert abs(r0[0] - 670.7) < 1e-6", "assert abs(r0[1] - 8.07) < 1e-6", "assert abs(r0[2] - 4.84) < 1e-6" ], "subtask": ...
theo-eng-code-L2-code-002347
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([420, 360, 410], 5)", "assert abs(r0 - 1.6528) < 1e-6", "r1 = rect_energy([250, 420, 380, 200], 10)", "assert abs(r1 - 3.4722) < 1e-6", "r2 = rect_energy([80, 250...
theo-eng-code-L2-code-015236
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 20, 3.6, 50)", "assert r0[0] == 222", "assert r0[1] == 1", "assert r0[2] == 222", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 = ...
theo-eng-code-L1-refuse-007375
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_fake_sensors", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-008299
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, 80, 210, 0.3)", "assert abs(r0[0] - 171.0) < 1e-6", "assert abs(r0[1] - 2.63) < 1e-6", "assert abs(r0[2] - 157.9) < 1e-6", "r1 = runtime(0.5, 240, 160, 0.7)", "ass...
theo-eng-code-L2-code-008407
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(73, 24, 0.5)", "assert abs(r0 - 54.34) < 1e-6", "r1 = rms_torque(22, 8, 0.25)", "assert abs(r1 - 13.0) < 1e-6", "r2 = rms_torque(97, 30, 0.75)", "assert abs(r2 - 85.33...
theo-eng-code-L2-code-015066
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([470, 90, 130], 10)", "assert abs(r0 - 1.9167) < 1e-6", "r1 = rect_energy([190, 170, 130, 410], 5)", "assert abs(r1 - 1.25) < 1e-6", "r2 = rect_energy([340, 70, 1...
theo-eng-code-L3-code-003318
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(13, 20, 0.08, 0.09, 0.3, 0.3, 0.5)", "assert abs(r0[0] - 0.0861) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - 0.0708) < 1e-6", "r1 = com_zmp(6, 18, -0.05, -0....
theo-eng-code-L2-code-011100
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(99, 24, 0.5)", "assert abs(r0 - 72.03) < 1e-6", "r1 = rms_torque(9, 7, 0.75)", "assert abs(r1 - 8.54) < 1e-6", "r2 = rms_torque(44, 39, 0.75)", "assert abs(r2 - 42.8) ...
theo-eng-code-L2-code-015897
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([340, 470, 130, 380], 2)", "assert abs(r0 - 0.7333) < 1e-6", "r1 = rect_energy([450, 50, 180], 10)", "assert abs(r1 - 1.8889) < 1e-6", "r2 = rect_energy([430, 460...
theo-eng-code-L3-code-004444
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, 170, 200, 0.3)", "assert abs(r0[0] - 191.0) < 1e-6", "assert abs(r0[1] - 2.36) < 1e-6", "assert abs(r0[2] - 141.4) < 1e-6" ], "subtask": "writetests", "verifi...
theo-eng-code-L3-code-004300
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.42, 5000, 180)", "assert abs(r0[0] - 4.4) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.44, 4000, 100)", "assert abs(r1[0] - 6.64) < 1e-6", "assert...
theo-eng-code-L2-code-014872
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(19, 16, 0.1, 0.07, 0.6, 0.9, 0.5)", "assert abs(r0[0] - 0.0863) < 1e-6", "assert abs(r0[1] - 0.7371) < 1e-6", "assert abs(r0[2] - 0.0487) < 1e-6", "r1 = com_zmp(15, 14, -0.09...