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-L3-code-006377
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.36, 11000, 120)", "assert abs(r0[0] - 12.44) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6", "r1 = gear_ratio(0.32, 11500, 150)", "assert abs(r1[0] - 9.25) < 1e-6", "ass...
theo-eng-code-L2-code-015300
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, [0, 25, 50, 75, 100], [0.77, 0.8, 0.88, 0.9, 0.8])", "assert abs(r0 - 0.816) < 1e-6", "r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.71, 0.8, 0.9, 0.89, 0.8])", "assert...
theo-eng-code-L2-code-005320
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2.5], [4.0, 2.0])", "assert abs(r0 - 2.0616) < 1e-6", "r1 = seg_len([1.0, 2.5], [1.0, 1.5])", "assert abs(r1 - 1.0) < 1e-6", "r2 = seg_len([4.0, 2.0], [0.5, 4.5])",...
theo-eng-code-L3-code-003791
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.38, 13000, 150)", "assert abs(r0[0] - 12.42) < 1e-6", "assert abs(r0[1] - 1047.1) < 1e-6", "r1 = gear_ratio(0.27, 4000, 120)", "assert abs(r1[0] - 3.39) < 1e-6", "ass...
theo-eng-code-L2-code-011817
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 10, 3.7, 2.5)", "assert r0[0] == 216", "assert r0[1] == 6", "assert r0[2] == 1296", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6", "r1...
theo-eng-code-L1-refuse-004318
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-L2-code-004004
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 13000, 150)", "assert abs(r0[0] - 13.72) < 1e-6", "assert abs(r0[1] - 947.4) < 1e-6", "r1 = gear_ratio(0.35, 5000, 100)", "assert abs(r1[0] - 6.6) < 1e-6", "ass...
theo-eng-code-L1-refuse-011472
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_kill_audit", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-014498
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, 160, 480, 0.5)", "assert abs(r0[0] - 320.0) < 1e-6", "assert abs(r0[1] - 0.28) < 1e-6", "assert abs(r0[2] - 16.9) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L2-code-000203
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.34, 13000, 100)", "assert abs(r0[0] - 16.66) < 1e-6", "assert abs(r0[1] - 780.2) < 1e-6", "r1 = gear_ratio(0.42, 5000, 150)", "assert abs(r1[0] - 5.28) < 1e-6", "as...
theo-eng-code-L2-code-000044
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(62, 1530, 120, 0.29, 3.1, 0.011, 1.4, 0.88, 0.9)", "assert abs(r0[0] - 217.2) < 1e-6", "assert abs(r0[1] - 25.69) < 1e-6", "assert abs(r0[2] - 30.83) < 1e-6", "r1 = erange(5...
theo-eng-code-L2-code-009711
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([40, 47, 77, 33, 35, 49])", "assert abs(r0[0] - 46.833) < 1e-6", "assert abs(r0[1] - 16.08) < 1e-6", "r1 = summarise([90, 74, 92, 31])", "assert abs(r1[0] - 71.75) <...
theo-eng-code-L2-code-015864
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([400, 410, 460], 2)", "assert abs(r0 - 0.7056) < 1e-6", "r1 = rect_energy([250, 380, 150, 240, 470], 10)", "assert abs(r1 - 4.1389) < 1e-6", "r2 = rect_energy([45...
theo-eng-code-L2-code-011637
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 17, 0.01, 0.02, 0.7, 0.5, 1)", "assert abs(r0[0] - 0.0161) < 1e-6", "assert abs(r0[1] - 0.5786) < 1e-6", "assert abs(r0[2] - -0.0429) < 1e-6", "r1 = com_zmp(13, 25, -0.06...
theo-eng-code-L3-code-007676
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(17, 14, -0.09, 0.07, 0.6, 0.7, 0)", "assert abs(r0[0] - -0.0177) < 1e-6", "assert abs(r0[1] - 0.6452) < 1e-6", "assert abs(r0[2] - -0.0177) < 1e-6", "r1 = com_zmp(7, 29, -0.09,...
theo-eng-code-L2-code-007955
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 100}')", "assert r0[0] == 80", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')", "assert r1[0] == 40", ...
theo-eng-code-L2-code-003908
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-015482
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(2.0, 0.56, 45, 7.5, 3.5)", "assert abs(r0[0] - 33.02) < 1e-6", "assert abs(r0[1] - 2.5611) < 1e-6", "assert abs(r0[2] - 41.98) < 1e-6", "r1 = joint_torque(7.9, 0.26, 30,...
theo-eng-code-L3-code-006263
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": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(95, 1760, 80, 0.37, 1.9, 0.008, 0.9, 0.9, 0.95)", "assert abs(r0[0] - 755.2) < 1e-6", "assert abs(r0[1] - 11.95) < 1e-6", "assert abs(r0[2] - 9.56) < 1e-6", "r1 = erange(69, 2...
theo-eng-code-L3-code-012911
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 20, 3.7, 10)", "assert r0[0] == 54", "assert r0[1] == 11", "assert r0[2] == 594", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 21.978) < 1e-6", "r1 = p...
theo-eng-code-L3-code-013803
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(51, 39, 0.25)", "assert abs(r0 - 42.32) < 1e-6", "r1 = rms_torque(58, 34, 0.75)", "assert abs(r1 - 53.03) < 1e-6", "r2 = rms_torque(77, 10, 0.75)", "assert abs(r2 - 66.8...
theo-eng-code-L2-code-004571
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.7, 0.12, 90, 3.5, 0.5)", "assert abs(r0[0] - 6.89) < 1e-6", "assert abs(r0[1] - 0.073) < 1e-6", "assert abs(r0[2] - 6.92) < 1e-6", "r1 = joint_torque(6.4, 0.45, 45, ...
theo-eng-code-L2-code-005920
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([35, 45, 95, 49, 51])", "assert r0[0] == 55", "assert abs(r0[1] - 23.195) < 1e-6", "r1 = summarise([62, 12, 50, 24, 17])", "assert r1[0] == 33", "assert abs(r1[1...
theo-eng-code-L2-code-006119
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(38, 8, 0.25)", "assert abs(r0 - 20.22) < 1e-6", "r1 = rms_torque(96, 12, 0.75)", "assert abs(r1 - 83.35) < 1e-6", "r2 = rms_torque(74, 28, 0.75)", "assert abs(r2 - 65....
theo-eng-code-L1-clarify-008584
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": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-001614
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 60, 3.2, 10)", "assert r0[0] == 94", "assert r0[1] == 20", "assert r0[2] == 1880", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 60.16) < 1e-6", "r1 =...
theo-eng-code-L2-code-001021
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 20, 3.7, 50)", "assert r0[0] == 108", "assert r0[1] == 2", "assert r0[2] == 216", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 = ...
theo-eng-code-L2-code-005593
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, 2630, 120, 0.23, 2.2, 0.011, 0.3, 0.94, 0.85)", "assert abs(r0[0] - 203.3) < 1e-6", "assert abs(r0[1] - 18.81) < 1e-6", "assert abs(r0[2] - 22.58) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-008585
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_squareloop", "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-008648
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 13500, 180)", "assert abs(r0[0] - 12.72) < 1e-6", "assert abs(r0[1] - 1061.0) < 1e-6", "r1 = gear_ratio(0.3, 11000, 100)", "assert abs(r1[0] - 12.44) < 1e-6", "...
theo-eng-code-L3-code-003845
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(200, 20, 3.6, 10)", "assert r0[0] == 56", "assert r0[1] == 10", "assert r0[2] == 560", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 20.16) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-001560
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 7, 0.2, 0.9)", "assert abs(r0[0] - 2.5) < 1e-6", "assert abs(r0[1] - 150.0) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L2-code-010897
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(13, 23, 0.08, 0.02, 0.8, 0.8, 0)", "assert abs(r0[0] - 0.0417) < 1e-6", "assert abs(r0[1] - 0.8) < 1e-6", "assert abs(r0[2] - 0.0417) < 1e-6", "r1 = com_zmp(12, 27, 0.01, -0....
theo-eng-code-L3-code-001511
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.29, 7500, 150)", "assert abs(r0[0] - 5.47) < 1e-6", "assert abs(r0[1] - 1372.0) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L1-clarify-001618
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-011141
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 14, 0.5)", "assert abs(r0 - 16.12) < 1e-6", "r1 = rms_torque(7, 3, 0.75)", "assert abs(r1 - 6.24) < 1e-6", "r2 = rms_torque(10, 6, 0.75)", "assert abs(r2 - 9.17) <...
theo-eng-code-L2-code-009942
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L1-code-006429
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_slices", "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-011167
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(21, 18, 0.5)", "assert abs(r0 - 19.56) < 1e-6", "r1 = rms_torque(84, 3, 0.75)", "assert abs(r1 - 72.76) < 1e-6", "r2 = rms_torque(52, 33, 0.75)", "assert abs(r2 - 47.9...
theo-eng-code-L2-code-005396
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 150, 0.1, 1.0)", "assert abs(r0[0] - 0.38) < 1e-6", "assert abs(r0[1] - 22.5) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert abs(r0[3] - 120.0) < 1e-6", "...
theo-eng-code-L2-code-006364
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([57, 65, 13, 88])", "assert abs(r0[0] - 55.75) < 1e-6", "assert abs(r0[1] - 31.383) < 1e-6", "r1 = summarise([87, 35, 11, 42, 85, 35])", "assert abs(r1[0] - 49.167) ...
theo-eng-code-L2-code-012446
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 10, 3.6, 50)", "assert r0[0] == 139", "assert r0[1] == 1", "assert r0[2] == 139", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 25.02) < 1e-6", "r1 = ...
theo-eng-code-L2-code-002029
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 100}')", "assert r0[0] == 20", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')", "assert r1[0] == 60", ...
theo-eng-code-L3-code-007296
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.44, 6500, 180)", "assert abs(r0[0] - 5.99) < 1e-6", "assert abs(r0[1] - 1085.1) < 1e-6", "r1 = gear_ratio(0.26, 10000, 120)", "assert abs(r1[0] - 8.17) < 1e-6", "asse...
theo-eng-code-L2-code-014403
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.5, 1.0], [1.0, 0.0])", "assert abs(r0 - 3.6401) < 1e-6", "r1 = seg_len([1.0, 1.0], [0.0, 5.0])", "assert abs(r1 - 4.1231) < 1e-6", "r2 = seg_len([3.5, 4.0], [1.0, 1.0]...
theo-eng-code-L2-code-004905
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(10, [0, 25, 50, 75, 100], [0.78, 0.85, 0.85, 0.86, 0.84])", "assert abs(r0 - 0.808) < 1e-6", "r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.76, 0.84, 0.85, 0.89, 0.84])", "...
theo-eng-code-L2-code-007110
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(19, 29, 0.1, 0.02, 0.9, 0.7, 1)", "assert abs(r0[0] - 0.0517) < 1e-6", "assert abs(r0[1] - 0.7792) < 1e-6", "assert abs(r0[2] - -0.0278) < 1e-6", "r1 = com_zmp(5, 22, 0.0, -0...
theo-eng-code-L2-code-006550
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-003284
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 9000, 150)", "assert abs(r0[0] - 6.79) < 1e-6", "assert abs(r0[1] - 1326.3) < 1e-6", "r1 = gear_ratio(0.35, 11000, 120)", "assert abs(r1[0] - 12.1) < 1e-6", "ass...
theo-eng-code-L2-code-002020
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 60, 450, 0.3)", "assert abs(r0[0] - 333.0) < 1e-6", "assert abs(r0[1] - 0.54) < 1e-6", "assert abs(r0[2] - 32.4) < 1e-6", "r1 = runtime(0.1, 150, 110, 0.7)", "as...
theo-eng-code-L2-code-014064
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_squareloop", "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-005395
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 50, 40, 0.7)", "assert abs(r0[0] - 47.0) < 1e-6", "assert abs(r0[1] - 1.91) < 1e-6", "assert abs(r0[2] - 114.9) < 1e-6", "r1 = runtime(0.5, 150, 500, 0.3)", "ass...
theo-eng-code-L2-code-005102
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-011664
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(60, 11, 0.1, 0.8)", "assert abs(r0[0] - 4.77) < 1e-6", "assert abs(r0[1] - 286.4) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_time...
theo-eng-code-L3-code-009201
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(7, 11, -0.05, 0.1, 0.9, 0.7, 0.5)", "assert abs(r0[0] - 0.0417) < 1e-6", "assert abs(r0[1] - 0.7778) < 1e-6", "assert abs(r0[2] - 0.002) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L2-code-000689
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-002211
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(91, 2, 0.5)", "assert abs(r0 - 64.36) < 1e-6", "r1 = rms_torque(36, 25, 0.5)", "assert abs(r1 - 30.99) < 1e-6", "r2 = rms_torque(31, 30, 0.5)", "assert abs(r2 - 30.5) ...
theo-eng-code-L3-code-015197
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 40, 3.2, 100)", "assert r0[0] == 62", "assert r0[1] == 3", "assert r0[2] == 186", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 59.52) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-013887
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-014237
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(76, 1940, 100, 0.38, 2.2, 0.011, 0.5, 0.9, 0.9)", "assert abs(r0[0] - 357.1) < 1e-6", "assert abs(r0[1] - 19.16) < 1e-6", "assert abs(r0[2] - 19.16) < 1e-6", "r1 = erange(97, ...
theo-eng-code-L2-code-012575
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(12, 29, -0.02, 0.15, 0.7, 0.9, 1)", "assert abs(r0[0] - 0.1002) < 1e-6", "assert abs(r0[1] - 0.8415) < 1e-6", "assert abs(r0[2] - 0.0145) < 1e-6", "r1 = com_zmp(13, 23, 0.01,...
theo-eng-code-L2-code-001422
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([11, 85, 87, 63, 23, 84])", "assert abs(r0[0] - 58.833) < 1e-6", "assert abs(r0[1] - 33.766) < 1e-6", "r1 = summarise([21, 93, 77, 58, 67, 12])", "assert abs(r1[0] -...
theo-eng-code-L1-clarify-009993
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": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-005246
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([150, 90, 420, 50, 290], 1)", "assert abs(r0 - 0.2778) < 1e-6", "r1 = rect_energy([320, 60, 470], 1)", "assert abs(r1 - 0.2361) < 1e-6", "r2 = rect_energy([410, 3...
theo-eng-code-L2-code-010946
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')", "assert r0[0] == 40", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')", "assert r1[0] == 20", "a...
theo-eng-code-L3-code-000444
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": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 28, -0.09, 0.14, 0.4, 0.6, 2)", "assert abs(r0[0] - 0.0564) < 1e-6", "assert abs(r0[1] - 0.5273) < 1e-6", "assert abs(r0[2] - -0.0511) < 1e-6", "r1 = com_zmp(5, 17, -0.04, ...
theo-eng-code-L1-refuse-013701
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-L2-code-013097
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 13, 0.03, 0.13, 0.7, 0.7, 0.5)", "assert abs(r0[0] - 0.0781) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - 0.0425) < 1e-6", "r1 = com_zmp(19, 17, 0.06, 0...
theo-eng-code-L2-code-010267
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 23, -0.05, 0.03, 0.3, 0.7, 0.5)", "assert abs(r0[0] - 0.0011) < 1e-6", "assert abs(r0[1] - 0.5556) < 1e-6", "assert abs(r0[2] - -0.0272) < 1e-6", "r1 = com_zmp(19, 28, -0...
theo-eng-code-L3-code-014355
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": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 4500, 120)", "assert abs(r0[0] - 3.82) < 1e-6", "assert abs(r0[1] - 1178.9) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L1-refuse-005957
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_kill_audit", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-011573
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(93, 21, 0.75)", "assert abs(r0 - 81.22) < 1e-6", "r1 = rms_torque(90, 5, 0.5)", "assert abs(r1 - 63.74) < 1e-6", "r2 = rms_torque(18, 17, 0.5)", "assert abs(r2 - 17.51...
theo-eng-code-L3-code-008774
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(17, 3, 0.75)", "assert abs(r0 - 14.8) < 1e-6", "r1 = rms_torque(15, 6, 0.5)", "assert abs(r1 - 11.42) < 1e-6", "r2 = rms_torque(52, 5, 0.25)", "assert abs(r2 - 26.36) < ...
theo-eng-code-L3-code-002243
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.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_time(...
theo-eng-code-L3-code-004275
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(1.8, 0.54, 60, 3.5, 1.5)", "assert abs(r0[0] - 20.19) < 1e-6", "assert abs(r0[1] - 1.1956) < 1e-6", "assert abs(r0[2] - 21.98) < 1e-6", "r1 = joint_torque(5.1, 0.46, 30,...
theo-eng-code-L2-code-006397
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 18, -0.04, 0.01, 0.7, 0.3, 2)", "assert abs(r0[0] - -0.0143) < 1e-6", "assert abs(r0[1] - 0.4943) < 1e-6", "assert abs(r0[2] - -0.1151) < 1e-6", "r1 = com_zmp(19, 14, -0....
theo-eng-code-L3-code-001736
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 3.2, 2.5)", "assert r0[0] == 125", "assert r0[1] == 40", "assert r0[2] == 5000", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 40.0) < 1e-6", "r1 = ...
theo-eng-code-L2-code-002466
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 15, -0.01, 0.13, 0.6, 0.7, 1)", "assert abs(r0[0] - 0.0624) < 1e-6", "assert abs(r0[1] - 0.6517) < 1e-6", "assert abs(r0[2] - -0.004) < 1e-6", "r1 = com_zmp(8, 13, 0.03, ...
theo-eng-code-L1-clarify-001638
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-012983
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(100, 13, 0.75)", "assert abs(r0 - 86.85) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", ...
theo-eng-code-L2-code-014189
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 11, 0.2, 0.8)", "assert abs(r0[0] - 2.73) < 1e-6", "assert abs(r0[1] - 163.6) < 1e-6", "assert abs(r0[2] - 24.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-004182
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 6, 0.25)", "assert abs(r0 - 8.32) < 1e-6", "r1 = rms_torque(46, 14, 0.75)", "assert abs(r1 - 40.45) < 1e-6", "r2 = rms_torque(99, 39, 0.5)", "assert abs(r2 - 75.24...
theo-eng-code-L2-code-004164
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([320, 470, 230, 50], 10)", "assert abs(r0 - 2.9722) < 1e-6", "r1 = rect_energy([330, 380, 450, 90, 310], 10)", "assert abs(r1 - 4.3333) < 1e-6", "r2 = rect_energy...
theo-eng-code-L2-code-012791
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 200, 360, 0.7)", "assert abs(r0[0] - 248.0) < 1e-6", "assert abs(r0[1] - 0.36) < 1e-6", "assert abs(r0[2] - 21.8) < 1e-6", "r1 = runtime(0.1, 190, 420, 0.5)", "a...
theo-eng-code-L2-code-005285
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-015816
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 3.0], [3.0, 3.5])", "assert abs(r0 - 0.7071) < 1e-6", "r1 = seg_len([0.0, 0.5], [3.5, 4.5])", "assert abs(r1 - 5.3151) < 1e-6", "r2 = seg_len([2.0, 4.5], [2.0, 5.0]...
theo-eng-code-L2-code-007781
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([75, 52, 88, 41, 59, 85])", "assert abs(r0[0] - 66.667) < 1e-6", "assert abs(r0[1] - 18.938) < 1e-6", "r1 = summarise([93, 68, 14, 67, 50])", "assert abs(r1[0] - 58....
theo-eng-code-L2-code-006477
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_maxloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-009255
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([420, 380, 410, 270, 220], 10)", "assert abs(r0 - 4.7222) < 1e-6", "r1 = rect_energy([100, 450, 420], 5)", "assert abs(r1 - 1.3472) < 1e-6", "r2 = rect_energy([47...
theo-eng-code-L3-code-007105
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, 12, 0.06, 0.12, 0.8, 0.6, 2)", "assert abs(r0[0] - 0.0943) < 1e-6", "assert abs(r0[1] - 0.6857) < 1e-6", "assert abs(r0[2] - -0.0455) < 1e-6", "r1 = com_zmp(13, 12, -0.08, 0...
theo-eng-code-L2-code-008157
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(78, 14, 0.25)", "assert abs(r0 - 40.84) < 1e-6", "r1 = rms_torque(89, 3, 0.5)", "assert abs(r1 - 62.97) < 1e-6", "r2 = rms_torque(23, 14, 0.75)", "assert abs(r2 - 21.1...
theo-eng-code-L2-code-014463
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 250}')", "assert r0[0] == 40", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')", "assert r1[0] == 60", ...
theo-eng-code-L1-clarify-002555
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": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-012879
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(4.8, 0.53, 60, 0.5, 3.5)", "assert abs(r0[0] - 13.06) < 1e-6", "assert abs(r0[1] - 0.5899) < 1e-6", "assert abs(r0[2] - 15.12) < 1e-6", "r1 = joint_torque(4.9, 0.24, 30,...
theo-eng-code-L2-code-011111
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([28, 71, 34, 21, 38])", "assert abs(r0[0] - 38.4) < 1e-6", "assert abs(r0[1] - 19.321) < 1e-6", "r1 = summarise([54, 15, 44, 91, 75, 16])", "assert abs(r1[0] - 49.16...
theo-eng-code-L2-code-013456
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 20, 3.7, 2.5)", "assert r0[0] == 54", "assert r0[1] == 41", "assert r0[2] == 2214", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 20.48) < 1e-6", "r1 ...
theo-eng-code-L3-code-002506
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": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(8, 11, 0.1, 0.0, 0.3, 0.7, 0.5)", "assert abs(r0[0] - 0.0421) < 1e-6", "assert abs(r0[1] - 0.5316) < 1e-6", "assert abs(r0[2] - 0.015) < 1e-6" ], "subtask": "writetests"...
theo-eng-code-L2-code-011227
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 50}')", "assert r0[0] == 80", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')", "assert r1[0] == 20", "as...
theo-eng-code-L3-code-001593
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(7.4, 0.21, 60, 8.0, 1.0)", "assert abs(r0[0] - 20.87) < 1e-6", "assert abs(r0[1] - 0.4616) < 1e-6", "assert abs(r0[2] - 21.34) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L2-code-004416
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(72, 14, 0.5)", "assert abs(r0 - 51.87) < 1e-6", "r1 = rms_torque(39, 10, 0.75)", "assert abs(r1 - 34.14) < 1e-6", "r2 = rms_torque(5, 4, 0.75)", "assert abs(r2 - 4.77)...