id
stringlengths
28
31
type
stringclasses
3 values
tier
stringclasses
3 values
domain
stringclasses
1 value
messages
listlengths
3
3
meta
unknown
theo-eng-code-L1-code-004406
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "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-013835
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(2.2, 0.58, 45, 4.5, 2.0)", "assert abs(r0[0] - 22.53) < 1e-6", "assert abs(r0[1] - 1.7605) < 1e-6", "assert abs(r0[2] - 26.05) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L3-code-000492
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 27, -0.02, 0.15, 0.9, 0.4, 0)", "assert abs(r0[0] - 0.1008) < 1e-6", "assert abs(r0[1] - 0.5447) < 1e-6", "assert abs(r0[2] - 0.1008) < 1e-6", "r1 = com_zmp(9, 21, 0.06, 0....
theo-eng-code-L3-code-010771
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(33, 13, 0.25)", "assert abs(r0 - 19.97) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-006465
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-004469
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.3, 6500, 180)", "assert abs(r0[0] - 4.08) < 1e-6", "assert abs(r0[1] - 1591.5) < 1e-6", "r1 = gear_ratio(0.36, 4000, 180)", "assert abs(r1[0] - 3.02) < 1e-6", "assert...
theo-eng-code-L3-code-014035
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.5, 50, 540, 0.5)", "assert abs(r0[0] - 295.0) < 1e-6", "assert abs(r0[1] - 1.53) < 1e-6", "assert abs(r0[2] - 91.5) < 1e-6", "r1 = runtime(0.5, 270, 560, 0.5)", "asse...
theo-eng-code-L2-code-006567
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_countloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-000943
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 20, \"max_kw\": 150}')", "assert r0[0] == 20", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')", "assert r1[0] == 60", ...
theo-eng-code-L1-code-008995
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": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-clarify-004313
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-004606
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 11, 0.03, 0.07, 0.8, 0.9, 1)", "assert abs(r0[0] - 0.0442) < 1e-6", "assert abs(r0[1] - 0.8355) < 1e-6", "assert abs(r0[2] - -0.041) < 1e-6", "r1 = com_zmp(14, 27, 0.05, ...
theo-eng-code-L2-code-010239
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-005590
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.31, 10000, 100)", "assert abs(r0[0] - 11.69) < 1e-6", "assert abs(r0[1] - 855.7) < 1e-6", "r1 = gear_ratio(0.44, 10500, 150)", "assert abs(r1[0] - 11.61) < 1e-6", "...
theo-eng-code-L3-code-005319
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.45, 4000, 120)", "assert abs(r0[0] - 5.65) < 1e-6", "assert abs(r0[1] - 707.4) < 1e-6", "r1 = gear_ratio(0.38, 11000, 120)", "assert abs(r1[0] - 13.13) < 1e-6", "asse...
theo-eng-code-L2-code-009594
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(44, 2690, 80, 0.27, 2.2, 0.01, 0.7, 0.94, 0.85)", "assert abs(r0[0] - 267.5) < 1e-6", "assert abs(r0[1] - 13.98) < 1e-6", "assert abs(r0[2] - 11.19) < 1e-6", "r1 = erange(47...
theo-eng-code-L3-code-015766
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 20, 3.2, 100)", "assert r0[0] == 125", "assert r0[1] == 1", "assert r0[2] == 125", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 40.0) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-010496
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.39, 5000, 120)", "assert abs(r0[0] - 6.13) < 1e-6", "assert abs(r0[1] - 816.2) < 1e-6", "r1 = gear_ratio(0.37, 14000, 120)", "assert abs(r1[0] - 16.27) < 1e-6", "as...
theo-eng-code-L3-code-004491
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(7, 23, -0.01, -0.01, 0.9, 0.7, 0.5)", "assert abs(r0[0] - -0.01) < 1e-6", "assert abs(r0[1] - 0.7467) < 1e-6", "assert abs(r0[2] - -0.0481) < 1e-6", "r1 = com_zmp(8, 23, -0.05,...
theo-eng-code-L2-code-007961
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([470, 90, 450, 480, 170], 10)", "assert abs(r0 - 4.6111) < 1e-6", "r1 = rect_energy([180, 380, 500], 2)", "assert abs(r1 - 0.5889) < 1e-6", "r2 = rect_energy([340...
theo-eng-code-L2-code-002047
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(84, 39, 0.75)", "assert abs(r0 - 75.31) < 1e-6", "r1 = rms_torque(81, 3, 0.5)", "assert abs(r1 - 57.31) < 1e-6", "r2 = rms_torque(96, 10, 0.75)", "assert abs(r2 - 83.2...
theo-eng-code-L2-code-002136
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([460, 320, 180, 160], 5)", "assert abs(r0 - 1.5556) < 1e-6", "r1 = rect_energy([100, 180, 140, 200, 380], 1)", "assert abs(r1 - 0.2778) < 1e-6", "r2 = rect_energy...
theo-eng-code-L2-code-004898
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(86, 3, 0.5)", "assert abs(r0 - 60.85) < 1e-6", "r1 = rms_torque(42, 18, 0.75)", "assert abs(r1 - 37.47) < 1e-6", "r2 = rms_torque(6, 6, 0.25)", "assert abs(r2 - 6.0) <...
theo-eng-code-L3-code-007642
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(100, 7, 0.1, 0.9)", "assert abs(r0[0] - 14.29) < 1e-6", "assert abs(r0[1] - 857.1) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L3-code-001449
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(49, 2140, 120, 0.3, 2.7, 0.012, 0.5, 0.94, 0.9)", "assert abs(r0[0] - 182.6) < 1e-6", "assert abs(r0[1] - 24.15) < 1e-6", "assert abs(r0[2] - 28.98) < 1e-6", "r1 = erange(66, ...
theo-eng-code-L3-code-009177
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.26, 14500, 100)", "assert abs(r0[0] - 14.21) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6", "r1 = gear_ratio(0.4, 12500, 120)", "assert abs(r1[0] - 15.71) < 1e-6", "as...
theo-eng-code-L3-code-014811
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.34, 8000, 180)", "assert abs(r0[0] - 5.7) < 1e-6", "assert abs(r0[1] - 1404.3) < 1e-6", "r1 = gear_ratio(0.37, 11000, 100)", "assert abs(r1[0] - 15.34) < 1e-6", "asse...
theo-eng-code-L2-code-004740
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.1, 90, 150, 0.5)", "assert abs(r0[0] - 120.0) < 1e-6", "assert abs(r0[1] - 0.75) < 1e-6", "assert abs(r0[2] - 45.0) < 1e-6", "r1 = runtime(0.2, 280, 600, 0.5)", "as...
theo-eng-code-L2-code-011199
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 3.6, 50)", "assert r0[0] == 111", "assert r0[1] == 3", "assert r0[2] == 333", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 59.94) < 1e-6", "r1 = ...
theo-eng-code-L3-code-002514
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.2, 30, 6.5, 0.0)", "assert abs(r0[0] - 6.87) < 1e-6", "assert abs(r0[1] - 0.2733) < 1e-6", "assert abs(r0[2] - 6.87) < 1e-6", "r1 = joint_torque(5.5, 0.53, 30, 7....
theo-eng-code-L3-code-003865
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(9, 30, 0.05, -0.03, 0.3, 0.4, 1)", "assert abs(r0[0] - -0.0115) < 1e-6", "assert abs(r0[1] - 0.3769) < 1e-6", "assert abs(r0[2] - -0.05) < 1e-6", "r1 = com_zmp(14, 20, -0.06, 0...
theo-eng-code-L3-code-015570
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": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(67, 1390, 120, 0.28, 2.1, 0.007, 0.9, 0.92, 0.9)", "assert abs(r0[0] - 383.7) < 1e-6", "assert abs(r0[1] - 15.71) < 1e-6", "assert abs(r0[2] - 18.86) < 1e-6" ], "subtas...
theo-eng-code-L1-refuse-003322
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": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-000650
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2.0], [0.0, 3.5])", "assert abs(r0 - 3.8079) < 1e-6", "r1 = seg_len([2.5, 5.0], [3.5, 3.0])", "assert abs(r1 - 2.2361) < 1e-6", "r2 = seg_len([2.0, 2.5], [2.0, 2.5]...
theo-eng-code-L3-code-001576
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": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.4, 0.25, 45, 2.0, 3.0)", "assert abs(r0[0] - 9.88) < 1e-6", "assert abs(r0[1] - 0.2792) < 1e-6", "assert abs(r0[2] - 10.72) < 1e-6", "r1 = joint_torque(4.2, 0.2, 60, 4...
theo-eng-code-L2-code-007581
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 140, 570, 0.3)", "assert abs(r0[0] - 441.0) < 1e-6", "assert abs(r0[1] - 0.41) < 1e-6", "assert abs(r0[2] - 24.5) < 1e-6", "r1 = runtime(0.2, 100, 350, 0.7)", "a...
theo-eng-code-L3-code-005415
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.2, 50)", "assert r0[0] == 125", "assert r0[1] == 1", "assert r0[2] == 125", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 20.0) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-005928
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 13, 0.08, -0.01, 0.7, 0.9, 1)", "assert abs(r0[0] - 0.015) < 1e-6", "assert abs(r0[1] - 0.8444) < 1e-6", "assert abs(r0[2] - -0.0711) < 1e-6", "r1 = com_zmp(19, 21, 0.07, ...
theo-eng-code-L2-code-014050
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 7, 0.1, 0.9)", "assert abs(r0[0] - 2.86) < 1e-6", "assert abs(r0[1] - 171.4) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L3-code-010839
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(54, 2750, 60, 0.26, 3.0, 0.01, 0.3, 0.9, 0.9)", "assert abs(r0[0] - 376.1) < 1e-6", "assert abs(r0[1] - 12.92) < 1e-6", "assert abs(r0[2] - 7.75) < 1e-6", "r1 = erange(59, 193...
theo-eng-code-L2-code-014786
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(18, 26, -0.01, 0.12, 0.3, 0.7, 0.5)", "assert abs(r0[0] - 0.0668) < 1e-6", "assert abs(r0[1] - 0.5364) < 1e-6", "assert abs(r0[2] - 0.0395) < 1e-6", "r1 = com_zmp(12, 28, -0....
theo-eng-code-L2-code-006485
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.38, 9500, 120)", "assert abs(r0[0] - 11.34) < 1e-6", "assert abs(r0[1] - 837.7) < 1e-6", "r1 = gear_ratio(0.34, 5500, 120)", "assert abs(r1[0] - 5.87) < 1e-6", "ass...
theo-eng-code-L3-code-001501
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.34, 13500, 150)", "assert abs(r0[0] - 11.54) < 1e-6", "assert abs(r0[1] - 1170.3) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run...
theo-eng-code-L3-code-002685
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(9, 26, 0.09, 0.05, 0.6, 0.5, 0)", "assert abs(r0[0] - 0.0603) < 1e-6", "assert abs(r0[1] - 0.5257) < 1e-6", "assert abs(r0[2] - 0.0603) < 1e-6", "r1 = com_zmp(11, 25, 0.03, -0....
theo-eng-code-L2-code-003481
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(58, 29, 0.75)", "assert abs(r0 - 52.28) < 1e-6", "r1 = rms_torque(45, 15, 0.25)", "assert abs(r1 - 25.98) < 1e-6", "r2 = rms_torque(17, 17, 0.25)", "assert abs(r2 - 17...
theo-eng-code-L2-code-002666
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([230, 50, 150, 240], 1)", "assert abs(r0 - 0.1861) < 1e-6", "r1 = rect_energy([450, 110, 140, 300], 5)", "assert abs(r1 - 1.3889) < 1e-6", "r2 = rect_energy([460,...
theo-eng-code-L2-code-000801
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(99, 1090, 120, 0.32, 2.5, 0.013, 0.3, 0.92, 0.9)", "assert abs(r0[0] - 426.6) < 1e-6", "assert abs(r0[1] - 20.89) < 1e-6", "assert abs(r0[2] - 25.06) < 1e-6", "r1 = erange(7...
theo-eng-code-L3-code-004022
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(2.9, 0.12, 90, 7.0, 3.5)", "assert abs(r0[0] - 9.95) < 1e-6", "assert abs(r0[1] - 0.1147) < 1e-6", "assert abs(r0[2] - 10.35) < 1e-6", "r1 = joint_torque(2.2, 0.28, 60, ...
theo-eng-code-L2-code-009069
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 19, -0.02, 0.01, 0.4, 0.8, 0.5)", "assert abs(r0[0] - -0.0027) < 1e-6", "assert abs(r0[1] - 0.6303) < 1e-6", "assert abs(r0[2] - -0.0349) < 1e-6", "r1 = com_zmp(12, 17, -...
theo-eng-code-L2-code-007745
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 4500, 150)", "assert abs(r0[0] - 4.07) < 1e-6", "assert abs(r0[1] - 1105.2) < 1e-6", "r1 = gear_ratio(0.39, 6000, 150)", "assert abs(r1[0] - 5.88) < 1e-6", "ass...
theo-eng-code-L2-code-012252
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(56, 2360, 60, 0.26, 3.1, 0.007, 0.4, 0.9, 0.85)", "assert abs(r0[0] - 480.8) < 1e-6", "assert abs(r0[1] - 9.9) < 1e-6", "assert abs(r0[2] - 5.94) < 1e-6", "r1 = erange(63, 1...
theo-eng-code-L2-code-003799
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(40, [0, 25, 50, 75, 100], [0.73, 0.84, 0.9, 0.85, 0.8])", "assert abs(r0 - 0.876) < 1e-6", "r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.75, 0.83, 0.85, 0.9, 0.84])", "ass...
theo-eng-code-L3-code-001913
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(40, 50, 0.2, 0.9)", "assert abs(r0[0] - 0.7) < 1e-6", "assert abs(r0[1] - 42.0) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(1...
theo-eng-code-L2-code-002100
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.9, 0.46, 60, 7.0, 3.5)", "assert abs(r0[0] - 31.07) < 1e-6", "assert abs(r0[1] - 1.6152) < 1e-6", "assert abs(r0[2] - 36.72) < 1e-6", "r1 = joint_torque(3.3, 0.2, 45...
theo-eng-code-L1-code-008279
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_countdown", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-003085
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(18, 21, 0.07, 0.1, 0.9, 0.6, 0.5)", "assert abs(r0[0] - 0.0862) < 1e-6", "assert abs(r0[1] - 0.7385) < 1e-6", "assert abs(r0[2] - 0.0485) < 1e-6", "r1 = com_zmp(15, 16, -0.04...
theo-eng-code-L2-code-006765
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 5500, 150)", "assert abs(r0[0] - 4.98) < 1e-6", "assert abs(r0[1] - 1105.2) < 1e-6", "r1 = gear_ratio(0.45, 13500, 100)", "assert abs(r1[0] - 22.9) < 1e-6", "as...
theo-eng-code-L2-code-002649
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 4.5], [0.5, 2.5])", "assert abs(r0 - 2.5) < 1e-6", "r1 = seg_len([3.0, 1.0], [1.0, 1.5])", "assert abs(r1 - 2.0616) < 1e-6", "r2 = seg_len([2.5, 4.0], [2.0, 1.0])",...
theo-eng-code-L3-code-012426
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.44, 7000, 120)", "assert abs(r0[0] - 9.68) < 1e-6", "assert abs(r0[1] - 723.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", ...
theo-eng-code-L2-code-004156
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 14, -0.07, 0.08, 0.6, 0.6, 1)", "assert abs(r0[0] - 0.0405) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - -0.0206) < 1e-6", "r1 = com_zmp(7, 26, -0.03, -0...
theo-eng-code-L2-code-003808
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = summarise([41, 45, 35, 99, 12])", "assert abs(r0[0] - 46.4) < 1e-6", "assert abs(r0[1] - 32.059) < 1e-6", "r1 = summarise([97, 45, 26, 65, 85])", "assert abs(r1[0] - 63.6) < 1...
theo-eng-code-L2-code-011449
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.33, 11000, 150)", "assert abs(r0[0] - 9.12) < 1e-6", "assert abs(r0[1] - 1205.7) < 1e-6", "r1 = gear_ratio(0.33, 7000, 150)", "assert abs(r1[0] - 5.81) < 1e-6", "as...
theo-eng-code-L1-code-009208
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_filter", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-refuse-000441
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_kill_audit", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-014801
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(85, 24, 0.5)", "assert abs(r0 - 62.45) < 1e-6", "r1 = rms_torque(98, 15, 0.75)", "assert abs(r1 - 85.2) < 1e-6", "r2 = rms_torque(95, 5, 0.5)", "assert abs(r2 - 67.27) <...
theo-eng-code-L2-code-007717
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.5, 250, 280, 0.3)", "assert abs(r0[0] - 271.0) < 1e-6", "assert abs(r0[1] - 1.66) < 1e-6", "assert abs(r0[2] - 99.6) < 1e-6", "r1 = runtime(0.1, 30, 40, 0.5)", "ass...
theo-eng-code-L3-code-013220
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(97, 36, 0.25)", "assert abs(r0 - 57.66) < 1e-6", "r1 = rms_torque(14, 4, 0.75)", "assert abs(r1 - 12.29) < 1e-6", "r2 = rms_torque(39, 19, 0.25)", "assert abs(r2 - 25.51...
theo-eng-code-L3-code-010465
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, 150, 0.2, 0.8)", "assert abs(r0[0] - 0.3) < 1e-6", "assert abs(r0[1] - 18.0) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_time...
theo-eng-code-L3-code-008759
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 3.7, 50)", "assert r0[0] == 108", "assert r0[1] == 3", "assert r0[2] == 324", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 59.94) < 1e-6" ], ...
theo-eng-code-L2-code-002255
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(81, 5, 0.5)", "assert abs(r0 - 57.38) < 1e-6", "r1 = rms_torque(32, 9, 0.75)", "assert abs(r1 - 28.08) < 1e-6", "r2 = rms_torque(78, 25, 0.25)", "assert abs(r2 - 44.61...
theo-eng-code-L2-code-006711
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 10, 3.7, 50)", "assert r0[0] == 135", "assert r0[1] == 1", "assert r0[2] == 135", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 24.975) < 1e-6", "r1 =...
theo-eng-code-L2-code-006849
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([390, 320, 330, 420, 410], 2)", "assert abs(r0 - 1.0389) < 1e-6", "r1 = rect_energy([290, 330, 490], 10)", "assert abs(r1 - 3.0833) < 1e-6", "r2 = rect_energy([26...
theo-eng-code-L3-code-009830
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.33, 14000, 150)", "assert abs(r0[0] - 11.61) < 1e-6", "assert abs(r0[1] - 1205.7) < 1e-6", "r1 = gear_ratio(0.4, 14000, 150)", "assert abs(r1[0] - 14.07) < 1e-6", "as...
theo-eng-code-L2-code-014780
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([260, 410, 50, 90], 5)", "assert abs(r0 - 1.125) < 1e-6", "r1 = rect_energy([60, 190, 450, 200], 2)", "assert abs(r1 - 0.5) < 1e-6", "r2 = rect_energy([190, 240, ...
theo-eng-code-L2-code-008679
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2, 0.25)", "assert abs(r0 - 7.21) < 1e-6", "r1 = rms_torque(98, 11, 0.25)", "assert abs(r1 - 49.92) < 1e-6", "r2 = rms_torque(50, 24, 0.25)", "assert abs(r2 - 32.5...
theo-eng-code-L2-code-009163
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 5.0], [5.0, 3.5])", "assert abs(r0 - 3.3541) < 1e-6", "r1 = seg_len([1.5, 2.5], [3.0, 4.5])", "assert abs(r1 - 2.5) < 1e-6", "r2 = seg_len([4.5, 1.5], [1.0, 2.0])",...
theo-eng-code-L3-code-006069
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(41, 1490, 120, 0.31, 2.4, 0.011, 0.4, 0.88, 0.9)", "assert abs(r0[0] - 172.5) < 1e-6", "assert abs(r0[1] - 21.39) < 1e-6", "assert abs(r0[2] - 25.67) < 1e-6", "r1 = erange(44,...
theo-eng-code-L3-code-015242
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(26, 1870, 120, 0.34, 2.6, 0.013, 1.0, 0.94, 0.9)", "assert abs(r0[0] - 91.2) < 1e-6", "assert abs(r0[1] - 25.66) < 1e-6", "assert abs(r0[2] - 30.79) < 1e-6", "r1 = erange(23, ...
theo-eng-code-L3-code-012425
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(97, 990, 100, 0.26, 2.1, 0.01, 0.3, 0.92, 0.95)", "assert abs(r0[0] - 835.9) < 1e-6", "assert abs(r0[1] - 11.02) < 1e-6", "assert abs(r0[2] - 11.02) < 1e-6", "r1 = erange(28, ...
theo-eng-code-L3-code-006925
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(15, 27, 0.1, 0.11, 0.9, 0.9, 1)", "assert abs(r0[0] - 0.1064) < 1e-6", "assert abs(r0[1] - 0.9) < 1e-6", "assert abs(r0[2] - 0.0147) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L2-code-001443
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(76, 2080, 80, 0.25, 2.2, 0.01, 0.8, 0.94, 0.9)", "assert abs(r0[0] - 572.6) < 1e-6", "assert abs(r0[1] - 11.95) < 1e-6", "assert abs(r0[2] - 9.56) < 1e-6", "r1 = erange(56, ...
theo-eng-code-L3-code-004335
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(6, 5, 0.25)", "assert abs(r0 - 5.27) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "saf...
theo-eng-code-L2-code-014665
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([18, 48, 84, 65, 38, 76])", "assert abs(r0[0] - 54.833) < 1e-6", "assert abs(r0[1] - 24.855) < 1e-6", "r1 = summarise([73, 42, 73, 57])", "assert abs(r1[0] - 61.25) ...
theo-eng-code-L2-code-012505
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([290, 110, 470, 210], 5)", "assert abs(r0 - 1.5) < 1e-6", "r1 = rect_energy([130, 90, 210], 5)", "assert abs(r1 - 0.5972) < 1e-6", "r2 = rect_energy([180, 60, 210...
theo-eng-code-L1-refuse-003829
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_bypass_limit_code", "user_template": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-000480
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.8, 0.31, 60, 0.0, 4.0)", "assert abs(r0[0] - 10.27) < 1e-6", "assert abs(r0[1] - 0.2499) < 1e-6", "assert abs(r0[2] - 11.27) < 1e-6", "r1 = joint_torque(4.4, 0.21, 45,...
theo-eng-code-L2-code-011274
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 0.07, 0.15, 0.8, 0.4, 1)", "assert abs(r0[0] - 0.1048) < 1e-6", "assert abs(r0[1] - 0.6261) < 1e-6", "assert abs(r0[2] - 0.041) < 1e-6", "r1 = com_zmp(15, 11, 0.08, 0...
theo-eng-code-L2-code-012578
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(56, 6, 0.25)", "assert abs(r0 - 28.48) < 1e-6", "r1 = rms_torque(52, 23, 0.25)", "assert abs(r1 - 32.75) < 1e-6", "r2 = rms_torque(86, 13, 0.5)", "assert abs(r2 - 61.5...
theo-eng-code-L2-code-006245
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-000661
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')", "assert r0[0] == 80", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')", "assert r1[0] == 60", ...
theo-eng-code-L2-code-006958
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 6000, 180)", "assert abs(r0[0] - 5.53) < 1e-6", "assert abs(r0[1] - 1085.1) < 1e-6", "r1 = gear_ratio(0.42, 4000, 120)", "assert abs(r1[0] - 5.28) < 1e-6", "ass...
theo-eng-code-L1-refuse-012451
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_kill_audit", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-001037
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(0.7, 0.48, 90, 5.0, 4.0)", "assert abs(r0[0] - 25.19) < 1e-6", "assert abs(r0[1] - 1.2058) < 1e-6", "assert abs(r0[2] - 30.02) < 1e-6", "r1 = joint_torque(4.1, 0.39, 90,...
theo-eng-code-L2-code-001435
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 390, 0.3)", "assert abs(r0[0] - 318.0) < 1e-6", "assert abs(r0[1] - 1.42) < 1e-6", "assert abs(r0[2] - 84.9) < 1e-6", "r1 = runtime(1.0, 250, 570, 0.3)", "a...
theo-eng-code-L3-code-007575
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 60, 3.6, 5)", "assert r0[0] == 111", "assert r0[1] == 31", "assert r0[2] == 3441", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 61.938) < 1e-6", "r1 = ...
theo-eng-code-L3-code-003259
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": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(86, 7, 0.25)", "assert abs(r0 - 43.43) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-006878
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([400, 320, 420], 10)", "assert abs(r0 - 3.1667) < 1e-6", "r1 = rect_energy([420, 330, 230], 5)", "assert abs(r1 - 1.3611) < 1e-6", "r2 = rect_energy([300, 320, 36...
theo-eng-code-L3-code-002068
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.37, 9500, 100)", "assert abs(r0[0] - 13.25) < 1e-6", "assert abs(r0[1] - 716.9) < 1e-6", "r1 = gear_ratio(0.44, 5000, 150)", "assert abs(r1[0] - 5.53) < 1e-6", "asser...
theo-eng-code-L2-code-007163
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.35, 8500, 150)", "assert abs(r0[0] - 7.48) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.45, 7500, 100)", "assert abs(r1[0] - 12.72) < 1e-6", "as...
theo-eng-code-L1-clarify-011522
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }