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-011413
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-009563
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 22, 0.2, 0.9)", "assert abs(r0[0] - 0.8) < 1e-6", "assert abs(r0[1] - 47.7) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_time(1...
theo-eng-code-L3-code-013400
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 40, 50, 0.5)", "assert abs(r0[0] - 45.0) < 1e-6", "assert abs(r0[1] - 10.0) < 1e-6", "assert abs(r0[2] - 600.0) < 1e-6", "r1 = runtime(0.1, 300, 70, 0.3)", "assert...
theo-eng-code-L3-code-009667
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(0.5, 0.2, 60, 5.5, 1.0)", "assert abs(r0[0] - 9.77) < 1e-6", "assert abs(r0[1] - 0.2267) < 1e-6", "assert abs(r0[2] - 10.0) < 1e-6", "r1 = joint_torque(5.6, 0.35, 45, 0....
theo-eng-code-L2-code-015904
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.0, 2.5], [1.0, 2.0])", "assert abs(r0 - 0.5) < 1e-6", "r1 = seg_len([0.0, 0.5], [0.0, 4.0])", "assert abs(r1 - 3.5) < 1e-6", "r2 = seg_len([0.5, 0.5], [5.0, 0.0])", ...
theo-eng-code-L2-code-010942
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(70, [0, 25, 50, 75, 100], [0.71, 0.85, 0.89, 0.85, 0.81])", "assert abs(r0 - 0.858) < 1e-6", "r1 = interp_eff(10, [0, 25, 50, 75, 100], [0.8, 0.84, 0.88, 0.89, 0.84])", "a...
theo-eng-code-L1-code-012047
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": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-010695
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 22, 0.1, 0.9)", "assert abs(r0[0] - 0.91) < 1e-6", "assert abs(r0[1] - 54.5) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L2-code-001463
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 450, 110, 320], 2)", "assert abs(r0 - 0.5722) < 1e-6", "r1 = rect_energy([220, 50, 160, 440], 5)", "assert abs(r1 - 1.2083) < 1e-6", "r2 = rect_energy([290,...
theo-eng-code-L2-code-004490
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(30, [0, 25, 50, 75, 100], [0.77, 0.85, 0.86, 0.9, 0.8])", "assert abs(r0 - 0.852) < 1e-6", "r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.71, 0.82, 0.89, 0.9, 0.84])", "ass...
theo-eng-code-L2-code-010713
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 23, -0.03, -0.02, 0.7, 0.9, 2)", "assert abs(r0[0] - -0.0247) < 1e-6", "assert abs(r0[1] - 0.807) < 1e-6", "assert abs(r0[2] - -0.1892) < 1e-6", "r1 = com_zmp(8, 26, 0.03...
theo-eng-code-L2-code-003575
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-004404
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.9, 0.32, 45, 3.5, 2.5)", "assert abs(r0[0] - 9.88) < 1e-6", "assert abs(r0[1] - 0.4233) < 1e-6", "assert abs(r0[2] - 10.94) < 1e-6", "r1 = joint_torque(7.7, 0.19, 60...
theo-eng-code-L2-code-002864
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 80, 3.7, 5)", "assert r0[0] == 135", "assert r0[1] == 33", "assert r0[2] == 4455", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 82.418) < 1e-6", "r1 ...
theo-eng-code-L2-code-001537
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([92, 72, 97, 81, 42, 16])", "assert abs(r0[0] - 66.667) < 1e-6", "assert abs(r0[1] - 31.532) < 1e-6", "r1 = summarise([87, 70, 97, 99, 81])", "assert abs(r1[0] - 86....
theo-eng-code-L2-code-015770
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 300, 340, 0.3)", "assert abs(r0[0] - 328.0) < 1e-6", "assert abs(r0[1] - 1.37) < 1e-6", "assert abs(r0[2] - 82.3) < 1e-6", "r1 = runtime(0.2, 40, 60, 0.5)", "ass...
theo-eng-code-L3-code-009349
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.25, 8000, 120)", "assert abs(r0[0] - 6.28) < 1e-6", "assert abs(r0[1] - 1273.2) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L3-code-002684
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": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 10, 3.7, 5)", "assert r0[0] == 108", "assert r0[1] == 6", "assert r0[2] == 648", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6" ], ...
theo-eng-code-L3-code-010314
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(33, 1400, 80, 0.23, 2.0, 0.009, 1.2, 0.9, 0.9)", "assert abs(r0[0] - 309.1) < 1e-6", "assert abs(r0[1] - 9.61) < 1e-6", "assert abs(r0[2] - 7.69) < 1e-6", "r1 = erange(66, 239...
theo-eng-code-L2-code-013734
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(65, 12, 0.25)", "assert abs(r0 - 34.12) < 1e-6", "r1 = rms_torque(12, 11, 0.25)", "assert abs(r1 - 11.26) < 1e-6", "r2 = rms_torque(6, 3, 0.5)", "assert abs(r2 - 4.74)...
theo-eng-code-L1-code-002322
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_minmax", "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-015429
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 7, 0.2, 0.8)", "assert abs(r0[0] - 8.57) < 1e-6", "assert abs(r0[1] - 514.3) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L2-code-002372
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(24, 1310, 80, 0.29, 2.1, 0.008, 0.5, 0.9, 0.95)", "assert abs(r0[0] - 240.4) < 1e-6", "assert abs(r0[1] - 9.48) < 1e-6", "assert abs(r0[2] - 7.59) < 1e-6", "r1 = erange(98, ...
theo-eng-code-L3-code-006952
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(60, 37, 0.25)", "assert abs(r0 - 43.89) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-009782
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(69, 1950, 60, 0.29, 3.1, 0.012, 0.4, 0.9, 0.95)", "assert abs(r0[0] - 525.6) < 1e-6", "assert abs(r0[1] - 12.47) < 1e-6", "assert abs(r0[2] - 7.48) < 1e-6", "r1 = erange(56,...
theo-eng-code-L1-clarify-001365
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-L3-code-008623
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.42, 13000, 150)", "assert abs(r0[0] - 13.72) < 1e-6", "assert abs(r0[1] - 947.4) < 1e-6", "r1 = gear_ratio(0.36, 7500, 150)", "assert abs(r1[0] - 6.79) < 1e-6", "asse...
theo-eng-code-L2-code-007979
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 10, 3.2, 2.5)", "assert r0[0] == 156", "assert r0[1] == 9", "assert r0[2] == 1404", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 11.232) < 1e-6", "r1...
theo-eng-code-L1-clarify-013956
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-004868
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, 60, 3.6, 50)", "assert r0[0] == 56", "assert r0[1] == 6", "assert r0[2] == 336", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 60.48) < 1e-6", "r1 = pac...
theo-eng-code-L3-code-014749
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(8, 15, 0.05, 0.01, 0.5, 0.5, 0)", "assert abs(r0[0] - 0.0239) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - 0.0239) < 1e-6", "r1 = com_zmp(18, 14, -0.1, 0.08, ...
theo-eng-code-L2-code-003964
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-014401
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-L2-code-011778
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 14, 0.05, -0.02, 0.5, 0.3, 2)", "assert abs(r0[0] - -0.0016) < 1e-6", "assert abs(r0[1] - 0.3526) < 1e-6", "assert abs(r0[2] - -0.0735) < 1e-6", "r1 = com_zmp(18, 18, -0.0...
theo-eng-code-L2-code-014117
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_sumloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-013279
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(18, 11, -0.02, -0.02, 0.4, 0.8, 0)", "assert abs(r0[0] - -0.02) < 1e-6", "assert abs(r0[1] - 0.5517) < 1e-6", "assert abs(r0[2] - -0.02) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L1-clarify-010169
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-009107
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.3, 0.32, 30, 7.0, 2.0)", "assert abs(r0[0] - 15.15) < 1e-6", "assert abs(r0[1] - 0.8977) < 1e-6", "assert abs(r0[2] - 16.94) < 1e-6", "r1 = joint_torque(7.6, 0.1, 90...
theo-eng-code-L2-code-009835
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(87, 8, 0.5)", "assert abs(r0 - 61.78) < 1e-6", "r1 = rms_torque(45, 4, 0.5)", "assert abs(r1 - 31.95) < 1e-6", "r2 = rms_torque(10, 10, 0.25)", "assert abs(r2 - 10.0) ...
theo-eng-code-L2-code-014002
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([270, 320, 470, 370, 450], 1)", "assert abs(r0 - 0.5222) < 1e-6", "r1 = rect_energy([200, 400, 360, 440], 5)", "assert abs(r1 - 1.9444) < 1e-6", "r2 = rect_energy...
theo-eng-code-L2-code-002071
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.39, 7000, 100)", "assert abs(r0[0] - 10.29) < 1e-6", "assert abs(r0[1] - 680.1) < 1e-6", "r1 = gear_ratio(0.32, 14000, 150)", "assert abs(r1[0] - 11.26) < 1e-6", "a...
theo-eng-code-L2-code-005909
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([240, 50, 440, 270, 310], 5)", "assert abs(r0 - 1.8194) < 1e-6", "r1 = rect_energy([360, 240, 250, 290], 1)", "assert abs(r1 - 0.3167) < 1e-6", "r2 = rect_energy(...
theo-eng-code-L1-code-010057
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": "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-013974
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, 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_time...
theo-eng-code-L3-code-006462
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, 80, 3.2, 100)", "assert r0[0] == 62", "assert r0[1] == 5", "assert r0[2] == 310", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 99.2) < 1e-6", "r1 = pac...
theo-eng-code-L3-code-001215
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(300, 80, 3.7, 5)", "assert r0[0] == 81", "assert r0[1] == 54", "assert r0[2] == 4374", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 80.919) < 1e-6", "r1 = p...
theo-eng-code-L2-code-013103
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.6, 0.38, 90, 4.0, 1.5)", "assert abs(r0[0] - 16.03) < 1e-6", "assert abs(r0[1] - 0.6065) < 1e-6", "assert abs(r0[2] - 16.94) < 1e-6", "r1 = joint_torque(3.4, 0.47, 3...
theo-eng-code-L3-code-011731
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": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 100, 570, 0.7)", "assert abs(r0[0] - 241.0) < 1e-6", "assert abs(r0[1] - 0.37) < 1e-6", "assert abs(r0[2] - 22.4) < 1e-6", "r1 = runtime(0.5, 290, 550, 0.7)", "ass...
theo-eng-code-L2-code-015456
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 5000, 180)", "assert abs(r0[0] - 2.83) < 1e-6", "assert abs(r0[1] - 1768.4) < 1e-6", "r1 = gear_ratio(0.34, 12000, 180)", "assert abs(r1[0] - 8.55) < 1e-6", "as...
theo-eng-code-L2-code-011365
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-007827
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 13500, 120)", "assert abs(r0[0] - 12.3) < 1e-6", "assert abs(r0[1] - 1097.6) < 1e-6", "r1 = gear_ratio(0.36, 13000, 120)", "assert abs(r1[0] - 14.7) < 1e-6", "a...
theo-eng-code-L2-code-008816
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')", "assert r0[0] == 40", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')", "assert r1[0] == 80", ...
theo-eng-code-L2-code-006860
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 60, 3.2, 10)", "assert r0[0] == 125", "assert r0[1] == 15", "assert r0[2] == 1875", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 60.0) < 1e-6", "r1 =...
theo-eng-code-L1-code-001212
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_loop_sum", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-011593
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.67) < 1e-6", "assert abs(r0[1] - 40.0) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L2-code-000571
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 10, 3.7, 50)", "assert r0[0] == 216", "assert r0[1] == 1", "assert r0[2] == 216", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 = ...
theo-eng-code-L3-code-010864
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(21, 1600, 120, 0.34, 2.8, 0.009, 1.1, 0.9, 0.85)", "assert abs(r0[0] - 70.6) < 1e-6", "assert abs(r0[1] - 25.27) < 1e-6", "assert abs(r0[2] - 30.33) < 1e-6", "r1 = erange(60, ...
theo-eng-code-L3-code-010625
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.2, 240, 410, 0.7)", "assert abs(r0[0] - 291.0) < 1e-6", "assert abs(r0[1] - 0.62) < 1e-6", "assert abs(r0[2] - 37.1) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L2-code-011950
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 30, 0.03, 0.15, 0.8, 0.6, 0.5)", "assert abs(r0[0] - 0.1329) < 1e-6", "assert abs(r0[1] - 0.6286) < 1e-6", "assert abs(r0[2] - 0.1008) < 1e-6", "r1 = com_zmp(5, 14, -0.02,...
theo-eng-code-L2-code-015791
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 20, 3.7, 50)", "assert r0[0] == 216", "assert r0[1] == 1", "assert r0[2] == 216", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 = ...
theo-eng-code-L2-code-003707
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 3.6, 100)", "assert r0[0] == 111", "assert r0[1] == 1", "assert r0[2] == 111", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 =...
theo-eng-code-L1-refuse-005500
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": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-001681
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 20, 3.2, 50)", "assert r0[0] == 156", "assert r0[1] == 1", "assert r0[2] == 156", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 24.96) < 1e-6", "r1 = ...
theo-eng-code-L2-code-014852
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([330, 350, 100], 2)", "assert abs(r0 - 0.4333) < 1e-6", "r1 = rect_energy([230, 480, 100, 340], 5)", "assert abs(r1 - 1.5972) < 1e-6", "r2 = rect_energy([310, 190...
theo-eng-code-L3-code-011768
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 40, 510, 0.7)", "assert abs(r0[0] - 181.0) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - 29.8) < 1e-6", "r1 = runtime(0.5, 170, 310, 0.5)", "asser...
theo-eng-code-L1-code-001497
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_loop_sum", "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-015477
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 180, 330, 0.3)", "assert abs(r0[0] - 285.0) < 1e-6", "assert abs(r0[1] - 1.58) < 1e-6", "assert abs(r0[2] - 94.7) < 1e-6", "r1 = runtime(0.2, 150, 80, 0.7)", "as...
theo-eng-code-L3-code-006476
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(10, 19, -0.1, 0.05, 0.3, 0.5, 2)", "assert abs(r0[0] - -0.0017) < 1e-6", "assert abs(r0[1] - 0.431) < 1e-6", "assert abs(r0[2] - -0.0896) < 1e-6", "r1 = com_zmp(6, 10, 0.06, 0....
theo-eng-code-L2-code-005327
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 14, -0.09, 0.13, 0.7, 0.9, 2)", "assert abs(r0[0] - 0.05) < 1e-6", "assert abs(r0[1] - 0.8273) < 1e-6", "assert abs(r0[2] - -0.1187) < 1e-6", "r1 = com_zmp(15, 26, 0.03, 0...
theo-eng-code-L2-code-014378
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([430, 420, 130, 240, 200], 2)", "assert abs(r0 - 0.7889) < 1e-6", "r1 = rect_energy([120, 70, 410], 2)", "assert abs(r1 - 0.3333) < 1e-6", "r2 = rect_energy([360,...
theo-eng-code-L2-code-012261
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.4) < 1e-6", "assert abs(r0[1] - 24.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L2-code-012552
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 26, -0.1, 0.14, 0.6, 0.7, 2)", "assert abs(r0[0] - 0.0686) < 1e-6", "assert abs(r0[1] - 0.6703) < 1e-6", "assert abs(r0[2] - -0.068) < 1e-6", "r1 = com_zmp(14, 12, 0.01, ...
theo-eng-code-L2-code-012802
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 4500, 120)", "assert abs(r0[0] - 3.82) < 1e-6", "assert abs(r0[1] - 1178.9) < 1e-6", "r1 = gear_ratio(0.34, 13000, 150)", "assert abs(r1[0] - 11.11) < 1e-6", "a...
theo-eng-code-L2-code-002683
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 0.1, 0.8)", "assert abs(r0[0] - 0.29) < 1e-6", "assert abs(r0[1] - 17.5) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert abs(r0[3] - 60.0) < 1e-6", "r...
theo-eng-code-L2-code-012211
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.26, 12500, 180)", "assert abs(r0[0] - 6.81) < 1e-6", "assert abs(r0[1] - 1836.4) < 1e-6", "r1 = gear_ratio(0.4, 14000, 150)", "assert abs(r1[0] - 14.07) < 1e-6", "a...
theo-eng-code-L2-code-015984
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, 9, 0.25)", "assert abs(r0 - 16.9) < 1e-6", "r1 = rms_torque(36, 17, 0.5)", "assert abs(r1 - 28.15) < 1e-6", "r2 = rms_torque(33, 29, 0.25)", "assert abs(r2 - 30.05...
theo-eng-code-L1-refuse-012554
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-L2-code-006719
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.9, 0.49, 90, 2.5, 2.5)", "assert abs(r0[0] - 21.39) < 1e-6", "assert abs(r0[1] - 0.9124) < 1e-6", "assert abs(r0[2] - 23.67) < 1e-6", "r1 = joint_torque(6.8, 0.1, 90...
theo-eng-code-L2-code-000906
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, [0, 25, 50, 75, 100], [0.7, 0.81, 0.89, 0.85, 0.81])", "assert abs(r0 - 0.89) < 1e-6", "r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.78, 0.84, 0.89, 0.89, 0.84])", "as...
theo-eng-code-L2-code-013510
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(57, 35, 0.25)", "assert abs(r0 - 41.61) < 1e-6", "r1 = rms_torque(18, 18, 0.25)", "assert abs(r1 - 18.0) < 1e-6", "r2 = rms_torque(65, 28, 0.25)", "assert abs(r2 - 40....
theo-eng-code-L2-code-010020
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 140, 390, 0.5)", "assert abs(r0[0] - 265.0) < 1e-6", "assert abs(r0[1] - 0.68) < 1e-6", "assert abs(r0[2] - 40.8) < 1e-6", "r1 = runtime(1.0, 90, 60, 0.3)", "ass...
theo-eng-code-L2-code-000454
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, [0, 25, 50, 75, 100], [0.77, 0.81, 0.9, 0.89, 0.8])", "assert abs(r0 - 0.896) < 1e-6", "r1 = interp_eff(45, [0, 25, 50, 75, 100], [0.79, 0.81, 0.9, 0.87, 0.85])", "ass...
theo-eng-code-L1-code-013136
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_squares", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-001982
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 10000, 100)", "assert abs(r0[0] - 10.18) < 1e-6", "assert abs(r0[1] - 982.4) < 1e-6", "r1 = gear_ratio(0.39, 7000, 120)", "assert abs(r1[0] - 8.58) < 1e-6", "as...
theo-eng-code-L2-code-011895
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')", "assert r0[0] == 20", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')", "assert r1[0] == 80", "a...
theo-eng-code-L3-code-006507
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": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 150, 540, 0.5)", "assert abs(r0[0] - 345.0) < 1e-6", "assert abs(r0[1] - 2.61) < 1e-6", "assert abs(r0[2] - 156.5) < 1e-6", "r1 = runtime(1.0, 250, 110, 0.7)", "as...
theo-eng-code-L2-code-007331
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 50, 0.1, 0.9)", "assert abs(r0[0] - 0.8) < 1e-6", "assert abs(r0[1] - 48.0) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L3-code-012823
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": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 7, 0.2, 0.8)", "assert abs(r0[0] - 10.71) < 1e-6", "assert abs(r0[1] - 642.9) < 1e-6", "assert abs(r0[2] - 60.0) < 1e-6", "assert r0[3] == 7" ], "subtask...
theo-eng-code-L2-code-001992
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(60, [0, 25, 50, 75, 100], [0.73, 0.82, 0.86, 0.9, 0.84])", "assert abs(r0 - 0.876) < 1e-6", "r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.77, 0.82, 0.88, 0.89, 0.81])", "a...
theo-eng-code-L2-code-015313
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 150}')", "assert r0[0] == 80", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')", "assert r1[0] == 20", ...
theo-eng-code-L3-code-010805
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 10, 3.2, 2.5)", "assert r0[0] == 62", "assert r0[1] == 21", "assert r0[2] == 1302", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 10.416) < 1e-6" ]...
theo-eng-code-L2-code-009179
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 23, 0.07, 0.13, 0.5, 0.5, 0.5)", "assert abs(r0[0] - 0.1021) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - 0.0766) < 1e-6", "r1 = com_zmp(15, 29, 0.05, 0...
theo-eng-code-L1-refuse-015642
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_fake_sensors", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-012890
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(94, 2520, 100, 0.25, 2.7, 0.01, 0.3, 0.9, 0.85)", "assert abs(r0[0] - 449.5) < 1e-6", "assert abs(r0[1] - 17.78) < 1e-6", "assert abs(r0[2] - 17.78) < 1e-6", "r1 = erange(64...
theo-eng-code-L1-clarify-012146
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": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-013882
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([70, 230, 330, 180], 5)", "assert abs(r0 - 1.125) < 1e-6", "r1 = rect_energy([460, 410, 220, 440], 5)", "assert abs(r1 - 2.125) < 1e-6", "r2 = rect_energy([450, 9...
theo-eng-code-L2-code-008368
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-005505
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-015092
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(77, 4, 0.75)", "assert abs(r0 - 66.71) < 1e-6", "r1 = rms_torque(19, 8, 0.75)", "assert abs(r1 - 16.93) < 1e-6", "r2 = rms_torque(81, 19, 0.5)", "assert abs(r2 - 58.83...
theo-eng-code-L2-code-001714
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }