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-001922
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 80, 3.6, 100)", "assert r0[0] == 56", "assert r0[1] == 4", "assert r0[2] == 224", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 80.64) < 1e-6", "r1 = ...
theo-eng-code-L2-code-007899
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 100, 80, 0.5)", "assert abs(r0[0] - 90.0) < 1e-6", "assert abs(r0[1] - 5.0) < 1e-6", "assert abs(r0[2] - 300.0) < 1e-6", "r1 = runtime(1.0, 90, 500, 0.5)", "asse...
theo-eng-code-L2-code-003882
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(74, 31, 0.5)", "assert abs(r0 - 56.73) < 1e-6", "r1 = rms_torque(79, 27, 0.75)", "assert abs(r1 - 69.74) < 1e-6", "r2 = rms_torque(14, 13, 0.5)", "assert abs(r2 - 13.5...
theo-eng-code-L2-code-006955
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.32, 45, 3.0, 1.5)", "assert abs(r0[0] - 7.99) < 1e-6", "assert abs(r0[1] - 0.3482) < 1e-6", "assert abs(r0[2] - 8.51) < 1e-6", "r1 = joint_torque(2.9, 0.44, 60,...
theo-eng-code-L2-code-011737
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 28, 0.03, 0.15, 0.3, 0.3, 1)", "assert abs(r0[0] - 0.1047) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - 0.0741) < 1e-6", "r1 = com_zmp(17, 23, 0.04, 0.1...
theo-eng-code-L3-code-001342
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.25, 12000, 120)", "assert abs(r0[0] - 9.42) < 1e-6", "assert abs(r0[1] - 1273.2) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L1-code-013339
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": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-004807
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 80, 3.2, 10)", "assert r0[0] == 125", "assert r0[1] == 20", "assert r0[2] == 2500", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1 =...
theo-eng-code-L2-code-010807
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([23, 25, 25, 46])", "assert abs(r0[0] - 29.75) < 1e-6", "assert abs(r0[1] - 10.874) < 1e-6", "r1 = summarise([58, 43, 30, 14, 59, 44])", "assert abs(r1[0] - 41.333) ...
theo-eng-code-L2-code-011047
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 290, 300, 0.7)", "assert abs(r0[0] - 293.0) < 1e-6", "assert abs(r0[1] - 1.54) < 1e-6", "assert abs(r0[2] - 92.2) < 1e-6", "r1 = runtime(0.5, 300, 500, 0.3)", "a...
theo-eng-code-L2-code-003874
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(8, 28, 0.1, 0.09, 0.6, 0.9, 0.5)", "assert abs(r0[0] - 0.0922) < 1e-6", "assert abs(r0[1] - 0.8333) < 1e-6", "assert abs(r0[2] - 0.0497) < 1e-6", "r1 = com_zmp(20, 26, 0.01, ...
theo-eng-code-L2-code-002221
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-001956
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(20, 9, 0.25)", "assert abs(r0 - 12.68) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L1-code-014197
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_filter", "user_template": "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-008841
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = erange(50, 1310, 120, 0.31, 3.0, 0.012, 1.5, 0.94, 0.95)", "assert abs(r0[0] - 193.8) < 1e-6", "assert abs(r0[1] - 24.51) < 1e-6", "assert abs(r0[2] - 29.41) < 1e-6", "r1 = erange(...
theo-eng-code-L1-code-000186
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": "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-007549
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = seg_len([5.0, 0.0], [1.0, 0.0])", "assert abs(r0 - 4.0) < 1e-6", "r1 = seg_len([2.5, 3.0], [2.5, 4.5])", "assert abs(r1 - 1.5) < 1e-6", "r2 = seg_len([0.5, 1.5], [0.0, 5.0])", ...
theo-eng-code-L2-code-003800
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(43, 1920, 80, 0.24, 2.3, 0.013, 0.8, 0.9, 0.9)", "assert abs(r0[0] - 282.3) < 1e-6", "assert abs(r0[1] - 13.71) < 1e-6", "assert abs(r0[2] - 10.97) < 1e-6", "r1 = erange(42,...
theo-eng-code-L3-code-002490
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": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(77, 17, 0.25)", "assert abs(r0 - 41.22) < 1e-6", "r1 = rms_torque(22, 20, 0.75)", "assert abs(r1 - 21.52) < 1e-6", "r2 = rms_torque(90, 18, 0.5)", "assert abs(r2 - 64.9)...
theo-eng-code-L2-code-003660
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.6, 0.2, 90, 7.0, 3.5)", "assert abs(r0[0] - 19.23) < 1e-6", "assert abs(r0[1] - 0.3547) < 1e-6", "assert abs(r0[2] - 20.47) < 1e-6", "r1 = joint_torque(6.8, 0.48, 30...
theo-eng-code-L2-code-013256
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(45, 30, 0.5)", "assert abs(r0 - 38.24) < 1e-6", "r1 = rms_torque(88, 20, 0.25)", "assert abs(r1 - 47.29) < 1e-6", "r2 = rms_torque(68, 34, 0.25)", "assert abs(r2 - 44....
theo-eng-code-L2-code-000303
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-014962
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 150, 0.2, 0.8)", "assert abs(r0[0] - 0.3) < 1e-6", "assert abs(r0[1] - 18.0) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L1-clarify-014383
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-002062
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(9, 27, 0.02, 0.05, 0.9, 0.8, 0)", "assert abs(r0[0] - 0.0425) < 1e-6", "assert abs(r0[1] - 0.825) < 1e-6", "assert abs(r0[2] - 0.0425) < 1e-6", "r1 = com_zmp(16, 10, -0.02, 0...
theo-eng-code-L2-code-003733
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-014928
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_countloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-003786
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.0, 0.5], [4.5, 0.5])", "assert abs(r0 - 1.5) < 1e-6", "r1 = seg_len([0.0, 0.0], [2.0, 3.0])", "assert abs(r1 - 3.6056) < 1e-6", "r2 = seg_len([4.5, 4.0], [1.5, 2.0])",...
theo-eng-code-L1-code-000635
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-005799
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([310, 310, 180], 5)", "assert abs(r0 - 1.1111) < 1e-6", "r1 = rect_energy([310, 310, 200, 300], 10)", "assert abs(r1 - 3.1111) < 1e-6", "r2 = rect_energy([350, 15...
theo-eng-code-L3-code-007607
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(800, 80, 3.2, 5)", "assert r0[0] == 250", "assert r0[1] == 20", "assert r0[2] == 5000", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-004202
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.31, 10000, 150)", "assert abs(r0[0] - 7.79) < 1e-6", "assert abs(r0[1] - 1283.5) < 1e-6", "r1 = gear_ratio(0.27, 5500, 180)", "assert abs(r1[0] - 3.11) < 1e-6", "as...
theo-eng-code-L2-code-000130
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([5.0, 0.5], [1.5, 2.5])", "assert abs(r0 - 4.0311) < 1e-6", "r1 = seg_len([1.5, 1.5], [0.5, 3.0])", "assert abs(r1 - 1.8028) < 1e-6", "r2 = seg_len([1.5, 0.0], [0.0, 0.5]...
theo-eng-code-L2-code-004314
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 17, -0.05, 0.06, 0.9, 0.7, 1)", "assert abs(r0[0] - 0.0219) < 1e-6", "assert abs(r0[1] - 0.7692) < 1e-6", "assert abs(r0[2] - -0.0565) < 1e-6", "r1 = com_zmp(15, 30, -0.1,...
theo-eng-code-L1-code-005879
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-L2-code-011989
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([83, 91, 83, 47, 49])", "assert abs(r0[0] - 70.6) < 1e-6", "assert abs(r0[1] - 20.9) < 1e-6", "r1 = summarise([78, 82, 19, 24, 88])", "assert abs(r1[0] - 58.2) < 1e-...
theo-eng-code-L3-code-013024
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": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.33, 4500, 100)", "assert abs(r0[0] - 5.6) < 1e-6", "assert abs(r0[1] - 803.8) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", ...
theo-eng-code-L2-code-007103
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.8)", "assert abs(r0[0] - 0.6) < 1e-6", "assert abs(r0[1] - 36.0) < 1e-6", "assert abs(r0[2] - 24.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L1-clarify-003327
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-code-014332
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_slices", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-008578
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.7, 0.6, 45, 2.0, 0.5)", "assert abs(r0[0] - 16.02) < 1e-6", "assert abs(r0[1] - 1.164) < 1e-6", "assert abs(r0[2] - 16.61) < 1e-6", "r1 = joint_torque(0.7, 0.37, 60,...
theo-eng-code-L1-clarify-011956
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-013257
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 280, 560, 0.5)", "assert abs(r0[0] - 420.0) < 1e-6", "assert abs(r0[1] - 0.43) < 1e-6", "assert abs(r0[2] - 25.7) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L3-code-012808
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(7, 28, 0.07, -0.04, 0.8, 0.6, 2)", "assert abs(r0[0] - -0.018) < 1e-6", "assert abs(r0[1] - 0.64) < 1e-6", "assert abs(r0[2] - -0.1485) < 1e-6", "r1 = com_zmp(15, 22, -0.08, -0...
theo-eng-code-L2-code-012142
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_countloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-code-006270
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_dictget", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-003674
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(55, [0, 25, 50, 75, 100], [0.75, 0.81, 0.85, 0.86, 0.82])", "assert abs(r0 - 0.852) < 1e-6", "r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.7, 0.84, 0.9, 0.85, 0.85])", "as...
theo-eng-code-L2-code-000875
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(70, 23, 0.75)", "assert abs(r0 - 61.7) < 1e-6", "r1 = rms_torque(84, 9, 0.5)", "assert abs(r1 - 59.74) < 1e-6", "r2 = rms_torque(8, 8, 0.75)", "assert abs(r2 - 8.0) < ...
theo-eng-code-L3-code-007048
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(2.3, 0.27, 30, 7.5, 0.0)", "assert abs(r0[0] - 11.46) < 1e-6", "assert abs(r0[1] - 0.6026) < 1e-6", "assert abs(r0[2] - 11.46) < 1e-6", "r1 = joint_torque(2.4, 0.23, 60,...
theo-eng-code-L2-code-014022
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(12, 21, 0.07, 0.01, 0.6, 0.4, 0.5)", "assert abs(r0[0] - 0.0318) < 1e-6", "assert abs(r0[1] - 0.4727) < 1e-6", "assert abs(r0[2] - 0.0077) < 1e-6", "r1 = com_zmp(6, 13, -0.03...
theo-eng-code-L3-code-004568
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.1, 230, 510, 0.5)", "assert abs(r0[0] - 370.0) < 1e-6", "assert abs(r0[1] - 0.24) < 1e-6", "assert abs(r0[2] - 14.6) < 1e-6", "r1 = runtime(1.0, 150, 470, 0.3)", "ass...
theo-eng-code-L2-code-004011
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 3.2, 50)", "assert r0[0] == 94", "assert r0[1] == 2", "assert r0[2] == 188", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 30.08) < 1e-6", "r1 = p...
theo-eng-code-L2-code-008885
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 10, 3.7, 50)", "assert r0[0] == 216", "assert r0[1] == 1", "assert r0[2] == 216", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 = ...
theo-eng-code-L2-code-009685
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(65, [0, 25, 50, 75, 100], [0.79, 0.83, 0.87, 0.89, 0.83])", "assert abs(r0 - 0.882) < 1e-6", "r1 = interp_eff(85, [0, 25, 50, 75, 100], [0.79, 0.84, 0.88, 0.9, 0.84])", "a...
theo-eng-code-L2-code-009115
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([80, 30, 93, 81])", "assert r0[0] == 71", "assert abs(r0[1] - 27.964) < 1e-6", "r1 = summarise([94, 27, 71, 57])", "assert abs(r1[0] - 62.25) < 1e-6", "assert ab...
theo-eng-code-L2-code-005939
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 0.26, 60, 8.0, 4.0)", "assert abs(r0[0] - 18.78) < 1e-6", "assert abs(r0[1] - 0.5633) < 1e-6", "assert abs(r0[2] - 21.03) < 1e-6", "r1 = joint_torque(0.5, 0.2, 60...
theo-eng-code-L2-code-000466
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 4.5], [4.0, 4.0])", "assert abs(r0 - 4.0311) < 1e-6", "r1 = seg_len([2.5, 4.5], [2.5, 0.5])", "assert abs(r1 - 4.0) < 1e-6", "r2 = seg_len([4.5, 4.5], [1.5, 1.5])",...
theo-eng-code-L3-code-008723
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.31, 6500, 180)", "assert abs(r0[0] - 4.22) < 1e-6", "assert abs(r0[1] - 1540.2) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-002336
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.5, 0.21, 30, 7.5, 3.5)", "assert abs(r0[0] - 9.01) < 1e-6", "assert abs(r0[1] - 0.3675) < 1e-6", "assert abs(r0[2] - 10.3) < 1e-6", "r1 = joint_torque(1.7, 0.16, 90,...
theo-eng-code-L2-code-010618
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-000900
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = erange(83, 1800, 80, 0.38, 3.1, 0.013, 1.0, 0.9, 0.95)", "assert abs(r0[0] - 407.9) < 1e-6", "assert abs(r0[1] - 19.33) < 1e-6", "assert abs(r0[2] - 15.47) < 1e-6", "r1 = erange(20, ...
theo-eng-code-L2-code-005780
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 7, 0.2, 0.9)", "assert abs(r0[0] - 2.5) < 1e-6", "assert abs(r0[1] - 150.0) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L2-code-006629
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 290, 420, 0.5)", "assert abs(r0[0] - 355.0) < 1e-6", "assert abs(r0[1] - 0.25) < 1e-6", "assert abs(r0[2] - 15.2) < 1e-6", "r1 = runtime(0.2, 170, 570, 0.5)", "a...
theo-eng-code-L2-code-000435
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([330, 140, 260, 450, 500], 10)", "assert abs(r0 - 4.6667) < 1e-6", "r1 = rect_energy([500, 150, 480, 110], 5)", "assert abs(r1 - 1.7222) < 1e-6", "r2 = rect_energ...
theo-eng-code-L2-code-006712
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = summarise([21, 50, 33, 92, 16])", "assert abs(r0[0] - 42.4) < 1e-6", "assert abs(r0[1] - 30.664) < 1e-6", "r1 = summarise([63, 68, 96, 92])", "assert abs(r1[0] - 79.75) < 1e-6...
theo-eng-code-L2-code-008779
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.39, 5000, 150)", "assert abs(r0[0] - 4.9) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6", "r1 = gear_ratio(0.25, 11000, 120)", "assert abs(r1[0] - 8.64) < 1e-6", "ass...
theo-eng-code-L3-code-013497
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.4, 10500, 180)", "assert abs(r0[0] - 8.8) < 1e-6", "assert abs(r0[1] - 1193.7) < 1e-6", "r1 = gear_ratio(0.39, 4500, 120)", "assert abs(r1[0] - 5.51) < 1e-6", "assert...
theo-eng-code-L2-code-015552
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(89, 1960, 60, 0.37, 2.4, 0.008, 0.3, 0.94, 0.95)", "assert abs(r0[0] - 889.0) < 1e-6", "assert abs(r0[1] - 9.51) < 1e-6", "assert abs(r0[2] - 5.71) < 1e-6", "r1 = erange(74,...
theo-eng-code-L1-code-007964
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_power", "user_template": "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-002888
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = erange(95, 2760, 80, 0.25, 2.4, 0.007, 0.3, 0.88, 0.9)", "assert abs(r0[0] - 707.4) < 1e-6", "assert abs(r0[1] - 12.09) < 1e-6", "assert abs(r0[2] - 9.67) < 1e-6", "r1 = erange(49, 1...
theo-eng-code-L2-code-010111
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.1, 0.9)", "assert abs(r0[0] - 5.45) < 1e-6", "assert abs(r0[1] - 327.3) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-004196
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 60, \"max_kw\": 50}')", "assert r0[0] == 60", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 150}')", "assert r1[0] == 40", "a...
theo-eng-code-L2-code-013786
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 4000, 150)", "assert abs(r0[0] - 4.32) < 1e-6", "assert abs(r0[1] - 925.3) < 1e-6", "r1 = gear_ratio(0.44, 12500, 180)", "assert abs(r1[0] - 11.52) < 1e-6", "as...
theo-eng-code-L2-code-003591
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 12000, 120)", "assert abs(r0[0] - 10.18) < 1e-6", "assert abs(r0[1] - 1178.9) < 1e-6", "r1 = gear_ratio(0.29, 5500, 150)", "assert abs(r1[0] - 4.01) < 1e-6", "a...
theo-eng-code-L2-code-011066
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 2490, 120, 0.26, 2.5, 0.01, 0.4, 0.94, 0.85)", "assert abs(r0[0] - 82.4) < 1e-6", "assert abs(r0[1] - 20.62) < 1e-6", "assert abs(r0[2] - 24.75) < 1e-6", "r1 = erange(87...
theo-eng-code-L3-code-004405
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": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(14, 11, -0.05, 0.03, 0.6, 0.5, 0)", "assert abs(r0[0] - -0.0148) < 1e-6", "assert abs(r0[1] - 0.556) < 1e-6", "assert abs(r0[2] - -0.0148) < 1e-6" ], "subtask": "writete...
theo-eng-code-L2-code-003892
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-003249
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 12500, 180)", "assert abs(r0[0] - 10.21) < 1e-6", "assert abs(r0[1] - 1224.3) < 1e-6", "r1 = gear_ratio(0.29, 14000, 150)", "assert abs(r1[0] - 10.2) < 1e-6", "...
theo-eng-code-L2-code-012473
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 6500, 150)", "assert abs(r0[0] - 4.9) < 1e-6", "assert abs(r0[1] - 1326.3) < 1e-6", "r1 = gear_ratio(0.42, 8500, 180)", "assert abs(r1[0] - 7.48) < 1e-6", "asser...
theo-eng-code-L3-code-004325
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(60, 2010, 60, 0.37, 3.1, 0.013, 1.0, 0.9, 0.85)", "assert abs(r0[0] - 326.9) < 1e-6", "assert abs(r0[1] - 15.6) < 1e-6", "assert abs(r0[2] - 9.36) < 1e-6" ], "subtask":...
theo-eng-code-L2-code-010046
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 10, 3.6, 100)", "assert r0[0] == 56", "assert r0[1] == 1", "assert r0[2] == 56", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 20.16) < 1e-6", "r1 = p...
theo-eng-code-L3-code-010919
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(5, 16, -0.01, -0.03, 0.8, 0.6, 0.5)", "assert abs(r0[0] - -0.0252) < 1e-6", "assert abs(r0[1] - 0.6476) < 1e-6", "assert abs(r0[2] - -0.0582) < 1e-6", "r1 = com_zmp(14, 17, 0.0...
theo-eng-code-L2-code-014557
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 290, 340, 0.7)", "assert abs(r0[0] - 305.0) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - 17.7) < 1e-6", "r1 = runtime(0.5, 250, 160, 0.3)", "as...
theo-eng-code-L2-code-002484
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(82, 6, 0.5)", "assert abs(r0 - 58.14) < 1e-6", "r1 = rms_torque(69, 37, 0.25)", "assert abs(r1 - 47.09) < 1e-6", "r2 = rms_torque(85, 18, 0.75)", "assert abs(r2 - 74.1...
theo-eng-code-L2-code-009532
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(9, 23, 0.06, 0.05, 0.8, 0.9, 1)", "assert abs(r0[0] - 0.0528) < 1e-6", "assert abs(r0[1] - 0.8719) < 1e-6", "assert abs(r0[2] - -0.0361) < 1e-6", "r1 = com_zmp(10, 18, -0.04,...
theo-eng-code-L3-code-013471
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.29, 9500, 180)", "assert abs(r0[0] - 5.77) < 1e-6", "assert abs(r0[1] - 1646.4) < 1e-6", "r1 = gear_ratio(0.26, 9000, 150)", "assert abs(r1[0] - 5.88) < 1e-6", "asser...
theo-eng-code-L3-code-001893
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 20, 0.03, 0.11, 0.9, 0.9, 2)", "assert abs(r0[0] - 0.07) < 1e-6", "assert abs(r0[1] - 0.9) < 1e-6", "assert abs(r0[2] - -0.1135) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L3-code-013286
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.3, 0.26, 90, 5.5, 2.5)", "assert abs(r0[0] - 20.79) < 1e-6", "assert abs(r0[1] - 0.4912) < 1e-6", "assert abs(r0[2] - 22.02) < 1e-6", "r1 = joint_torque(2.8, 0.53, 60,...
theo-eng-code-L3-code-011632
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.43, 13000, 150)", "assert abs(r0[0] - 14.05) < 1e-6", "assert abs(r0[1] - 925.3) < 1e-6", "r1 = gear_ratio(0.26, 12500, 100)", "assert abs(r1[0] - 12.25) < 1e-6", "as...
theo-eng-code-L2-code-001341
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 120, 360, 0.5)", "assert abs(r0[0] - 240.0) < 1e-6", "assert abs(r0[1] - 1.88) < 1e-6", "assert abs(r0[2] - 112.5) < 1e-6", "r1 = runtime(0.2, 60, 150, 0.3)", "a...
theo-eng-code-L1-clarify-004730
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-clarify-001420
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-012860
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.0, 3.0], [1.0, 4.5])", "assert abs(r0 - 1.8028) < 1e-6", "r1 = seg_len([2.5, 3.0], [0.5, 0.0])", "assert abs(r1 - 3.6056) < 1e-6", "r2 = seg_len([4.0, 3.5], [0.5, 2.5]...
theo-eng-code-L1-refuse-005129
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_unlock_speed", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-002678
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(51, 17, 0.25)", "assert abs(r0 - 29.44) < 1e-6", "r1 = rms_torque(45, 24, 0.5)", "assert abs(r1 - 36.06) < 1e-6", "r2 = rms_torque(14, 3, 0.25)", "assert abs(r2 - 7.47...
theo-eng-code-L2-code-008101
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([79, 84, 21, 58, 86, 10])", "assert abs(r0[0] - 56.333) < 1e-6", "assert abs(r0[1] - 33.339) < 1e-6", "r1 = summarise([84, 46, 20, 52, 66])", "assert abs(r1[0] - 53....
theo-eng-code-L2-code-009116
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-005419
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(22, 2710, 60, 0.31, 2.6, 0.009, 0.5, 0.94, 0.85)", "assert abs(r0[0] - 156.4) < 1e-6", "assert abs(r0[1] - 11.96) < 1e-6", "assert abs(r0[2] - 7.17) < 1e-6", "r1 = erange(38...
theo-eng-code-L2-code-011774
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.0, 2.5], [3.5, 3.0])", "assert abs(r0 - 2.5495) < 1e-6", "r1 = seg_len([3.5, 3.5], [0.0, 0.5])", "assert abs(r1 - 4.6098) < 1e-6", "r2 = seg_len([1.5, 5.0], [2.5, 1.0]...
theo-eng-code-L2-code-005617
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.6, 0.1, 30, 7.5, 0.5)", "assert abs(r0[0] - 4.32) < 1e-6", "assert abs(r0[1] - 0.0837) < 1e-6", "assert abs(r0[2] - 4.36) < 1e-6", "r1 = joint_torque(4.4, 0.46, 30, ...