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-014362
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 240, 420, 0.3)", "assert abs(r0[0] - 366.0) < 1e-6", "assert abs(r0[1] - 1.23) < 1e-6", "assert abs(r0[2] - 73.8) < 1e-6", "r1 = runtime(0.2, 290, 460, 0.7)", "a...
theo-eng-code-L3-code-000382
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(27, 2720, 120, 0.32, 2.8, 0.013, 0.3, 0.9, 0.85)", "assert abs(r0[0] - 77.1) < 1e-6", "assert abs(r0[1] - 29.78) < 1e-6", "assert abs(r0[2] - 35.73) < 1e-6", "r1 = erange(34, ...
theo-eng-code-L3-code-003335
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(8, 10, 0.03, 0.12, 0.3, 0.8, 1)", "assert abs(r0[0] - 0.08) < 1e-6", "assert abs(r0[1] - 0.5778) < 1e-6", "assert abs(r0[2] - 0.0211) < 1e-6", "r1 = com_zmp(16, 16, 0.05, 0.07,...
theo-eng-code-L3-code-014263
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(10, 17, -0.03, 0.1, 0.7, 0.3, 0)", "assert abs(r0[0] - 0.0519) < 1e-6", "assert abs(r0[1] - 0.4481) < 1e-6", "assert abs(r0[2] - 0.0519) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L2-code-013108
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 60, 3.7, 50)", "assert r0[0] == 108", "assert r0[1] == 4", "assert r0[2] == 432", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6", "r1 = ...
theo-eng-code-L2-code-002189
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-010878
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.9, 0.18, 45, 0.5, 1.0)", "assert abs(r0[0] - 1.81) < 1e-6", "assert abs(r0[1] - 0.0367) < 1e-6", "assert abs(r0[2] - 1.85) < 1e-6", "r1 = joint_torque(1.7, 0.24, 30,...
theo-eng-code-L3-code-009016
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(53, 2300, 120, 0.22, 2.7, 0.008, 0.6, 0.9, 0.9)", "assert abs(r0[0] - 257.2) < 1e-6", "assert abs(r0[1] - 18.55) < 1e-6", "assert abs(r0[2] - 22.26) < 1e-6", "r1 = erange(80, ...
theo-eng-code-L3-code-015233
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": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 14, -0.08, 0.0, 0.5, 0.3, 0.5)", "assert abs(r0[0] - -0.0439) < 1e-6", "assert abs(r0[1] - 0.4097) < 1e-6", "assert abs(r0[2] - -0.0648) < 1e-6", "r1 = com_zmp(15, 12, 0.04...
theo-eng-code-L2-code-005270
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([170, 460, 170, 170, 330], 1)", "assert abs(r0 - 0.3611) < 1e-6", "r1 = rect_energy([270, 280, 410, 120, 140], 2)", "assert abs(r1 - 0.6778) < 1e-6", "r2 = rect_e...
theo-eng-code-L1-code-015168
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_average", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-007632
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, [0, 25, 50, 75, 100], [0.74, 0.8, 0.86, 0.88, 0.81])", "assert abs(r0 - 0.848) < 1e-6", "r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.78, 0.8, 0.89, 0.9, 0.8])", "asse...
theo-eng-code-L2-code-006524
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([470, 340, 60, 370], 10)", "assert abs(r0 - 3.4444) < 1e-6", "r1 = rect_energy([70, 180, 490], 2)", "assert abs(r1 - 0.4111) < 1e-6", "r2 = rect_energy([260, 210,...
theo-eng-code-L2-code-012278
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.0, 5.0], [4.0, 1.5])", "assert abs(r0 - 3.6401) < 1e-6", "r1 = seg_len([0.5, 2.0], [2.0, 0.5])", "assert abs(r1 - 2.1213) < 1e-6", "r2 = seg_len([4.0, 3.0], [3.0, 1.0]...
theo-eng-code-L2-code-005162
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-010290
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008435
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 21, -0.01, 0.14, 0.6, 0.7, 0.5)", "assert abs(r0[0] - 0.1067) < 1e-6", "assert abs(r0[1] - 0.6778) < 1e-6", "assert abs(r0[2] - 0.0721) < 1e-6", "r1 = com_zmp(20, 15, 0.09...
theo-eng-code-L2-code-014285
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 24, 0.01, 0.03, 0.5, 0.4, 2)", "assert abs(r0[0] - 0.0266) < 1e-6", "assert abs(r0[1] - 0.4172) < 1e-6", "assert abs(r0[2] - -0.0585) < 1e-6", "r1 = com_zmp(12, 10, -0.07,...
theo-eng-code-L2-code-007454
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.5, 3.5], [4.0, 1.0])", "assert abs(r0 - 4.3012) < 1e-6", "r1 = seg_len([1.5, 5.0], [1.0, 2.5])", "assert abs(r1 - 2.5495) < 1e-6", "r2 = seg_len([1.0, 2.0], [4.0, 2.5]...
theo-eng-code-L1-code-000440
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_nested", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-005400
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([300, 500, 70, 250], 10)", "assert abs(r0 - 3.1111) < 1e-6", "r1 = rect_energy([410, 250, 140, 260, 440], 2)", "assert abs(r1 - 0.8333) < 1e-6", "r2 = rect_energy...
theo-eng-code-L2-code-013784
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(7, 14, 0.05, -0.05, 0.5, 0.5, 1)", "assert abs(r0[0] - -0.0167) < 1e-6", "assert abs(r0[1] - 0.5) < 1e-6", "assert abs(r0[2] - -0.0676) < 1e-6", "r1 = com_zmp(17, 13, 0.03, 0...
theo-eng-code-L3-code-009135
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 21, 0.05, 0.05, 0.9, 0.4, 0)", "assert abs(r0[0] - 0.05) < 1e-6", "assert abs(r0[1] - 0.5719) < 1e-6", "assert abs(r0[2] - 0.05) < 1e-6", "r1 = com_zmp(6, 15, 0.05, -0.03, ...
theo-eng-code-L2-code-008966
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 20, 3.6, 2.5)", "assert r0[0] == 111", "assert r0[1] == 21", "assert r0[2] == 2331", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 20.979) < 1e-6", "r...
theo-eng-code-L3-code-003667
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(52, 2750, 120, 0.26, 2.2, 0.007, 0.8, 0.9, 0.9)", "assert abs(r0[0] - 252.8) < 1e-6", "assert abs(r0[1] - 18.51) < 1e-6", "assert abs(r0[2] - 22.21) < 1e-6" ], "subtask...
theo-eng-code-L3-code-011882
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": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(76, 1750, 80, 0.25, 2.8, 0.01, 0.6, 0.94, 0.85)", "assert abs(r0[0] - 534.8) < 1e-6", "assert abs(r0[1] - 12.08) < 1e-6", "assert abs(r0[2] - 9.66) < 1e-6" ], "subtask"...
theo-eng-code-L1-code-009287
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": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-code-011148
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-L2-code-004912
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 25, -0.09, 0.07, 0.4, 0.3, 0.5)", "assert abs(r0[0] - 0.0052) < 1e-6", "assert abs(r0[1] - 0.3405) < 1e-6", "assert abs(r0[2] - -0.0121) < 1e-6", "r1 = com_zmp(12, 28, 0....
theo-eng-code-L2-code-014157
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([5.0, 0.0], [2.5, 1.0])", "assert abs(r0 - 2.6926) < 1e-6", "r1 = seg_len([4.5, 4.5], [3.5, 2.0])", "assert abs(r1 - 2.6926) < 1e-6", "r2 = seg_len([5.0, 0.5], [3.0, 1.0]...
theo-eng-code-L3-code-009565
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(17, 10, 0.5)", "assert abs(r0 - 13.95) < 1e-6", "r1 = rms_torque(96, 15, 0.5)", "assert abs(r1 - 68.71) < 1e-6", "r2 = rms_torque(28, 12, 0.75)", "assert abs(r2 - 24.98)...
theo-eng-code-L2-code-011165
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([96, 28, 90, 59, 56, 48])", "assert abs(r0[0] - 62.833) < 1e-6", "assert abs(r0[1] - 25.818) < 1e-6", "r1 = summarise([14, 96, 53, 93, 40, 95])", "assert abs(r1[0] -...
theo-eng-code-L2-code-004788
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-011400
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, 130, 190, 0.5)", "assert abs(r0[0] - 160.0) < 1e-6", "assert abs(r0[1] - 5.62) < 1e-6", "assert abs(r0[2] - 337.5) < 1e-6", "r1 = runtime(0.1, 160, 470, 0.3)", "as...
theo-eng-code-L2-code-004117
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.39, 10000, 100)", "assert abs(r0[0] - 14.7) < 1e-6", "assert abs(r0[1] - 680.1) < 1e-6", "r1 = gear_ratio(0.41, 6500, 150)", "assert abs(r1[0] - 6.7) < 1e-6", "asse...
theo-eng-code-L3-code-009446
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(96, 1910, 80, 0.36, 2.1, 0.011, 1.0, 0.88, 0.85)", "assert abs(r0[0] - 544.9) < 1e-6", "assert abs(r0[1] - 14.97) < 1e-6", "assert abs(r0[2] - 11.98) < 1e-6" ], "subtas...
theo-eng-code-L3-code-015898
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, 100, 130, 0.5)", "assert abs(r0[0] - 115.0) < 1e-6", "assert abs(r0[1] - 7.83) < 1e-6", "assert abs(r0[2] - 469.6) < 1e-6", "r1 = runtime(1.0, 240, 270, 0.5)", "as...
theo-eng-code-L1-clarify-001455
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-002523
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 120, 70, 0.7)", "assert abs(r0[0] - 105.0) < 1e-6", "assert abs(r0[1] - 0.86) < 1e-6", "assert abs(r0[2] - 51.4) < 1e-6", "r1 = runtime(1.0, 220, 160, 0.5)", "as...
theo-eng-code-L1-code-003718
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": "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-015665
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(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" ], ...
theo-eng-code-L2-code-009857
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.2, 0.54, 45, 0.5, 1.5)", "assert abs(r0[0] - 9.74) < 1e-6", "assert abs(r0[1] - 0.554) < 1e-6", "assert abs(r0[2] - 10.57) < 1e-6", "r1 = joint_torque(6.5, 0.47, 90,...
theo-eng-code-L3-code-005540
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(500, 40, 3.6, 2.5)", "assert r0[0] == 139", "assert r0[1] == 32", "assert r0[2] == 4448", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 40.032) < 1e-6", "r1 ...
theo-eng-code-L3-code-007838
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.43, 14500, 120)", "assert abs(r0[0] - 19.59) < 1e-6", "assert abs(r0[1] - 740.3) < 1e-6", "r1 = gear_ratio(0.3, 4000, 150)", "assert abs(r1[0] - 3.02) < 1e-6", "asser...
theo-eng-code-L1-refuse-013046
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-004089
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.25, 5500, 180)", "assert abs(r0[0] - 2.88) < 1e-6", "assert abs(r0[1] - 1909.9) < 1e-6", "r1 = gear_ratio(0.39, 11000, 150)", "assert abs(r1[0] - 10.78) < 1e-6", "a...
theo-eng-code-L2-code-013028
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 15, -0.09, -0.01, 0.6, 0.6, 0)", "assert abs(r0[0] - -0.03) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - -0.03) < 1e-6", "r1 = com_zmp(7, 10, 0.02, -0.03...
theo-eng-code-L3-code-001380
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 50, 0.1, 1.0)", "assert abs(r0[0] - 1.8) < 1e-6", "assert abs(r0[1] - 108.0) < 1e-6", "assert abs(r0[2] - 72.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(...
theo-eng-code-L3-code-003289
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(71, 26, 0.5)", "assert abs(r0 - 53.46) < 1e-6", "r1 = rms_torque(39, 22, 0.5)", "assert abs(r1 - 31.66) < 1e-6", "r2 = rms_torque(70, 38, 0.25)", "assert abs(r2 - 48.04)...
theo-eng-code-L2-code-008513
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.0, 0.14, 60, 2.0, 0.5)", "assert abs(r0[0] - 5.95) < 1e-6", "assert abs(r0[1] - 0.0784) < 1e-6", "assert abs(r0[2] - 5.99) < 1e-6", "r1 = joint_torque(7.5, 0.48, 90,...
theo-eng-code-L3-code-012867
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(40, 150, 0.2, 1.0)", "assert abs(r0[0] - 0.33) < 1e-6", "assert abs(r0[1] - 20.0) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert abs(r0[3] - 120.0) < 1e-6", "r1...
theo-eng-code-L3-code-002163
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.26, 7500, 100)", "assert abs(r0[0] - 7.35) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6", "r1 = gear_ratio(0.4, 8000, 180)", "assert abs(r1[0] - 6.7) < 1e-6", "assert ...
theo-eng-code-L2-code-004910
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.28, 14500, 100)", "assert abs(r0[0] - 15.31) < 1e-6", "assert abs(r0[1] - 947.4) < 1e-6", "r1 = gear_ratio(0.4, 7500, 100)", "assert abs(r1[0] - 11.31) < 1e-6", "as...
theo-eng-code-L2-code-015393
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([20, 49, 68, 86])", "assert abs(r0[0] - 55.75) < 1e-6", "assert abs(r0[1] - 28.218) < 1e-6", "r1 = summarise([58, 37, 58, 33, 54])", "assert r1[0] == 48", "asser...
theo-eng-code-L2-code-002247
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 6000, 120)", "assert abs(r0[0] - 7.54) < 1e-6", "assert abs(r0[1] - 795.8) < 1e-6", "r1 = gear_ratio(0.25, 4000, 100)", "assert abs(r1[0] - 3.77) < 1e-6", "asser...
theo-eng-code-L1-code-005483
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "4", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-005067
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.31, 10000, 150)", "assert abs(r0[0] - 7.79) < 1e-6", "assert abs(r0[1] - 1283.5) < 1e-6", "r1 = gear_ratio(0.37, 4500, 180)", "assert abs(r1[0] - 3.49) < 1e-6", "as...
theo-eng-code-L3-code-009694
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(200, 10, 3.2, 2.5)", "assert r0[0] == 62", "assert r0[1] == 21", "assert r0[2] == 1302", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 10.416) < 1e-6", "r1 =...
theo-eng-code-L2-code-008307
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(11, 27, 0.0, 0.14, 0.8, 0.5, 1)", "assert abs(r0[0] - 0.0995) < 1e-6", "assert abs(r0[1] - 0.5868) < 1e-6", "assert abs(r0[2] - 0.0397) < 1e-6", "r1 = com_zmp(20, 10, -0.07, ...
theo-eng-code-L2-code-003465
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-010751
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.0, 4.5], [2.0, 0.5])", "assert abs(r0 - 4.1231) < 1e-6", "r1 = seg_len([3.0, 1.0], [3.5, 0.5])", "assert abs(r1 - 0.7071) < 1e-6", "r2 = seg_len([2.0, 5.0], [0.5, 0.5]...
theo-eng-code-L2-code-006780
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 100, 290, 0.5)", "assert abs(r0[0] - 195.0) < 1e-6", "assert abs(r0[1] - 0.46) < 1e-6", "assert abs(r0[2] - 27.7) < 1e-6", "r1 = runtime(0.5, 240, 550, 0.5)", "a...
theo-eng-code-L2-code-007506
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 3.6, 100)", "assert r0[0] == 222", "assert r0[1] == 1", "assert r0[2] == 222", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6", "r1 =...
theo-eng-code-L3-code-008884
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": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(0.8, 0.55, 30, 0.0, 0.5)", "assert abs(r0[0] - 1.08) < 1e-6", "assert abs(r0[1] - 0.0807) < 1e-6", "assert abs(r0[2] - 1.12) < 1e-6", "r1 = joint_torque(5.0, 0.39, 90, 5...
theo-eng-code-L2-code-014525
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(54, 2440, 100, 0.35, 2.0, 0.007, 1.1, 0.9, 0.95)", "assert abs(r0[0] - 311.2) < 1e-6", "assert abs(r0[1] - 16.48) < 1e-6", "assert abs(r0[2] - 16.48) < 1e-6", "r1 = erange(3...
theo-eng-code-L3-code-000764
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(6.2, 0.55, 90, 0.0, 2.0)", "assert abs(r0[0] - 16.73) < 1e-6", "assert abs(r0[1] - 0.6252) < 1e-6", "assert abs(r0[2] - 17.98) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L3-code-012588
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": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 280, 450, 0.5)", "assert abs(r0[0] - 365.0) < 1e-6", "assert abs(r0[1] - 0.25) < 1e-6", "assert abs(r0[2] - 14.8) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L3-code-012909
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(0.1, 90, 190, 0.5)", "assert abs(r0[0] - 140.0) < 1e-6", "assert abs(r0[1] - 0.64) < 1e-6", "assert abs(r0[2] - 38.6) < 1e-6", "r1 = runtime(0.5, 250, 430, 0.3)", "asse...
theo-eng-code-L1-code-007242
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": "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-010912
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(45, [0, 25, 50, 75, 100], [0.74, 0.8, 0.87, 0.88, 0.8])", "assert abs(r0 - 0.856) < 1e-6", "r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.79, 0.84, 0.9, 0.85, 0.85])", "ass...
theo-eng-code-L1-clarify-012135
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-001798
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 50, 0.1, 1.0)", "assert abs(r0[0] - 1.35) < 1e-6", "assert abs(r0[1] - 81.0) < 1e-6", "assert abs(r0[2] - 54.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(...
theo-eng-code-L2-code-001782
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(14, 26, -0.1, 0.06, 0.9, 0.3, 0)", "assert abs(r0[0] - 0.004) < 1e-6", "assert abs(r0[1] - 0.51) < 1e-6", "assert abs(r0[2] - 0.004) < 1e-6", "r1 = com_zmp(9, 15, 0.08, 0.06,...
theo-eng-code-L2-code-003255
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.0, 0.5], [4.5, 4.0])", "assert abs(r0 - 3.8079) < 1e-6", "r1 = seg_len([1.5, 5.0], [0.0, 4.5])", "assert abs(r1 - 1.5811) < 1e-6", "r2 = seg_len([0.0, 2.0], [2.0, 5.0]...
theo-eng-code-L1-code-004502
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-013247
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 250}')", "assert r0[0] == 40", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')", "assert r1[0] == 60", ...
theo-eng-code-L1-code-010191
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_nested", "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-011157
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 11, -0.05, 0.01, 0.6, 0.4, 0)", "assert abs(r0[0] - -0.0272) < 1e-6", "assert abs(r0[1] - 0.5241) < 1e-6", "assert abs(r0[2] - -0.0272) < 1e-6", "r1 = com_zmp(11, 15, 0.0...
theo-eng-code-L2-code-004002
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([240, 300, 290], 1)", "assert abs(r0 - 0.2306) < 1e-6", "r1 = rect_energy([410, 280, 160], 1)", "assert abs(r1 - 0.2361) < 1e-6", "r2 = rect_energy([350, 390, 100...
theo-eng-code-L3-code-002175
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 20, -0.03, 0.01, 0.6, 0.3, 0)", "assert abs(r0[0] - -0.01) < 1e-6", "assert abs(r0[1] - 0.45) < 1e-6", "assert abs(r0[2] - -0.01) < 1e-6", "r1 = com_zmp(5, 24, 0.05, -0.04,...
theo-eng-code-L1-refuse-003954
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_unlock_speed", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-006284
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.5, 3.0], [5.0, 4.0])", "assert abs(r0 - 1.118) < 1e-6", "r1 = seg_len([3.5, 0.5], [0.0, 1.0])", "assert abs(r1 - 3.5355) < 1e-6", "r2 = seg_len([3.5, 2.0], [4.0, 2.5])...
theo-eng-code-L2-code-007391
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 7, 0.1, 0.8)", "assert abs(r0[0] - 7.5) < 1e-6", "assert abs(r0[1] - 450.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L2-code-011814
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_evenloop", "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-015247
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.37, 14500, 100)", "assert abs(r0[0] - 20.23) < 1e-6", "assert abs(r0[1] - 716.9) < 1e-6", "r1 = gear_ratio(0.26, 5000, 120)", "assert abs(r1[0] - 4.08) < 1e-6", "as...
theo-eng-code-L1-clarify-002317
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-004704
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.29, 12500, 100)", "assert abs(r0[0] - 13.67) < 1e-6", "assert abs(r0[1] - 914.7) < 1e-6", "r1 = gear_ratio(0.39, 11500, 120)", "assert abs(r1[0] - 14.09) < 1e-6", "as...
theo-eng-code-L2-code-012885
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([160, 240, 200], 1)", "assert abs(r0 - 0.1667) < 1e-6", "r1 = rect_energy([280, 80, 460], 2)", "assert abs(r1 - 0.4556) < 1e-6", "r2 = rect_energy([70, 120, 490],...
theo-eng-code-L3-code-013484
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(19, 27, -0.06, 0.12, 0.7, 0.3, 0)", "assert abs(r0[0] - 0.0457) < 1e-6", "assert abs(r0[1] - 0.4652) < 1e-6", "assert abs(r0[2] - 0.0457) < 1e-6", "r1 = com_zmp(12, 10, -0.05, ...
theo-eng-code-L2-code-008404
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.4, 0.32, 30, 5.5, 3.5)", "assert abs(r0[0] - 14.44) < 1e-6", "assert abs(r0[1] - 0.8158) < 1e-6", "assert abs(r0[2] - 17.3) < 1e-6", "r1 = joint_torque(4.4, 0.27, 30...
theo-eng-code-L3-code-012917
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 60, 3.7, 10)", "assert r0[0] == 108", "assert r0[1] == 16", "assert r0[2] == 1728", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 63.936) < 1e-6", "r1 =...
theo-eng-code-L2-code-005436
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-000838
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.5, 80, 40, 0.7)", "assert abs(r0[0] - 68.0) < 1e-6", "assert abs(r0[1] - 6.62) < 1e-6", "assert abs(r0[2] - 397.1) < 1e-6", "r1 = runtime(0.5, 140, 510, 0.5)", "asser...
theo-eng-code-L2-code-013308
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 250, 580, 0.3)", "assert abs(r0[0] - 481.0) < 1e-6", "assert abs(r0[1] - 0.94) < 1e-6", "assert abs(r0[2] - 56.1) < 1e-6", "r1 = runtime(1.0, 140, 580, 0.7)", "a...
theo-eng-code-L2-code-003231
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(80, 1860, 100, 0.23, 2.0, 0.008, 1.0, 0.92, 0.9)", "assert abs(r0[0] - 601.4) < 1e-6", "assert abs(r0[1] - 11.97) < 1e-6", "assert abs(r0[2] - 11.97) < 1e-6", "r1 = erange(9...
theo-eng-code-L2-code-007303
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(64, 2210, 100, 0.37, 3.0, 0.009, 1.0, 0.9, 0.95)", "assert abs(r0[0] - 261.9) < 1e-6", "assert abs(r0[1] - 23.21) < 1e-6", "assert abs(r0[2] - 23.21) < 1e-6", "r1 = erange(5...
theo-eng-code-L2-code-013644
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 250}')", "assert r0[0] == 80", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')", "assert r1[0] == 20", ...
theo-eng-code-L3-code-000239
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 280, 50, 0.5)", "assert abs(r0[0] - 165.0) < 1e-6", "assert abs(r0[1] - 5.45) < 1e-6", "assert abs(r0[2] - 327.3) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L3-code-013743
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 20, 3.6, 10)", "assert r0[0] == 139", "assert r0[1] == 4", "assert r0[2] == 556", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 20.016) < 1e-6", "r1 = p...
theo-eng-code-L3-code-002921
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": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(12, 25, 0.1, 0.0, 0.8, 0.9, 2)", "assert abs(r0[0] - 0.0324) < 1e-6", "assert abs(r0[1] - 0.8676) < 1e-6", "assert abs(r0[2] - -0.1444) < 1e-6" ], "subtask": "writetests...