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-002426
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 30, 420, 0.3)", "assert abs(r0[0] - 303.0) < 1e-6", "assert abs(r0[1] - 0.59) < 1e-6", "assert abs(r0[2] - 35.6) < 1e-6", "r1 = runtime(0.5, 120, 250, 0.7)", "as...
theo-eng-code-L3-code-007316
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.44, 13500, 150)", "assert abs(r0[0] - 14.93) < 1e-6", "assert abs(r0[1] - 904.3) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L2-code-006664
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 25, -0.09, -0.04, 0.7, 0.5, 0.5)", "assert abs(r0[0] - -0.0587) < 1e-6", "assert abs(r0[1] - 0.575) < 1e-6", "assert abs(r0[2] - -0.0881) < 1e-6", "r1 = com_zmp(17, 25, -...
theo-eng-code-L2-code-000595
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.1, 0.22, 60, 1.0, 0.0)", "assert abs(r0[0] - 5.7) < 1e-6", "assert abs(r0[1] - 0.1145) < 1e-6", "assert abs(r0[2] - 5.7) < 1e-6", "r1 = joint_torque(7.8, 0.13, 30, 5...
theo-eng-code-L2-code-003292
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(46, 37, 0.5)", "assert abs(r0 - 41.74) < 1e-6", "r1 = rms_torque(10, 8, 0.75)", "assert abs(r1 - 9.54) < 1e-6", "r2 = rms_torque(32, 12, 0.5)", "assert abs(r2 - 24.17)...
theo-eng-code-L3-code-012460
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 40, 3.6, 2.5)", "assert r0[0] == 56", "assert r0[1] == 80", "assert r0[2] == 4480", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 40.32) < 1e-6", "r1 = ...
theo-eng-code-L2-code-014954
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-005658
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 7, 0.1, 0.9)", "assert abs(r0[0] - 8.57) < 1e-6", "assert abs(r0[1] - 514.3) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L3-code-008001
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(0.2, 240, 560, 0.5)", "assert abs(r0[0] - 400.0) < 1e-6", "assert abs(r0[1] - 0.45) < 1e-6", "assert abs(r0[2] - 27.0) < 1e-6", "r1 = runtime(0.5, 80, 180, 0.3)", "asse...
theo-eng-code-L3-code-006422
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 60, 3.6, 100)", "assert r0[0] == 111", "assert r0[1] == 2", "assert r0[2] == 222", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6", "r1 = p...
theo-eng-code-L2-code-007880
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(32, 950, 60, 0.38, 2.1, 0.012, 0.9, 0.92, 0.85)", "assert abs(r0[0] - 303.0) < 1e-6", "assert abs(r0[1] - 8.98) < 1e-6", "assert abs(r0[2] - 5.39) < 1e-6", "r1 = erange(42, ...
theo-eng-code-L3-code-003581
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(7, 4, 0.25)", "assert abs(r0 - 4.92) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "saf...
theo-eng-code-L2-code-008366
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.5, 5.0], [4.5, 1.0])", "assert abs(r0 - 5.6569) < 1e-6", "r1 = seg_len([1.5, 1.5], [2.0, 2.0])", "assert abs(r1 - 0.7071) < 1e-6", "r2 = seg_len([4.0, 0.5], [1.0, 3.0]...
theo-eng-code-L2-code-001799
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 9500, 180)", "assert abs(r0[0] - 7.56) < 1e-6", "assert abs(r0[1] - 1256.5) < 1e-6", "r1 = gear_ratio(0.33, 13500, 150)", "assert abs(r1[0] - 11.2) < 1e-6", "as...
theo-eng-code-L2-code-008762
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.9, 0.49, 60, 1.5, 2.5)", "assert abs(r0[0] - 18.52) < 1e-6", "assert abs(r0[1] - 0.8323) < 1e-6", "assert abs(r0[2] - 20.61) < 1e-6", "r1 = joint_torque(8.0, 0.36, 6...
theo-eng-code-L3-code-006138
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 7, 0.1, 0.9)", "assert abs(r0[0] - 14.29) < 1e-6", "assert abs(r0[1] - 857.1) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L2-code-000399
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 28, -0.03, 0.14, 0.6, 0.7, 2)", "assert abs(r0[0] - 0.0833) < 1e-6", "assert abs(r0[1] - 0.6667) < 1e-6", "assert abs(r0[2] - -0.0526) < 1e-6", "r1 = com_zmp(16, 14, 0.03...
theo-eng-code-L2-code-013179
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-clarify-013518
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-006081
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(75, 28, 0.75)", "assert abs(r0 - 66.44) < 1e-6", "r1 = rms_torque(12, 11, 0.75)", "assert abs(r1 - 11.76) < 1e-6", "r2 = rms_torque(79, 15, 0.75)", "assert abs(r2 - 68...
theo-eng-code-L2-code-000141
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-015086
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 11, 0.1, 1.0)", "assert abs(r0[0] - 8.18) < 1e-6", "assert abs(r0[1] - 490.9) < 1e-6", "assert abs(r0[2] - 72.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_time...
theo-eng-code-L3-code-009967
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(45, 1740, 60, 0.34, 2.3, 0.008, 0.8, 0.9, 0.85)", "assert abs(r0[0] - 396.2) < 1e-6", "assert abs(r0[1] - 9.65) < 1e-6", "assert abs(r0[2] - 5.79) < 1e-6", "r1 = erange(91, 13...
theo-eng-code-L3-code-009479
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.4, 0.41, 30, 1.0, 1.5)", "assert abs(r0[0] - 7.44) < 1e-6", "assert abs(r0[1] - 0.4707) < 1e-6", "assert abs(r0[2] - 8.15) < 1e-6", "r1 = joint_torque(0.8, 0.55, 30, 3...
theo-eng-code-L3-code-001214
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(500, 20, 3.6, 100)", "assert r0[0] == 139", "assert r0[1] == 1", "assert r0[2] == 139", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 50.04) < 1e-6", "r1 = p...
theo-eng-code-L1-clarify-009829
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-014171
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 7, 0.2, 1.0)", "assert abs(r0[0] - 5.71) < 1e-6", "assert abs(r0[1] - 342.9) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L1-clarify-004023
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-007687
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(72, 17, 0.75)", "assert abs(r0 - 62.93) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L3-code-010634
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, 9000, 150)", "assert abs(r0[0] - 6.56) < 1e-6", "assert abs(r0[1] - 1372.0) < 1e-6", "r1 = gear_ratio(0.29, 14000, 180)", "assert abs(r1[0] - 8.5) < 1e-6", "asser...
theo-eng-code-L2-code-006275
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, -0.1, -0.03, 0.7, 0.7, 2)", "assert abs(r0[0] - -0.0517) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - -0.1944) < 1e-6", "r1 = com_zmp(7, 25, -0.02, -...
theo-eng-code-L3-code-004716
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(11, 10, 0.04, -0.03, 0.8, 0.5, 1)", "assert abs(r0[0] - 0.0067) < 1e-6", "assert abs(r0[1] - 0.6571) < 1e-6", "assert abs(r0[2] - -0.0603) < 1e-6", "r1 = com_zmp(15, 18, 0.03, ...
theo-eng-code-L2-code-012883
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 3.7, 2.5)", "assert r0[0] == 108", "assert r0[1] == 41", "assert r0[2] == 4428", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 40.959) < 1e-6", "r...
theo-eng-code-L1-code-001193
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": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-011447
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": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(14, 13, -0.01, -0.02, 0.3, 0.3, 0)", "assert abs(r0[0] - -0.0148) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - -0.0148) < 1e-6" ], "subtask": "writetes...
theo-eng-code-L3-code-015930
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(19, 16, 0.75)", "assert abs(r0 - 18.3) < 1e-6", "r1 = rms_torque(85, 10, 0.25)", "assert abs(r1 - 43.37) < 1e-6", "r2 = rms_torque(57, 11, 0.25)", "assert abs(r2 - 30.05...
theo-eng-code-L2-code-003138
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-012250
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(18, 30, 0.03, 0.08, 0.3, 0.4, 2)", "assert abs(r0[0] - 0.0612) < 1e-6", "assert abs(r0[1] - 0.3625) < 1e-6", "assert abs(r0[2] - -0.0127) < 1e-6", "r1 = com_zmp(19, 22, -0.03, ...
theo-eng-code-L2-code-015876
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 10, 0.06, 0.07, 0.7, 0.7, 2)", "assert abs(r0[0] - 0.0637) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - -0.079) < 1e-6", "r1 = com_zmp(15, 29, -0.06, 0....
theo-eng-code-L2-code-015154
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(65, 8, 0.75)", "assert abs(r0 - 56.43) < 1e-6", "r1 = rms_torque(6, 4, 0.25)", "assert abs(r1 - 4.58) < 1e-6", "r2 = rms_torque(25, 8, 0.5)", "assert abs(r2 - 18.56) <...
theo-eng-code-L2-code-011822
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(97, 1550, 80, 0.26, 2.0, 0.009, 0.6, 0.88, 0.85)", "assert abs(r0[0] - 821.7) < 1e-6", "assert abs(r0[1] - 10.03) < 1e-6", "assert abs(r0[2] - 8.03) < 1e-6", "r1 = erange(34...
theo-eng-code-L2-code-003988
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.5, 0.5], [1.0, 5.0])", "assert abs(r0 - 5.7009) < 1e-6", "r1 = seg_len([4.0, 4.5], [3.0, 2.0])", "assert abs(r1 - 2.6926) < 1e-6", "r2 = seg_len([2.0, 2.0], [0.5, 0.0]...
theo-eng-code-L2-code-012239
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 9500, 120)", "assert abs(r0[0] - 9.55) < 1e-6", "assert abs(r0[1] - 994.7) < 1e-6", "r1 = gear_ratio(0.4, 11000, 180)", "assert abs(r1[0] - 9.22) < 1e-6", "asse...
theo-eng-code-L2-code-010730
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.5, 3.5], [0.0, 5.0])", "assert abs(r0 - 2.1213) < 1e-6", "r1 = seg_len([5.0, 1.5], [0.0, 3.5])", "assert abs(r1 - 5.3852) < 1e-6", "r2 = seg_len([1.5, 1.0], [3.0, 2.0]...
theo-eng-code-L3-code-008121
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.32, 10500, 150)", "assert abs(r0[0] - 8.44) < 1e-6", "assert abs(r0[1] - 1243.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L2-code-005160
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.2, 1.0)", "assert abs(r0[0] - 1.82) < 1e-6", "assert abs(r0[1] - 109.1) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L3-code-015140
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(100, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.67) < 1e-6", "assert abs(r0[1] - 40.0) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L3-code-003414
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(48, 1680, 100, 0.24, 3.0, 0.007, 0.8, 0.9, 0.85)", "assert abs(r0[0] - 274.5) < 1e-6", "assert abs(r0[1] - 14.86) < 1e-6", "assert abs(r0[2] - 14.86) < 1e-6", "r1 = erange(39,...
theo-eng-code-L2-code-007507
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([96, 76, 42, 67, 11])", "assert abs(r0[0] - 58.4) < 1e-6", "assert abs(r0[1] - 32.837) < 1e-6", "r1 = summarise([58, 16, 52, 66, 73])", "assert r1[0] == 53", "as...
theo-eng-code-L3-code-013509
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(18, 17, -0.06, 0.08, 0.4, 0.9, 2)", "assert abs(r0[0] - 0.008) < 1e-6", "assert abs(r0[1] - 0.6429) < 1e-6", "assert abs(r0[2] - -0.1231) < 1e-6" ], "subtask": "writetes...
theo-eng-code-L3-code-013843
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(11, 20, -0.06, 0.04, 0.5, 0.7, 0)", "assert abs(r0[0] - 0.0045) < 1e-6", "assert abs(r0[1] - 0.629) < 1e-6", "assert abs(r0[2] - 0.0045) < 1e-6", "r1 = com_zmp(19, 11, -0.03, 0...
theo-eng-code-L3-code-015365
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 3.7, 5)", "assert r0[0] == 108", "assert r0[1] == 21", "assert r0[2] == 2268", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 41.958) < 1e-6", "r1 = ...
theo-eng-code-L2-code-009766
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.0, 0.44, 45, 4.0, 3.5)", "assert abs(r0[0] - 21.37) < 1e-6", "assert abs(r0[1] - 1.1616) < 1e-6", "assert abs(r0[2] - 25.43) < 1e-6", "r1 = joint_torque(1.9, 0.26, 3...
theo-eng-code-L2-code-000624
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-014629
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(10, 15, 0.02, 0.08, 0.9, 0.8, 2)", "assert abs(r0[0] - 0.056) < 1e-6", "assert abs(r0[1] - 0.84) < 1e-6", "assert abs(r0[2] - -0.1153) < 1e-6", "r1 = com_zmp(10, 10, -0.05, -...
theo-eng-code-L2-code-012238
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-008987
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 26, 0.07, 0.04, 0.7, 0.6, 0)", "assert abs(r0[0] - 0.0464) < 1e-6", "assert abs(r0[1] - 0.6212) < 1e-6", "assert abs(r0[2] - 0.0464) < 1e-6", "r1 = com_zmp(12, 14, -0.08, ...
theo-eng-code-L1-code-006204
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": "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-007787
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, [0, 25, 50, 75, 100], [0.73, 0.85, 0.86, 0.88, 0.81])", "assert abs(r0 - 0.852) < 1e-6", "r1 = interp_eff(25, [0, 25, 50, 75, 100], [0.73, 0.81, 0.86, 0.86, 0.8])", "a...
theo-eng-code-L3-code-013234
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(40, 25, 0.5)", "assert abs(r0 - 33.35) < 1e-6", "r1 = rms_torque(76, 18, 0.25)", "assert abs(r1 - 41.07) < 1e-6", "r2 = rms_torque(49, 35, 0.75)", "assert abs(r2 - 45.9)...
theo-eng-code-L3-code-005154
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.9, 0.27, 30, 1.0, 2.5)", "assert abs(r0[0] - 3.24) < 1e-6", "assert abs(r0[1] - 0.1434) < 1e-6", "assert abs(r0[2] - 3.6) < 1e-6", "r1 = joint_torque(4.6, 0.39, 60, 2....
theo-eng-code-L3-code-003305
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": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 150, 0.1, 1.0)", "assert abs(r0[0] - 0.75) < 1e-6", "assert abs(r0[1] - 45.0) < 1e-6", "assert abs(r0[2] - 90.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L2-code-014250
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 290, 210, 0.3)", "assert abs(r0[0] - 234.0) < 1e-6", "assert abs(r0[1] - 0.77) < 1e-6", "assert abs(r0[2] - 46.2) < 1e-6", "r1 = runtime(0.1, 240, 490, 0.5)", "a...
theo-eng-code-L2-code-005215
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 170, 110, 0.5)", "assert abs(r0[0] - 140.0) < 1e-6", "assert abs(r0[1] - 0.64) < 1e-6", "assert abs(r0[2] - 38.6) < 1e-6", "r1 = runtime(1.0, 40, 120, 0.3)", "as...
theo-eng-code-L2-code-001136
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([290, 220, 120, 220], 2)", "assert abs(r0 - 0.4722) < 1e-6", "r1 = rect_energy([100, 400, 80, 70, 290], 2)", "assert abs(r1 - 0.5222) < 1e-6", "r2 = rect_energy([...
theo-eng-code-L1-code-000569
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-007410
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(13, 2, 0.25)", "assert abs(r0 - 6.73) < 1e-6", "r1 = rms_torque(25, 11, 0.5)", "assert abs(r1 - 19.31) < 1e-6", "r2 = rms_torque(36, 14, 0.75)", "assert abs(r2 - 31.95) ...
theo-eng-code-L3-code-013679
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(51, 1870, 80, 0.38, 2.3, 0.009, 0.6, 0.94, 0.85)", "assert abs(r0[0] - 322.5) < 1e-6", "assert abs(r0[1] - 13.44) < 1e-6", "assert abs(r0[2] - 10.75) < 1e-6", "r1 = erange(42,...
theo-eng-code-L2-code-004207
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 26, -0.08, -0.05, 0.6, 0.3, 2)", "assert abs(r0[0] - -0.0571) < 1e-6", "assert abs(r0[1] - 0.3706) < 1e-6", "assert abs(r0[2] - -0.1326) < 1e-6", "r1 = com_zmp(14, 21, 0.0...
theo-eng-code-L1-clarify-007531
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-000226
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1", "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\": 20, \"max_kw\": 250}')", "assert r1[0] == 20", "a...
theo-eng-code-L3-code-003717
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(90, 1800, 80, 0.29, 2.7, 0.013, 0.8, 0.88, 0.85)", "assert abs(r0[0] - 486.6) < 1e-6", "assert abs(r0[1] - 15.72) < 1e-6", "assert abs(r0[2] - 12.58) < 1e-6", "r1 = erange(100...
theo-eng-code-L3-code-007957
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(44, 1630, 60, 0.34, 2.5, 0.012, 0.3, 0.9, 0.95)", "assert abs(r0[0] - 384.0) < 1e-6", "assert abs(r0[1] - 10.89) < 1e-6", "assert abs(r0[2] - 6.53) < 1e-6", "r1 = erange(62, 2...
theo-eng-code-L3-code-009157
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, 220, 450, 0.3)", "assert abs(r0[0] - 381.0) < 1e-6", "assert abs(r0[1] - 2.36) < 1e-6", "assert abs(r0[2] - 141.7) < 1e-6", "r1 = runtime(1.0, 240, 440, 0.7)", "as...
theo-eng-code-L2-code-013794
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([150, 300, 470, 50], 5)", "assert abs(r0 - 1.3472) < 1e-6", "r1 = rect_energy([380, 260, 480, 370, 130], 1)", "assert abs(r1 - 0.45) < 1e-6", "r2 = rect_energy([4...
theo-eng-code-L2-code-015526
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-015624
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.44, 10500, 120)", "assert abs(r0[0] - 14.51) < 1e-6", "assert abs(r0[1] - 723.4) < 1e-6", "r1 = gear_ratio(0.29, 9500, 180)", "assert abs(r1[0] - 5.77) < 1e-6", "asse...
theo-eng-code-L2-code-013527
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 24, -0.05, 0.0, 0.7, 0.8, 0)", "assert abs(r0[0] - -0.0214) < 1e-6", "assert abs(r0[1] - 0.7571) < 1e-6", "assert abs(r0[2] - -0.0214) < 1e-6", "r1 = com_zmp(8, 21, 0.1, ...
theo-eng-code-L3-code-008166
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.0, 0.48, 30, 1.5, 2.0)", "assert abs(r0[0] - 8.24) < 1e-6", "assert abs(r0[1] - 0.6528) < 1e-6", "assert abs(r0[2] - 9.55) < 1e-6", "r1 = joint_torque(5.9, 0.39, 45, 0...
theo-eng-code-L2-code-014023
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 0.1, 0.8)", "assert abs(r0[0] - 0.58) < 1e-6", "assert abs(r0[1] - 35.0) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_...
theo-eng-code-L2-code-003501
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 23, -0.02, -0.02, 0.3, 0.3, 0)", "assert abs(r0[0] - -0.02) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - -0.02) < 1e-6", "r1 = com_zmp(8, 22, 0.01, 0.04,...
theo-eng-code-L2-code-006296
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 120, 350, 0.7)", "assert abs(r0[0] - 189.0) < 1e-6", "assert abs(r0[1] - 2.38) < 1e-6", "assert abs(r0[2] - 142.9) < 1e-6", "r1 = runtime(1.0, 240, 60, 0.3)", "a...
theo-eng-code-L3-code-006684
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": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 240, 430, 0.3)", "assert abs(r0[0] - 373.0) < 1e-6", "assert abs(r0[1] - 2.41) < 1e-6", "assert abs(r0[2] - 144.8) < 1e-6" ], "subtask": "writetests", "verifi...
theo-eng-code-L1-code-000555
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-001838
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([480, 410, 500, 340, 120], 2)", "assert abs(r0 - 1.0278) < 1e-6", "r1 = rect_energy([200, 70, 250, 70], 5)", "assert abs(r1 - 0.8194) < 1e-6", "r2 = rect_energy([...
theo-eng-code-L2-code-011504
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.7, 0.32, 30, 6.5, 3.5)", "assert abs(r0[0] - 13.89) < 1e-6", "assert abs(r0[1] - 0.826) < 1e-6", "assert abs(r0[2] - 16.78) < 1e-6", "r1 = joint_torque(5.1, 0.2, 60,...
theo-eng-code-L1-clarify-011484
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-L3-code-014698
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(40, 2480, 120, 0.26, 1.9, 0.01, 1.3, 0.9, 0.95)", "assert abs(r0[0] - 200.3) < 1e-6", "assert abs(r0[1] - 18.97) < 1e-6", "assert abs(r0[2] - 22.76) < 1e-6", "r1 = erange(72, ...
theo-eng-code-L3-code-003872
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": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(70, 34, 0.25)", "assert abs(r0 - 45.74) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-008155
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 14, 0.07, 0.15, 0.4, 0.9, 2)", "assert abs(r0[0] - 0.1115) < 1e-6", "assert abs(r0[1] - 0.6593) < 1e-6", "assert abs(r0[2] - -0.0229) < 1e-6", "r1 = com_zmp(15, 19, -0.01...
theo-eng-code-L3-code-008882
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 60, 3.6, 50)", "assert r0[0] == 222", "assert r0[1] == 2", "assert r0[2] == 444", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6" ], ...
theo-eng-code-L2-code-015804
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 150, 0.1, 0.8)", "assert abs(r0[0] - 0.58) < 1e-6", "assert abs(r0[1] - 35.0) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_...
theo-eng-code-L3-code-005794
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.26, 8000, 100)", "assert abs(r0[0] - 7.84) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6", "r1 = gear_ratio(0.37, 8000, 150)", "assert abs(r1[0] - 7.44) < 1e-6", "asser...
theo-eng-code-L2-code-009334
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 19, -0.08, -0.02, 0.8, 0.4, 1)", "assert abs(r0[0] - -0.0378) < 1e-6", "assert abs(r0[1] - 0.5185) < 1e-6", "assert abs(r0[2] - -0.0906) < 1e-6", "r1 = com_zmp(18, 13, -0....
theo-eng-code-L3-code-000245
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(80, 22, 0.1, 0.8)", "assert abs(r0[0] - 3.18) < 1e-6", "assert abs(r0[1] - 190.9) < 1e-6", "assert abs(r0[2] - 56.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_time...
theo-eng-code-L2-code-007993
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.2, 0.14, 90, 6.5, 2.0)", "assert abs(r0[0] - 13.18) < 1e-6", "assert abs(r0[1] - 0.1679) < 1e-6", "assert abs(r0[2] - 13.52) < 1e-6", "r1 = joint_torque(4.7, 0.54, 3...
theo-eng-code-L2-code-001264
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 19, 0.05, -0.02, 0.3, 0.3, 0)", "assert abs(r0[0] - 0.0071) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - 0.0071) < 1e-6", "r1 = com_zmp(20, 15, -0.1, -0...
theo-eng-code-L2-code-001311
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 0.56, 30, 1.5, 0.5)", "assert abs(r0[0] - 7.0) < 1e-6", "assert abs(r0[1] - 0.6899) < 1e-6", "assert abs(r0[2] - 7.35) < 1e-6", "r1 = joint_torque(5.3, 0.32, 90, ...
theo-eng-code-L2-code-009842
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 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-014745
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.29, 10000, 150)", "assert abs(r0[0] - 7.29) < 1e-6", "assert abs(r0[1] - 1372.0) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...