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-015905
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 140, 320, 0.5)", "assert abs(r0[0] - 230.0) < 1e-6", "assert abs(r0[1] - 0.39) < 1e-6", "assert abs(r0[2] - 23.5) < 1e-6", "r1 = runtime(1.0, 50, 110, 0.5)", "as...
theo-eng-code-L3-code-011401
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(85, 12, 0.75)", "assert abs(r0 - 73.86) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-003658
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 26, -0.07, 0.02, 0.7, 0.9, 0.5)", "assert abs(r0[0] - -0.005) < 1e-6", "assert abs(r0[1] - 0.8444) < 1e-6", "assert abs(r0[2] - -0.048) < 1e-6", "r1 = com_zmp(5, 11, -0.0...
theo-eng-code-L2-code-001871
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.1, 100, 290, 0.5)", "assert abs(r0[0] - 195.0) < 1e-6", "assert abs(r0[1] - 0.46) < 1e-6", "assert abs(r0[2] - 27.7) < 1e-6", "r1 = runtime(1.0, 90, 240, 0.5)", "as...
theo-eng-code-L2-code-008311
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.5, 0.19, 90, 2.5, 1.5)", "assert abs(r0[0] - 5.13) < 1e-6", "assert abs(r0[1] - 0.0963) < 1e-6", "assert abs(r0[2] - 5.27) < 1e-6", "r1 = joint_torque(5.8, 0.52, 90,...
theo-eng-code-L3-code-008993
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(76, 40, 0.5)", "assert abs(r0 - 60.73) < 1e-6", "r1 = rms_torque(50, 14, 0.5)", "assert abs(r1 - 36.72) < 1e-6", "r2 = rms_torque(99, 35, 0.25)", "assert abs(r2 - 58.04)...
theo-eng-code-L3-code-003368
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": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 40, 3.6, 2.5)", "assert r0[0] == 222", "assert r0[1] == 21", "assert r0[2] == 4662", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 41.958) < 1e-6", "r1 ...
theo-eng-code-L3-code-004127
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.34, 13500, 100)", "assert abs(r0[0] - 17.3) < 1e-6", "assert abs(r0[1] - 780.2) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-009727
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.33, 7500, 100)", "assert abs(r0[0] - 9.33) < 1e-6", "assert abs(r0[1] - 803.8) < 1e-6", "r1 = gear_ratio(0.29, 10000, 100)", "assert abs(r1[0] - 10.93) < 1e-6", "as...
theo-eng-code-L2-code-001281
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(49, 38, 0.5)", "assert abs(r0 - 43.85) < 1e-6", "r1 = rms_torque(37, 29, 0.25)", "assert abs(r1 - 31.19) < 1e-6", "r2 = rms_torque(31, 23, 0.25)", "assert abs(r2 - 25....
theo-eng-code-L2-code-004105
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.45, 12500, 100)", "assert abs(r0[0] - 21.21) < 1e-6", "assert abs(r0[1] - 589.5) < 1e-6", "r1 = gear_ratio(0.29, 14500, 180)", "assert abs(r1[0] - 8.81) < 1e-6", "a...
theo-eng-code-L1-code-004213
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "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-007767
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": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(71, 1850, 120, 0.35, 2.8, 0.009, 0.3, 0.88, 0.95)", "assert abs(r0[0] - 254.9) < 1e-6", "assert abs(r0[1] - 26.46) < 1e-6", "assert abs(r0[2] - 31.75) < 1e-6" ], "subta...
theo-eng-code-L2-code-001337
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.5, 2.0], [3.0, 0.0])", "assert abs(r0 - 2.5) < 1e-6", "r1 = seg_len([3.5, 4.0], [1.5, 0.0])", "assert abs(r1 - 4.4721) < 1e-6", "r2 = seg_len([5.0, 2.5], [3.0, 4.0])",...
theo-eng-code-L2-code-004976
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 17, 0.0, 0.09, 0.8, 0.6, 1)", "assert abs(r0[0] - 0.0567) < 1e-6", "assert abs(r0[1] - 0.6741) < 1e-6", "assert abs(r0[2] - -0.012) < 1e-6", "r1 = com_zmp(7, 15, -0.04, 0...
theo-eng-code-L2-code-011391
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008066
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.1, 220, 490, 0.7)", "assert abs(r0[0] - 301.0) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - 17.9) < 1e-6", "r1 = runtime(1.0, 150, 330, 0.5)", "as...
theo-eng-code-L2-code-004031
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.6, 5)", "assert r0[0] == 222", "assert r0[1] == 3", "assert r0[2] == 666", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6", "r1 = ...
theo-eng-code-L2-code-012621
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6", "style": "code", "source": "template", "tests": [ "r0 = erange(97, 2150, 60, 0.22, 2.1, 0.009, 1.2, 0.94, 0.85)", "assert abs(r0[0] - 830.1) < 1e-6", "assert abs(r0[1] - 9.93) < 1e-6", "assert abs(r0[2] - 5.96) < 1e-6", "r1 = erange(53,...
theo-eng-code-L2-code-009536
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-013690
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(75, [0, 25, 50, 75, 100], [0.79, 0.8, 0.86, 0.88, 0.83])", "assert abs(r0 - 0.88) < 1e-6", "r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.79, 0.84, 0.86, 0.89, 0.81])", "as...
theo-eng-code-L3-code-011782
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.28, 7500, 120)", "assert abs(r0[0] - 6.6) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.38, 7500, 150)", "assert abs(r1[0] - 7.16) < 1e-6", "assert...
theo-eng-code-L2-code-011567
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(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_...
theo-eng-code-L2-code-000607
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(24, 1700, 80, 0.24, 2.7, 0.008, 0.5, 0.94, 0.85)", "assert abs(r0[0] - 196.9) < 1e-6", "assert abs(r0[1] - 10.36) < 1e-6", "assert abs(r0[2] - 8.29) < 1e-6", "r1 = erange(79...
theo-eng-code-L2-code-004526
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 25, -0.08, 0.08, 0.9, 0.8, 1)", "assert abs(r0[0] - 0.013) < 1e-6", "assert abs(r0[1] - 0.8419) < 1e-6", "assert abs(r0[2] - -0.0728) < 1e-6", "r1 = com_zmp(5, 28, 0.0, 0...
theo-eng-code-L3-code-015065
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(1.0, 0.43, 30, 4.5, 0.0)", "assert abs(r0[0] - 10.55) < 1e-6", "assert abs(r0[1] - 0.8937) < 1e-6", "assert abs(r0[2] - 10.55) < 1e-6", "r1 = joint_torque(3.2, 0.51, 60,...
theo-eng-code-L3-code-007963
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.33, 12000, 100)", "assert abs(r0[0] - 14.93) < 1e-6", "assert abs(r0[1] - 803.8) < 1e-6", "r1 = gear_ratio(0.26, 10500, 180)", "assert abs(r1[0] - 5.72) < 1e-6", "ass...
theo-eng-code-L2-code-012761
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 250, 470, 0.7)", "assert abs(r0[0] - 316.0) < 1e-6", "assert abs(r0[1] - 1.42) < 1e-6", "assert abs(r0[2] - 85.4) < 1e-6", "r1 = runtime(0.5, 160, 180, 0.3)", "a...
theo-eng-code-L2-code-009753
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([350, 220, 430], 5)", "assert abs(r0 - 1.3889) < 1e-6", "r1 = rect_energy([500, 190, 270, 370], 10)", "assert abs(r1 - 3.6944) < 1e-6", "r2 = rect_energy([270, 12...
theo-eng-code-L2-code-014354
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 50, 0.2, 0.9)", "assert abs(r0[0] - 1.75) < 1e-6", "assert abs(r0[1] - 105.0) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_t...
theo-eng-code-L3-code-015102
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 80, 3.7, 50)", "assert r0[0] == 216", "assert r0[1] == 3", "assert r0[2] == 648", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 119.88) < 1e-6", "r1 = p...
theo-eng-code-L3-code-003703
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(4.5, 0.51, 60, 2.0, 3.0)", "assert abs(r0[0] - 18.41) < 1e-6", "assert abs(r0[1] - 0.9103) < 1e-6", "assert abs(r0[2] - 21.15) < 1e-6", "r1 = joint_torque(5.4, 0.16, 45,...
theo-eng-code-L3-code-000293
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, 260, 270, 0.5)", "assert abs(r0[0] - 265.0) < 1e-6", "assert abs(r0[1] - 3.4) < 1e-6", "assert abs(r0[2] - 203.8) < 1e-6", "r1 = runtime(0.2, 70, 140, 0.5)", "asse...
theo-eng-code-L3-code-015819
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(7, 19, 0.03, 0.05, 0.8, 0.7, 2)", "assert abs(r0[0] - 0.0446) < 1e-6", "assert abs(r0[1] - 0.7269) < 1e-6", "assert abs(r0[2] - -0.1036) < 1e-6", "r1 = com_zmp(14, 14, 0.0, 0.0...
theo-eng-code-L1-code-010639
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-003408
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 26, 0.03, 0.11, 0.5, 0.6, 0.5)", "assert abs(r0[0] - 0.0878) < 1e-6", "assert abs(r0[1] - 0.5722) < 1e-6", "assert abs(r0[2] - 0.0586) < 1e-6", "r1 = com_zmp(15, 23, 0.04...
theo-eng-code-L2-code-004125
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(31, 3, 0.5)", "assert abs(r0 - 22.02) < 1e-6", "r1 = rms_torque(79, 27, 0.5)", "assert abs(r1 - 59.03) < 1e-6", "r2 = rms_torque(51, 18, 0.25)", "assert abs(r2 - 29.89...
theo-eng-code-L2-code-003114
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 20, \"max_kw\": 100}')", "assert r0[0] == 20", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')", "assert r1[0] == 60", ...
theo-eng-code-L2-code-001879
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.82, 0.85, 0.88, 0.84])", "assert abs(r0 - 0.826) < 1e-6", "r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.78, 0.84, 0.85, 0.87, 0.84])", "...
theo-eng-code-L3-code-007915
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(18, 18, -0.08, 0.09, 0.3, 0.7, 1)", "assert abs(r0[0] - 0.005) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - -0.046) < 1e-6", "r1 = com_zmp(11, 28, -0.04, -0.0...
theo-eng-code-L2-code-001144
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 100, 40, 0.5)", "assert abs(r0[0] - 70.0) < 1e-6", "assert abs(r0[1] - 6.43) < 1e-6", "assert abs(r0[2] - 385.7) < 1e-6", "r1 = runtime(1.0, 210, 60, 0.3)", "ass...
theo-eng-code-L2-code-012839
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')", "assert r0[0] == 20", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')", "assert r1[0] == 20", "a...
theo-eng-code-L2-code-005722
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = erange(38, 2410, 80, 0.28, 2.2, 0.011, 0.8, 0.88, 0.9)", "assert abs(r0[0] - 226.6) < 1e-6", "assert abs(r0[1] - 15.09) < 1e-6", "assert abs(r0[2] - 12.07) < 1e-6", "r1 = erange(64...
theo-eng-code-L2-code-005986
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, 14, 0.25)", "assert abs(r0 - 21.29) < 1e-6", "r1 = rms_torque(50, 4, 0.25)", "assert abs(r1 - 25.24) < 1e-6", "r2 = rms_torque(55, 14, 0.25)", "assert abs(r2 - 30....
theo-eng-code-L1-code-013534
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": "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-007306
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([29, 95, 78, 12, 31, 47])", "assert abs(r0[0] - 48.667) < 1e-6", "assert abs(r0[1] - 31.791) < 1e-6", "r1 = summarise([11, 49, 28, 65, 60])", "assert abs(r1[0] - 42....
theo-eng-code-L2-code-009476
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 20, 3.7, 100)", "assert r0[0] == 108", "assert r0[1] == 1", "assert r0[2] == 108", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 =...
theo-eng-code-L1-code-004484
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": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-012264
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 20, 3.7, 2.5)", "assert r0[0] == 54", "assert r0[1] == 41", "assert r0[2] == 2214", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 20.48) < 1e-6", "r1 = ...
theo-eng-code-L1-code-001876
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": "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-007443
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.32, 11500, 100)", "assert abs(r0[0] - 13.87) < 1e-6", "assert abs(r0[1] - 828.9) < 1e-6", "r1 = gear_ratio(0.34, 8000, 150)", "assert abs(r1[0] - 6.84) < 1e-6", "as...
theo-eng-code-L2-code-004092
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 0.2, 0.8)", "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-L3-code-005212
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": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 80, 3.6, 50)", "assert r0[0] == 83", "assert r0[1] == 6", "assert r0[2] == 498", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 89.64) < 1e-6", "r1 = pac...
theo-eng-code-L3-code-000628
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": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 210, 320, 0.3)", "assert abs(r0[0] - 287.0) < 1e-6", "assert abs(r0[1] - 0.63) < 1e-6", "assert abs(r0[2] - 37.6) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L3-code-007455
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(19, 21, -0.04, 0.07, 0.3, 0.3, 2)", "assert abs(r0[0] - 0.0178) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - -0.0434) < 1e-6", "r1 = com_zmp(19, 18, 0.03, 0.1...
theo-eng-code-L2-code-014301
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = seg_len([3.5, 0.0], [2.0, 2.5])", "assert abs(r0 - 2.9155) < 1e-6", "r1 = seg_len([1.0, 4.0], [2.5, 2.0])", "assert abs(r1 - 2.5) < 1e-6", "r2 = seg_len([2.5, 0.0], [5.0, 1.0])",...
theo-eng-code-L2-code-015801
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, [0, 25, 50, 75, 100], [0.75, 0.83, 0.88, 0.88, 0.8])", "assert abs(r0 - 0.864) < 1e-6", "r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.7, 0.82, 0.86, 0.88, 0.8])", "ass...
theo-eng-code-L2-code-015371
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.3, 0.42, 60, 8.0, 4.0)", "assert abs(r0[0] - 39.79) < 1e-6", "assert abs(r0[1] - 1.7816) < 1e-6", "assert abs(r0[2] - 46.91) < 1e-6", "r1 = joint_torque(5.8, 0.52, 3...
theo-eng-code-L1-code-009280
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_average", "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-013101
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(96, 20, 0.75)", "assert abs(r0 - 83.74) < 1e-6", "r1 = rms_torque(66, 5, 0.5)", "assert abs(r1 - 46.8) < 1e-6", "r2 = rms_torque(10, 6, 0.25)", "assert abs(r2 - 7.21) ...
theo-eng-code-L3-code-006687
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(62, 39, 0.25)", "assert abs(r0 - 45.84) < 1e-6", "r1 = rms_torque(84, 14, 0.75)", "assert abs(r1 - 73.08) < 1e-6", "r2 = rms_torque(65, 26, 0.75)", "assert abs(r2 - 57.7...
theo-eng-code-L2-code-000029
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 410, 0.5)", "assert abs(r0[0] - 225.0) < 1e-6", "assert abs(r0[1] - 0.8) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "r1 = runtime(1.0, 280, 470, 0.3)", "ass...
theo-eng-code-L2-code-004508
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 13, -0.07, -0.02, 0.8, 0.3, 0)", "assert abs(r0[0] - -0.0476) < 1e-6", "assert abs(r0[1] - 0.5759) < 1e-6", "assert abs(r0[2] - -0.0476) < 1e-6", "r1 = com_zmp(13, 28, -0...
theo-eng-code-L3-code-012287
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 25, 0.02, 0.11, 0.4, 0.4, 0.5)", "assert abs(r0[0] - 0.0825) < 1e-6", "assert abs(r0[1] - 0.4) < 1e-6", "assert abs(r0[2] - 0.0621) < 1e-6" ], "subtask": "writetests...
theo-eng-code-L2-code-014787
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 13000, 100)", "assert abs(r0[0] - 14.7) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6", "r1 = gear_ratio(0.43, 9500, 150)", "assert abs(r1[0] - 10.27) < 1e-6", "ass...
theo-eng-code-L2-code-002310
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.34, 4500, 120)", "assert abs(r0[0] - 4.81) < 1e-6", "assert abs(r0[1] - 936.2) < 1e-6", "r1 = gear_ratio(0.42, 6000, 150)", "assert abs(r1[0] - 6.33) < 1e-6", "asse...
theo-eng-code-L1-code-015235
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_fstring", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-005041
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(41, 36, 0.25)", "assert abs(r0 - 37.31) < 1e-6", "r1 = rms_torque(24, 21, 0.75)", "assert abs(r1 - 23.29) < 1e-6", "r2 = rms_torque(87, 30, 0.5)", "assert abs(r2 - 65.07...
theo-eng-code-L1-code-012500
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": "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-006193
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(55, 2030, 60, 0.27, 2.7, 0.007, 1.4, 0.88, 0.85)", "assert abs(r0[0] - 439.0) < 1e-6", "assert abs(r0[1] - 10.65) < 1e-6", "assert abs(r0[2] - 6.39) < 1e-6", "r1 = erange(91, ...
theo-eng-code-L1-code-007744
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_power", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-004100
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(83, 31, 0.75)", "assert abs(r0 - 73.53) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-010959
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = summarise([78, 26, 84, 93, 34])", "assert r0[0] == 63", "assert abs(r0[1] - 30.725) < 1e-6", "r1 = summarise([55, 11, 45, 78, 98, 31])", "assert r1[0] == 53", "assert abs(...
theo-eng-code-L2-code-015638
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(97, 33, 0.5)", "assert abs(r0 - 72.45) < 1e-6", "r1 = rms_torque(59, 17, 0.25)", "assert abs(r1 - 32.97) < 1e-6", "r2 = rms_torque(47, 34, 0.75)", "assert abs(r2 - 44....
theo-eng-code-L2-code-005240
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(78, 990, 60, 0.3, 3.0, 0.012, 0.7, 0.88, 0.85)", "assert abs(r0[0] - 685.0) < 1e-6", "assert abs(r0[1] - 9.68) < 1e-6", "assert abs(r0[2] - 5.81) < 1e-6", "r1 = erange(66, 1...
theo-eng-code-L2-code-010985
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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" }
theo-eng-code-L3-code-009530
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(80, 150, 0.2, 0.8)", "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_time...
theo-eng-code-L3-code-009684
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 80, 3.7, 10)", "assert r0[0] == 108", "assert r0[1] == 21", "assert r0[2] == 2268", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 83.916) < 1e-6", "r1 =...
theo-eng-code-L2-code-005740
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.33, 8000, 180)", "assert abs(r0[0] - 5.53) < 1e-6", "assert abs(r0[1] - 1446.9) < 1e-6", "r1 = gear_ratio(0.43, 9000, 120)", "assert abs(r1[0] - 12.16) < 1e-6", "as...
theo-eng-code-L3-code-009407
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": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(90, 1140, 60, 0.22, 2.4, 0.008, 0.8, 0.92, 0.95)", "assert abs(r0[0] - 1267.2) < 1e-6", "assert abs(r0[1] - 6.75) < 1e-6", "assert abs(r0[2] - 4.05) < 1e-6" ], "subtask...
theo-eng-code-L2-code-007372
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 19, -0.06, -0.05, 0.5, 0.7, 0)", "assert abs(r0[0] - -0.0524) < 1e-6", "assert abs(r0[1] - 0.652) < 1e-6", "assert abs(r0[2] - -0.0524) < 1e-6", "r1 = com_zmp(17, 21, 0.02...
theo-eng-code-L1-code-015355
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_dictget", "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-011742
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 10, 3.7, 50)", "assert r0[0] == 108", "assert r0[1] == 1", "assert r0[2] == 108", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 19.98) < 1e-6", "r1 = ...
theo-eng-code-L2-code-009833
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(10, [0, 25, 50, 75, 100], [0.77, 0.82, 0.88, 0.88, 0.84])", "assert abs(r0 - 0.79) < 1e-6", "r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.78, 0.85, 0.89, 0.88, 0.81])", "a...
theo-eng-code-L2-code-010241
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 17, 0.06, 0.07, 0.4, 0.4, 1)", "assert abs(r0[0] - 0.0647) < 1e-6", "assert abs(r0[1] - 0.4) < 1e-6", "assert abs(r0[2] - 0.0239) < 1e-6", "r1 = com_zmp(19, 19, -0.05, 0....
theo-eng-code-L3-code-011335
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, 50, 0.2, 0.8)", "assert abs(r0[0] - 0.6) < 1e-6", "assert abs(r0[1] - 36.0) < 1e-6", "assert abs(r0[2] - 24.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(4...
theo-eng-code-L2-code-012097
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.73, 0.84, 0.89, 0.89, 0.8])", "assert abs(r0 - 0.89) < 1e-6", "r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.73, 0.82, 0.88, 0.89, 0.85])", "as...
theo-eng-code-L2-code-014297
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(95, 2470, 100, 0.23, 3.1, 0.008, 0.8, 0.92, 0.9)", "assert abs(r0[0] - 508.1) < 1e-6", "assert abs(r0[1] - 16.83) < 1e-6", "assert abs(r0[2] - 16.83) < 1e-6", "r1 = erange(5...
theo-eng-code-L2-code-004549
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 7500, 150)", "assert abs(r0[0] - 7.92) < 1e-6", "assert abs(r0[1] - 947.4) < 1e-6", "r1 = gear_ratio(0.35, 10000, 150)", "assert abs(r1[0] - 8.8) < 1e-6", "asse...
theo-eng-code-L3-code-007177
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(0.7, 0.11, 60, 3.0, 3.0)", "assert abs(r0[0] - 3.13) < 1e-6", "assert abs(r0[1] - 0.0391) < 1e-6", "assert abs(r0[2] - 3.25) < 1e-6", "r1 = joint_torque(5.9, 0.18, 90, 5...
theo-eng-code-L2-code-005546
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.8, 0.3, 45, 3.0, 1.0)", "assert abs(r0[0] - 10.2) < 1e-6", "assert abs(r0[1] - 0.384) < 1e-6", "assert abs(r0[2] - 10.58) < 1e-6", "r1 = joint_torque(1.6, 0.4, 60, 5...
theo-eng-code-L2-code-008310
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([5.0, 3.0], [4.0, 2.0])", "assert abs(r0 - 1.4142) < 1e-6", "r1 = seg_len([3.5, 4.0], [4.0, 3.5])", "assert abs(r1 - 0.7071) < 1e-6", "r2 = seg_len([3.0, 3.5], [2.5, 0.5]...
theo-eng-code-L2-code-006535
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 80, 3.6, 2.5)", "assert r0[0] == 56", "assert r0[1] == 159", "assert r0[2] == 8904", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 80.136) < 1e-6", "r...
theo-eng-code-L2-code-008219
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([220, 240, 370], 2)", "assert abs(r0 - 0.4611) < 1e-6", "r1 = rect_energy([460, 170, 350], 5)", "assert abs(r1 - 1.3611) < 1e-6", "r2 = rect_energy([450, 210, 290...
theo-eng-code-L2-code-007972
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, [0, 25, 50, 75, 100], [0.8, 0.81, 0.87, 0.87, 0.82])", "assert abs(r0 - 0.86) < 1e-6", "r1 = interp_eff(55, [0, 25, 50, 75, 100], [0.79, 0.85, 0.86, 0.88, 0.83])", "as...
theo-eng-code-L2-code-015848
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(28, 2680, 80, 0.26, 2.7, 0.009, 1.4, 0.9, 0.9)", "assert abs(r0[0] - 161.5) < 1e-6", "assert abs(r0[1] - 15.61) < 1e-6", "assert abs(r0[2] - 12.49) < 1e-6", "r1 = erange(49,...
theo-eng-code-L2-code-005586
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_maxloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-003641
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 250, 190, 0.5)", "assert abs(r0[0] - 220.0) < 1e-6", "assert abs(r0[1] - 4.09) < 1e-6", "assert abs(r0[2] - 245.5) < 1e-6", "r1 = runtime(1.0, 50, 510, 0.7)", "a...
theo-eng-code-L3-code-004479
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 14500, 120)", "assert abs(r0[0] - 12.3) < 1e-6", "assert abs(r0[1] - 1178.9) < 1e-6", "r1 = gear_ratio(0.29, 10000, 120)", "assert abs(r1[0] - 9.11) < 1e-6", "ass...
theo-eng-code-L3-code-001715
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.31, 8500, 100)", "assert abs(r0[0] - 9.93) < 1e-6", "assert abs(r0[1] - 855.7) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", ...