id
stringlengths
28
31
type
stringclasses
3 values
tier
stringclasses
3 values
domain
stringclasses
1 value
messages
listlengths
3
3
meta
unknown
theo-eng-code-L2-code-002732
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 22, 0.1, 1.0)", "assert abs(r0[0] - 4.09) < 1e-6", "assert abs(r0[1] - 245.5) < 1e-6", "assert abs(r0[2] - 72.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L2-code-013578
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.3, 0.6, 90, 1.5, 3.0)", "assert abs(r0[0] - 18.54) < 1e-6", "assert abs(r0[1] - 0.936) < 1e-6", "assert abs(r0[2] - 21.35) < 1e-6", "r1 = joint_torque(5.7, 0.56, 30,...
theo-eng-code-L2-code-007267
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 23, 0.09, 0.06, 0.3, 0.9, 1)", "assert abs(r0[0] - 0.0728) < 1e-6", "assert abs(r0[1] - 0.645) < 1e-6", "assert abs(r0[2] - 0.007) < 1e-6", "r1 = com_zmp(11, 17, 0.01, 0....
theo-eng-code-L2-code-011202
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3", "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 =...
theo-eng-code-L3-code-005120
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, 15, -0.03, 0.03, 0.6, 0.8, 1)", "assert abs(r0[0] - 0.0109) < 1e-6", "assert abs(r0[1] - 0.7364) < 1e-6", "assert abs(r0[2] - -0.0642) < 1e-6", "r1 = com_zmp(10, 23, 0.07, 0...
theo-eng-code-L2-code-009759
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.35, 10000, 150)", "assert abs(r0[0] - 8.8) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.31, 4500, 150)", "assert abs(r1[0] - 3.51) < 1e-6", "ass...
theo-eng-code-L2-code-013767
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(8, 14, 0.03, 0.06, 0.3, 0.5, 1)", "assert abs(r0[0] - 0.0491) < 1e-6", "assert abs(r0[1] - 0.4273) < 1e-6", "assert abs(r0[2] - 0.0055) < 1e-6", "r1 = com_zmp(17, 18, -0.07, ...
theo-eng-code-L2-code-014799
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 18, -0.1, 0.01, 0.3, 0.7, 1)", "assert abs(r0[0] - -0.034) < 1e-6", "assert abs(r0[1] - 0.54) < 1e-6", "assert abs(r0[2] - -0.089) < 1e-6", "r1 = com_zmp(20, 14, -0.04, 0...
theo-eng-code-L2-code-000724
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 50, 0.1, 0.9)", "assert abs(r0[0] - 2.0) < 1e-6", "assert abs(r0[1] - 120.0) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_ti...
theo-eng-code-L3-code-007813
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.2, 0.9)", "assert abs(r0[0] - 12.5) < 1e-6", "assert abs(r0[1] - 750.0) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L2-code-009730
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-clarify-013550
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-005141
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-000489
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-000487
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = summarise([83, 71, 32, 96, 15])", "assert abs(r0[0] - 59.4) < 1e-6", "assert abs(r0[1] - 34.472) < 1e-6", "r1 = summarise([91, 44, 68, 65, 31])", "assert abs(r1[0] - 59.8) < 1...
theo-eng-code-L2-code-003891
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L1-clarify-000605
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-010266
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 150, 0.2, 0.9)", "assert abs(r0[0] - 0.47) < 1e-6", "assert abs(r0[1] - 28.0) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L3-code-009636
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(81, 2480, 80, 0.33, 2.3, 0.01, 0.5, 0.92, 0.85)", "assert abs(r0[0] - 462.0) < 1e-6", "assert abs(r0[1] - 14.9) < 1e-6", "assert abs(r0[2] - 11.92) < 1e-6", "r1 = erange(78, 1...
theo-eng-code-L3-code-007295
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 11, 0.1, 0.8)", "assert abs(r0[0] - 7.95) < 1e-6", "assert abs(r0[1] - 477.3) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 11" ], "subtas...
theo-eng-code-L1-code-009263
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_cond", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-010631
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(6, 4, 0.5)", "assert abs(r0 - 5.1) < 1e-6", "r1 = rms_torque(79, 17, 0.25)", "assert abs(r1 - 42.15) < 1e-6", "r2 = rms_torque(90, 18, 0.25)", "assert abs(r2 - 47.62) < ...
theo-eng-code-L3-code-009632
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(96, 2760, 80, 0.35, 3.1, 0.011, 1.0, 0.88, 0.9)", "assert abs(r0[0] - 411.2) < 1e-6", "assert abs(r0[1] - 21.01) < 1e-6", "assert abs(r0[2] - 16.81) < 1e-6", "r1 = erange(25, ...
theo-eng-code-L1-clarify-013019
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-002719
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 130, 560, 0.3)", "assert abs(r0[0] - 431.0) < 1e-6", "assert abs(r0[1] - 2.09) < 1e-6", "assert abs(r0[2] - 125.3) < 1e-6", "r1 = runtime(0.5, 120, 400, 0.5)", "...
theo-eng-code-L2-code-004575
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.33, 12500, 180)", "assert abs(r0[0] - 8.64) < 1e-6", "assert abs(r0[1] - 1446.9) < 1e-6", "r1 = gear_ratio(0.4, 7500, 150)", "assert abs(r1[0] - 7.54) < 1e-6", "ass...
theo-eng-code-L2-code-009244
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = seg_len([4.5, 3.5], [2.5, 1.0])", "assert abs(r0 - 3.2016) < 1e-6", "r1 = seg_len([2.0, 0.5], [4.5, 1.0])", "assert abs(r1 - 2.5495) < 1e-6", "r2 = seg_len([4.0, 5.0], [1.0, 3.5]...
theo-eng-code-L3-code-001036
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": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(92, 6, 0.75)", "assert abs(r0 - 79.73) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L1-code-002814
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-006195
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.5, 4.0], [3.0, 2.0])", "assert abs(r0 - 3.2016) < 1e-6", "r1 = seg_len([3.0, 4.0], [2.0, 5.0])", "assert abs(r1 - 1.4142) < 1e-6", "r2 = seg_len([4.5, 5.0], [3.0, 0.5]...
theo-eng-code-L2-code-014478
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(13, 21, -0.06, 0.03, 0.7, 0.7, 2)", "assert abs(r0[0] - -0.0044) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - -0.1471) < 1e-6", "r1 = com_zmp(18, 27, 0.03, ...
theo-eng-code-L2-code-003589
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(92, 1150, 60, 0.38, 2.6, 0.008, 1.3, 0.94, 0.95)", "assert abs(r0[0] - 891.7) < 1e-6", "assert abs(r0[1] - 9.8) < 1e-6", "assert abs(r0[2] - 5.88) < 1e-6", "r1 = erange(80, ...
theo-eng-code-L3-code-015304
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.29, 9000, 100)", "assert abs(r0[0] - 9.84) < 1e-6", "assert abs(r0[1] - 914.7) < 1e-6", "r1 = gear_ratio(0.29, 4500, 150)", "assert abs(r1[0] - 3.28) < 1e-6", "assert...
theo-eng-code-L2-code-015344
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, [0, 25, 50, 75, 100], [0.73, 0.85, 0.9, 0.85, 0.83])", "assert abs(r0 - 0.88) < 1e-6", "r1 = interp_eff(80, [0, 25, 50, 75, 100], [0.7, 0.81, 0.89, 0.9, 0.81])", "asse...
theo-eng-code-L2-code-007463
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.3, 0.55, 60, 6.0, 2.5)", "assert abs(r0[0] - 33.41) < 1e-6", "assert abs(r0[1] - 2.0469) < 1e-6", "assert abs(r0[2] - 38.53) < 1e-6", "r1 = joint_torque(6.6, 0.17, 4...
theo-eng-code-L3-code-012476
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": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.28, 13500, 100)", "assert abs(r0[0] - 14.25) < 1e-6", "assert abs(r0[1] - 947.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L2-code-005575
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 7, 0.2, 0.9)", "assert abs(r0[0] - 10.0) < 1e-6", "assert abs(r0[1] - 600.0) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L2-code-008372
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 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_ti...
theo-eng-code-L2-code-008704
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 23, 0.05, 0.08, 0.8, 0.9, 2)", "assert abs(r0[0] - 0.0673) < 1e-6", "assert abs(r0[1] - 0.8575) < 1e-6", "assert abs(r0[2] - -0.1076) < 1e-6", "r1 = com_zmp(12, 11, 0.06,...
theo-eng-code-L3-code-008203
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(96, 28, 0.75)", "assert abs(r0 - 84.31) < 1e-6", "r1 = rms_torque(41, 29, 0.75)", "assert abs(r1 - 38.35) < 1e-6", "r2 = rms_torque(73, 11, 0.25)", "assert abs(r2 - 37.7...
theo-eng-code-L3-code-011051
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(98, 1540, 60, 0.22, 2.6, 0.008, 1.3, 0.94, 0.9)", "assert abs(r0[0] - 1023.9) < 1e-6", "assert abs(r0[1] - 8.61) < 1e-6", "assert abs(r0[2] - 5.17) < 1e-6" ], "subtask"...
theo-eng-code-L1-clarify-011336
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": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-code-013003
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_strmul", "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-L2-code-008344
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.4, 0.18, 90, 5.0, 1.0)", "assert abs(r0[0] - 10.95) < 1e-6", "assert abs(r0[1] - 0.1879) < 1e-6", "assert abs(r0[2] - 11.14) < 1e-6", "r1 = joint_torque(7.6, 0.11, 6...
theo-eng-code-L2-code-009680
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 50, 160, 0.7)", "assert abs(r0[0] - 83.0) < 1e-6", "assert abs(r0[1] - 10.84) < 1e-6", "assert abs(r0[2] - 650.6) < 1e-6", "r1 = runtime(0.5, 140, 270, 0.5)", "a...
theo-eng-code-L2-code-001410
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 60, 3.2, 10)", "assert r0[0] == 62", "assert r0[1] == 31", "assert r0[2] == 1922", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 61.504) < 1e-6", "r1 ...
theo-eng-code-L2-code-007216
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(43, 18, 0.5)", "assert abs(r0 - 32.96) < 1e-6", "r1 = rms_torque(19, 8, 0.25)", "assert abs(r1 - 11.76) < 1e-6", "r2 = rms_torque(74, 28, 0.75)", "assert abs(r2 - 65.6...
theo-eng-code-L3-code-004729
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 40, 3.7, 100)", "assert r0[0] == 54", "assert r0[1] == 3", "assert r0[2] == 162", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 59.94) < 1e-6" ], ...
theo-eng-code-L3-code-003029
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.28, 13000, 100)", "assert abs(r0[0] - 13.72) < 1e-6", "assert abs(r0[1] - 947.4) < 1e-6", "r1 = gear_ratio(0.44, 9000, 120)", "assert abs(r1[0] - 12.44) < 1e-6", "ass...
theo-eng-code-L1-clarify-002442
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": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-002639
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(6.5, 0.42, 90, 3.0, 1.5)", "assert abs(r0[0] - 25.75) < 1e-6", "assert abs(r0[1] - 0.9114) < 1e-6", "assert abs(r0[2] - 27.12) < 1e-6", "r1 = joint_torque(7.0, 0.4, 30, ...
theo-eng-code-L2-code-007525
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 80, 3.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] - 80.0) < 1e-6", "r1 = ...
theo-eng-code-L2-code-013819
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(38, 32, 0.25)", "assert abs(r0 - 33.6) < 1e-6", "r1 = rms_torque(21, 15, 0.5)", "assert abs(r1 - 18.25) < 1e-6", "r2 = rms_torque(58, 13, 0.5)", "assert abs(r2 - 42.03...
theo-eng-code-L1-code-012863
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-L3-code-001302
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(69, 2090, 60, 0.28, 2.8, 0.008, 1.5, 0.9, 0.9)", "assert abs(r0[0] - 531.7) < 1e-6", "assert abs(r0[1] - 11.68) < 1e-6", "assert abs(r0[2] - 7.01) < 1e-6", "r1 = erange(51, 22...
theo-eng-code-L2-code-000946
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 140, 300, 0.5)", "assert abs(r0[0] - 220.0) < 1e-6", "assert abs(r0[1] - 0.41) < 1e-6", "assert abs(r0[2] - 24.5) < 1e-6", "r1 = runtime(0.2, 220, 390, 0.3)", "a...
theo-eng-code-L1-code-002594
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-code-010092
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_filter", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-014182
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 22, 0.02, 0.07, 0.3, 0.5, 0.5)", "assert abs(r0[0] - 0.0482) < 1e-6", "assert abs(r0[1] - 0.4128) < 1e-6", "assert abs(r0[2] - 0.0272) < 1e-6", "r1 = com_zmp(19, 15, 0.03...
theo-eng-code-L2-code-006232
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 22, 0.1, 0.8)", "assert abs(r0[0] - 1.59) < 1e-6", "assert abs(r0[1] - 95.5) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L2-code-006971
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 150, 0.2, 0.9)", "assert abs(r0[0] - 0.29) < 1e-6", "assert abs(r0[1] - 17.5) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert abs(r0[3] - 120.0) < 1e-6", "...
theo-eng-code-L3-code-014718
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(92, 2100, 80, 0.28, 2.1, 0.013, 1.5, 0.88, 0.95)", "assert abs(r0[0] - 548.2) < 1e-6", "assert abs(r0[1] - 15.94) < 1e-6", "assert abs(r0[2] - 12.75) < 1e-6", "r1 = erange(94,...
theo-eng-code-L2-code-000184
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = summarise([84, 90, 88, 10])", "assert r0[0] == 68", "assert abs(r0[1] - 38.747) < 1e-6", "r1 = summarise([56, 37, 81, 57])", "assert abs(r1[0] - 57.75) < 1e-6", "assert ab...
theo-eng-code-L3-code-008731
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(41, 1380, 120, 0.3, 3.0, 0.012, 0.6, 0.94, 0.9)", "assert abs(r0[0] - 157.7) < 1e-6", "assert abs(r0[1] - 23.4) < 1e-6", "assert abs(r0[2] - 28.08) < 1e-6", "r1 = erange(86, 1...
theo-eng-code-L3-code-011494
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.41, 10500, 120)", "assert abs(r0[0] - 13.52) < 1e-6", "assert abs(r0[1] - 776.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L2-code-013741
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.2, 0.4, 45, 7.0, 3.5)", "assert abs(r0[0] - 23.86) < 1e-6", "assert abs(r0[1] - 1.2907) < 1e-6", "assert abs(r0[2] - 28.38) < 1e-6", "r1 = joint_torque(7.4, 0.11, 90...
theo-eng-code-L3-code-008784
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(9, 30, -0.1, -0.05, 0.5, 0.4, 1)", "assert abs(r0[0] - -0.0615) < 1e-6", "assert abs(r0[1] - 0.4231) < 1e-6", "assert abs(r0[2] - -0.1047) < 1e-6" ], "subtask": "writete...
theo-eng-code-L3-code-011952
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(5, 16, -0.02, 0.01, 0.5, 0.5, 0.5)", "assert abs(r0[0] - 0.0029) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - -0.0226) < 1e-6", "r1 = com_zmp(6, 21, -0.01, 0....
theo-eng-code-L2-code-009615
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([5.0, 4.5], [2.0, 2.5])", "assert abs(r0 - 3.6056) < 1e-6", "r1 = seg_len([2.0, 2.5], [3.0, 3.5])", "assert abs(r1 - 1.4142) < 1e-6", "r2 = seg_len([0.0, 4.5], [3.0, 3.0]...
theo-eng-code-L3-code-011845
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 300, 300, 0.3)", "assert abs(r0[0] - 300.0) < 1e-6", "assert abs(r0[1] - 3.0) < 1e-6", "assert abs(r0[2] - 180.0) < 1e-6", "r1 = runtime(0.2, 100, 450, 0.3)", "ass...
theo-eng-code-L3-code-004865
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, 8000, 150)", "assert abs(r0[0] - 7.64) < 1e-6", "assert abs(r0[1] - 1047.1) < 1e-6", "r1 = gear_ratio(0.32, 8000, 150)", "assert abs(r1[0] - 6.43) < 1e-6", "asser...
theo-eng-code-L2-code-007173
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 21, -0.03, -0.03, 0.6, 0.6, 0)", "assert abs(r0[0] - -0.03) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - -0.03) < 1e-6", "r1 = com_zmp(17, 15, -0.01, -0...
theo-eng-code-L2-code-013959
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 60, \"max_kw\": 100}')", "assert r0[0] == 60", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')", "assert r1[0] == 60", ...
theo-eng-code-L2-code-014908
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.0, 5.0], [0.0, 2.0])", "assert abs(r0 - 3.1623) < 1e-6", "r1 = seg_len([2.5, 1.5], [0.5, 0.0])", "assert abs(r1 - 2.5) < 1e-6", "r2 = seg_len([4.5, 3.0], [2.0, 2.5])",...
theo-eng-code-L1-refuse-013587
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": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-002231
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(2.2, 0.18, 60, 4.0, 1.0)", "assert abs(r0[0] - 7.8) < 1e-6", "assert abs(r0[1] - 0.1534) < 1e-6", "assert abs(r0[2] - 7.95) < 1e-6", "r1 = joint_torque(6.2, 0.2, 60, 5.5...
theo-eng-code-L1-code-002133
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_strmul", "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-L2-code-013173
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.5, 3.5], [2.5, 1.5])", "assert abs(r0 - 2.2361) < 1e-6", "r1 = seg_len([4.0, 0.0], [4.5, 2.0])", "assert abs(r1 - 2.0616) < 1e-6", "r2 = seg_len([0.0, 1.5], [5.0, 1.0]...
theo-eng-code-L2-code-000554
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 60, 3.7, 100)", "assert r0[0] == 216", "assert r0[1] == 1", "assert r0[2] == 216", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6", "r1 =...
theo-eng-code-L2-code-007041
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 2.5)", "assert r0[0] == 250", "assert r0[1] == 5", "assert r0[2] == 1250", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 10.0) < 1e-6", "r1 =...
theo-eng-code-L2-code-006039
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 4500, 150)", "assert abs(r0[0] - 5.09) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6", "r1 = gear_ratio(0.28, 12000, 100)", "assert abs(r1[0] - 12.67) < 1e-6", "as...
theo-eng-code-L2-code-008382
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(62, 17, 0.75)", "assert abs(r0 - 54.36) < 1e-6", "r1 = rms_torque(64, 21, 0.5)", "assert abs(r1 - 47.63) < 1e-6", "r2 = rms_torque(24, 13, 0.5)", "assert abs(r2 - 19.3...
theo-eng-code-L2-code-013774
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(96, 1040, 80, 0.33, 2.4, 0.013, 0.9, 0.88, 0.9)", "assert abs(r0[0] - 671.2) < 1e-6", "assert abs(r0[1] - 12.87) < 1e-6", "assert abs(r0[2] - 10.3) < 1e-6", "r1 = erange(71,...
theo-eng-code-L2-code-013683
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([44, 16, 51, 66])", "assert abs(r0[0] - 44.25) < 1e-6", "assert abs(r0[1] - 20.95) < 1e-6", "r1 = summarise([93, 59, 27, 15, 35])", "assert abs(r1[0] - 45.8) < 1e-6"...
theo-eng-code-L2-code-003555
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 3.6, 10)", "assert r0[0] == 111", "assert r0[1] == 3", "assert r0[2] == 333", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6", "r1 =...
theo-eng-code-L1-code-012749
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_chain", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-014848
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 20, 3.7, 10)", "assert r0[0] == 216", "assert r0[1] == 3", "assert r0[2] == 648", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 23.976) < 1e-6", "r1 =...
theo-eng-code-L2-code-001719
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(91, 3, 0.5)", "assert abs(r0 - 64.38) < 1e-6", "r1 = rms_torque(27, 4, 0.75)", "assert abs(r1 - 23.47) < 1e-6", "r2 = rms_torque(75, 10, 0.75)", "assert abs(r2 - 65.14...
theo-eng-code-L2-code-013964
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(26, 1420, 100, 0.29, 3.1, 0.007, 0.5, 0.9, 0.9)", "assert abs(r0[0] - 140.8) < 1e-6", "assert abs(r0[1] - 16.62) < 1e-6", "assert abs(r0[2] - 16.62) < 1e-6", "r1 = erange(81...
theo-eng-code-L2-code-006390
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(83, 19, 0.25)", "assert abs(r0 - 44.64) < 1e-6", "r1 = rms_torque(85, 28, 0.75)", "assert abs(r1 - 74.93) < 1e-6", "r2 = rms_torque(72, 10, 0.5)", "assert abs(r2 - 51....
theo-eng-code-L2-code-001424
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([4.5, 3.0], [3.0, 5.0])", "assert abs(r0 - 2.5) < 1e-6", "r1 = seg_len([2.5, 2.0], [1.5, 1.5])", "assert abs(r1 - 1.118) < 1e-6", "r2 = seg_len([0.5, 2.0], [2.0, 4.5])", ...
theo-eng-code-L2-code-015794
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 11, 0.09, 0.04, 0.8, 0.3, 0.5)", "assert abs(r0[0] - 0.0723) < 1e-6", "assert abs(r0[1] - 0.6226) < 1e-6", "assert abs(r0[2] - 0.0405) < 1e-6", "r1 = com_zmp(17, 19, 0.04...
theo-eng-code-L2-code-009321
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([51, 12, 85, 91, 46, 19])", "assert abs(r0[0] - 50.667) < 1e-6", "assert abs(r0[1] - 32.635) < 1e-6", "r1 = summarise([97, 42, 95, 41])", "assert abs(r1[0] - 68.75) ...
theo-eng-code-L3-code-010543
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": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 150, 0.1, 0.8)", "assert abs(r0[0] - 0.58) < 1e-6", "assert abs(r0[1] - 35.0) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L2-code-015556
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 5000, 120)", "assert abs(r0[0] - 6.6) < 1e-6", "assert abs(r0[1] - 757.9) < 1e-6", "r1 = gear_ratio(0.38, 4500, 150)", "assert abs(r1[0] - 4.3) < 1e-6", "assert...
theo-eng-code-L2-code-004897
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 22, 0.2, 0.8)", "assert abs(r0[0] - 2.05) < 1e-6", "assert abs(r0[1] - 122.7) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L3-code-009776
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(52, 1720, 120, 0.32, 2.9, 0.009, 1.1, 0.92, 0.9)", "assert abs(r0[0] - 190.5) < 1e-6", "assert abs(r0[1] - 24.57) < 1e-6", "assert abs(r0[2] - 29.48) < 1e-6", "r1 = erange(25,...
theo-eng-code-L1-clarify-008474
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-003082
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 22, 0.2, 0.9)", "assert abs(r0[0] - 1.59) < 1e-6", "assert abs(r0[1] - 95.5) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_time(...
theo-eng-code-L1-code-014007
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_nested", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }