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-004000
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.32, 12500, 150)", "assert abs(r0[0] - 10.05) < 1e-6", "assert abs(r0[1] - 1243.4) < 1e-6", "r1 = gear_ratio(0.35, 9000, 120)", "assert abs(r1[0] - 9.9) < 1e-6", "as...
theo-eng-code-L2-code-004090
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, 12, 0.75)", "assert abs(r0 - 22.47) < 1e-6", "r1 = rms_torque(40, 6, 0.5)", "assert abs(r1 - 28.6) < 1e-6", "r2 = rms_torque(48, 6, 0.5)", "assert abs(r2 - 34.21) ...
theo-eng-code-L3-code-003378
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 10, 3.2, 50)", "assert r0[0] == 62", "assert r0[1] == 2", "assert r0[2] == 124", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 19.84) < 1e-6" ], ...
theo-eng-code-L2-code-005851
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(77, 37, 0.5)", "assert abs(r0 - 60.41) < 1e-6", "r1 = rms_torque(25, 14, 0.25)", "assert abs(r1 - 17.41) < 1e-6", "r2 = rms_torque(21, 4, 0.75)", "assert abs(r2 - 18.3...
theo-eng-code-L3-code-015136
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(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_time...
theo-eng-code-L1-clarify-008247
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": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-008412
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 20, 3.6, 100)", "assert r0[0] == 139", "assert r0[1] == 1", "assert r0[2] == 139", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 50.04) < 1e-6" ], ...
theo-eng-code-L2-code-002804
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(99, 1320, 120, 0.22, 2.0, 0.007, 1.0, 0.88, 0.9)", "assert abs(r0[0] - 677.7) < 1e-6", "assert abs(r0[1] - 13.15) < 1e-6", "assert abs(r0[2] - 15.78) < 1e-6", "r1 = erange(8...
theo-eng-code-L2-code-014596
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.28, 14500, 120)", "assert abs(r0[0] - 12.75) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.33, 5000, 180)", "assert abs(r1[0] - 3.46) < 1e-6", "a...
theo-eng-code-L3-code-009852
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(18, 15, 0.04, 0.09, 0.7, 0.5, 0.5)", "assert abs(r0[0] - 0.0627) < 1e-6", "assert abs(r0[1] - 0.6091) < 1e-6", "assert abs(r0[2] - 0.0317) < 1e-6", "r1 = com_zmp(12, 27, 0.01, ...
theo-eng-code-L2-code-008327
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = seg_len([5.0, 4.0], [2.5, 2.5])", "assert abs(r0 - 2.9155) < 1e-6", "r1 = seg_len([4.5, 3.5], [3.0, 4.5])", "assert abs(r1 - 1.8028) < 1e-6", "r2 = seg_len([4.5, 3.5], [2.5, 3.5]...
theo-eng-code-L1-clarify-011862
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-009951
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.32, 8500, 180)", "assert abs(r0[0] - 5.7) < 1e-6", "assert abs(r0[1] - 1492.1) < 1e-6", "r1 = gear_ratio(0.45, 11500, 100)", "assert abs(r1[0] - 19.51) < 1e-6", "as...
theo-eng-code-L1-clarify-007366
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-clarify-002311
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": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-refuse-011096
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_bypass_limit_code", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L1-code-005174
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-004972
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(26, 1970, 80, 0.37, 3.1, 0.009, 0.7, 0.94, 0.85)", "assert abs(r0[0] - 135.9) < 1e-6", "assert abs(r0[1] - 16.27) < 1e-6", "assert abs(r0[2] - 13.01) < 1e-6", "r1 = erange(4...
theo-eng-code-L2-code-006730
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 22, 0.1, 0.03, 0.5, 0.7, 2)", "assert abs(r0[0] - 0.0469) < 1e-6", "assert abs(r0[1] - 0.6517) < 1e-6", "assert abs(r0[2] - -0.086) < 1e-6", "r1 = com_zmp(17, 13, 0.09, -0...
theo-eng-code-L1-clarify-005346
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-003436
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 22, 0.2, 0.9)", "assert abs(r0[0] - 2.39) < 1e-6", "assert abs(r0[1] - 143.2) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L2-code-007405
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-001123
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(32, 28, 0.75)", "assert abs(r0 - 31.05) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L1-clarify-012740
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": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-011359
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 70, 210, 0.7)", "assert abs(r0[0] - 112.0) < 1e-6", "assert abs(r0[1] - 8.04) < 1e-6", "assert abs(r0[2] - 482.1) < 1e-6", "r1 = runtime(0.5, 150, 390, 0.5)", "a...
theo-eng-code-L2-code-011963
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 3.0], [1.5, 2.5])", "assert abs(r0 - 1.5811) < 1e-6", "r1 = seg_len([1.0, 2.0], [1.5, 2.0])", "assert abs(r1 - 0.5) < 1e-6", "r2 = seg_len([0.0, 1.5], [0.0, 1.5])",...
theo-eng-code-L3-code-015586
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(66, 1190, 100, 0.25, 2.8, 0.007, 1.5, 0.88, 0.85)", "assert abs(r0[0] - 386.3) < 1e-6", "assert abs(r0[1] - 14.52) < 1e-6", "assert abs(r0[2] - 14.52) < 1e-6", "r1 = erange(47...
theo-eng-code-L3-code-002633
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 60, 3.2, 50)", "assert r0[0] == 62", "assert r0[1] == 7", "assert r0[2] == 434", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 69.44) < 1e-6" ], ...
theo-eng-code-L1-code-000054
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": "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-012570
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 20, 0.07, -0.01, 0.4, 0.9, 1)", "assert abs(r0[0] - 0.0215) < 1e-6", "assert abs(r0[1] - 0.703) < 1e-6", "assert abs(r0[2] - -0.0501) < 1e-6", "r1 = com_zmp(7, 12, -0.09,...
theo-eng-code-L3-code-003806
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(5, 27, 0.02, -0.03, 0.8, 0.5, 2)", "assert abs(r0[0] - -0.0222) < 1e-6", "assert abs(r0[1] - 0.5469) < 1e-6", "assert abs(r0[2] - -0.1337) < 1e-6", "r1 = com_zmp(18, 16, 0.04, ...
theo-eng-code-L3-code-010840
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(61, 1590, 80, 0.26, 2.8, 0.012, 0.8, 0.9, 0.9)", "assert abs(r0[0] - 404.5) < 1e-6", "assert abs(r0[1] - 13.57) < 1e-6", "assert abs(r0[2] - 10.86) < 1e-6", "r1 = erange(59, 2...
theo-eng-code-L1-clarify-013168
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": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-009070
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 220, 130, 0.3)", "assert abs(r0[0] - 157.0) < 1e-6", "assert abs(r0[1] - 0.57) < 1e-6", "assert abs(r0[2] - 34.4) < 1e-6", "r1 = runtime(1.0, 170, 300, 0.7)", "a...
theo-eng-code-L3-code-014353
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 11, 0.1, 1.0)", "assert abs(r0[0] - 6.14) < 1e-6", "assert abs(r0[1] - 368.2) < 1e-6", "assert abs(r0[2] - 54.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_time...
theo-eng-code-L2-code-000612
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([88, 71, 88, 17, 61, 42])", "assert abs(r0[0] - 61.167) < 1e-6", "assert abs(r0[1] - 27.766) < 1e-6", "r1 = summarise([40, 71, 41, 63])", "assert abs(r1[0] - 53.75) ...
theo-eng-code-L3-code-000990
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, 280, 50, 0.3)", "assert abs(r0[0] - 119.0) < 1e-6", "assert abs(r0[1] - 7.56) < 1e-6", "assert abs(r0[2] - 453.8) < 1e-6", "r1 = runtime(1.0, 140, 500, 0.7)", "ass...
theo-eng-code-L3-code-012847
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(33, 1040, 120, 0.32, 1.9, 0.011, 1.1, 0.9, 0.95)", "assert abs(r0[0] - 182.8) < 1e-6", "assert abs(r0[1] - 17.15) < 1e-6", "assert abs(r0[2] - 20.58) < 1e-6" ], "subtas...
theo-eng-code-L3-code-015426
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": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 60, 3.7, 5)", "assert r0[0] == 216", "assert r0[1] == 16", "assert r0[2] == 3456", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 63.936) < 1e-6", "r1 = ...
theo-eng-code-L3-code-008750
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": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(75, 1490, 80, 0.37, 2.4, 0.008, 1.0, 0.9, 0.95)", "assert abs(r0[0] - 541.9) < 1e-6", "assert abs(r0[1] - 13.15) < 1e-6", "assert abs(r0[2] - 10.52) < 1e-6", "r1 = erange(99, ...
theo-eng-code-L3-code-002980
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 16, 0.04, 0.01, 0.7, 0.3, 0)", "assert abs(r0[0] - 0.0255) < 1e-6", "assert abs(r0[1] - 0.5061) < 1e-6", "assert abs(r0[2] - 0.0255) < 1e-6", "r1 = com_zmp(7, 26, 0.09, -0....
theo-eng-code-L3-code-015537
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(4.3, 0.59, 60, 4.5, 0.0)", "assert abs(r0[0] - 33.33) < 1e-6", "assert abs(r0[1] - 2.0654) < 1e-6", "assert abs(r0[2] - 33.33) < 1e-6", "r1 = joint_torque(6.7, 0.28, 30,...
theo-eng-code-L2-code-007181
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 20, 0.06, 0.0, 0.3, 0.7, 0.5)", "assert abs(r0[0] - 0.0186) < 1e-6", "assert abs(r0[1] - 0.5759) < 1e-6", "assert abs(r0[2] - -0.0107) < 1e-6", "r1 = com_zmp(15, 21, -0.06...
theo-eng-code-L3-code-013267
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(12, 30, 0.07, -0.03, 0.6, 0.8, 0)", "assert abs(r0[0] - -0.0014) < 1e-6", "assert abs(r0[1] - 0.7429) < 1e-6", "assert abs(r0[2] - -0.0014) < 1e-6", "r1 = com_zmp(16, 16, 0.05,...
theo-eng-code-L1-clarify-014057
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-013582
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(6, 16, 0.1, 0.07, 0.5, 0.6, 1)", "assert abs(r0[0] - 0.0782) < 1e-6", "assert abs(r0[1] - 0.5727) < 1e-6", "assert abs(r0[2] - 0.0198) < 1e-6", "r1 = com_zmp(15, 26, -0.06, 0.1...
theo-eng-code-L1-code-009427
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_squares", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-code-010812
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_modulo", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-007587
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(48, 31, 0.5)", "assert abs(r0 - 40.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L2-code-007511
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 50, 0.2, 0.8)", "assert abs(r0[0] - 0.3) < 1e-6", "assert abs(r0[1] - 18.0) < 1e-6", "assert abs(r0[2] - 12.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L3-code-010982
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.41, 10000, 100)", "assert abs(r0[0] - 15.46) < 1e-6", "assert abs(r0[1] - 647.0) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L3-code-010232
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": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(48, 2630, 100, 0.31, 1.9, 0.012, 0.3, 0.88, 0.95)", "assert abs(r0[0] - 241.8) < 1e-6", "assert abs(r0[1] - 18.86) < 1e-6", "assert abs(r0[2] - 18.86) < 1e-6", "r1 = erange(69...
theo-eng-code-L3-code-005226
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(75, 2190, 120, 0.29, 2.8, 0.008, 0.3, 0.94, 0.95)", "assert abs(r0[0] - 329.0) < 1e-6", "assert abs(r0[1] - 21.66) < 1e-6", "assert abs(r0[2] - 25.99) < 1e-6", "r1 = erange(33...
theo-eng-code-L2-code-004966
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([60, 360, 430, 110, 130], 1)", "assert abs(r0 - 0.3028) < 1e-6", "r1 = rect_energy([180, 180, 300, 90], 5)", "assert abs(r1 - 1.0417) < 1e-6", "r2 = rect_energy([...
theo-eng-code-L2-code-003783
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-008923
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 50}')", "assert r0[0] == 80", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')", "assert r1[0] == 80", "a...
theo-eng-code-L1-clarify-003715
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-L3-code-011197
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": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 18, -0.05, 0.11, 0.3, 0.9, 2)", "assert abs(r0[0] - 0.0258) < 1e-6", "assert abs(r0[1] - 0.5842) < 1e-6", "assert abs(r0[2] - -0.0933) < 1e-6" ], "subtask": "writete...
theo-eng-code-L3-code-002030
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(15, 21, 0.06, -0.03, 0.4, 0.5, 2)", "assert abs(r0[0] - 0.0075) < 1e-6", "assert abs(r0[1] - 0.4583) < 1e-6", "assert abs(r0[2] - -0.0859) < 1e-6", "r1 = com_zmp(19, 30, -0.06,...
theo-eng-code-L2-code-004528
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 11, 0.2, 1.0)", "assert abs(r0[0] - 9.09) < 1e-6", "assert abs(r0[1] - 545.5) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_t...
theo-eng-code-L3-code-010702
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(13, 26, 0.07, 0.06, 0.5, 0.3, 0)", "assert abs(r0[0] - 0.0633) < 1e-6", "assert abs(r0[1] - 0.3667) < 1e-6", "assert abs(r0[2] - 0.0633) < 1e-6", "r1 = com_zmp(8, 29, 0.1, -0.0...
theo-eng-code-L2-code-004347
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 22, 0.1, 0.9)", "assert abs(r0[0] - 3.64) < 1e-6", "assert abs(r0[1] - 218.2) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L3-code-015438
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(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(8...
theo-eng-code-L2-code-012510
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_sumloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-010151
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 150, 0.2, 0.8)", "assert abs(r0[0] - 0.25) < 1e-6", "assert abs(r0[1] - 15.0) < 1e-6", "assert abs(r0[2] - 24.0) < 1e-6", "assert abs(r0[3] - 120.0) < 1e-6" ...
theo-eng-code-L3-code-013917
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": "5", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.5, 0.13, 30, 1.0, 1.5)", "assert abs(r0[0] - 1.43) < 1e-6", "assert abs(r0[1] - 0.031) < 1e-6", "assert abs(r0[2] - 1.48) < 1e-6", "r1 = joint_torque(7.2, 0.24, 60, 0....
theo-eng-code-L3-code-014257
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 24, -0.02, 0.03, 0.3, 0.6, 2)", "assert abs(r0[0] - 0.0093) < 1e-6", "assert abs(r0[1] - 0.4756) < 1e-6", "assert abs(r0[2] - -0.0877) < 1e-6", "r1 = com_zmp(9, 29, 0.03, -...
theo-eng-code-L3-code-012796
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.25, 7000, 150)", "assert abs(r0[0] - 4.4) < 1e-6", "assert abs(r0[1] - 1591.5) < 1e-6", "r1 = gear_ratio(0.41, 15000, 150)", "assert abs(r1[0] - 15.46) < 1e-6", "asse...
theo-eng-code-L2-code-000470
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 50, 0.1, 0.8)", "assert abs(r0[0] - 1.05) < 1e-6", "assert abs(r0[1] - 63.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_tim...
theo-eng-code-L3-code-001110
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": "5", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(0.5, 0.45, 30, 8.0, 1.5)", "assert abs(r0[0] - 18.21) < 1e-6", "assert abs(r0[1] - 1.6538) < 1e-6", "assert abs(r0[2] - 20.69) < 1e-6", "r1 = joint_torque(5.9, 0.36, 60,...
theo-eng-code-L3-code-015909
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(39, 27, 0.75)", "assert abs(r0 - 36.37) < 1e-6", "r1 = rms_torque(25, 8, 0.75)", "assert abs(r1 - 22.02) < 1e-6", "r2 = rms_torque(64, 5, 0.5)", "assert abs(r2 - 45.39) ...
theo-eng-code-L3-code-004210
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 260, 280, 0.7)", "assert abs(r0[0] - 266.0) < 1e-6", "assert abs(r0[1] - 0.68) < 1e-6", "assert abs(r0[2] - 40.6) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L2-code-014203
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.5, 3.5], [4.0, 2.5])", "assert abs(r0 - 2.6926) < 1e-6", "r1 = seg_len([5.0, 2.5], [1.5, 2.5])", "assert abs(r1 - 3.5) < 1e-6", "r2 = seg_len([2.0, 3.0], [2.0, 5.0])",...
theo-eng-code-L3-code-001482
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": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 60, 3.2, 50)", "assert r0[0] == 156", "assert r0[1] == 3", "assert r0[2] == 468", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 74.88) < 1e-6", "r1 = pa...
theo-eng-code-L1-clarify-004495
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-L2-code-014173
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 10, 3.7, 100)", "assert r0[0] == 108", "assert r0[1] == 1", "assert r0[2] == 108", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 =...
theo-eng-code-L2-code-014140
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 25, 0.07, -0.02, 0.3, 0.8, 1)", "assert abs(r0[0] - 0.0164) < 1e-6", "assert abs(r0[1] - 0.5976) < 1e-6", "assert abs(r0[2] - -0.0445) < 1e-6", "r1 = com_zmp(12, 30, -0.0...
theo-eng-code-L2-code-013865
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-002989
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, 2620, 100, 0.33, 2.4, 0.012, 0.6, 0.88, 0.85)", "assert abs(r0[0] - 99.8) < 1e-6", "assert abs(r0[1] - 22.15) < 1e-6", "assert abs(r0[2] - 22.15) < 1e-6", "r1 = erange(23,...
theo-eng-code-L2-code-015358
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.8, 0.58, 60, 7.5, 2.0)", "assert abs(r0[0] - 51.25) < 1e-6", "assert abs(r0[1] - 3.1734) < 1e-6", "assert abs(r0[2] - 57.59) < 1e-6", "r1 = joint_torque(0.7, 0.4, 90...
theo-eng-code-L2-code-002833
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(84, 23, 0.75)", "assert abs(r0 - 73.65) < 1e-6", "r1 = rms_torque(20, 14, 0.5)", "assert abs(r1 - 17.26) < 1e-6", "r2 = rms_torque(8, 8, 0.5)", "assert abs(r2 - 8.0) <...
theo-eng-code-L3-code-014522
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.29, 11000, 120)", "assert abs(r0[0] - 10.02) < 1e-6", "assert abs(r0[1] - 1097.6) < 1e-6", "r1 = gear_ratio(0.44, 14500, 100)", "assert abs(r1[0] - 24.05) < 1e-6", "a...
theo-eng-code-L2-code-004797
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([67, 94, 99, 84, 67])", "assert abs(r0[0] - 82.2) < 1e-6", "assert abs(r0[1] - 14.89) < 1e-6", "r1 = summarise([65, 18, 30, 43])", "assert r1[0] == 39", "assert ...
theo-eng-code-L2-code-012705
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 11, 0.1, 0.8)", "assert abs(r0[0] - 3.18) < 1e-6", "assert abs(r0[1] - 190.9) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-001867
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 19, -0.02, -0.04, 0.8, 0.5, 0.5)", "assert abs(r0[0] - -0.0312) < 1e-6", "assert abs(r0[1] - 0.6324) < 1e-6", "assert abs(r0[2] - -0.0634) < 1e-6", "r1 = com_zmp(12, 20, ...
theo-eng-code-L3-code-000230
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.37, 14500, 150)", "assert abs(r0[0] - 13.48) < 1e-6", "assert abs(r0[1] - 1075.4) < 1e-6", "r1 = gear_ratio(0.28, 11500, 150)", "assert abs(r1[0] - 8.09) < 1e-6", "as...
theo-eng-code-L3-code-012540
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(8, 15, 0.03, 0.11, 0.5, 0.4, 0.5)", "assert abs(r0[0] - 0.0822) < 1e-6", "assert abs(r0[1] - 0.4348) < 1e-6", "assert abs(r0[2] - 0.06) < 1e-6", "r1 = com_zmp(17, 15, 0.07, 0.0...
theo-eng-code-L3-code-015137
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.37, 11000, 180)", "assert abs(r0[0] - 8.52) < 1e-6", "assert abs(r0[1] - 1290.4) < 1e-6", "r1 = gear_ratio(0.27, 13000, 120)", "assert abs(r1[0] - 11.03) < 1e-6", "as...
theo-eng-code-L2-code-004344
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 40, 120, 0.3)", "assert abs(r0[0] - 96.0) < 1e-6", "assert abs(r0[1] - 9.38) < 1e-6", "assert abs(r0[2] - 562.5) < 1e-6", "r1 = runtime(1.0, 40, 450, 0.3)", "ass...
theo-eng-code-L2-code-005852
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008026
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, [0, 25, 50, 75, 100], [0.7, 0.85, 0.86, 0.85, 0.84])", "assert abs(r0 - 0.76) < 1e-6", "r1 = interp_eff(50, [0, 25, 50, 75, 100], [0.74, 0.84, 0.86, 0.86, 0.83])", "as...
theo-eng-code-L2-code-015536
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 4.5], [0.0, 4.5])", "assert abs(r0 - 3.5) < 1e-6", "r1 = seg_len([2.5, 5.0], [3.0, 0.0])", "assert abs(r1 - 5.0249) < 1e-6", "r2 = seg_len([4.0, 2.0], [4.5, 5.0])",...
theo-eng-code-L2-code-000949
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(83, 1950, 60, 0.34, 2.2, 0.009, 1.2, 0.9, 0.9)", "assert abs(r0[0] - 664.5) < 1e-6", "assert abs(r0[1] - 11.24) < 1e-6", "assert abs(r0[2] - 6.74) < 1e-6", "r1 = erange(47, ...
theo-eng-code-L2-code-015718
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 11, 0.2, 0.8)", "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-L3-code-014553
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": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 11, 0.1, 1.0)", "assert abs(r0[0] - 6.14) < 1e-6", "assert abs(r0[1] - 368.2) < 1e-6", "assert abs(r0[2] - 54.0) < 1e-6", "assert r0[3] == 11" ], "subtask...
theo-eng-code-L2-code-000885
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 20, 3.6, 5)", "assert r0[0] == 56", "assert r0[1] == 20", "assert r0[2] == 1120", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 20.16) < 1e-6", "r1 = ...
theo-eng-code-L2-code-003467
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.39, 9500, 150)", "assert abs(r0[0] - 9.31) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6", "r1 = gear_ratio(0.42, 6500, 150)", "assert abs(r1[0] - 6.86) < 1e-6", "ass...
theo-eng-code-L2-code-003037
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([260, 230, 480], 1)", "assert abs(r0 - 0.2694) < 1e-6", "r1 = rect_energy([450, 500, 50, 410, 60], 10)", "assert abs(r1 - 4.0833) < 1e-6", "r2 = rect_energy([100,...
theo-eng-code-L1-code-008081
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_squares", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-010551
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 220, 500, 0.3)", "assert abs(r0[0] - 416.0) < 1e-6", "assert abs(r0[1] - 2.16) < 1e-6", "assert abs(r0[2] - 129.8) < 1e-6" ], "subtask": "writetests", "verifi...