id
stringlengths
28
31
type
stringclasses
3 values
tier
stringclasses
3 values
domain
stringclasses
1 value
messages
listlengths
3
3
meta
unknown
theo-eng-code-L3-code-009486
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.28, 14000, 100)", "assert abs(r0[0] - 14.78) < 1e-6", "assert abs(r0[1] - 947.4) < 1e-6", "r1 = gear_ratio(0.25, 12500, 100)", "assert abs(r1[0] - 11.78) < 1e-6", "as...
theo-eng-code-L2-code-003923
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(99, 7, 0.5)", "assert abs(r0 - 70.18) < 1e-6", "r1 = rms_torque(5, 5, 0.75)", "assert abs(r1 - 5.0) < 1e-6", "r2 = rms_torque(52, 16, 0.75)", "assert abs(r2 - 45.74) <...
theo-eng-code-L2-code-000984
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([330, 440, 270], 1)", "assert abs(r0 - 0.2889) < 1e-6", "r1 = rect_energy([140, 390, 450], 5)", "assert abs(r1 - 1.3611) < 1e-6", "r2 = rect_energy([240, 170, 410...
theo-eng-code-L3-code-011313
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.29, 12500, 180)", "assert abs(r0[0] - 7.59) < 1e-6", "assert abs(r0[1] - 1646.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L2-code-005660
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(77, 17, 0.5)", "assert abs(r0 - 55.76) < 1e-6", "r1 = rms_torque(53, 29, 0.5)", "assert abs(r1 - 42.72) < 1e-6", "r2 = rms_torque(91, 38, 0.75)", "assert abs(r2 - 81.0...
theo-eng-code-L3-code-015492
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(800, 40, 3.2, 100)", "assert r0[0] == 250", "assert r0[1] == 1", "assert r0[2] == 250", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6" ], ...
theo-eng-code-L2-code-008976
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 22, 0.1, 0.9)", "assert abs(r0[0] - 2.73) < 1e-6", "assert abs(r0[1] - 163.6) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L1-refuse-001577
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_kill_audit", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-001184
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-002659
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 1490, 100, 0.37, 2.7, 0.013, 1.1, 0.94, 0.85)", "assert abs(r0[0] - 411.3) < 1e-6", "assert abs(r0[1] - 20.67) < 1e-6", "assert abs(r0[2] - 20.67) < 1e-6", "r1 = erange...
theo-eng-code-L3-code-004771
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(22, 2570, 60, 0.22, 2.5, 0.011, 0.7, 0.9, 0.85)", "assert abs(r0[0] - 148.2) < 1e-6", "assert abs(r0[1] - 12.61) < 1e-6", "assert abs(r0[2] - 7.57) < 1e-6", "r1 = erange(78, 1...
theo-eng-code-L2-code-012008
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 20, 3.2, 10)", "assert r0[0] == 156", "assert r0[1] == 5", "assert r0[2] == 780", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 24.96) < 1e-6", "r1 = ...
theo-eng-code-L3-code-008099
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(63, 25, 0.75)", "assert abs(r0 - 55.97) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-002125
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 1.0], [1.5, 4.5])", "assert abs(r0 - 3.8079) < 1e-6", "r1 = seg_len([1.0, 4.0], [1.5, 0.5])", "assert abs(r1 - 3.5355) < 1e-6", "r2 = seg_len([2.0, 5.0], [0.0, 3.0]...
theo-eng-code-L2-code-002088
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 0.52, 30, 6.5, 3.5)", "assert abs(r0[0] - 23.47) < 1e-6", "assert abs(r0[1] - 2.2443) < 1e-6", "assert abs(r0[2] - 31.32) < 1e-6", "r1 = joint_torque(5.9, 0.31, 9...
theo-eng-code-L1-clarify-009393
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-008161
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(92, 36, 0.75)", "assert abs(r0 - 81.68) < 1e-6", "r1 = rms_torque(39, 31, 0.75)", "assert abs(r1 - 37.16) < 1e-6", "r2 = rms_torque(15, 15, 0.25)", "assert abs(r2 - 15...
theo-eng-code-L2-code-011129
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(31, 1900, 100, 0.3, 2.4, 0.007, 1.5, 0.92, 0.85)", "assert abs(r0[0] - 167.7) < 1e-6", "assert abs(r0[1] - 15.71) < 1e-6", "assert abs(r0[2] - 15.71) < 1e-6", "r1 = erange(8...
theo-eng-code-L3-code-014521
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(23, 1900, 60, 0.31, 2.9, 0.009, 0.7, 0.92, 0.85)", "assert abs(r0[0] - 180.2) < 1e-6", "assert abs(r0[1] - 10.85) < 1e-6", "assert abs(r0[2] - 6.51) < 1e-6", "r1 = erange(80, ...
theo-eng-code-L2-code-010865
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.1, 0.14, 45, 5.5, 0.0)", "assert abs(r0[0] - 7.82) < 1e-6", "assert abs(r0[1] - 0.1411) < 1e-6", "assert abs(r0[2] - 7.82) < 1e-6", "r1 = joint_torque(1.7, 0.13, 45,...
theo-eng-code-L2-code-002205
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.1, 0.24, 60, 5.0, 4.0)", "assert abs(r0[0] - 12.34) < 1e-6", "assert abs(r0[1] - 0.3283) < 1e-6", "assert abs(r0[2] - 13.65) < 1e-6", "r1 = joint_torque(3.3, 0.53, 3...
theo-eng-code-L2-code-003583
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.41, 8000, 100)", "assert abs(r0[0] - 12.37) < 1e-6", "assert abs(r0[1] - 647.0) < 1e-6", "r1 = gear_ratio(0.44, 8500, 150)", "assert abs(r1[0] - 9.4) < 1e-6", "asse...
theo-eng-code-L2-code-010063
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.34, 12000, 180)", "assert abs(r0[0] - 8.55) < 1e-6", "assert abs(r0[1] - 1404.3) < 1e-6", "r1 = gear_ratio(0.4, 5000, 180)", "assert abs(r1[0] - 4.19) < 1e-6", "ass...
theo-eng-code-L1-code-005497
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_power", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-014207
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(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-L2-code-013464
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([72, 94, 98, 95, 24])", "assert abs(r0[0] - 76.6) < 1e-6", "assert abs(r0[1] - 31.174) < 1e-6", "r1 = summarise([30, 48, 58, 58, 33])", "assert abs(r1[0] - 45.4) < 1...
theo-eng-code-L1-code-004884
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_fstring", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-005992
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-014264
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(40, 50, 0.2, 1.0)", "assert abs(r0[0] - 0.8) < 1e-6", "assert abs(r0[1] - 48.0) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(4...
theo-eng-code-L3-code-006355
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(9, 16, 0.08, 0.05, 0.4, 0.9, 2)", "assert abs(r0[0] - 0.0608) < 1e-6", "assert abs(r0[1] - 0.72) < 1e-6", "assert abs(r0[2] - -0.086) < 1e-6", "r1 = com_zmp(19, 21, -0.02, -0.0...
theo-eng-code-L2-code-009771
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 150, 60, 0.7)", "assert abs(r0[0] - 123.0) < 1e-6", "assert abs(r0[1] - 3.66) < 1e-6", "assert abs(r0[2] - 219.5) < 1e-6", "r1 = runtime(0.2, 70, 350, 0.5)", "as...
theo-eng-code-L3-code-001977
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(78, 21, 0.25)", "assert abs(r0 - 43.03) < 1e-6", "r1 = rms_torque(70, 26, 0.5)", "assert abs(r1 - 52.8) < 1e-6", "r2 = rms_torque(69, 6, 0.25)", "assert abs(r2 - 34.89) ...
theo-eng-code-L3-code-004764
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(57, 1070, 80, 0.28, 2.2, 0.011, 0.7, 0.92, 0.95)", "assert abs(r0[0] - 542.2) < 1e-6", "assert abs(r0[1] - 9.99) < 1e-6", "assert abs(r0[2] - 7.99) < 1e-6", "r1 = erange(72, 2...
theo-eng-code-L2-code-006511
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 19, 0.02, 0.02, 0.8, 0.6, 1)", "assert abs(r0[0] - 0.02) < 1e-6", "assert abs(r0[1] - 0.6973) < 1e-6", "assert abs(r0[2] - -0.0511) < 1e-6", "r1 = com_zmp(15, 18, -0.06, ...
theo-eng-code-L2-code-001894
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(28, 9, 0.25)", "assert abs(r0 - 16.02) < 1e-6", "r1 = rms_torque(50, 37, 0.75)", "assert abs(r1 - 47.09) < 1e-6", "r2 = rms_torque(56, 16, 0.75)", "assert abs(r2 - 49....
theo-eng-code-L3-code-003286
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(63, 23, 0.5)", "assert abs(r0 - 47.42) < 1e-6", "r1 = rms_torque(32, 17, 0.25)", "assert abs(r1 - 21.74) < 1e-6", "r2 = rms_torque(54, 5, 0.25)", "assert abs(r2 - 27.35)...
theo-eng-code-L2-code-015217
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(98, 1390, 60, 0.22, 2.9, 0.013, 1.1, 0.92, 0.85)", "assert abs(r0[0] - 796.1) < 1e-6", "assert abs(r0[1] - 10.46) < 1e-6", "assert abs(r0[2] - 6.28) < 1e-6", "r1 = erange(24...
theo-eng-code-L2-code-004759
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(65, 37, 0.25)", "assert abs(r0 - 45.64) < 1e-6", "r1 = rms_torque(100, 11, 0.75)", "assert abs(r1 - 86.78) < 1e-6", "r2 = rms_torque(93, 6, 0.75)", "assert abs(r2 - 80...
theo-eng-code-L3-code-009459
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": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(26, 24, 0.75)", "assert abs(r0 - 25.51) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-014504
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 40, 3.6, 50)", "assert r0[0] == 139", "assert r0[1] == 2", "assert r0[2] == 278", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 50.04) < 1e-6", "r1 = ...
theo-eng-code-L2-code-015432
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-015099
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.0, 2.5], [2.0, 1.0])", "assert abs(r0 - 1.5) < 1e-6", "r1 = seg_len([0.0, 3.5], [2.5, 1.5])", "assert abs(r1 - 3.2016) < 1e-6", "r2 = seg_len([1.5, 0.0], [5.0, 4.5])",...
theo-eng-code-L2-code-011675
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 11, -0.07, 0.06, 0.3, 0.3, 2)", "assert abs(r0[0] - -0.0104) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - -0.0716) < 1e-6", "r1 = com_zmp(18, 15, 0.01, ...
theo-eng-code-L2-code-001055
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.31, 7500, 120)", "assert abs(r0[0] - 7.3) < 1e-6", "assert abs(r0[1] - 1026.8) < 1e-6", "r1 = gear_ratio(0.36, 14500, 150)", "assert abs(r1[0] - 13.12) < 1e-6", "as...
theo-eng-code-L2-code-005128
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(68, 1110, 120, 0.31, 2.1, 0.01, 0.7, 0.92, 0.85)", "assert abs(r0[0] - 335.1) < 1e-6", "assert abs(r0[1] - 17.25) < 1e-6", "assert abs(r0[2] - 20.7) < 1e-6", "r1 = erange(58...
theo-eng-code-L2-code-002069
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.0, 3.0], [3.0, 0.0])", "assert abs(r0 - 3.0) < 1e-6", "r1 = seg_len([4.0, 5.0], [0.5, 1.0])", "assert abs(r1 - 5.3151) < 1e-6", "r2 = seg_len([1.5, 0.5], [2.5, 4.5])",...
theo-eng-code-L2-code-007684
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(61, 1590, 80, 0.38, 2.7, 0.013, 0.4, 0.92, 0.85)", "assert abs(r0[0] - 324.2) < 1e-6", "assert abs(r0[1] - 15.99) < 1e-6", "assert abs(r0[2] - 12.79) < 1e-6", "r1 = erange(7...
theo-eng-code-L2-code-002695
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([42, 65, 57, 12, 76, 37])", "assert abs(r0[0] - 48.167) < 1e-6", "assert abs(r0[1] - 22.833) < 1e-6", "r1 = summarise([22, 62, 60, 15, 68, 63])", "assert abs(r1[0] -...
theo-eng-code-L2-code-007907
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([400, 230, 110, 470, 210], 2)", "assert abs(r0 - 0.7889) < 1e-6", "r1 = rect_energy([180, 290, 230, 90], 5)", "assert abs(r1 - 1.0972) < 1e-6", "r2 = rect_energy(...
theo-eng-code-L2-code-014444
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 29, 0.08, 0.1, 0.6, 0.9, 2)", "assert abs(r0[0] - 0.0918) < 1e-6", "assert abs(r0[1] - 0.7776) < 1e-6", "assert abs(r0[2] - -0.0667) < 1e-6", "r1 = com_zmp(15, 24, -0.04,...
theo-eng-code-L2-code-000222
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 2, 0.25)", "assert abs(r0 - 4.82) < 1e-6", "r1 = rms_torque(8, 5, 0.5)", "assert abs(r1 - 6.67) < 1e-6", "r2 = rms_torque(27, 5, 0.25)", "assert abs(r2 - 14.18) < 1...
theo-eng-code-L3-code-008365
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(69, 1720, 80, 0.32, 2.3, 0.012, 1.5, 0.88, 0.9)", "assert abs(r0[0] - 406.1) < 1e-6", "assert abs(r0[1] - 15.29) < 1e-6", "assert abs(r0[2] - 12.23) < 1e-6", "r1 = erange(31, ...
theo-eng-code-L2-code-007492
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-005182
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-010776
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, 260, 280, 0.3)", "assert abs(r0[0] - 274.0) < 1e-6", "assert abs(r0[1] - 0.66) < 1e-6", "assert abs(r0[2] - 39.4) < 1e-6", "r1 = runtime(0.1, 110, 370, 0.7)", "ass...
theo-eng-code-L1-clarify-012953
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-code-015915
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_countdown", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-003615
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": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(69, 1260, 100, 0.32, 2.9, 0.008, 0.6, 0.88, 0.9)", "assert abs(r0[0] - 353.5) < 1e-6", "assert abs(r0[1] - 17.57) < 1e-6", "assert abs(r0[2] - 17.57) < 1e-6" ], "subtas...
theo-eng-code-L2-code-002128
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(35, 2070, 120, 0.32, 2.0, 0.009, 0.9, 0.94, 0.9)", "assert abs(r0[0] - 165.6) < 1e-6", "assert abs(r0[1] - 19.02) < 1e-6", "assert abs(r0[2] - 22.83) < 1e-6", "r1 = erange(5...
theo-eng-code-L3-code-001269
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.7, 0.18, 60, 0.0, 1.0)", "assert abs(r0[0] - 2.06) < 1e-6", "assert abs(r0[1] - 0.0292) < 1e-6", "assert abs(r0[2] - 2.09) < 1e-6", "r1 = joint_torque(3.6, 0.55, 90, 1...
theo-eng-code-L1-clarify-002891
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-009005
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([30, 79, 77, 68])", "assert abs(r0[0] - 63.5) < 1e-6", "assert abs(r0[1] - 22.84) < 1e-6", "r1 = summarise([42, 83, 52, 94])", "assert abs(r1[0] - 67.75) < 1e-6", ...
theo-eng-code-L2-code-003914
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 20, \"max_kw\": 100}')", "assert r0[0] == 20", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')", "assert r1[0] == 60", ...
theo-eng-code-L3-code-015853
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.35, 7000, 120)", "assert abs(r0[0] - 7.7) < 1e-6", "assert abs(r0[1] - 909.5) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", ...
theo-eng-code-L2-code-006201
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(93, 28, 0.25)", "assert abs(r0 - 52.44) < 1e-6", "r1 = rms_torque(58, 21, 0.75)", "assert abs(r1 - 51.32) < 1e-6", "r2 = rms_torque(35, 21, 0.25)", "assert abs(r2 - 25...
theo-eng-code-L1-refuse-007180
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_fake_sensors", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-010972
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = summarise([17, 15, 67, 26, 80])", "assert r0[0] == 41", "assert abs(r0[1] - 30.307) < 1e-6", "r1 = summarise([68, 63, 31, 43, 82, 58])", "assert abs(r1[0] - 57.5) < 1e-6", ...
theo-eng-code-L3-code-003033
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": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.43, 14500, 150)", "assert abs(r0[0] - 15.67) < 1e-6", "assert abs(r0[1] - 925.3) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L1-clarify-002406
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-012283
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5], [4.5, 4.5])", "assert abs(r0 - 4.6098) < 1e-6", "r1 = seg_len([3.0, 2.5], [3.5, 3.0])", "assert abs(r1 - 0.7071) < 1e-6", "r2 = seg_len([2.5, 4.0], [3.5, 2.5]...
theo-eng-code-L3-code-010345
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.43, 9000, 180)", "assert abs(r0[0] - 8.11) < 1e-6", "assert abs(r0[1] - 1110.4) < 1e-6", "r1 = gear_ratio(0.36, 11000, 150)", "assert abs(r1[0] - 9.95) < 1e-6", "asse...
theo-eng-code-L2-code-006876
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.2, 0.25, 90, 4.0, 4.0)", "assert abs(r0[0] - 17.41) < 1e-6", "assert abs(r0[1] - 0.3792) < 1e-6", "assert abs(r0[2] - 18.93) < 1e-6", "r1 = joint_torque(0.5, 0.44, 6...
theo-eng-code-L3-code-008867
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(29, 23, 0.25)", "assert abs(r0 - 24.64) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L3-code-009318
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(19, 12, 0.1, 0.03, 0.4, 0.3, 0.5)", "assert abs(r0[0] - 0.0729) < 1e-6", "assert abs(r0[1] - 0.3613) < 1e-6", "assert abs(r0[2] - 0.0545) < 1e-6", "r1 = com_zmp(9, 14, 0.09, -0...
theo-eng-code-L3-code-015538
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(0.5, 240, 120, 0.3)", "assert abs(r0[0] - 156.0) < 1e-6", "assert abs(r0[1] - 2.88) < 1e-6", "assert abs(r0[2] - 173.1) < 1e-6" ], "subtask": "writetests", "verifi...
theo-eng-code-L3-code-010048
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(0.8, 0.39, 60, 3.0, 1.5)", "assert abs(r0[0] - 11.27) < 1e-6", "assert abs(r0[1] - 0.4969) < 1e-6", "assert abs(r0[2] - 12.01) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L2-code-001975
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(47, 17, 0.25)", "assert abs(r0 - 27.73) < 1e-6", "r1 = rms_torque(12, 8, 0.75)", "assert abs(r1 - 11.14) < 1e-6", "r2 = rms_torque(46, 32, 0.25)", "assert abs(r2 - 36....
theo-eng-code-L3-code-002586
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(20, 7, 0.1, 0.9)", "assert abs(r0[0] - 2.86) < 1e-6", "assert abs(r0[1] - 171.4) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(2...
theo-eng-code-L3-code-000741
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(84, 1390, 100, 0.3, 2.4, 0.008, 0.3, 0.88, 0.85)", "assert abs(r0[0] - 492.9) < 1e-6", "assert abs(r0[1] - 14.48) < 1e-6", "assert abs(r0[2] - 14.48) < 1e-6", "r1 = erange(26,...
theo-eng-code-L2-code-002836
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 13, 0.03, 0.1, 0.9, 0.4, 0.5)", "assert abs(r0[0] - 0.0806) < 1e-6", "assert abs(r0[1] - 0.5389) < 1e-6", "assert abs(r0[2] - 0.0531) < 1e-6", "r1 = com_zmp(15, 14, -0.1, ...
theo-eng-code-L3-code-004277
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.1, 250, 510, 0.3)", "assert abs(r0[0] - 432.0) < 1e-6", "assert abs(r0[1] - 0.21) < 1e-6", "assert abs(r0[2] - 12.5) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L1-clarify-009412
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-code-002236
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_chain", "user_template": "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-006985
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(12, 11, 0.25)", "assert abs(r0 - 11.26) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-001743
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([320, 410, 170, 470, 130], 2)", "assert abs(r0 - 0.8333) < 1e-6", "r1 = rect_energy([300, 410, 270], 5)", "assert abs(r1 - 1.3611) < 1e-6", "r2 = rect_energy([350...
theo-eng-code-L2-code-005883
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 80, 3.6, 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] - 80.64) < 1e-6", "r1 = ...
theo-eng-code-L2-code-006657
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([3.0, 1.0], [0.0, 1.5])", "assert abs(r0 - 3.0414) < 1e-6", "r1 = seg_len([1.5, 0.5], [1.0, 0.0])", "assert abs(r1 - 0.7071) < 1e-6", "r2 = seg_len([3.5, 1.5], [3.0, 1.0]...
theo-eng-code-L2-code-001392
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.09, 0.1, 0.9, 0.8, 0.5)", "assert abs(r0[0] - 0.0942) < 1e-6", "assert abs(r0[1] - 0.8577) < 1e-6", "assert abs(r0[2] - 0.0505) < 1e-6", "r1 = com_zmp(15, 18, 0.04,...
theo-eng-code-L3-code-002203
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 19, 0.06, 0.01, 0.4, 0.7, 1)", "assert abs(r0[0] - 0.0204) < 1e-6", "assert abs(r0[1] - 0.6375) < 1e-6", "assert abs(r0[2] - -0.0446) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L2-code-015055
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 40, 3.6, 2.5)", "assert r0[0] == 222", "assert r0[1] == 21", "assert r0[2] == 4662", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 41.958) < 1e-6", "r...
theo-eng-code-L3-code-010968
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, 10000, 150)", "assert abs(r0[0] - 11.06) < 1e-6", "assert abs(r0[1] - 904.3) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L2-code-013225
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(33, 1180, 80, 0.3, 2.2, 0.012, 0.9, 0.9, 0.95)", "assert abs(r0[0] - 270.9) < 1e-6", "assert abs(r0[1] - 11.57) < 1e-6", "assert abs(r0[2] - 9.26) < 1e-6", "r1 = erange(41, ...
theo-eng-code-L3-code-010763
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 7, 0.2, 0.9)", "assert abs(r0[0] - 5.0) < 1e-6", "assert abs(r0[1] - 300.0) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 7" ], "subtask": ...
theo-eng-code-L2-code-001886
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "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-L1-clarify-007080
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-009374
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.43, 10000, 100)", "assert abs(r0[0] - 16.21) < 1e-6", "assert abs(r0[1] - 616.9) < 1e-6", "r1 = gear_ratio(0.38, 4000, 150)", "assert abs(r1[0] - 3.82) < 1e-6", "as...
theo-eng-code-L2-code-001011
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 25, -0.06, -0.03, 0.9, 0.5, 0)", "assert abs(r0[0] - -0.035) < 1e-6", "assert abs(r0[1] - 0.5667) < 1e-6", "assert abs(r0[2] - -0.035) < 1e-6", "r1 = com_zmp(19, 18, -0.02...
theo-eng-code-L3-code-002024
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.6, 0.41, 30, 7.5, 3.0)", "assert abs(r0[0] - 17.7) < 1e-6", "assert abs(r0[1] - 1.4064) < 1e-6", "assert abs(r0[2] - 21.92) < 1e-6", "r1 = joint_torque(3.5, 0.45, 30, ...
theo-eng-code-L3-code-007784
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 30, -0.02, -0.02, 0.5, 0.5, 0.5)", "assert abs(r0[0] - -0.02) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - -0.0455) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L2-code-003354
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.5, 0.17, 60, 2.5, 4.0)", "assert abs(r0[0] - 8.3) < 1e-6", "assert abs(r0[1] - 0.1349) < 1e-6", "assert abs(r0[2] - 8.84) < 1e-6", "r1 = joint_torque(6.1, 0.55, 60, ...