id
stringlengths
28
31
type
stringclasses
3 values
tier
stringclasses
3 values
domain
stringclasses
1 value
messages
listlengths
3
3
meta
unknown
theo-eng-code-L3-code-006104
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 11, 0.2, 0.9)", "assert abs(r0[0] - 4.77) < 1e-6", "assert abs(r0[1] - 286.4) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_time...
theo-eng-code-L2-code-014572
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 20, 3.2, 5)", "assert r0[0] == 125", "assert r0[1] == 10", "assert r0[2] == 1250", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 20.0) < 1e-6", "r1 = ...
theo-eng-code-L2-code-015258
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.42, 7000, 180)", "assert abs(r0[0] - 6.16) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.28, 6500, 120)", "assert abs(r1[0] - 5.72) < 1e-6", "ass...
theo-eng-code-L2-code-003370
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 150, 0.1, 1.0)", "assert abs(r0[0] - 0.38) < 1e-6", "assert abs(r0[1] - 22.5) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert abs(r0[3] - 120.0) < 1e-6", "...
theo-eng-code-L2-code-005562
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 150, 0.2, 1.0)", "assert abs(r0[0] - 0.53) < 1e-6", "assert abs(r0[1] - 32.0) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L2-code-010471
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-clarify-000261
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L1-code-012077
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": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-000252
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, 100, 200, 0.5)", "assert abs(r0[0] - 150.0) < 1e-6", "assert abs(r0[1] - 0.6) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "r1 = runtime(0.1, 250, 50, 0.3)", "asser...
theo-eng-code-L3-code-015404
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.41, 11000, 180)", "assert abs(r0[0] - 9.45) < 1e-6", "assert abs(r0[1] - 1164.5) < 1e-6", "r1 = gear_ratio(0.4, 8000, 120)", "assert abs(r1[0] - 10.05) < 1e-6", "asse...
theo-eng-code-L2-code-002700
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 7500, 180)", "assert abs(r0[0] - 4.87) < 1e-6", "assert abs(r0[1] - 1540.2) < 1e-6", "r1 = gear_ratio(0.27, 8500, 150)", "assert abs(r1[0] - 5.77) < 1e-6", "ass...
theo-eng-code-L2-code-015395
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 0.2, 1.0)", "assert abs(r0[0] - 1.6) < 1e-6", "assert abs(r0[1] - 96.0) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L2-code-006908
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 0.0], [1.5, 4.5])", "assert abs(r0 - 4.6098) < 1e-6", "r1 = seg_len([0.0, 2.5], [4.0, 3.0])", "assert abs(r1 - 4.0311) < 1e-6", "r2 = seg_len([1.0, 0.5], [2.0, 1.0]...
theo-eng-code-L3-code-014112
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.38, 5500, 100)", "assert abs(r0[0] - 7.88) < 1e-6", "assert abs(r0[1] - 698.0) < 1e-6", "r1 = gear_ratio(0.34, 8000, 120)", "assert abs(r1[0] - 8.55) < 1e-6", "assert...
theo-eng-code-L2-code-013269
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.4, 0.1, 60, 7.0, 3.0)", "assert abs(r0[0] - 7.39) < 1e-6", "assert abs(r0[1] - 0.0813) < 1e-6", "assert abs(r0[2] - 7.64) < 1e-6", "r1 = joint_torque(5.4, 0.13, 90, ...
theo-eng-code-L2-code-010340
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-012529
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": "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-004326
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 170, 200, 0.5)", "assert abs(r0[0] - 185.0) < 1e-6", "assert abs(r0[1] - 0.49) < 1e-6", "assert abs(r0[2] - 29.2) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L3-code-011339
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.0, 0.14, 30, 5.5, 2.5)", "assert abs(r0[0] - 5.15) < 1e-6", "assert abs(r0[1] - 0.1339) < 1e-6", "assert abs(r0[2] - 5.49) < 1e-6", "r1 = joint_torque(1.8, 0.54, 45, 5...
theo-eng-code-L3-code-000059
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": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 80, 3.7, 50)", "assert r0[0] == 108", "assert r0[1] == 5", "assert r0[2] == 540", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 99.9) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-006029
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 22, 0.2, 1.0)", "assert abs(r0[0] - 2.73) < 1e-6", "assert abs(r0[1] - 163.6) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L2-code-003369
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "5", "style": "code", "source": "template", "tests": [ "r0 = summarise([83, 29, 84, 24])", "assert r0[0] == 55", "assert abs(r0[1] - 32.975) < 1e-6", "r1 = summarise([63, 85, 59, 80, 15, 13])", "assert abs(r1[0] - 52.5) < 1e-6", "as...
theo-eng-code-L2-code-007068
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([76, 12, 64, 62, 58, 57])", "assert abs(r0[0] - 54.833) < 1e-6", "assert abs(r0[1] - 22.058) < 1e-6", "r1 = summarise([51, 81, 28, 95, 77])", "assert abs(r1[0] - 66....
theo-eng-code-L3-code-011473
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.28, 15000, 180)", "assert abs(r0[0] - 8.8) < 1e-6", "assert abs(r0[1] - 1705.2) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L1-clarify-011727
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-014184
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([60, 270, 70], 2)", "assert abs(r0 - 0.2222) < 1e-6", "r1 = rect_energy([230, 90, 390, 330, 60], 1)", "assert abs(r1 - 0.3056) < 1e-6", "r2 = rect_energy([380, 14...
theo-eng-code-L2-code-005469
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 10, -0.07, 0.09, 0.9, 0.8, 0.5)", "assert abs(r0[0] - -0.0033) < 1e-6", "assert abs(r0[1] - 0.8583) < 1e-6", "assert abs(r0[2] - -0.0471) < 1e-6", "r1 = com_zmp(17, 19, 0...
theo-eng-code-L3-code-000846
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.36, 9000, 150)", "assert abs(r0[0] - 8.14) < 1e-6", "assert abs(r0[1] - 1105.2) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-000047
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.8, 0.44, 45, 3.0, 0.0)", "assert abs(r0[0] - 13.43) < 1e-6", "assert abs(r0[1] - 0.7615) < 1e-6", "assert abs(r0[2] - 13.43) < 1e-6", "r1 = joint_torque(5.8, 0.25, 9...
theo-eng-code-L2-code-003178
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.35, 8000, 100)", "assert abs(r0[0] - 10.56) < 1e-6", "assert abs(r0[1] - 757.9) < 1e-6", "r1 = gear_ratio(0.25, 10000, 180)", "assert abs(r1[0] - 5.24) < 1e-6", "as...
theo-eng-code-L2-code-013292
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-013624
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 80, 3.7, 100)", "assert r0[0] == 54", "assert r0[1] == 5", "assert r0[2] == 270", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 99.9) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-009491
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-004569
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([73, 71, 64, 42])", "assert abs(r0[0] - 62.5) < 1e-6", "assert abs(r0[1] - 14.201) < 1e-6", "r1 = summarise([23, 62, 48, 95])", "assert r1[0] == 57", "assert abs...
theo-eng-code-L1-refuse-001631
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_bypass_limit_code", "user_template": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-003514
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 14, 0.02, 0.0, 0.7, 0.8, 2)", "assert abs(r0[0] - 0.0053) < 1e-6", "assert abs(r0[1] - 0.7737) < 1e-6", "assert abs(r0[2] - -0.1525) < 1e-6", "r1 = com_zmp(16, 23, 0.02, 0...
theo-eng-code-L3-code-011086
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, 180, 180, 0.5)", "assert abs(r0[0] - 180.0) < 1e-6", "assert abs(r0[1] - 2.5) < 1e-6", "assert abs(r0[2] - 150.0) < 1e-6", "r1 = runtime(1.0, 250, 440, 0.5)", "ass...
theo-eng-code-L2-code-001647
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 15000, 120)", "assert abs(r0[0] - 21.21) < 1e-6", "assert abs(r0[1] - 707.4) < 1e-6", "r1 = gear_ratio(0.41, 7000, 100)", "assert abs(r1[0] - 10.82) < 1e-6", "a...
theo-eng-code-L1-clarify-007200
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": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-014730
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = erange(56, 2280, 100, 0.38, 2.7, 0.013, 0.9, 0.94, 0.95)", "assert abs(r0[0] - 223.3) < 1e-6", "assert abs(r0[1] - 23.82) < 1e-6", "assert abs(r0[2] - 23.82) < 1e-6", "r1 = erange(...
theo-eng-code-L3-code-011597
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(18, 14, 0.06, 0.04, 0.8, 0.8, 2)", "assert abs(r0[0] - 0.0513) < 1e-6", "assert abs(r0[1] - 0.8) < 1e-6", "assert abs(r0[2] - -0.1118) < 1e-6", "r1 = com_zmp(10, 10, -0.08, 0.1...
theo-eng-code-L2-code-004509
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 10, 3.7, 50)", "assert r0[0] == 54", "assert r0[1] == 2", "assert r0[2] == 108", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 19.98) < 1e-6", "r1 = p...
theo-eng-code-L2-code-006008
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 250}')", "assert r0[0] == 40", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')", "assert r1[0] == 20", ...
theo-eng-code-L2-code-015744
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.5, 0.54, 60, 3.5, 1.5)", "assert abs(r0[0] - 24.09) < 1e-6", "assert abs(r0[1] - 1.3608) < 1e-6", "assert abs(r0[2] - 26.13) < 1e-6", "r1 = joint_torque(6.1, 0.52, 3...
theo-eng-code-L2-code-012893
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 7, 0.2, 0.9)", "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-010637
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-003451
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 210, 390, 0.3)", "assert abs(r0[0] - 336.0) < 1e-6", "assert abs(r0[1] - 0.54) < 1e-6", "assert abs(r0[2] - 32.1) < 1e-6", "r1 = runtime(0.2, 90, 210, 0.3)", "as...
theo-eng-code-L3-code-005607
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, 40, 3.7, 100)", "assert r0[0] == 54", "assert r0[1] == 3", "assert r0[2] == 162", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 59.94) < 1e-6" ], ...
theo-eng-code-L3-code-002985
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(5.4, 0.32, 30, 6.0, 1.5)", "assert abs(r0[0] - 13.66) < 1e-6", "assert abs(r0[1] - 0.7987) < 1e-6", "assert abs(r0[2] - 14.85) < 1e-6", "r1 = joint_torque(5.9, 0.35, 90,...
theo-eng-code-L3-code-002441
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, 250, 90, 0.7)", "assert abs(r0[0] - 202.0) < 1e-6", "assert abs(r0[1] - 0.89) < 1e-6", "assert abs(r0[2] - 53.5) < 1e-6", "r1 = runtime(0.5, 290, 200, 0.7)", "asse...
theo-eng-code-L2-code-014018
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([380, 80, 160, 320], 2)", "assert abs(r0 - 0.5222) < 1e-6", "r1 = rect_energy([360, 150, 210, 60], 10)", "assert abs(r1 - 2.1667) < 1e-6", "r2 = rect_energy([140,...
theo-eng-code-L1-refuse-002268
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_bypass_limit_code", "user_template": "2", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-007634
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([78, 87, 31, 41])", "assert abs(r0[0] - 59.25) < 1e-6", "assert abs(r0[1] - 27.403) < 1e-6", "r1 = summarise([72, 32, 20, 40])", "assert r1[0] == 41", "assert ab...
theo-eng-code-L3-code-012459
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.7, 0.16, 45, 3.0, 1.5)", "assert abs(r0[0] - 5.94) < 1e-6", "assert abs(r0[1] - 0.1169) < 1e-6", "assert abs(r0[2] - 6.11) < 1e-6", "r1 = joint_torque(0.5, 0.55, 60, 4...
theo-eng-code-L2-code-006191
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 7, 0.1, 1.0)", "assert abs(r0[0] - 3.21) < 1e-6", "assert abs(r0[1] - 192.9) < 1e-6", "assert abs(r0[2] - 18.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time...
theo-eng-code-L3-code-014266
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.27, 9500, 180)", "assert abs(r0[0] - 5.37) < 1e-6", "assert abs(r0[1] - 1768.4) < 1e-6", "r1 = gear_ratio(0.41, 10000, 120)", "assert abs(r1[0] - 12.88) < 1e-6", "ass...
theo-eng-code-L2-code-003506
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-006322
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.5, 0.35, 90, 5.5, 3.5)", "assert abs(r0[0] - 30.04) < 1e-6", "assert abs(r0[1] - 0.9392) < 1e-6", "assert abs(r0[2] - 33.33) < 1e-6", "r1 = joint_torque(0.9, 0.18, 30,...
theo-eng-code-L2-code-011276
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = summarise([91, 51, 94, 10, 43, 48])", "assert abs(r0[0] - 56.167) < 1e-6", "assert abs(r0[1] - 31.758) < 1e-6", "r1 = summarise([55, 26, 70, 41, 76])", "assert abs(r1[0] - 53....
theo-eng-code-L3-code-011833
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(17, 3, 0.5)", "assert abs(r0 - 12.21) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L2-code-011800
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.9, 0.36, 30, 5.5, 0.0)", "assert abs(r0[0] - 14.92) < 1e-6", "assert abs(r0[1] - 0.9677) < 1e-6", "assert abs(r0[2] - 14.92) < 1e-6", "r1 = joint_torque(5.1, 0.31, 9...
theo-eng-code-L3-code-011264
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, 7, 0.2, 0.8)", "assert abs(r0[0] - 6.43) < 1e-6", "assert abs(r0[1] - 385.7) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(4...
theo-eng-code-L3-code-009936
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 22, 0.2, 0.8)", "assert abs(r0[0] - 2.05) < 1e-6", "assert abs(r0[1] - 122.7) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 22" ], "subtask...
theo-eng-code-L2-code-011487
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-006237
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.35, 10500, 180)", "assert abs(r0[0] - 7.7) < 1e-6", "assert abs(r0[1] - 1364.2) < 1e-6", "r1 = gear_ratio(0.41, 5000, 100)", "assert abs(r1[0] - 7.73) < 1e-6", "asser...
theo-eng-code-L2-code-008446
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.9, 0.41, 90, 2.0, 4.0)", "assert abs(r0[0] - 11.87) < 1e-6", "assert abs(r0[1] - 0.4427) < 1e-6", "assert abs(r0[2] - 13.64) < 1e-6", "r1 = joint_torque(2.0, 0.41, 4...
theo-eng-code-L2-code-007094
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, [0, 25, 50, 75, 100], [0.7, 0.85, 0.87, 0.86, 0.84])", "assert abs(r0 - 0.856) < 1e-6", "r1 = interp_eff(60, [0, 25, 50, 75, 100], [0.79, 0.83, 0.9, 0.87, 0.81])", "as...
theo-eng-code-L2-code-013333
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "5", "style": "code", "source": "template", "tests": [ "r0 = summarise([95, 97, 54, 75])", "assert abs(r0[0] - 80.25) < 1e-6", "assert abs(r0[1] - 20.123) < 1e-6", "r1 = summarise([49, 43, 80, 67, 46, 26])", "assert abs(r1[0] - 51.833) ...
theo-eng-code-L3-code-006562
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": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 40, 3.7, 5)", "assert r0[0] == 54", "assert r0[1] == 41", "assert r0[2] == 2214", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 40.959) < 1e-6", "r1 = p...
theo-eng-code-L2-code-006359
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 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-009922
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.3, 0.56, 30, 6.0, 2.0)", "assert abs(r0[0] - 18.27) < 1e-6", "assert abs(r0[1] - 2.0175) < 1e-6", "assert abs(r0[2] - 22.3) < 1e-6", "r1 = joint_torque(4.9, 0.47, 30...
theo-eng-code-L2-code-007860
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L1-code-013440
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": "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-001442
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 22, 0.1, 0.9)", "assert abs(r0[0] - 1.82) < 1e-6", "assert abs(r0[1] - 109.1) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L1-clarify-014040
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": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-004608
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(33, 2620, 60, 0.35, 2.6, 0.007, 0.7, 0.88, 0.85)", "assert abs(r0[0] - 239.1) < 1e-6", "assert abs(r0[1] - 11.73) < 1e-6", "assert abs(r0[2] - 7.04) < 1e-6", "r1 = erange(36, ...
theo-eng-code-L2-code-014155
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = summarise([93, 67, 85, 54, 73])", "assert abs(r0[0] - 74.4) < 1e-6", "assert abs(r0[1] - 15.258) < 1e-6", "r1 = summarise([61, 57, 13, 61, 64])", "assert abs(r1[0] - 51.2) < 1...
theo-eng-code-L3-code-013651
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.67) < 1e-6", "assert abs(r0[1] - 40.0) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L2-code-015097
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.32, 4500, 150)", "assert abs(r0[0] - 3.62) < 1e-6", "assert abs(r0[1] - 1243.4) < 1e-6", "r1 = gear_ratio(0.41, 12000, 120)", "assert abs(r1[0] - 15.46) < 1e-6", "a...
theo-eng-code-L2-code-003626
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.5, 0.0], [4.5, 1.0])", "assert abs(r0 - 1.4142) < 1e-6", "r1 = seg_len([4.5, 0.0], [4.0, 0.0])", "assert abs(r1 - 0.5) < 1e-6", "r2 = seg_len([4.0, 2.5], [3.0, 0.5])",...
theo-eng-code-L2-code-001842
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 90, 230, 0.7)", "assert abs(r0[0] - 132.0) < 1e-6", "assert abs(r0[1] - 1.36) < 1e-6", "assert abs(r0[2] - 81.8) < 1e-6", "r1 = runtime(0.5, 240, 390, 0.5)", "as...
theo-eng-code-L2-code-004790
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 150, 0.1, 1.0)", "assert abs(r0[0] - 0.45) < 1e-6", "assert abs(r0[1] - 27.0) < 1e-6", "assert abs(r0[2] - 54.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L3-code-011260
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.35, 9500, 150)", "assert abs(r0[0] - 8.36) < 1e-6", "assert abs(r0[1] - 1136.8) < 1e-6", "r1 = gear_ratio(0.28, 4000, 150)", "assert abs(r1[0] - 2.81) < 1e-6", "asser...
theo-eng-code-L3-code-013511
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = erange(79, 2320, 120, 0.35, 2.3, 0.011, 1.2, 0.92, 0.9)", "assert abs(r0[0] - 283.3) < 1e-6", "assert abs(r0[1] - 25.1) < 1e-6", "assert abs(r0[2] - 30.12) < 1e-6", "r1 = erange(84, ...
theo-eng-code-L3-code-015264
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.41, 15000, 100)", "assert abs(r0[0] - 23.18) < 1e-6", "assert abs(r0[1] - 647.0) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L3-code-008511
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(16, 7, 0.25)", "assert abs(r0 - 10.04) < 1e-6", "r1 = rms_torque(66, 12, 0.5)", "assert abs(r1 - 47.43) < 1e-6", "r2 = rms_torque(22, 17, 0.75)", "assert abs(r2 - 20.86)...
theo-eng-code-L3-code-009675
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(86, 9, 0.75)", "assert abs(r0 - 74.61) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "s...
theo-eng-code-L2-code-012515
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 2.5], [1.5, 1.0])", "assert abs(r0 - 2.5) < 1e-6", "r1 = seg_len([2.5, 4.5], [2.5, 1.0])", "assert abs(r1 - 3.5) < 1e-6", "r2 = seg_len([2.0, 0.5], [3.0, 4.0])", ...
theo-eng-code-L2-code-008130
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(13, 18, -0.04, -0.02, 0.4, 0.6, 1)", "assert abs(r0[0] - -0.0284) < 1e-6", "assert abs(r0[1] - 0.5161) < 1e-6", "assert abs(r0[2] - -0.081) < 1e-6", "r1 = com_zmp(17, 29, -0....
theo-eng-code-L3-code-010925
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(12, 8, 0.75)", "assert abs(r0 - 11.14) < 1e-6", "r1 = rms_torque(41, 30, 0.25)", "assert abs(r1 - 33.09) < 1e-6", "r2 = rms_torque(62, 13, 0.25)", "assert abs(r2 - 32.98...
theo-eng-code-L2-code-009424
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.8, 0.19, 90, 1.5, 1.0)", "assert abs(r0[0] - 5.41) < 1e-6", "assert abs(r0[1] - 0.0878) < 1e-6", "assert abs(r0[2] - 5.49) < 1e-6", "r1 = joint_torque(6.4, 0.3, 45, ...
theo-eng-code-L3-code-010444
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.7, 0.6, 60, 2.0, 3.5)", "assert abs(r0[0] - 24.72) < 1e-6", "assert abs(r0[1] - 1.404) < 1e-6", "assert abs(r0[2] - 29.64) < 1e-6", "r1 = joint_torque(2.3, 0.59, 30, 1...
theo-eng-code-L2-code-013195
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 50, 0.2, 0.9)", "assert abs(r0[0] - 1.75) < 1e-6", "assert abs(r0[1] - 105.0) < 1e-6", "assert abs(r0[2] - 70.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_t...
theo-eng-code-L2-code-002863
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.9, 0.25, 60, 2.5, 0.5)", "assert abs(r0[0] - 10.51) < 1e-6", "assert abs(r0[1] - 0.2583) < 1e-6", "assert abs(r0[2] - 10.64) < 1e-6", "r1 = joint_torque(2.0, 0.39, 3...
theo-eng-code-L3-code-012659
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.1, 0.13, 30, 5.5, 0.5)", "assert abs(r0[0] - 5.45) < 1e-6", "assert abs(r0[1] - 0.1273) < 1e-6", "assert abs(r0[2] - 5.52) < 1e-6" ], "subtask": "writetests", ...
theo-eng-code-L1-code-007325
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": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-clarify-012581
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": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-014425
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 10, 3.6, 50)", "assert r0[0] == 56", "assert r0[1] == 1", "assert r0[2] == 56", "assert abs(r0[3] - 201.6) < 1e-6", "assert abs(r0[4] - 10.08) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-002006
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_minloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-014229
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.36, 90, 6.5, 4.0)", "assert abs(r0[0] - 33.9) < 1e-6", "assert abs(r0[1] - 1.1102) < 1e-6", "assert abs(r0[2] - 38.34) < 1e-6" ], "subtask": "writetests", ...