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-009013
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 16, 0.04, 0.08, 0.9, 0.5, 2)", "assert abs(r0[0] - 0.0678) < 1e-6", "assert abs(r0[1] - 0.6217) < 1e-6", "assert abs(r0[2] - -0.0589) < 1e-6", "r1 = com_zmp(10, 23, 0.03, ...
theo-eng-code-L2-code-014854
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L1-code-000794
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_countdown", "user_template": "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-011203
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(400, 60, 3.2, 100)", "assert r0[0] == 125", "assert r0[1] == 2", "assert r0[2] == 250", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1 = pa...
theo-eng-code-L3-code-012959
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(36, 8, 0.5)", "assert abs(r0 - 26.08) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L3-code-002401
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(60, 7, 0.2, 1.0)", "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(1...
theo-eng-code-L3-code-007282
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(10, 26, 0.0, 0.0, 0.6, 0.8, 1)", "assert abs(r0[0] - 0.0) < 1e-6", "assert abs(r0[1] - 0.7444) < 1e-6", "assert abs(r0[2] - -0.0759) < 1e-6", "r1 = com_zmp(11, 18, -0.01, 0.13,...
theo-eng-code-L3-code-001637
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": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(36, 2440, 120, 0.29, 2.9, 0.01, 1.2, 0.9, 0.9)", "assert abs(r0[0] - 124.4) < 1e-6", "assert abs(r0[1] - 26.05) < 1e-6", "assert abs(r0[2] - 31.26) < 1e-6" ], "subtask"...
theo-eng-code-L3-code-002791
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(40, 22, 0.1, 1.0)", "assert abs(r0[0] - 2.05) < 1e-6", "assert abs(r0[1] - 122.7) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 22" ], "subtask...
theo-eng-code-L2-code-006354
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 11, 0.1, 1.0)", "assert abs(r0[0] - 8.18) < 1e-6", "assert abs(r0[1] - 490.9) < 1e-6", "assert abs(r0[2] - 72.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-015159
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 11, -0.03, 0.06, 0.5, 0.4, 2)", "assert abs(r0[0] - 0.0054) < 1e-6", "assert abs(r0[1] - 0.4607) < 1e-6", "assert abs(r0[2] - -0.0886) < 1e-6", "r1 = com_zmp(18, 19, 0.04...
theo-eng-code-L3-code-015529
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": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 18, 0.0, 0.1, 0.3, 0.4, 2)", "assert abs(r0[0] - 0.0621) < 1e-6", "assert abs(r0[1] - 0.3621) < 1e-6", "assert abs(r0[2] - -0.0117) < 1e-6" ], "subtask": "writetests...
theo-eng-code-L2-code-012828
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 3.2, 5)", "assert r0[0] == 156", "assert r0[1] == 5", "assert r0[2] == 780", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 12.48) < 1e-6", "r1 = p...
theo-eng-code-L2-code-012285
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([68, 10, 26, 35, 71, 41])", "assert abs(r0[0] - 41.833) < 1e-6", "assert abs(r0[1] - 23.861) < 1e-6", "r1 = summarise([55, 85, 40, 70])", "assert abs(r1[0] - 62.5) <...
theo-eng-code-L2-code-007747
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-007215
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": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(91, 8, 0.25)", "assert abs(r0 - 46.02) < 1e-6", "r1 = rms_torque(32, 10, 0.25)", "assert abs(r1 - 18.19) < 1e-6", "r2 = rms_torque(23, 10, 0.75)", "assert abs(r2 - 20.54...
theo-eng-code-L2-code-004534
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-012979
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(6, 12, -0.03, 0.0, 0.8, 0.6, 0.5)", "assert abs(r0[0] - -0.01) < 1e-6", "assert abs(r0[1] - 0.6667) < 1e-6", "assert abs(r0[2] - -0.044) < 1e-6", "r1 = com_zmp(18, 11, -0.03, 0...
theo-eng-code-L2-code-013077
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([150, 180, 210, 420], 1)", "assert abs(r0 - 0.2667) < 1e-6", "r1 = rect_energy([360, 410, 500, 250, 290], 10)", "assert abs(r1 - 5.0278) < 1e-6", "r2 = rect_energ...
theo-eng-code-L3-code-010762
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(500, 20, 3.6, 100)", "assert r0[0] == 139", "assert r0[1] == 1", "assert r0[2] == 139", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 50.04) < 1e-6", "r1 = p...
theo-eng-code-L2-code-003862
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([370, 310, 240], 1)", "assert abs(r0 - 0.2556) < 1e-6", "r1 = rect_energy([150, 300, 410], 2)", "assert abs(r1 - 0.4778) < 1e-6", "r2 = rect_energy([80, 390, 320]...
theo-eng-code-L3-code-009110
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 11, 0.2, 0.8)", "assert abs(r0[0] - 2.73) < 1e-6", "assert abs(r0[1] - 163.6) < 1e-6", "assert abs(r0[2] - 24.0) < 1e-6", "assert r0[3] == 11" ], "subtask...
theo-eng-code-L3-code-009309
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": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.41, 10000, 100)", "assert abs(r0[0] - 15.46) < 1e-6", "assert abs(r0[1] - 647.0) < 1e-6", "r1 = gear_ratio(0.41, 14000, 180)", "assert abs(r1[0] - 12.02) < 1e-6", "as...
theo-eng-code-L3-code-014495
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(200, 20, 3.6, 50)", "assert r0[0] == 56", "assert r0[1] == 2", "assert r0[2] == 112", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 20.16) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-010999
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 7, 0.2, 1.0)", "assert abs(r0[0] - 5.71) < 1e-6", "assert abs(r0[1] - 342.9) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L2-code-008802
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(58, 1510, 100, 0.22, 2.1, 0.008, 0.8, 0.94, 0.95)", "assert abs(r0[0] - 512.4) < 1e-6", "assert abs(r0[1] - 10.75) < 1e-6", "assert abs(r0[2] - 10.75) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-002141
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(12, 23, 0.07, 0.14, 0.4, 0.6, 2)", "assert abs(r0[0] - 0.116) < 1e-6", "assert abs(r0[1] - 0.5314) < 1e-6", "assert abs(r0[2] - 0.0077) < 1e-6", "r1 = com_zmp(11, 15, -0.09, ...
theo-eng-code-L3-code-014108
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": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.4, 9000, 180)", "assert abs(r0[0] - 7.54) < 1e-6", "assert abs(r0[1] - 1193.7) < 1e-6", "r1 = gear_ratio(0.37, 11000, 120)", "assert abs(r1[0] - 12.79) < 1e-6", "asse...
theo-eng-code-L2-code-016004
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(55, 23, 0.5)", "assert abs(r0 - 42.15) < 1e-6", "r1 = rms_torque(53, 31, 0.25)", "assert abs(r1 - 37.72) < 1e-6", "r2 = rms_torque(15, 5, 0.5)", "assert abs(r2 - 11.18...
theo-eng-code-L3-code-001369
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": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(90, 8, 0.25)", "assert abs(r0 - 45.53) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-001258
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.1, 0.42, 90, 4.5, 4.0)", "assert abs(r0[0] - 29.05) < 1e-6", "assert abs(r0[1] - 1.0937) < 1e-6", "assert abs(r0[2] - 33.42) < 1e-6", "r1 = joint_torque(4.2, 0.3, 90...
theo-eng-code-L1-clarify-003358
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-009873
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 60, 3.6, 5)", "assert r0[0] == 83", "assert r0[1] == 41", "assert r0[2] == 3403", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 61.254) < 1e-6", "r1 =...
theo-eng-code-L2-code-002475
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, [0, 25, 50, 75, 100], [0.7, 0.82, 0.87, 0.88, 0.82])", "assert abs(r0 - 0.772) < 1e-6", "r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.74, 0.85, 0.87, 0.85, 0.85])", "a...
theo-eng-code-L2-code-011716
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 150}')", "assert r0[0] == 20", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')", "assert r1[0] == 40", ...
theo-eng-code-L2-code-008084
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5], [5.0, 3.5])", "assert abs(r0 - 0.0) < 1e-6", "r1 = seg_len([4.5, 2.0], [1.0, 4.5])", "assert abs(r1 - 4.3012) < 1e-6", "r2 = seg_len([4.5, 4.5], [2.0, 3.0])",...
theo-eng-code-L2-code-015921
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 11, 0.2, 0.9)", "assert abs(r0[0] - 6.36) < 1e-6", "assert abs(r0[1] - 381.8) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L3-code-015442
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.5, 250, 370, 0.7)", "assert abs(r0[0] - 286.0) < 1e-6", "assert abs(r0[1] - 1.57) < 1e-6", "assert abs(r0[2] - 94.4) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L1-clarify-015392
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-001988
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([200, 100, 480, 150], 1)", "assert abs(r0 - 0.2583) < 1e-6", "r1 = rect_energy([50, 500, 50, 330], 5)", "assert abs(r1 - 1.2917) < 1e-6", "r2 = rect_energy([420, ...
theo-eng-code-L2-code-011388
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.5, 0.49, 60, 3.0, 4.0)", "assert abs(r0[0] - 15.61) < 1e-6", "assert abs(r0[1] - 0.8403) < 1e-6", "assert abs(r0[2] - 18.97) < 1e-6", "r1 = joint_torque(5.8, 0.29, 4...
theo-eng-code-L2-code-007763
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(76, 1670, 60, 0.31, 2.6, 0.012, 0.7, 0.9, 0.95)", "assert abs(r0[0] - 629.6) < 1e-6", "assert abs(r0[1] - 11.47) < 1e-6", "assert abs(r0[2] - 6.88) < 1e-6", "r1 = erange(57,...
theo-eng-code-L2-code-003210
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 180, 500, 0.3)", "assert abs(r0[0] - 404.0) < 1e-6", "assert abs(r0[1] - 1.11) < 1e-6", "assert abs(r0[2] - 66.8) < 1e-6", "r1 = runtime(0.1, 250, 180, 0.3)", "a...
theo-eng-code-L2-code-002179
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-011654
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(78, 1850, 100, 0.35, 2.1, 0.013, 1.5, 0.9, 0.85)", "assert abs(r0[0] - 339.9) < 1e-6", "assert abs(r0[1] - 19.5) < 1e-6", "assert abs(r0[2] - 19.5) < 1e-6", "r1 = erange(56,...
theo-eng-code-L2-code-000852
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(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_...
theo-eng-code-L2-code-006097
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = summarise([64, 98, 91, 90, 56, 82])", "assert abs(r0[0] - 80.167) < 1e-6", "assert abs(r0[1] - 16.618) < 1e-6", "r1 = summarise([32, 40, 90, 26, 72])", "assert r1[0] == 52", ...
theo-eng-code-L2-code-002641
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(97, 28, 0.25)", "assert abs(r0 - 54.22) < 1e-6", "r1 = rms_torque(48, 29, 0.75)", "assert abs(r1 - 44.03) < 1e-6", "r2 = rms_torque(32, 24, 0.5)", "assert abs(r2 - 28....
theo-eng-code-L1-clarify-014284
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-010644
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(72, 1480, 60, 0.37, 3.0, 0.012, 0.7, 0.9, 0.85)", "assert abs(r0[0] - 494.6) < 1e-6", "assert abs(r0[1] - 12.37) < 1e-6", "assert abs(r0[2] - 7.42) < 1e-6", "r1 = erange(20,...
theo-eng-code-L3-code-007698
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 80, 3.7, 5)", "assert r0[0] == 216", "assert r0[1] == 21", "assert r0[2] == 4536", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 83.916) < 1e-6" ],...
theo-eng-code-L2-code-008221
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.0, 1.0], [3.0, 1.5])", "assert abs(r0 - 3.0414) < 1e-6", "r1 = seg_len([1.0, 2.0], [2.0, 4.5])", "assert abs(r1 - 2.6926) < 1e-6", "r2 = seg_len([3.5, 4.0], [3.0, 1.5]...
theo-eng-code-L1-code-010348
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": "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-009078
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(34, 25, 0.75)", "assert abs(r0 - 31.99) < 1e-6", "r1 = rms_torque(90, 25, 0.25)", "assert abs(r1 - 49.94) < 1e-6", "r2 = rms_torque(75, 38, 0.75)", "assert abs(r2 - 67.6...
theo-eng-code-L2-code-009356
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(27, 6, 0.5)", "assert abs(r0 - 19.56) < 1e-6", "r1 = rms_torque(75, 12, 0.75)", "assert abs(r1 - 65.23) < 1e-6", "r2 = rms_torque(15, 3, 0.75)", "assert abs(r2 - 13.08...
theo-eng-code-L3-code-014398
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(2.6, 0.21, 60, 3.5, 1.5)", "assert abs(r0[0] - 8.56) < 1e-6", "assert abs(r0[1] - 0.1926) < 1e-6", "assert abs(r0[2] - 8.85) < 1e-6", "r1 = joint_torque(3.4, 0.18, 90, 2...
theo-eng-code-L2-code-013504
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.5, 0.5], [3.0, 2.5])", "assert abs(r0 - 3.2016) < 1e-6", "r1 = seg_len([3.0, 2.5], [0.5, 4.0])", "assert abs(r1 - 2.9155) < 1e-6", "r2 = seg_len([4.5, 2.0], [3.5, 0.0]...
theo-eng-code-L2-code-012772
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, [0, 25, 50, 75, 100], [0.72, 0.85, 0.9, 0.85, 0.84])", "assert abs(r0 - 0.89) < 1e-6", "r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.77, 0.84, 0.85, 0.89, 0.85])", "as...
theo-eng-code-L3-code-006969
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(300, 20, 3.7, 10)", "assert r0[0] == 81", "assert r0[1] == 7", "assert r0[2] == 567", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 20.979) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-004114
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.39, 8000, 100)", "assert abs(r0[0] - 11.76) < 1e-6", "assert abs(r0[1] - 680.1) < 1e-6", "r1 = gear_ratio(0.33, 4500, 180)", "assert abs(r1[0] - 3.11) < 1e-6", "ass...
theo-eng-code-L2-code-009877
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_squareloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-011635
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "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-008579
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(77, 37, 0.75)", "assert abs(r0 - 69.2) < 1e-6", "r1 = rms_torque(17, 8, 0.75)", "assert abs(r1 - 15.26) < 1e-6", "r2 = rms_torque(55, 29, 0.25)", "assert abs(r2 - 37.2...
theo-eng-code-L2-code-001814
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(51, 23, 0.25)", "assert abs(r0 - 32.36) < 1e-6", "r1 = rms_torque(94, 24, 0.25)", "assert abs(r1 - 51.39) < 1e-6", "r2 = rms_torque(18, 7, 0.5)", "assert abs(r2 - 13.6...
theo-eng-code-L2-code-004861
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 50, 0.2, 0.9)", "assert abs(r0[0] - 0.7) < 1e-6", "assert abs(r0[1] - 42.0) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L3-code-003055
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(19, 18, 0.01, 0.13, 0.6, 0.6, 2)", "assert abs(r0[0] - 0.0684) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - -0.0539) < 1e-6", "r1 = com_zmp(6, 19, -0.06, 0.13...
theo-eng-code-L1-code-003698
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_countdown", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-002509
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(66, 15, 0.25)", "assert abs(r0 - 35.46) < 1e-6", "r1 = rms_torque(74, 32, 0.25)", "assert abs(r1 - 46.23) < 1e-6", "r2 = rms_torque(6, 2, 0.25)", "assert abs(r2 - 3.46...
theo-eng-code-L2-code-011948
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(66, 2230, 60, 0.32, 3.1, 0.007, 0.3, 0.88, 0.9)", "assert abs(r0[0] - 557.2) < 1e-6", "assert abs(r0[1] - 10.66) < 1e-6", "assert abs(r0[2] - 6.4) < 1e-6", "r1 = erange(76, ...
theo-eng-code-L2-code-009789
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 180, 130, 0.7)", "assert abs(r0[0] - 165.0) < 1e-6", "assert abs(r0[1] - 0.55) < 1e-6", "assert abs(r0[2] - 32.7) < 1e-6", "r1 = runtime(1.0, 230, 500, 0.7)", "a...
theo-eng-code-L2-code-000083
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.1, 0.6, 60, 1.0, 2.0)", "assert abs(r0[0] - 13.0) < 1e-6", "assert abs(r0[1] - 0.732) < 1e-6", "assert abs(r0[2] - 14.46) < 1e-6", "r1 = joint_torque(3.7, 0.49, 90, ...
theo-eng-code-L3-code-003841
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, 7, 0.2, 1.0)", "assert abs(r0[0] - 11.43) < 1e-6", "assert abs(r0[1] - 685.7) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L2-code-010977
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L1-clarify-013092
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-004195
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(8.0, 0.48, 60, 3.0, 0.0)", "assert abs(r0[0] - 28.55) < 1e-6", "assert abs(r0[1] - 1.3056) < 1e-6", "assert abs(r0[2] - 28.55) < 1e-6", "r1 = joint_torque(6.0, 0.16, 4...
theo-eng-code-L1-code-012189
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-002073
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(97, 1890, 60, 0.3, 2.0, 0.01, 1.3, 0.88, 0.85)", "assert abs(r0[0] - 733.4) < 1e-6", "assert abs(r0[1] - 11.24) < 1e-6", "assert abs(r0[2] - 6.74) < 1e-6", "r1 = erange(50, ...
theo-eng-code-L3-code-003330
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(51, 26, 0.5)", "assert abs(r0 - 40.48) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-010627
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.5, 3.0], [3.0, 0.5])", "assert abs(r0 - 2.9155) < 1e-6", "r1 = seg_len([5.0, 1.5], [4.5, 1.5])", "assert abs(r1 - 0.5) < 1e-6", "r2 = seg_len([3.0, 1.5], [3.0, 2.5])",...
theo-eng-code-L3-code-008498
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": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 60, 590, 0.7)", "assert abs(r0[0] - 219.0) < 1e-6", "assert abs(r0[1] - 2.05) < 1e-6", "assert abs(r0[2] - 123.3) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L3-code-005384
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(17, 19, -0.06, 0.04, 0.4, 0.9, 2)", "assert abs(r0[0] - -0.0072) < 1e-6", "assert abs(r0[1] - 0.6639) < 1e-6", "assert abs(r0[2] - -0.1426) < 1e-6", "r1 = com_zmp(7, 28, -0.02,...
theo-eng-code-L2-code-009774
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.26, 5000, 150)", "assert abs(r0[0] - 3.27) < 1e-6", "assert abs(r0[1] - 1530.3) < 1e-6", "r1 = gear_ratio(0.35, 13500, 100)", "assert abs(r1[0] - 17.81) < 1e-6", "a...
theo-eng-code-L2-code-000788
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-001960
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(37, 19, 0.75)", "assert abs(r0 - 33.42) < 1e-6", "r1 = rms_torque(97, 19, 0.5)", "assert abs(r1 - 69.89) < 1e-6", "r2 = rms_torque(78, 14, 0.5)", "assert abs(r2 - 56.04)...
theo-eng-code-L2-code-005090
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([190, 330, 460, 370], 10)", "assert abs(r0 - 3.75) < 1e-6", "r1 = rect_energy([500, 100, 320], 10)", "assert abs(r1 - 2.5556) < 1e-6", "r2 = rect_energy([250, 360...
theo-eng-code-L2-code-002386
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.3, 10000, 100)", "assert abs(r0[0] - 11.31) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6", "r1 = gear_ratio(0.4, 10500, 120)", "assert abs(r1[0] - 13.19) < 1e-6", "as...
theo-eng-code-L2-code-004413
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.9, 0.18, 60, 2.0, 2.5)", "assert abs(r0[0] - 7.57) < 1e-6", "assert abs(r0[1] - 0.1285) < 1e-6", "assert abs(r0[2] - 7.89) < 1e-6", "r1 = joint_torque(2.1, 0.58, 30,...
theo-eng-code-L2-code-008631
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 50, 0.1, 0.9)", "assert abs(r0[0] - 2.0) < 1e-6", "assert abs(r0[1] - 120.0) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_ti...
theo-eng-code-L1-refuse-007183
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-L3-code-013952
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 11, -0.08, -0.01, 0.6, 0.5, 1)", "assert abs(r0[0] - -0.0525) < 1e-6", "assert abs(r0[1] - 0.5607) < 1e-6", "assert abs(r0[2] - -0.1097) < 1e-6", "r1 = com_zmp(8, 22, 0.05,...
theo-eng-code-L2-code-004964
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 80, 3.2, 10)", "assert r0[0] == 250", "assert r0[1] == 10", "assert r0[2] == 2500", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1 =...
theo-eng-code-L2-code-007862
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 60, 3.2, 50)", "assert r0[0] == 94", "assert r0[1] == 4", "assert r0[2] == 376", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 60.16) < 1e-6", "r1 = p...
theo-eng-code-L3-code-015259
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(800, 40, 3.6, 5)", "assert r0[0] == 222", "assert r0[1] == 11", "assert r0[2] == 2442", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 43.956) < 1e-6", "r1 = ...
theo-eng-code-L2-code-007722
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 11000, 150)", "assert abs(r0[0] - 10.23) < 1e-6", "assert abs(r0[1] - 1075.4) < 1e-6", "r1 = gear_ratio(0.26, 12000, 120)", "assert abs(r1[0] - 9.8) < 1e-6", "a...
theo-eng-code-L3-code-003278
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(5, 28, 0.0, -0.01, 0.8, 0.4, 1)", "assert abs(r0[0] - -0.0085) < 1e-6", "assert abs(r0[1] - 0.4606) < 1e-6", "assert abs(r0[2] - -0.0554) < 1e-6", "r1 = com_zmp(7, 30, -0.06, 0...
theo-eng-code-L1-code-014797
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": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-006935
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": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 80, 110, 0.5)", "assert abs(r0[0] - 95.0) < 1e-6", "assert abs(r0[1] - 1.89) < 1e-6", "assert abs(r0[2] - 113.7) < 1e-6" ], "subtask": "writetests", "verified...
theo-eng-code-L3-code-000664
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.31, 9000, 120)", "assert abs(r0[0] - 8.77) < 1e-6", "assert abs(r0[1] - 1026.8) < 1e-6", "r1 = gear_ratio(0.28, 12000, 180)", "assert abs(r1[0] - 7.04) < 1e-6", "asse...
theo-eng-code-L3-code-013394
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.27, 6000, 120)", "assert abs(r0[0] - 5.09) < 1e-6", "assert abs(r0[1] - 1178.9) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L3-code-011176
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, 7, 0.1, 0.8)", "assert abs(r0[0] - 10.0) < 1e-6", "assert abs(r0[1] - 600.0) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(1...