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-009517
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([60, 64, 67, 65])", "assert r0[0] == 64", "assert abs(r0[1] - 2.944) < 1e-6", "r1 = summarise([66, 62, 81, 85])", "assert abs(r1[0] - 73.5) < 1e-6", "assert abs(...
theo-eng-code-L2-code-004609
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 80, 3.6, 2.5)", "assert r0[0] == 111", "assert r0[1] == 81", "assert r0[2] == 8991", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 80.919) < 1e-6", "r...
theo-eng-code-L1-clarify-014866
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-code-013828
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": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-010249
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([33, 24, 79, 83, 74])", "assert abs(r0[0] - 58.6) < 1e-6", "assert abs(r0[1] - 27.844) < 1e-6", "r1 = summarise([57, 30, 30, 33])", "assert abs(r1[0] - 37.5) < 1e-6"...
theo-eng-code-L2-code-014479
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 80, 3.7, 5)", "assert r0[0] == 216", "assert r0[1] == 21", "assert r0[2] == 4536", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 83.916) < 1e-6", "r1 ...
theo-eng-code-L3-code-008163
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(18, 12, -0.08, 0.03, 0.3, 0.8, 0)", "assert abs(r0[0] - -0.036) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - -0.036) < 1e-6" ], "subtask": "writetests"...
theo-eng-code-L3-code-008782
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(87, 2430, 80, 0.24, 2.8, 0.013, 1.0, 0.88, 0.85)", "assert abs(r0[0] - 423.8) < 1e-6", "assert abs(r0[1] - 17.45) < 1e-6", "assert abs(r0[2] - 13.96) < 1e-6", "r1 = erange(88,...
theo-eng-code-L2-code-000916
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 140, 340, 0.3)", "assert abs(r0[0] - 280.0) < 1e-6", "assert abs(r0[1] - 1.61) < 1e-6", "assert abs(r0[2] - 96.4) < 1e-6", "r1 = runtime(0.5, 230, 150, 0.5)", "a...
theo-eng-code-L2-code-015139
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = erange(80, 2030, 80, 0.28, 2.5, 0.01, 1.2, 0.88, 0.95)", "assert abs(r0[0] - 525.2) < 1e-6", "assert abs(r0[1] - 14.47) < 1e-6", "assert abs(r0[2] - 11.58) < 1e-6", "r1 = erange(22...
theo-eng-code-L2-code-014602
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 300, 340, 0.7)", "assert abs(r0[0] - 312.0) < 1e-6", "assert abs(r0[1] - 0.29) < 1e-6", "assert abs(r0[2] - 17.3) < 1e-6", "r1 = runtime(0.5, 110, 600, 0.5)", "a...
theo-eng-code-L2-code-012539
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.31, 9500, 120)", "assert abs(r0[0] - 9.25) < 1e-6", "assert abs(r0[1] - 1026.8) < 1e-6", "r1 = gear_ratio(0.37, 11000, 100)", "assert abs(r1[0] - 15.34) < 1e-6", "a...
theo-eng-code-L3-code-010687
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(85, 2540, 120, 0.25, 2.4, 0.01, 0.5, 0.92, 0.9)", "assert abs(r0[0] - 377.4) < 1e-6", "assert abs(r0[1] - 20.27) < 1e-6", "assert abs(r0[2] - 24.32) < 1e-6" ], "subtask...
theo-eng-code-L2-code-001430
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-005219
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-004821
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.34, 7000, 150)", "assert abs(r0[0] - 5.98) < 1e-6", "assert abs(r0[1] - 1170.3) < 1e-6", "r1 = gear_ratio(0.36, 6000, 100)", "assert abs(r1[0] - 8.14) < 1e-6", "ass...
theo-eng-code-L2-code-001022
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(30, [0, 25, 50, 75, 100], [0.79, 0.83, 0.89, 0.9, 0.83])", "assert abs(r0 - 0.842) < 1e-6", "r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.79, 0.82, 0.88, 0.89, 0.84])", "a...
theo-eng-code-L2-code-000767
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 50, 0.2, 0.9)", "assert abs(r0[0] - 0.35) < 1e-6", "assert abs(r0[1] - 21.0) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_tim...
theo-eng-code-L2-code-010841
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(63, 12, 0.25)", "assert abs(r0 - 33.17) < 1e-6", "r1 = rms_torque(69, 13, 0.25)", "assert abs(r1 - 36.29) < 1e-6", "r2 = rms_torque(32, 13, 0.5)", "assert abs(r2 - 24....
theo-eng-code-L3-code-003858
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 240, 190, 0.3)", "assert abs(r0[0] - 205.0) < 1e-6", "assert abs(r0[1] - 0.88) < 1e-6", "assert abs(r0[2] - 52.7) < 1e-6", "r1 = runtime(1.0, 110, 500, 0.3)", "ass...
theo-eng-code-L2-code-009941
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, 20, 0.5)", "assert abs(r0 - 22.64) < 1e-6", "r1 = rms_torque(6, 4, 0.75)", "assert abs(r1 - 5.57) < 1e-6", "r2 = rms_torque(35, 26, 0.5)", "assert abs(r2 - 30.83) ...
theo-eng-code-L2-code-003038
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([260, 450, 280, 220], 5)", "assert abs(r0 - 1.6806) < 1e-6", "r1 = rect_energy([280, 160, 440, 450], 5)", "assert abs(r1 - 1.8472) < 1e-6", "r2 = rect_energy([400...
theo-eng-code-L2-code-007451
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 50, 250, 0.5)", "assert abs(r0[0] - 150.0) < 1e-6", "assert abs(r0[1] - 3.0) < 1e-6", "assert abs(r0[2] - 180.0) < 1e-6", "r1 = runtime(0.5, 210, 460, 0.5)", "as...
theo-eng-code-L3-code-009848
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": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 60, 3.2, 50)", "assert r0[0] == 156", "assert r0[1] == 3", "assert r0[2] == 468", "assert abs(r0[3] - 499.2) < 1e-6", "assert abs(r0[4] - 74.88) < 1e-6" ], ...
theo-eng-code-L1-clarify-006413
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-013750
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(33, 9, 0.25)", "assert abs(r0 - 18.25) < 1e-6", "r1 = rms_torque(60, 4, 0.5)", "assert abs(r1 - 42.52) < 1e-6", "r2 = rms_torque(66, 33, 0.25)", "assert abs(r2 - 43.65...
theo-eng-code-L2-code-001372
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(68, 33, 0.75)", "assert abs(r0 - 61.16) < 1e-6", "r1 = rms_torque(42, 16, 0.5)", "assert abs(r1 - 31.78) < 1e-6", "r2 = rms_torque(45, 34, 0.75)", "assert abs(r2 - 42....
theo-eng-code-L2-code-007533
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 190, 290, 0.5)", "assert abs(r0[0] - 240.0) < 1e-6", "assert abs(r0[1] - 0.75) < 1e-6", "assert abs(r0[2] - 45.0) < 1e-6", "r1 = runtime(0.2, 290, 130, 0.7)", "a...
theo-eng-code-L2-code-001275
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-013231
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(81, 30, 0.25)", "assert abs(r0 - 48.12) < 1e-6", "r1 = rms_torque(45, 11, 0.25)", "assert abs(r1 - 24.43) < 1e-6", "r2 = rms_torque(84, 3, 0.25)", "assert abs(r2 - 42....
theo-eng-code-L2-code-015484
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([460, 170, 360, 100, 100], 1)", "assert abs(r0 - 0.3306) < 1e-6", "r1 = rect_energy([310, 290, 400, 440], 5)", "assert abs(r1 - 2.0) < 1e-6", "r2 = rect_energy([5...
theo-eng-code-L2-code-000611
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 15, -0.02, 0.12, 0.8, 0.6, 0.5)", "assert abs(r0[0] - 0.05) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - 0.0143) < 1e-6", "r1 = com_zmp(14, 13, -0.06, -...
theo-eng-code-L2-code-000453
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(86, 8, 0.25)", "assert abs(r0 - 43.55) < 1e-6", "r1 = rms_torque(47, 5, 0.75)", "assert abs(r1 - 40.78) < 1e-6", "r2 = rms_torque(38, 10, 0.5)", "assert abs(r2 - 27.78...
theo-eng-code-L1-code-011014
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_dictget", "user_template": "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-007939
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_sumloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-012657
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 60, 3.7, 100)", "assert r0[0] == 81", "assert r0[1] == 3", "assert r0[2] == 243", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 89.91) < 1e-6", "r1 = pa...
theo-eng-code-L3-code-004304
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(43, 20, 0.5)", "assert abs(r0 - 33.53) < 1e-6", "r1 = rms_torque(40, 31, 0.75)", "assert abs(r1 - 37.95) < 1e-6", "r2 = rms_torque(60, 30, 0.75)", "assert abs(r2 - 54.08...
theo-eng-code-L2-code-004673
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 0.5], [2.0, 2.5])", "assert abs(r0 - 2.8284) < 1e-6", "r1 = seg_len([4.5, 3.0], [3.5, 4.5])", "assert abs(r1 - 1.8028) < 1e-6", "r2 = seg_len([5.0, 1.0], [4.0, 0.5]...
theo-eng-code-L2-code-012699
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 15, -0.1, 0.03, 0.8, 0.7, 0)", "assert abs(r0[0] - -0.0278) < 1e-6", "assert abs(r0[1] - 0.7444) < 1e-6", "assert abs(r0[2] - -0.0278) < 1e-6", "r1 = com_zmp(5, 11, 0.08,...
theo-eng-code-L3-code-002993
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(65, 39, 0.5)", "assert abs(r0 - 53.6) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L2-code-010995
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(9, 22, -0.07, 0.03, 0.7, 0.4, 1)", "assert abs(r0[0] - 0.001) < 1e-6", "assert abs(r0[1] - 0.4871) < 1e-6", "assert abs(r0[2] - -0.0487) < 1e-6", "r1 = com_zmp(6, 21, -0.1, 0...
theo-eng-code-L2-code-013999
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([300, 50, 230, 490, 190], 5)", "assert abs(r0 - 1.75) < 1e-6", "r1 = rect_energy([140, 160, 170, 150, 500], 5)", "assert abs(r1 - 1.5556) < 1e-6", "r2 = rect_ener...
theo-eng-code-L3-code-003752
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.42, 5500, 100)", "assert abs(r0[0] - 8.71) < 1e-6", "assert abs(r0[1] - 631.6) < 1e-6", "r1 = gear_ratio(0.25, 13500, 180)", "assert abs(r1[0] - 7.07) < 1e-6", "asser...
theo-eng-code-L2-code-007998
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 210, 180, 0.3)", "assert abs(r0[0] - 189.0) < 1e-6", "assert abs(r0[1] - 0.95) < 1e-6", "assert abs(r0[2] - 57.1) < 1e-6", "r1 = runtime(0.2, 130, 540, 0.7)", "a...
theo-eng-code-L2-code-009056
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([180, 180, 280, 460], 1)", "assert abs(r0 - 0.3056) < 1e-6", "r1 = rect_energy([100, 240, 380, 320], 5)", "assert abs(r1 - 1.4444) < 1e-6", "r2 = rect_energy([150...
theo-eng-code-L2-code-001250
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.6, 0.33, 90, 5.0, 2.0)", "assert abs(r0[0] - 23.63) < 1e-6", "assert abs(r0[1] - 0.7115) < 1e-6", "assert abs(r0[2] - 25.06) < 1e-6", "r1 = joint_torque(1.1, 0.31, 6...
theo-eng-code-L2-code-013169
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 10, 0.1, 0.05, 0.6, 0.9, 1)", "assert abs(r0[0] - 0.0815) < 1e-6", "assert abs(r0[1] - 0.7111) < 1e-6", "assert abs(r0[2] - 0.009) < 1e-6", "r1 = com_zmp(19, 25, -0.1, 0....
theo-eng-code-L2-code-013806
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 11500, 120)", "assert abs(r0[0] - 13.37) < 1e-6", "assert abs(r0[1] - 860.3) < 1e-6", "r1 = gear_ratio(0.25, 7000, 150)", "assert abs(r1[0] - 4.4) < 1e-6", "ass...
theo-eng-code-L2-code-000713
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 18, 0.02, 0.04, 0.4, 0.5, 1)", "assert abs(r0[0] - 0.0306) < 1e-6", "assert abs(r0[1] - 0.4529) < 1e-6", "assert abs(r0[2] - -0.0156) < 1e-6", "r1 = com_zmp(9, 28, -0.04,...
theo-eng-code-L3-code-014972
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": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.5, 0.23, 60, 7.5, 1.0)", "assert abs(r0[0] - 20.03) < 1e-6", "assert abs(r0[1] - 0.4937) < 1e-6", "assert abs(r0[2] - 20.52) < 1e-6", "r1 = joint_torque(3.6, 0.52, 30,...
theo-eng-code-L2-code-008998
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3", "style": "code", "source": "template", "tests": [ "r0 = summarise([54, 54, 38, 78, 98])", "assert abs(r0[0] - 64.4) < 1e-6", "assert abs(r0[1] - 23.597) < 1e-6", "r1 = summarise([71, 46, 34, 64])", "assert abs(r1[0] - 53.75) < 1e-6...
theo-eng-code-L3-code-000084
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(60, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.4) < 1e-6", "assert abs(r0[1] - 24.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_time...
theo-eng-code-L3-code-013278
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(74, 1290, 100, 0.37, 2.1, 0.008, 1.1, 0.9, 0.9)", "assert abs(r0[0] - 428.1) < 1e-6", "assert abs(r0[1] - 15.56) < 1e-6", "assert abs(r0[2] - 15.56) < 1e-6", "r1 = erange(75, ...
theo-eng-code-L2-code-002696
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([59, 61, 12, 11, 15])", "assert abs(r0[0] - 31.6) < 1e-6", "assert abs(r0[1] - 25.977) < 1e-6", "r1 = summarise([55, 75, 17, 45, 62, 46])", "assert r1[0] == 50", ...
theo-eng-code-L2-code-011872
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([240, 80, 390, 450], 10)", "assert abs(r0 - 3.2222) < 1e-6", "r1 = rect_energy([400, 210, 140, 330], 1)", "assert abs(r1 - 0.3) < 1e-6", "r2 = rect_energy([430, 2...
theo-eng-code-L2-code-009081
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.4, 0.56, 90, 1.5, 2.0)", "assert abs(r0[0] - 14.83) < 1e-6", "assert abs(r0[1] - 0.7213) < 1e-6", "assert abs(r0[2] - 16.28) < 1e-6", "r1 = joint_torque(5.8, 0.53, 6...
theo-eng-code-L1-code-004926
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": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-010379
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([240, 280, 360, 450, 440], 2)", "assert abs(r0 - 0.9833) < 1e-6", "r1 = rect_energy([370, 490, 120, 150, 360], 10)", "assert abs(r1 - 4.1389) < 1e-6", "r2 = rect_...
theo-eng-code-L2-code-002168
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 80, 3.7, 10)", "assert r0[0] == 54", "assert r0[1] == 41", "assert r0[2] == 2214", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 81.918) < 1e-6", "r1 ...
theo-eng-code-L3-code-002269
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.5, 190, 260, 0.3)", "assert abs(r0[0] - 239.0) < 1e-6", "assert abs(r0[1] - 1.88) < 1e-6", "assert abs(r0[2] - 113.0) < 1e-6" ], "subtask": "writetests", "verifi...
theo-eng-code-L1-code-015227
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_loop_sum", "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-002595
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.1, 1.0)", "assert abs(r0[0] - 4.09) < 1e-6", "assert abs(r0[1] - 245.5) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-008460
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(91, 1740, 60, 0.29, 2.2, 0.007, 1.2, 0.88, 0.95)", "assert abs(r0[0] - 939.9) < 1e-6", "assert abs(r0[1] - 9.2) < 1e-6", "assert abs(r0[2] - 5.52) < 1e-6", "r1 = erange(100,...
theo-eng-code-L1-clarify-001847
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-L2-code-002453
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.53) < 1e-6", "assert abs(r0[1] - 32.0) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L3-code-004595
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(44, 16, 0.25)", "assert abs(r0 - 26.0) < 1e-6", "r1 = rms_torque(46, 20, 0.75)", "assert abs(r1 - 41.07) < 1e-6", "r2 = rms_torque(86, 25, 0.25)", "assert abs(r2 - 48.14...
theo-eng-code-L1-code-010559
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_countdown", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-014483
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.44, 15000, 150)", "assert abs(r0[0] - 16.59) < 1e-6", "assert abs(r0[1] - 904.3) < 1e-6", "r1 = gear_ratio(0.26, 4500, 100)", "assert abs(r1[0] - 4.41) < 1e-6", "asse...
theo-eng-code-L3-code-015891
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 28, 0.03, 0.03, 0.6, 0.9, 0)", "assert abs(r0[0] - 0.03) < 1e-6", "assert abs(r0[1] - 0.7867) < 1e-6", "assert abs(r0[2] - 0.03) < 1e-6", "r1 = com_zmp(19, 28, -0.03, 0.08,...
theo-eng-code-L3-code-007841
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(0.9, 0.3, 45, 6.5, 2.5)", "assert abs(r0[0] - 14.46) < 1e-6", "assert abs(r0[1] - 0.612) < 1e-6", "assert abs(r0[2] - 15.99) < 1e-6", "r1 = joint_torque(2.7, 0.5, 30, 7....
theo-eng-code-L2-code-011402
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(7, 29, -0.1, 0.11, 0.8, 0.3, 0.5)", "assert abs(r0[0] - 0.0692) < 1e-6", "assert abs(r0[1] - 0.3972) < 1e-6", "assert abs(r0[2] - 0.0489) < 1e-6", "r1 = com_zmp(10, 10, 0.1, ...
theo-eng-code-L2-code-010087
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-005309
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(29, 10, 0.25)", "assert abs(r0 - 16.89) < 1e-6", "r1 = rms_torque(49, 23, 0.25)", "assert abs(r1 - 31.58) < 1e-6", "r2 = rms_torque(25, 11, 0.5)", "assert abs(r2 - 19....
theo-eng-code-L3-code-004842
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 10, 0.0, 0.13, 0.5, 0.7, 1)", "assert abs(r0[0] - 0.0481) < 1e-6", "assert abs(r0[1] - 0.5741) < 1e-6", "assert abs(r0[2] - -0.0104) < 1e-6", "r1 = com_zmp(20, 15, -0.02, 0...
theo-eng-code-L2-code-000922
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')", "assert r0[0] == 60", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')", "assert r1[0] == 40", "...
theo-eng-code-L3-code-012124
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 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", "r1 = pa...
theo-eng-code-L1-code-013788
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": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-refuse-001207
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": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-008508
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(15, 11, -0.09, -0.02, 0.7, 0.7, 0.5)", "assert abs(r0[0] - -0.0604) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - -0.0961) < 1e-6", "r1 = com_zmp(13, 26, -0....
theo-eng-code-L3-code-000368
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(11, 20, -0.03, 0.09, 0.8, 0.7, 0)", "assert abs(r0[0] - 0.0474) < 1e-6", "assert abs(r0[1] - 0.7355) < 1e-6", "assert abs(r0[2] - 0.0474) < 1e-6" ], "subtask": "writetes...
theo-eng-code-L2-code-000784
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.1, 0.36, 30, 8.0, 1.0)", "assert abs(r0[0] - 16.86) < 1e-6", "assert abs(r0[1] - 1.1707) < 1e-6", "assert abs(r0[2] - 18.03) < 1e-6", "r1 = joint_torque(7.8, 0.23, 4...
theo-eng-code-L2-code-001944
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([120, 350, 120, 220], 1)", "assert abs(r0 - 0.225) < 1e-6", "r1 = rect_energy([430, 200, 470, 140, 160], 2)", "assert abs(r1 - 0.7778) < 1e-6", "r2 = rect_energy(...
theo-eng-code-L2-code-012316
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 40, 3.6, 10)", "assert r0[0] == 111", "assert r0[1] == 11", "assert r0[2] == 1221", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 43.956) < 1e-6", "r1...
theo-eng-code-L1-code-007569
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_modulo", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-012434
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": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.43, 4500, 180)", "assert abs(r0[0] - 4.05) < 1e-6", "assert abs(r0[1] - 1110.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-004006
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([160, 500, 450, 290], 2)", "assert abs(r0 - 0.7778) < 1e-6", "r1 = rect_energy([350, 410, 480], 10)", "assert abs(r1 - 3.4444) < 1e-6", "r2 = rect_energy([320, 19...
theo-eng-code-L2-code-000695
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.41, 12000, 150)", "assert abs(r0[0] - 12.37) < 1e-6", "assert abs(r0[1] - 970.5) < 1e-6", "r1 = gear_ratio(0.38, 10000, 100)", "assert abs(r1[0] - 14.33) < 1e-6", "...
theo-eng-code-L2-code-005235
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 29, -0.04, -0.03, 0.6, 0.7, 2)", "assert abs(r0[0] - -0.0328) < 1e-6", "assert abs(r0[1] - 0.6725) < 1e-6", "assert abs(r0[2] - -0.1699) < 1e-6", "r1 = com_zmp(8, 16, -0....
theo-eng-code-L2-code-001720
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(6, 17, 0.0, 0.05, 0.5, 0.3, 0.5)", "assert abs(r0[0] - 0.037) < 1e-6", "assert abs(r0[1] - 0.3522) < 1e-6", "assert abs(r0[2] - 0.019) < 1e-6", "r1 = com_zmp(11, 19, -0.04, 0...
theo-eng-code-L2-code-005056
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(55, 2660, 80, 0.32, 2.1, 0.007, 1.3, 0.9, 0.9)", "assert abs(r0[0] - 365.7) < 1e-6", "assert abs(r0[1] - 13.54) < 1e-6", "assert abs(r0[2] - 10.83) < 1e-6", "r1 = erange(38,...
theo-eng-code-L3-code-013277
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 170, 400, 0.5)", "assert abs(r0[0] - 285.0) < 1e-6", "assert abs(r0[1] - 3.16) < 1e-6", "assert abs(r0[2] - 189.5) < 1e-6", "r1 = runtime(0.1, 70, 210, 0.3)", "ass...
theo-eng-code-L2-code-014196
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 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 =...
theo-eng-code-L3-code-007231
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(20, 7, 0.2, 0.8)", "assert abs(r0[0] - 2.14) < 1e-6", "assert abs(r0[1] - 128.6) < 1e-6", "assert abs(r0[2] - 12.0) < 1e-6", "assert r0[3] == 7" ], "subtask":...
theo-eng-code-L2-code-004076
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.7, 0.54, 30, 3.5, 0.5)", "assert abs(r0[0] - 10.2) < 1e-6", "assert abs(r0[1] - 1.0886) < 1e-6", "assert abs(r0[2] - 10.74) < 1e-6", "r1 = joint_torque(6.5, 0.38, 30...
theo-eng-code-L2-code-007394
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 7, 0.2, 0.9)", "assert abs(r0[0] - 2.5) < 1e-6", "assert abs(r0[1] - 150.0) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L3-code-009348
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 50, 0.1, 0.8)", "assert abs(r0[0] - 0.35) < 1e-6", "assert abs(r0[1] - 21.0) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 50" ], "subtask"...
theo-eng-code-L3-code-000279
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(64, 2460, 100, 0.32, 2.9, 0.007, 1.3, 0.9, 0.95)", "assert abs(r0[0] - 303.2) < 1e-6", "assert abs(r0[1] - 20.05) < 1e-6", "assert abs(r0[2] - 20.05) < 1e-6", "r1 = erange(49,...
theo-eng-code-L1-refuse-004734
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_unlock_speed", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L1-code-003721
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_strmul", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-000158
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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" }