id
stringlengths
28
31
type
stringclasses
3 values
tier
stringclasses
3 values
domain
stringclasses
1 value
messages
listlengths
3
3
meta
unknown
theo-eng-code-L3-code-002531
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(90, 32, 0.25)", "assert abs(r0 - 52.85) < 1e-6", "r1 = rms_torque(46, 30, 0.75)", "assert abs(r1 - 42.57) < 1e-6", "r2 = rms_torque(59, 39, 0.25)", "assert abs(r2 - 44.8...
theo-eng-code-L2-code-011823
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 150, 0.1, 0.8)", "assert abs(r0[0] - 0.35) < 1e-6", "assert abs(r0[1] - 21.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L3-code-005716
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(21, 2270, 80, 0.35, 2.5, 0.011, 1.4, 0.94, 0.85)", "assert abs(r0[0] - 106.2) < 1e-6", "assert abs(r0[1] - 16.81) < 1e-6", "assert abs(r0[2] - 13.45) < 1e-6", "r1 = erange(21,...
theo-eng-code-L2-code-005307
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 8000, 150)", "assert abs(r0[0] - 6.03) < 1e-6", "assert abs(r0[1] - 1326.3) < 1e-6", "r1 = gear_ratio(0.31, 11000, 100)", "assert abs(r1[0] - 12.86) < 1e-6", "as...
theo-eng-code-L3-code-014180
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.39, 5500, 120)", "assert abs(r0[0] - 6.74) < 1e-6", "assert abs(r0[1] - 816.2) < 1e-6", "r1 = gear_ratio(0.41, 7500, 100)", "assert abs(r1[0] - 11.59) < 1e-6", "asser...
theo-eng-code-L2-code-011284
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 18, -0.08, 0.14, 0.7, 0.5, 0)", "assert abs(r0[0] - 0.0477) < 1e-6", "assert abs(r0[1] - 0.5839) < 1e-6", "assert abs(r0[2] - 0.0477) < 1e-6", "r1 = com_zmp(14, 28, 0.0, ...
theo-eng-code-L3-code-004810
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 130, 460, 0.7)", "assert abs(r0[0] - 229.0) < 1e-6", "assert abs(r0[1] - 0.79) < 1e-6", "assert abs(r0[2] - 47.2) < 1e-6", "r1 = runtime(0.5, 220, 450, 0.3)", "ass...
theo-eng-code-L2-code-011518
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-000335
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, 200, 270, 0.7)", "assert abs(r0[0] - 221.0) < 1e-6", "assert abs(r0[1] - 0.81) < 1e-6", "assert abs(r0[2] - 48.9) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L2-code-013724
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.5, 4.0], [2.5, 2.0])", "assert abs(r0 - 2.0) < 1e-6", "r1 = seg_len([5.0, 0.0], [3.0, 3.5])", "assert abs(r1 - 4.0311) < 1e-6", "r2 = seg_len([1.5, 3.0], [5.0, 0.0])",...
theo-eng-code-L3-code-011704
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(40, 7, 0.25)", "assert abs(r0 - 20.9) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L2-code-002828
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 19, 0.04, -0.01, 0.8, 0.5, 2)", "assert abs(r0[0] - 0.015) < 1e-6", "assert abs(r0[1] - 0.65) < 1e-6", "assert abs(r0[2] - -0.1175) < 1e-6", "r1 = com_zmp(11, 28, 0.03, 0...
theo-eng-code-L3-code-008917
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, 20, 3.2, 50)", "assert r0[0] == 125", "assert r0[1] == 1", "assert r0[2] == 125", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 20.0) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-010180
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([380, 360, 110], 2)", "assert abs(r0 - 0.4722) < 1e-6", "r1 = rect_energy([350, 300, 500], 1)", "assert abs(r1 - 0.3194) < 1e-6", "r2 = rect_energy([110, 330, 460...
theo-eng-code-L2-code-004787
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 90, 480, 0.3)", "assert abs(r0[0] - 363.0) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - 29.8) < 1e-6", "r1 = runtime(0.5, 40, 80, 0.5)", "asser...
theo-eng-code-L2-code-001800
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([470, 240, 190, 400], 5)", "assert abs(r0 - 1.8056) < 1e-6", "r1 = rect_energy([440, 200, 100, 230, 490], 5)", "assert abs(r1 - 2.0278) < 1e-6", "r2 = rect_energy...
theo-eng-code-L2-code-014609
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.0, 0.19, 90, 7.0, 3.5)", "assert abs(r0[0] - 16.78) < 1e-6", "assert abs(r0[1] - 0.3008) < 1e-6", "assert abs(r0[2] - 17.83) < 1e-6", "r1 = joint_torque(7.3, 0.27, 9...
theo-eng-code-L3-code-015501
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(10, 20, -0.03, 0.0, 0.9, 0.7, 0)", "assert abs(r0[0] - -0.01) < 1e-6", "assert abs(r0[1] - 0.7667) < 1e-6", "assert abs(r0[2] - -0.01) < 1e-6", "r1 = com_zmp(16, 28, -0.02, -0....
theo-eng-code-L2-code-010759
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 28, 0.05, 0.02, 0.9, 0.7, 0)", "assert abs(r0[0] - 0.0309) < 1e-6", "assert abs(r0[1] - 0.7727) < 1e-6", "assert abs(r0[2] - 0.0309) < 1e-6", "r1 = com_zmp(10, 13, 0.09, ...
theo-eng-code-L2-code-013780
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0], [4.0, 5.0])", "assert abs(r0 - 6.1033) < 1e-6", "r1 = seg_len([0.5, 3.5], [0.0, 1.0])", "assert abs(r1 - 2.5495) < 1e-6", "r2 = seg_len([4.5, 4.5], [2.5, 5.0]...
theo-eng-code-L3-code-011545
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(26, 1020, 120, 0.22, 2.0, 0.012, 0.4, 0.9, 0.9)", "assert abs(r0[0] - 176.2) < 1e-6", "assert abs(r0[1] - 13.28) < 1e-6", "assert abs(r0[2] - 15.94) < 1e-6", "r1 = erange(98, ...
theo-eng-code-L1-code-013911
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": "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-013399
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([70, 70, 70, 390], 10)", "assert abs(r0 - 1.6667) < 1e-6", "r1 = rect_energy([260, 450, 120], 5)", "assert abs(r1 - 1.1528) < 1e-6", "r2 = rect_energy([250, 220, ...
theo-eng-code-L2-code-004963
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 10, 3.2, 2.5)", "assert r0[0] == 94", "assert r0[1] == 14", "assert r0[2] == 1316", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 10.528) < 1e-6", "r1...
theo-eng-code-L1-clarify-011858
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-008179
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([110, 290, 310], 2)", "assert abs(r0 - 0.3944) < 1e-6", "r1 = rect_energy([50, 390, 260], 2)", "assert abs(r1 - 0.3889) < 1e-6", "r2 = rect_energy([150, 380, 430]...
theo-eng-code-L2-code-001832
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.2, 0.4, 45, 3.5, 0.0)", "assert abs(r0[0] - 11.38) < 1e-6", "assert abs(r0[1] - 0.624) < 1e-6", "assert abs(r0[2] - 11.38) < 1e-6", "r1 = joint_torque(3.8, 0.38, 45,...
theo-eng-code-L2-code-012429
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 9000, 180)", "assert abs(r0[0] - 8.29) < 1e-6", "assert abs(r0[1] - 1085.1) < 1e-6", "r1 = gear_ratio(0.3, 8500, 150)", "assert abs(r1[0] - 6.41) < 1e-6", "asse...
theo-eng-code-L2-code-012709
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([160, 480, 210, 110, 250], 2)", "assert abs(r0 - 0.6722) < 1e-6", "r1 = rect_energy([390, 370, 170, 160], 5)", "assert abs(r1 - 1.5139) < 1e-6", "r2 = rect_energy...
theo-eng-code-L1-code-007640
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": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-005801
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.0, 5.0], [3.5, 3.0])", "assert abs(r0 - 2.0616) < 1e-6", "r1 = seg_len([2.0, 4.5], [5.0, 1.0])", "assert abs(r1 - 4.6098) < 1e-6", "r2 = seg_len([1.5, 2.5], [5.0, 1.5]...
theo-eng-code-L3-code-011330
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(76, 900, 60, 0.37, 2.7, 0.007, 0.4, 0.92, 0.9)", "assert abs(r0[0] - 892.4) < 1e-6", "assert abs(r0[1] - 7.66) < 1e-6", "assert abs(r0[2] - 4.6) < 1e-6", "r1 = erange(48, 1500...
theo-eng-code-L3-code-000559
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": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 19, -0.04, 0.03, 0.7, 0.6, 0)", "assert abs(r0[0] - -0.0031) < 1e-6", "assert abs(r0[1] - 0.6472) < 1e-6", "assert abs(r0[2] - -0.0031) < 1e-6", "r1 = com_zmp(7, 29, 0.02, ...
theo-eng-code-L1-clarify-006092
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": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-004835
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 80, 3.6, 5)", "assert r0[0] == 111", "assert r0[1] == 41", "assert r0[2] == 4551", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 81.918) < 1e-6", "r1 = ...
theo-eng-code-L1-clarify-014431
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": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-006090
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, [0, 25, 50, 75, 100], [0.7, 0.82, 0.85, 0.87, 0.83])", "assert abs(r0 - 0.796) < 1e-6", "r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.72, 0.81, 0.86, 0.9, 0.84])", "as...
theo-eng-code-L2-code-007617
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 150, 0.1, 1.0)", "assert abs(r0[0] - 0.38) < 1e-6", "assert abs(r0[1] - 22.5) < 1e-6", "assert abs(r0[2] - 18.0) < 1e-6", "assert abs(r0[3] - 60.0) < 1e-6", "r...
theo-eng-code-L2-code-003476
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.2, 0.48, 90, 6.5, 1.5)", "assert abs(r0[0] - 38.14) < 1e-6", "assert abs(r0[1] - 1.7434) < 1e-6", "assert abs(r0[2] - 40.76) < 1e-6", "r1 = joint_torque(7.1, 0.27, 9...
theo-eng-code-L3-code-002072
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": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 130, 440, 0.7)", "assert abs(r0[0] - 223.0) < 1e-6", "assert abs(r0[1] - 2.02) < 1e-6", "assert abs(r0[2] - 121.1) < 1e-6", "r1 = runtime(0.5, 200, 410, 0.5)", "as...
theo-eng-code-L3-code-014502
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": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(22, 2800, 80, 0.27, 2.7, 0.013, 1.2, 0.92, 0.95)", "assert abs(r0[0] - 110.4) < 1e-6", "assert abs(r0[1] - 18.94) < 1e-6", "assert abs(r0[2] - 15.15) < 1e-6" ], "subtas...
theo-eng-code-L2-code-001584
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 5.0], [5.0, 4.0])", "assert abs(r0 - 4.6098) < 1e-6", "r1 = seg_len([4.0, 5.0], [0.5, 2.5])", "assert abs(r1 - 4.3012) < 1e-6", "r2 = seg_len([0.0, 0.5], [0.5, 1.0]...
theo-eng-code-L3-code-013253
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(20, 7, 0.2, 0.8)", "assert abs(r0[0] - 2.14) < 1e-6", "assert abs(r0[1] - 128.6) < 1e-6", "assert abs(r0[2] - 12.0) < 1e-6", "assert r0[3] == 7" ], "subtask":...
theo-eng-code-L2-code-013664
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(95, 2450, 60, 0.25, 2.6, 0.007, 1.5, 0.88, 0.9)", "assert abs(r0[0] - 756.5) < 1e-6", "assert abs(r0[1] - 11.3) < 1e-6", "assert abs(r0[2] - 6.78) < 1e-6", "r1 = erange(40, ...
theo-eng-code-L1-clarify-015950
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-011466
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(72, 2290, 100, 0.25, 1.9, 0.011, 1.2, 0.92, 0.95)", "assert abs(r0[0] - 443.0) < 1e-6", "assert abs(r0[1] - 15.44) < 1e-6", "assert abs(r0[2] - 15.44) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-000202
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 2580, 80, 0.27, 2.4, 0.007, 0.3, 0.88, 0.85)", "assert abs(r0[0] - 139.9) < 1e-6", "assert abs(r0[1] - 12.15) < 1e-6", "assert abs(r0[2] - 9.72) < 1e-6", "r1 = erange(74...
theo-eng-code-L3-code-013336
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.43, 6500, 100)", "assert abs(r0[0] - 10.54) < 1e-6", "assert abs(r0[1] - 616.9) < 1e-6", "r1 = gear_ratio(0.3, 10000, 120)", "assert abs(r1[0] - 9.42) < 1e-6", "asser...
theo-eng-code-L1-code-004847
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_chain", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-003315
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = summarise([54, 83, 46, 77])", "assert r0[0] == 65", "assert abs(r0[1] - 17.795) < 1e-6", "r1 = summarise([87, 76, 41, 96, 63, 94])", "assert abs(r1[0] - 76.167) < 1e-6", "...
theo-eng-code-L2-code-006489
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 11, 0.2, 0.9)", "assert abs(r0[0] - 1.59) < 1e-6", "assert abs(r0[1] - 95.5) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_tim...
theo-eng-code-L3-code-007289
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(79, 2170, 120, 0.26, 2.3, 0.009, 1.0, 0.9, 0.9)", "assert abs(r0[0] - 368.3) < 1e-6", "assert abs(r0[1] - 19.31) < 1e-6", "assert abs(r0[2] - 23.17) < 1e-6", "r1 = erange(35, ...
theo-eng-code-L2-code-008932
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.0, 2.0], [5.0, 0.0])", "assert abs(r0 - 4.4721) < 1e-6", "r1 = seg_len([5.0, 2.5], [1.5, 3.0])", "assert abs(r1 - 3.5355) < 1e-6", "r2 = seg_len([4.0, 0.0], [4.5, 5.0]...
theo-eng-code-L2-code-013029
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = summarise([51, 28, 11, 31])", "assert abs(r0[0] - 30.25) < 1e-6", "assert abs(r0[1] - 16.399) < 1e-6", "r1 = summarise([32, 40, 42, 96])", "assert abs(r1[0] - 52.5) < 1e-6", ...
theo-eng-code-L3-code-010453
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, 6500, 100)", "assert abs(r0[0] - 7.6) < 1e-6", "assert abs(r0[1] - 855.7) < 1e-6", "r1 = gear_ratio(0.25, 4000, 180)", "assert abs(r1[0] - 2.09) < 1e-6", "assert ...
theo-eng-code-L2-code-011821
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(55, 27, 0.75)", "assert abs(r0 - 49.51) < 1e-6", "r1 = rms_torque(26, 12, 0.25)", "assert abs(r1 - 16.64) < 1e-6", "r2 = rms_torque(57, 24, 0.5)", "assert abs(r2 - 43....
theo-eng-code-L3-code-007065
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.8, 0.44, 90, 1.5, 4.0)", "assert abs(r0[0] - 18.99) < 1e-6", "assert abs(r0[1] - 0.6647) < 1e-6", "assert abs(r0[2] - 21.65) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L2-code-008768
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([480, 450, 290, 150, 220], 1)", "assert abs(r0 - 0.4417) < 1e-6", "r1 = rect_energy([450, 450, 470, 160], 2)", "assert abs(r1 - 0.85) < 1e-6", "r2 = rect_energy([...
theo-eng-code-L3-code-007055
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.7, 0.26, 60, 7.0, 3.0)", "assert abs(r0[0] - 21.76) < 1e-6", "assert abs(r0[1] - 0.6016) < 1e-6", "assert abs(r0[2] - 23.56) < 1e-6", "r1 = joint_torque(6.9, 0.2, 30, ...
theo-eng-code-L1-clarify-013607
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-004941
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 230, 50, 0.7)", "assert abs(r0[0] - 176.0) < 1e-6", "assert abs(r0[1] - 5.11) < 1e-6", "assert abs(r0[2] - 306.8) < 1e-6", "r1 = runtime(0.1, 250, 600, 0.7)", "a...
theo-eng-code-L2-code-008772
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(70, 2540, 100, 0.31, 2.0, 0.013, 1.3, 0.9, 0.85)", "assert abs(r0[0] - 292.5) < 1e-6", "assert abs(r0[1] - 20.34) < 1e-6", "assert abs(r0[2] - 20.34) < 1e-6", "r1 = erange(9...
theo-eng-code-L2-code-000098
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(99, 29, 0.75)", "assert abs(r0 - 86.95) < 1e-6", "r1 = rms_torque(25, 2, 0.75)", "assert abs(r1 - 21.67) < 1e-6", "r2 = rms_torque(70, 28, 0.5)", "assert abs(r2 - 53.3...
theo-eng-code-L2-code-013629
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = summarise([99, 56, 81, 41, 62, 20])", "assert abs(r0[0] - 59.833) < 1e-6", "assert abs(r0[1] - 28.081) < 1e-6", "r1 = summarise([22, 73, 95, 83, 49, 36])", "assert abs(r1[0] -...
theo-eng-code-L2-code-003940
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.4) < 1e-6", "assert abs(r0[1] - 24.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L2-code-006047
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.7, 0.49, 90, 5.5, 2.0)", "assert abs(r0[0] - 32.93) < 1e-6", "assert abs(r0[1] - 1.5366) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "r1 = joint_torque(5.8, 0.16, 60...
theo-eng-code-L2-code-008658
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.31, 8000, 180)", "assert abs(r0[0] - 5.19) < 1e-6", "assert abs(r0[1] - 1540.2) < 1e-6", "r1 = gear_ratio(0.35, 10000, 150)", "assert abs(r1[0] - 8.8) < 1e-6", "ass...
theo-eng-code-L2-code-010238
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 20, 3.2, 5)", "assert r0[0] == 125", "assert r0[1] == 10", "assert r0[2] == 1250", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 20.0) < 1e-6", "r1 = ...
theo-eng-code-L2-code-011084
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-002258
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(42, 2450, 80, 0.27, 2.3, 0.009, 1.3, 0.92, 0.9)", "assert abs(r0[0] - 273.4) < 1e-6", "assert abs(r0[1] - 13.83) < 1e-6", "assert abs(r0[2] - 11.06) < 1e-6", "r1 = erange(44, ...
theo-eng-code-L2-code-013347
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 5.0], [0.0, 1.5])", "assert abs(r0 - 3.5) < 1e-6", "r1 = seg_len([4.0, 1.0], [1.5, 1.5])", "assert abs(r1 - 2.5495) < 1e-6", "r2 = seg_len([0.0, 0.0], [1.5, 3.0])",...
theo-eng-code-L2-code-005832
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.5, 0.28, 45, 5.0, 4.0)", "assert abs(r0[0] - 11.17) < 1e-6", "assert abs(r0[1] - 0.4312) < 1e-6", "assert abs(r0[2] - 12.89) < 1e-6", "r1 = joint_torque(1.8, 0.48, 9...
theo-eng-code-L2-code-011273
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')", "assert r0[0] == 80", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')", "assert r1[0] == 20", "...
theo-eng-code-L2-code-006386
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 20, -0.1, 0.05, 0.8, 0.8, 1)", "assert abs(r0[0] - -0.0143) < 1e-6", "assert abs(r0[1] - 0.8) < 1e-6", "assert abs(r0[2] - -0.0958) < 1e-6", "r1 = com_zmp(7, 12, -0.07, -...
theo-eng-code-L2-code-013094
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 3.0], [4.0, 0.0])", "assert abs(r0 - 4.2426) < 1e-6", "r1 = seg_len([4.0, 5.0], [4.0, 3.0])", "assert abs(r1 - 2.0) < 1e-6", "r2 = seg_len([1.5, 0.0], [0.0, 2.0])",...
theo-eng-code-L2-code-011820
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(6, 25, -0.04, -0.02, 0.4, 0.9, 1)", "assert abs(r0[0] - -0.0239) < 1e-6", "assert abs(r0[1] - 0.8032) < 1e-6", "assert abs(r0[2] - -0.1057) < 1e-6", "r1 = com_zmp(10, 12, -0....
theo-eng-code-L2-code-014324
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-010448
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 30, 170, 0.5)", "assert abs(r0[0] - 100.0) < 1e-6", "assert abs(r0[1] - 0.9) < 1e-6", "assert abs(r0[2] - 54.0) < 1e-6", "r1 = runtime(0.1, 260, 500, 0.5)", "ass...
theo-eng-code-L3-code-012468
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(31, 23, 0.25)", "assert abs(r0 - 25.24) < 1e-6", "r1 = rms_torque(29, 23, 0.5)", "assert abs(r1 - 26.17) < 1e-6", "r2 = rms_torque(79, 23, 0.5)", "assert abs(r2 - 58.18)...
theo-eng-code-L1-clarify-003040
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-015003
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 200, 220, 0.5)", "assert abs(r0[0] - 210.0) < 1e-6", "assert abs(r0[1] - 4.29) < 1e-6", "assert abs(r0[2] - 257.1) < 1e-6", "r1 = runtime(0.2, 290, 280, 0.5)", "as...
theo-eng-code-L2-code-010369
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 11, 0.1, 0.9)", "assert abs(r0[0] - 1.82) < 1e-6", "assert abs(r0[1] - 109.1) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-012272
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 50, 0.2, 1.0)", "assert abs(r0[0] - 0.4) < 1e-6", "assert abs(r0[1] - 24.0) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L2-code-000653
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-000308
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 15000, 100)", "assert abs(r0[0] - 24.32) < 1e-6", "assert abs(r0[1] - 616.9) < 1e-6", "r1 = gear_ratio(0.33, 9500, 150)", "assert abs(r1[0] - 7.88) < 1e-6", "as...
theo-eng-code-L2-code-004751
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = summarise([56, 35, 11, 83, 98])", "assert abs(r0[0] - 56.6) < 1e-6", "assert abs(r0[1] - 35.204) < 1e-6", "r1 = summarise([79, 37, 87, 35, 10])", "assert abs(r1[0] - 49.6) < 1...
theo-eng-code-L2-code-007298
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 250}')", "assert r0[0] == 20", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')", "assert r1[0] == 60", ...
theo-eng-code-L1-code-008602
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": "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-010469
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, 80, 3.6, 100)", "assert r0[0] == 139", "assert r0[1] == 2", "assert r0[2] == 278", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 100.08) < 1e-6", "r1 = ...
theo-eng-code-L3-code-013300
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.26, 7000, 180)", "assert abs(r0[0] - 3.81) < 1e-6", "assert abs(r0[1] - 1836.4) < 1e-6", "r1 = gear_ratio(0.31, 11000, 180)", "assert abs(r1[0] - 7.14) < 1e-6", "asse...
theo-eng-code-L2-code-014639
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-013775
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 7000, 100)", "assert abs(r0[0] - 7.92) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6", "r1 = gear_ratio(0.38, 8000, 150)", "assert abs(r1[0] - 7.64) < 1e-6", "asser...
theo-eng-code-L2-code-012774
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(76, 980, 60, 0.22, 2.3, 0.008, 0.4, 0.92, 0.95)", "assert abs(r0[0] - 1292.0) < 1e-6", "assert abs(r0[1] - 5.59) < 1e-6", "assert abs(r0[2] - 3.35) < 1e-6", "r1 = erange(37,...
theo-eng-code-L3-code-011067
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(0.8, 0.29, 60, 6.5, 1.0)", "assert abs(r0[0] - 17.0) < 1e-6", "assert abs(r0[1] - 0.5691) < 1e-6", "assert abs(r0[2] - 17.57) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L2-code-003212
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-007911
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(19, 16, 0.08, 0.12, 0.8, 0.4, 1)", "assert abs(r0[0] - 0.0983) < 1e-6", "assert abs(r0[1] - 0.6171) < 1e-6", "assert abs(r0[2] - 0.0354) < 1e-6", "r1 = com_zmp(16, 18, 0.01, ...
theo-eng-code-L3-code-000698
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 60, 3.7, 5)", "assert r0[0] == 135", "assert r0[1] == 25", "assert r0[2] == 3375", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 62.438) < 1e-6", "r1 = ...
theo-eng-code-L2-code-015578
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-code-014247
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": "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-010645
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.4, 0.12, 45, 7.5, 4.0)", "assert abs(r0[0] - 8.07) < 1e-6", "assert abs(r0[1] - 0.1291) < 1e-6", "assert abs(r0[2] - 8.59) < 1e-6", "r1 = joint_torque(1.2, 0.47, 45, 2...