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-004718
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.7, 0.44, 30, 8.0, 1.5)", "assert abs(r0[0] - 23.42) < 1e-6", "assert abs(r0[1] - 1.9166) < 1e-6", "assert abs(r0[2] - 26.29) < 1e-6", "r1 = joint_torque(6.4, 0.33, 9...
theo-eng-code-L1-clarify-005929
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-clarify-006868
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-clarify-009330
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-005630
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 40, 3.6, 10)", "assert r0[0] == 83", "assert r0[1] == 14", "assert r0[2] == 1162", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 41.832) < 1e-6", "r1 ...
theo-eng-code-L2-code-004391
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([480, 150, 250, 450], 10)", "assert abs(r0 - 3.6944) < 1e-6", "r1 = rect_energy([160, 490, 310], 10)", "assert abs(r1 - 2.6667) < 1e-6", "r2 = rect_energy([50, 22...
theo-eng-code-L2-code-004513
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-code-015896
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_slices", "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-002774
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-code-003457
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": "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-006609
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-004553
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(6, 16, -0.05, 0.06, 0.9, 0.5, 0)", "assert abs(r0[0] - 0.03) < 1e-6", "assert abs(r0[1] - 0.6091) < 1e-6", "assert abs(r0[2] - 0.03) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L2-code-000839
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 280, 290, 0.5)", "assert abs(r0[0] - 285.0) < 1e-6", "assert abs(r0[1] - 0.63) < 1e-6", "assert abs(r0[2] - 37.9) < 1e-6", "r1 = runtime(1.0, 140, 260, 0.3)", "a...
theo-eng-code-L2-code-015710
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 22, -0.08, 0.11, 0.9, 0.5, 2)", "assert abs(r0[0] - 0.033) < 1e-6", "assert abs(r0[1] - 0.6622) < 1e-6", "assert abs(r0[2] - -0.102) < 1e-6", "r1 = com_zmp(14, 22, 0.02, ...
theo-eng-code-L2-code-008875
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(99, 8, 0.25)", "assert abs(r0 - 49.98) < 1e-6", "r1 = rms_torque(83, 25, 0.5)", "assert abs(r1 - 61.29) < 1e-6", "r2 = rms_torque(22, 14, 0.25)", "assert abs(r2 - 16.3...
theo-eng-code-L2-code-012006
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-014512
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(14, 18, 0.0, 0.03, 0.4, 0.4, 1)", "assert abs(r0[0] - 0.0169) < 1e-6", "assert abs(r0[1] - 0.4) < 1e-6", "assert abs(r0[2] - -0.0239) < 1e-6", "r1 = com_zmp(11, 19, -0.1, 0.01,...
theo-eng-code-L3-code-006809
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(16, 13, -0.04, 0.12, 0.3, 0.7, 0)", "assert abs(r0[0] - 0.0317) < 1e-6", "assert abs(r0[1] - 0.4793) < 1e-6", "assert abs(r0[2] - 0.0317) < 1e-6" ], "subtask": "writetes...
theo-eng-code-L1-code-009526
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": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-013642
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.5, 0.33, 60, 2.5, 2.5)", "assert abs(r0[0] - 11.92) < 1e-6", "assert abs(r0[1] - 0.3993) < 1e-6", "assert abs(r0[2] - 12.91) < 1e-6", "r1 = joint_torque(0.5, 0.33, 30,...
theo-eng-code-L2-code-007633
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.6, 0.59, 60, 3.0, 2.5)", "assert abs(r0[0] - 29.07) < 1e-6", "assert abs(r0[1] - 1.6941) < 1e-6", "assert abs(r0[2] - 33.31) < 1e-6", "r1 = joint_torque(3.0, 0.25, 3...
theo-eng-code-L1-code-005731
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_squares", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-001969
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.5, 2.5], [4.0, 0.5])", "assert abs(r0 - 4.0311) < 1e-6", "r1 = seg_len([1.5, 2.5], [1.0, 5.0])", "assert abs(r1 - 2.5495) < 1e-6", "r2 = seg_len([3.0, 1.0], [5.0, 4.0]...
theo-eng-code-L3-code-013854
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(2.4, 0.43, 90, 1.0, 2.5)", "assert abs(r0[0] - 9.28) < 1e-6", "assert abs(r0[1] - 0.3328) < 1e-6", "assert abs(r0[2] - 10.11) < 1e-6", "r1 = joint_torque(7.8, 0.56, 45, ...
theo-eng-code-L2-code-009351
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 5, 0.5)", "assert abs(r0 - 6.67) < 1e-6", "r1 = rms_torque(67, 31, 0.75)", "assert abs(r1 - 60.06) < 1e-6", "r2 = rms_torque(85, 26, 0.75)", "assert abs(r2 - 74.75)...
theo-eng-code-L3-code-002984
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.28, 14500, 120)", "assert abs(r0[0] - 12.75) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.41, 10000, 100)", "assert abs(r1[0] - 15.46) < 1e-6", "a...
theo-eng-code-L2-code-004385
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-002015
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, -0.07, 0.06, 0.5, 0.4, 0.5)", "assert abs(r0[0] - -0.0128) < 1e-6", "assert abs(r0[1] - 0.456) < 1e-6", "assert abs(r0[2] - -0.036) < 1e-6", "r1 = com_zmp(10, 24, 0.0...
theo-eng-code-L2-code-005692
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 20, \"max_kw\": 250}')", "assert r0[0] == 20", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')", "assert r1[0] == 20", ...
theo-eng-code-L3-code-015663
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, 80, 3.6, 50)", "assert r0[0] == 139", "assert r0[1] == 4", "assert r0[2] == 556", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 100.08) < 1e-6", "r1 = p...
theo-eng-code-L2-code-014623
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(98, 34, 0.5)", "assert abs(r0 - 73.35) < 1e-6", "r1 = rms_torque(30, 6, 0.5)", "assert abs(r1 - 21.63) < 1e-6", "r2 = rms_torque(98, 17, 0.25)", "assert abs(r2 - 51.16...
theo-eng-code-L2-code-001627
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-014697
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 13, -0.02, 0.05, 0.9, 0.5, 2)", "assert abs(r0[0] - 0.0094) < 1e-6", "assert abs(r0[1] - 0.7323) < 1e-6", "assert abs(r0[2] - -0.1399) < 1e-6", "r1 = com_zmp(10, 12, 0.01...
theo-eng-code-L3-code-002448
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, 300, 530, 0.3)", "assert abs(r0[0] - 461.0) < 1e-6", "assert abs(r0[1] - 0.39) < 1e-6", "assert abs(r0[2] - 23.4) < 1e-6", "r1 = runtime(0.1, 110, 180, 0.7)", "ass...
theo-eng-code-L2-code-014039
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 200, 350, 0.7)", "assert abs(r0[0] - 245.0) < 1e-6", "assert abs(r0[1] - 0.73) < 1e-6", "assert abs(r0[2] - 44.1) < 1e-6", "r1 = runtime(1.0, 40, 200, 0.7)", "as...
theo-eng-code-L2-code-004102
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 0.5], [1.0, 3.5])", "assert abs(r0 - 3.6056) < 1e-6", "r1 = seg_len([3.0, 0.0], [4.0, 5.0])", "assert abs(r1 - 5.099) < 1e-6", "r2 = seg_len([0.0, 0.5], [2.5, 2.5])...
theo-eng-code-L2-code-000514
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 150}')", "assert r0[0] == 40", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')", "assert r1[0] == 60", "...
theo-eng-code-L3-code-013304
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.26, 4500, 100)", "assert abs(r0[0] - 4.41) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-000334
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([50, 370, 420, 350], 10)", "assert abs(r0 - 3.3056) < 1e-6", "r1 = rect_energy([280, 160, 410, 210, 420], 10)", "assert abs(r1 - 4.1111) < 1e-6", "r2 = rect_energ...
theo-eng-code-L2-code-012423
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-004108
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 20, 3.7, 50)", "assert r0[0] == 216", "assert r0[1] == 1", "assert r0[2] == 216", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 = ...
theo-eng-code-L3-code-009568
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": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(88, 1200, 100, 0.23, 3.1, 0.012, 0.7, 0.92, 0.9)", "assert abs(r0[0] - 523.1) < 1e-6", "assert abs(r0[1] - 15.14) < 1e-6", "assert abs(r0[2] - 15.14) < 1e-6" ], "subtas...
theo-eng-code-L3-code-006727
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 29, 0.08, 0.15, 0.6, 0.4, 0.5)", "assert abs(r0[0] - 0.1241) < 1e-6", "assert abs(r0[1] - 0.4739) < 1e-6", "assert abs(r0[2] - 0.1) < 1e-6", "r1 = com_zmp(15, 15, -0.04, -0...
theo-eng-code-L3-code-011210
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": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(17, 20, -0.02, -0.03, 0.8, 0.7, 1)", "assert abs(r0[0] - -0.0254) < 1e-6", "assert abs(r0[1] - 0.7459) < 1e-6", "assert abs(r0[2] - -0.1014) < 1e-6" ], "subtask": "write...
theo-eng-code-L2-code-013814
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(50, 1000, 120, 0.32, 1.9, 0.011, 0.7, 0.92, 0.85)", "assert abs(r0[0] - 260.2) < 1e-6", "assert abs(r0[1] - 16.33) < 1e-6", "assert abs(r0[2] - 19.6) < 1e-6", "r1 = erange(3...
theo-eng-code-L2-code-011760
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([40, 86, 20, 54, 44, 18])", "assert abs(r0[0] - 43.667) < 1e-6", "assert abs(r0[1] - 25.025) < 1e-6", "r1 = summarise([66, 69, 87, 47, 97, 27])", "assert abs(r1[0] -...
theo-eng-code-L2-code-015074
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_maxloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-001694
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(22, 17, 0.25)", "assert abs(r0 - 18.38) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-003819
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([470, 480, 70, 470, 70], 2)", "assert abs(r0 - 0.8667) < 1e-6", "r1 = rect_energy([120, 320, 80], 1)", "assert abs(r1 - 0.1444) < 1e-6", "r2 = rect_energy([120, 1...
theo-eng-code-L2-code-003558
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.8, 0.54, 30, 1.0, 1.5)", "assert abs(r0[0] - 10.33) < 1e-6", "assert abs(r0[1] - 0.8554) < 1e-6", "assert abs(r0[2] - 11.61) < 1e-6", "r1 = joint_torque(3.2, 0.54, 4...
theo-eng-code-L3-code-007913
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(300, 20, 3.2, 50)", "assert r0[0] == 94", "assert r0[1] == 2", "assert r0[2] == 188", "assert abs(r0[3] - 300.8) < 1e-6", "assert abs(r0[4] - 30.08) < 1e-6" ], ...
theo-eng-code-L3-code-012884
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(13, 16, -0.07, 0.0, 0.3, 0.9, 0.5)", "assert abs(r0[0] - -0.0314) < 1e-6", "assert abs(r0[1] - 0.631) < 1e-6", "assert abs(r0[2] - -0.0635) < 1e-6" ], "subtask": "writet...
theo-eng-code-L3-code-005453
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": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.8, 0.34, 90, 6.5, 2.0)", "assert abs(r0[0] - 33.02) < 1e-6", "assert abs(r0[1] - 1.0134) < 1e-6", "assert abs(r0[2] - 35.05) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L1-code-009252
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": "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-012219
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([280, 450, 500, 210, 400], 10)", "assert abs(r0 - 5.1111) < 1e-6", "r1 = rect_energy([350, 360, 310], 10)", "assert abs(r1 - 2.8333) < 1e-6", "r2 = rect_energy([3...
theo-eng-code-L2-code-014657
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([5.0, 2.5], [2.5, 5.0])", "assert abs(r0 - 3.5355) < 1e-6", "r1 = seg_len([4.5, 2.5], [4.5, 4.5])", "assert abs(r1 - 2.0) < 1e-6", "r2 = seg_len([4.0, 4.5], [2.5, 3.5])",...
theo-eng-code-L1-refuse-002785
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-L3-code-005082
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 80, 310, 0.7)", "assert abs(r0[0] - 149.0) < 1e-6", "assert abs(r0[1] - 6.04) < 1e-6", "assert abs(r0[2] - 362.4) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L3-code-014672
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(0.5, 210, 440, 0.3)", "assert abs(r0[0] - 371.0) < 1e-6", "assert abs(r0[1] - 1.21) < 1e-6", "assert abs(r0[2] - 72.8) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L1-code-012469
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-012244
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 7, 0.2, 1.0)", "assert abs(r0[0] - 11.43) < 1e-6", "assert abs(r0[1] - 685.7) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_tim...
theo-eng-code-L2-code-012613
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-006768
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(66, 20, 0.75)", "assert abs(r0 - 58.03) < 1e-6", "r1 = rms_torque(86, 20, 0.5)", "assert abs(r1 - 62.43) < 1e-6", "r2 = rms_torque(29, 22, 0.5)", "assert abs(r2 - 25.7...
theo-eng-code-L2-code-008805
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')", "assert r0[0] == 20", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')", "assert r1[0] == 60", ...
theo-eng-code-L2-code-011238
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 17, -0.01, 0.04, 0.7, 0.3, 2)", "assert abs(r0[0] - 0.0183) < 1e-6", "assert abs(r0[1] - 0.4733) < 1e-6", "assert abs(r0[2] - -0.0782) < 1e-6", "r1 = com_zmp(6, 13, 0.05,...
theo-eng-code-L2-code-009571
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 100, 500, 0.5)", "assert abs(r0[0] - 300.0) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "r1 = runtime(0.2, 130, 370, 0.5)", "as...
theo-eng-code-L3-code-014240
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 11, -0.1, 0.03, 0.9, 0.8, 2)", "assert abs(r0[0] - -0.0539) < 1e-6", "assert abs(r0[1] - 0.8645) < 1e-6", "assert abs(r0[2] - -0.2301) < 1e-6" ], "subtask": "writete...
theo-eng-code-L2-code-007931
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.34, 7000, 180)", "assert abs(r0[0] - 4.98) < 1e-6", "assert abs(r0[1] - 1404.3) < 1e-6", "r1 = gear_ratio(0.39, 11500, 100)", "assert abs(r1[0] - 16.91) < 1e-6", "a...
theo-eng-code-L2-code-001811
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 150, 0.2, 0.9)", "assert abs(r0[0] - 0.29) < 1e-6", "assert abs(r0[1] - 17.5) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert abs(r0[3] - 120.0) < 1e-6", "...
theo-eng-code-L2-code-003253
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([290, 220, 250], 5)", "assert abs(r0 - 1.0556) < 1e-6", "r1 = rect_energy([90, 220, 240], 10)", "assert abs(r1 - 1.5278) < 1e-6", "r2 = rect_energy([80, 190, 490,...
theo-eng-code-L3-code-008139
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(20, 23, -0.09, 0.0, 0.6, 0.7, 2)", "assert abs(r0[0] - -0.0419) < 1e-6", "assert abs(r0[1] - 0.6535) < 1e-6", "assert abs(r0[2] - -0.1751) < 1e-6" ], "subtask": "writete...
theo-eng-code-L2-code-003487
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.42, 9500, 180)", "assert abs(r0[0] - 8.36) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.39, 11500, 120)", "assert abs(r1[0] - 14.09) < 1e-6", "a...
theo-eng-code-L1-clarify-005732
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": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-code-012920
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": "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-015471
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 7, 0.5)", "assert abs(r0 - 9.82) < 1e-6", "r1 = rms_torque(49, 31, 0.25)", "assert abs(r1 - 36.35) < 1e-6", "r2 = rms_torque(41, 23, 0.5)", "assert abs(r2 - 33.24)...
theo-eng-code-L3-code-000199
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(200, 80, 3.6, 2.5)", "assert r0[0] == 56", "assert r0[1] == 159", "assert r0[2] == 8904", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 80.136) < 1e-6" ...
theo-eng-code-L1-code-008811
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_slices", "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-004032
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 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] - 16.0) < 1e-6", "assert abs(r0[3] - 60.0) < 1e-6", "r...
theo-eng-code-L2-code-004293
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-013093
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(89, 31, 0.5)", "assert abs(r0 - 66.64) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-005272
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.43, 9000, 120)", "assert abs(r0[0] - 12.16) < 1e-6", "assert abs(r0[1] - 740.3) < 1e-6", "r1 = gear_ratio(0.36, 12500, 180)", "assert abs(r1[0] - 9.42) < 1e-6", "as...
theo-eng-code-L3-code-002905
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(4.8, 0.15, 30, 7.0, 3.0)", "assert abs(r0[0] - 6.92) < 1e-6", "assert abs(r0[1] - 0.1935) < 1e-6", "assert abs(r0[2] - 7.5) < 1e-6", "r1 = joint_torque(5.4, 0.41, 30, 6....
theo-eng-code-L2-code-008362
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 80, 3.2, 5)", "assert r0[0] == 250", "assert r0[1] == 20", "assert r0[2] == 5000", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1 = ...
theo-eng-code-L2-code-005244
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, [0, 25, 50, 75, 100], [0.76, 0.83, 0.86, 0.85, 0.85])", "assert abs(r0 - 0.83) < 1e-6", "r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.76, 0.8, 0.88, 0.88, 0.85])", "as...
theo-eng-code-L2-code-004697
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(80, 2430, 100, 0.28, 2.3, 0.013, 1.3, 0.94, 0.95)", "assert abs(r0[0] - 390.7) < 1e-6", "assert abs(r0[1] - 19.45) < 1e-6", "assert abs(r0[2] - 19.45) < 1e-6", "r1 = erange(...
theo-eng-code-L3-code-003612
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(20, 11, 0.04, 0.15, 0.9, 0.5, 0.5)", "assert abs(r0[0] - 0.079) < 1e-6", "assert abs(r0[1] - 0.7581) < 1e-6", "assert abs(r0[2] - 0.0404) < 1e-6", "r1 = com_zmp(7, 23, 0.09, -0...
theo-eng-code-L2-code-013792
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([94, 73, 80, 71, 53])", "assert abs(r0[0] - 74.2) < 1e-6", "assert abs(r0[1] - 14.89) < 1e-6", "r1 = summarise([83, 22, 15, 74])", "assert abs(r1[0] - 48.5) < 1e-6",...
theo-eng-code-L1-code-013965
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": "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-010562
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(23, 4, 0.75)", "assert abs(r0 - 20.02) < 1e-6", "r1 = rms_torque(98, 7, 0.5)", "assert abs(r1 - 69.47) < 1e-6", "r2 = rms_torque(82, 25, 0.75)", "assert abs(r2 - 72.11...
theo-eng-code-L1-code-014642
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_cond", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-002393
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(47, 1380, 100, 0.25, 2.0, 0.012, 0.3, 0.9, 0.9)", "assert abs(r0[0] - 335.5) < 1e-6", "assert abs(r0[1] - 12.61) < 1e-6", "assert abs(r0[2] - 12.61) < 1e-6", "r1 = erange(76...
theo-eng-code-L2-code-008283
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(78, 920, 60, 0.31, 2.2, 0.007, 1.5, 0.94, 0.85)", "assert abs(r0[0] - 850.5) < 1e-6", "assert abs(r0[1] - 7.8) < 1e-6", "assert abs(r0[2] - 4.68) < 1e-6", "r1 = erange(32, 2...
theo-eng-code-L1-code-012028
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_squares", "user_template": "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-011101
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 220, 130, 0.5)", "assert abs(r0[0] - 175.0) < 1e-6", "assert abs(r0[1] - 1.03) < 1e-6", "assert abs(r0[2] - 61.7) < 1e-6", "r1 = runtime(1.0, 60, 290, 0.3)", "as...
theo-eng-code-L3-code-000348
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": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(19, 10, 0.06, 0.02, 0.7, 0.5, 0.5)", "assert abs(r0[0] - 0.0462) < 1e-6", "assert abs(r0[1] - 0.631) < 1e-6", "assert abs(r0[2] - 0.014) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L2-code-002542
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([360, 240, 460, 220, 460], 10)", "assert abs(r0 - 4.8333) < 1e-6", "r1 = rect_energy([110, 410, 470, 230], 2)", "assert abs(r1 - 0.6778) < 1e-6", "r2 = rect_energ...
theo-eng-code-L2-code-015296
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([250, 110, 480], 2)", "assert abs(r0 - 0.4667) < 1e-6", "r1 = rect_energy([230, 60, 50], 2)", "assert abs(r1 - 0.1889) < 1e-6", "r2 = rect_energy([80, 270, 280, 1...
theo-eng-code-L1-clarify-012999
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-015421
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(89, 2570, 120, 0.37, 2.5, 0.011, 0.3, 0.88, 0.95)", "assert abs(r0[0] - 292.8) < 1e-6", "assert abs(r0[1] - 28.88) < 1e-6", "assert abs(r0[2] - 34.65) < 1e-6", "r1 = erange(...
theo-eng-code-L2-code-002643
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 0.43, 45, 0.0, 3.5)", "assert abs(r0[0] - 4.47) < 1e-6", "assert abs(r0[1] - 0.1849) < 1e-6", "assert abs(r0[2] - 5.12) < 1e-6", "r1 = joint_torque(4.4, 0.18, 45,...