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-000014
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([90, 27, 57, 59])", "assert abs(r0[0] - 58.25) < 1e-6", "assert abs(r0[1] - 25.734) < 1e-6", "r1 = summarise([81, 99, 82, 86])", "assert r1[0] == 87", "assert ab...
theo-eng-code-L2-code-001119
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = seg_len([3.0, 0.0], [1.5, 2.5])", "assert abs(r0 - 2.9155) < 1e-6", "r1 = seg_len([2.0, 2.0], [0.0, 3.5])", "assert abs(r1 - 2.5) < 1e-6", "r2 = seg_len([5.0, 4.5], [5.0, 4.5])",...
theo-eng-code-L2-code-015727
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 10500, 150)", "assert abs(r0[0] - 11.35) < 1e-6", "assert abs(r0[1] - 925.3) < 1e-6", "r1 = gear_ratio(0.34, 9000, 150)", "assert abs(r1[0] - 7.69) < 1e-6", "as...
theo-eng-code-L2-code-015316
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([100, 240, 100, 490, 430], 5)", "assert abs(r0 - 1.8889) < 1e-6", "r1 = rect_energy([190, 310, 280, 380, 210], 2)", "assert abs(r1 - 0.7611) < 1e-6", "r2 = rect_e...
theo-eng-code-L2-code-010132
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([30, 41, 89, 91, 29])", "assert r0[0] == 56", "assert abs(r0[1] - 31.401) < 1e-6", "r1 = summarise([52, 57, 17, 63])", "assert abs(r1[0] - 47.25) < 1e-6", "asser...
theo-eng-code-L3-code-007302
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(63, 5, 0.25)", "assert abs(r0 - 31.8) < 1e-6", "r1 = rms_torque(85, 34, 0.75)", "assert abs(r1 - 75.55) < 1e-6", "r2 = rms_torque(13, 12, 0.25)", "assert abs(r2 - 12.26)...
theo-eng-code-L2-code-001176
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([21, 79, 51, 23])", "assert abs(r0[0] - 43.5) < 1e-6", "assert abs(r0[1] - 27.343) < 1e-6", "r1 = summarise([30, 13, 49, 93, 93])", "assert abs(r1[0] - 55.6) < 1e-6"...
theo-eng-code-L2-code-002699
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 60, 3.2, 2.5)", "assert r0[0] == 250", "assert r0[1] == 30", "assert r0[2] == 7500", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 60.0) < 1e-6", "r1 ...
theo-eng-code-L2-code-004424
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 250}')", "assert r0[0] == 80", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')", "assert r1[0] == 80", ...
theo-eng-code-L2-code-009198
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.4, 13000, 180)", "assert abs(r0[0] - 10.89) < 1e-6", "assert abs(r0[1] - 1193.7) < 1e-6", "r1 = gear_ratio(0.26, 13000, 120)", "assert abs(r1[0] - 10.62) < 1e-6", "...
theo-eng-code-L3-code-010480
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(4.7, 0.15, 60, 0.0, 0.5)", "assert abs(r0[0] - 2.99) < 1e-6", "assert abs(r0[1] - 0.0352) < 1e-6", "assert abs(r0[2] - 3.01) < 1e-6", "r1 = joint_torque(2.7, 0.25, 60, 8...
theo-eng-code-L2-code-001061
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.36, 8500, 150)", "assert abs(r0[0] - 7.69) < 1e-6", "assert abs(r0[1] - 1105.2) < 1e-6", "r1 = gear_ratio(0.45, 7000, 150)", "assert abs(r1[0] - 7.92) < 1e-6", "ass...
theo-eng-code-L1-code-002947
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_power", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-003764
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 26, -0.08, 0.07, 0.7, 0.7, 1)", "assert abs(r0[0] - 0.0129) < 1e-6", "assert abs(r0[1] - 0.7) < 1e-6", "assert abs(r0[2] - -0.0585) < 1e-6", "r1 = com_zmp(17, 14, 0.04, 0...
theo-eng-code-L2-code-011999
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_maxloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-005028
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": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 110, 200, 0.7)", "assert abs(r0[0] - 137.0) < 1e-6", "assert abs(r0[1] - 0.66) < 1e-6", "assert abs(r0[2] - 39.4) < 1e-6", "r1 = runtime(0.1, 90, 480, 0.3)", "asse...
theo-eng-code-L3-code-001728
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.43, 12000, 100)", "assert abs(r0[0] - 19.45) < 1e-6", "assert abs(r0[1] - 616.9) < 1e-6", "r1 = gear_ratio(0.34, 8500, 150)", "assert abs(r1[0] - 7.26) < 1e-6", "asse...
theo-eng-code-L2-code-004266
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(5, 12, 0.1, 0.15, 0.9, 0.7, 0.5)", "assert abs(r0[0] - 0.1353) < 1e-6", "assert abs(r0[1] - 0.7588) < 1e-6", "assert abs(r0[2] - 0.0966) < 1e-6", "r1 = com_zmp(10, 17, -0.07,...
theo-eng-code-L2-code-001850
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 60, \"max_kw\": 250}')", "assert r0[0] == 60", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 150}')", "assert r1[0] == 40", ...
theo-eng-code-L2-code-005250
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([56, 46, 72, 61])", "assert abs(r0[0] - 58.75) < 1e-6", "assert abs(r0[1] - 10.813) < 1e-6", "r1 = summarise([44, 35, 47, 11, 26, 24])", "assert abs(r1[0] - 31.167) ...
theo-eng-code-L3-code-008514
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": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 110, 190, 0.3)", "assert abs(r0[0] - 166.0) < 1e-6", "assert abs(r0[1] - 2.71) < 1e-6", "assert abs(r0[2] - 162.7) < 1e-6", "r1 = runtime(0.2, 60, 420, 0.7)", "ass...
theo-eng-code-L3-code-001305
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.8, 0.4, 30, 1.5, 3.5)", "assert abs(r0[0] - 5.69) < 1e-6", "assert abs(r0[1] - 0.3893) < 1e-6", "assert abs(r0[2] - 7.05) < 1e-6", "r1 = joint_torque(0.9, 0.35, 90, 7....
theo-eng-code-L2-code-012550
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(89, 5, 0.25)", "assert abs(r0 - 44.71) < 1e-6", "r1 = rms_torque(89, 37, 0.75)", "assert abs(r1 - 79.27) < 1e-6", "r2 = rms_torque(22, 11, 0.25)", "assert abs(r2 - 14....
theo-eng-code-L2-code-014166
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 22, 0.2, 1.0)", "assert abs(r0[0] - 3.64) < 1e-6", "assert abs(r0[1] - 218.2) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L2-code-009516
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = summarise([31, 15, 74, 57])", "assert abs(r0[0] - 44.25) < 1e-6", "assert abs(r0[1] - 26.323) < 1e-6", "r1 = summarise([90, 75, 87, 52, 68])", "assert abs(r1[0] - 74.4) < 1e-6...
theo-eng-code-L2-code-001172
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.6, 0.41, 90, 3.5, 3.5)", "assert abs(r0[0] - 15.28) < 1e-6", "assert abs(r0[1] - 0.622) < 1e-6", "assert abs(r0[2] - 17.46) < 1e-6", "r1 = joint_torque(3.6, 0.5, 90,...
theo-eng-code-L2-code-001805
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(200, 10, 3.7, 10)", "assert r0[0] == 54", "assert r0[1] == 6", "assert r0[2] == 324", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6", "r1 = ...
theo-eng-code-L1-clarify-006510
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-014026
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 10, 0.05, 0.15, 0.8, 0.7, 1)", "assert abs(r0[0] - 0.0885) < 1e-6", "assert abs(r0[1] - 0.7615) < 1e-6", "assert abs(r0[2] - 0.0108) < 1e-6", "r1 = com_zmp(19, 18, 0.02, ...
theo-eng-code-L2-code-000438
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.4) < 1e-6", "assert abs(r0[1] - 24.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L2-code-014029
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 10, 3.2, 100)", "assert r0[0] == 62", "assert r0[1] == 1", "assert r0[2] == 62", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 19.84) < 1e-6", "r1 = p...
theo-eng-code-L1-refuse-008908
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-010513
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(57, 2340, 120, 0.28, 2.3, 0.011, 1.0, 0.9, 0.85)", "assert abs(r0[0] - 218.7) < 1e-6", "assert abs(r0[1] - 22.15) < 1e-6", "assert abs(r0[2] - 26.58) < 1e-6", "r1 = erange(8...
theo-eng-code-L2-code-006260
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 17, -0.1, 0.0, 0.6, 0.3, 2)", "assert abs(r0[0] - -0.0227) < 1e-6", "assert abs(r0[1] - 0.3682) < 1e-6", "assert abs(r0[2] - -0.0978) < 1e-6", "r1 = com_zmp(19, 14, -0.02,...
theo-eng-code-L2-code-000629
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(20, 20, 0.75)", "assert abs(r0 - 20.0) < 1e-6", "r1 = rms_torque(34, 10, 0.5)", "assert abs(r1 - 25.06) < 1e-6", "r2 = rms_torque(43, 9, 0.5)", "assert abs(r2 - 31.06)...
theo-eng-code-L3-code-011195
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(40, 1630, 120, 0.28, 2.3, 0.013, 1.3, 0.92, 0.95)", "assert abs(r0[0] - 184.5) < 1e-6", "assert abs(r0[1] - 20.59) < 1e-6", "assert abs(r0[2] - 24.71) < 1e-6", "r1 = erange(96...
theo-eng-code-L2-code-005967
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([370, 160, 440, 250, 400], 10)", "assert abs(r0 - 4.5) < 1e-6", "r1 = rect_energy([460, 190, 210], 5)", "assert abs(r1 - 1.1944) < 1e-6", "r2 = rect_energy([450, ...
theo-eng-code-L3-code-005213
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(4.5, 0.3, 30, 2.5, 3.5)", "assert abs(r0[0] - 6.99) < 1e-6", "assert abs(r0[1] - 0.36) < 1e-6", "assert abs(r0[2] - 8.25) < 1e-6" ], "subtask": "writetests", "v...
theo-eng-code-L2-code-013138
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_meanstats", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = summarise([27, 58, 57, 27, 23, 31])", "assert abs(r0[0] - 37.167) < 1e-6", "assert abs(r0[1] - 15.955) < 1e-6", "r1 = summarise([81, 74, 12, 40, 61])", "assert abs(r1[0] - 53....
theo-eng-code-L2-code-000224
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.5, 0.34, 30, 3.5, 2.5)", "assert abs(r0[0] - 6.25) < 1e-6", "assert abs(r0[1] - 0.4239) < 1e-6", "assert abs(r0[2] - 7.31) < 1e-6", "r1 = joint_torque(7.6, 0.39, 45,...
theo-eng-code-L3-code-010229
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": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 150, 0.1, 0.9)", "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", "r1 ...
theo-eng-code-L2-code-004197
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([55, 50, 75, 32])", "assert r0[0] == 53", "assert abs(r0[1] - 17.682) < 1e-6", "r1 = summarise([24, 96, 44, 60, 54, 71])", "assert abs(r1[0] - 58.167) < 1e-6", "...
theo-eng-code-L2-code-004862
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(5, 3, 0.5)", "assert abs(r0 - 4.12) < 1e-6", "r1 = rms_torque(45, 36, 0.5)", "assert abs(r1 - 40.75) < 1e-6", "r2 = rms_torque(76, 24, 0.25)", "assert abs(r2 - 43.31) ...
theo-eng-code-L2-code-007806
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(5.7, 0.42, 60, 3.0, 0.5)", "assert abs(r0[0] - 20.87) < 1e-6", "assert abs(r0[1] - 0.8644) < 1e-6", "assert abs(r0[2] - 21.31) < 1e-6", "r1 = joint_torque(8.0, 0.6, 45...
theo-eng-code-L2-code-002439
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([80, 330, 410, 80], 5)", "assert abs(r0 - 1.25) < 1e-6", "r1 = rect_energy([360, 190, 260], 2)", "assert abs(r1 - 0.45) < 1e-6", "r2 = rect_energy([360, 110, 130,...
theo-eng-code-L3-code-015934
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.4, 0.38, 45, 3.5, 1.5)", "assert abs(r0[0] - 12.39) < 1e-6", "assert abs(r0[1] - 0.6209) < 1e-6", "assert abs(r0[2] - 13.32) < 1e-6", "r1 = joint_torque(1.3, 0.24, 30,...
theo-eng-code-L2-code-014417
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 13500, 150)", "assert abs(r0[0] - 12.21) < 1e-6", "assert abs(r0[1] - 1105.2) < 1e-6", "r1 = gear_ratio(0.27, 6000, 120)", "assert abs(r1[0] - 5.09) < 1e-6", "a...
theo-eng-code-L2-code-001853
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 80, 3.7, 5)", "assert r0[0] == 81", "assert r0[1] == 54", "assert r0[2] == 4374", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 80.919) < 1e-6", "r1 =...
theo-eng-code-L3-code-012104
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(1.0, 140, 120, 0.7)", "assert abs(r0[0] - 134.0) < 1e-6", "assert abs(r0[1] - 6.72) < 1e-6", "assert abs(r0[2] - 403.0) < 1e-6" ], "subtask": "writetests", "verifi...
theo-eng-code-L1-refuse-007427
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-009824
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(100, 15, 0.75)", "assert abs(r0 - 86.93) < 1e-6", "r1 = rms_torque(10, 10, 0.75)", "assert abs(r1 - 10.0) < 1e-6", "r2 = rms_torque(76, 10, 0.25)", "assert abs(r2 - 38.9...
theo-eng-code-L2-code-015198
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([500, 80, 150], 1)", "assert abs(r0 - 0.2028) < 1e-6", "r1 = rect_energy([240, 250, 260, 230, 110], 10)", "assert abs(r1 - 3.0278) < 1e-6", "r2 = rect_energy([220...
theo-eng-code-L3-code-000075
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(500, 60, 3.6, 100)", "assert r0[0] == 139", "assert r0[1] == 2", "assert r0[2] == 278", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 100.08) < 1e-6", "r1 = ...
theo-eng-code-L3-code-006633
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(10, 22, -0.05, -0.04, 0.6, 0.8, 0.5)", "assert abs(r0[0] - -0.0431) < 1e-6", "assert abs(r0[1] - 0.7375) < 1e-6", "assert abs(r0[2] - -0.0807) < 1e-6", "r1 = com_zmp(9, 11, -0....
theo-eng-code-L2-code-008089
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(94, 1060, 60, 0.28, 3.1, 0.013, 0.6, 0.88, 0.9)", "assert abs(r0[0] - 852.1) < 1e-6", "assert abs(r0[1] - 9.93) < 1e-6", "assert abs(r0[2] - 5.96) < 1e-6", "r1 = erange(63, ...
theo-eng-code-L2-code-012167
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(61, 2380, 100, 0.37, 2.8, 0.009, 1.4, 0.92, 0.9)", "assert abs(r0[0] - 243.7) < 1e-6", "assert abs(r0[1] - 22.53) < 1e-6", "assert abs(r0[2] - 22.53) < 1e-6", "r1 = erange(6...
theo-eng-code-L1-code-010410
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": "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-008695
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 20, -0.05, 0.14, 0.5, 0.6, 1)", "assert abs(r0[0] - 0.0556) < 1e-6", "assert abs(r0[1] - 0.5556) < 1e-6", "assert abs(r0[2] - -0.0011) < 1e-6", "r1 = com_zmp(8, 18, 0.02,...
theo-eng-code-L2-code-009654
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 0.1, 0.9)", "assert abs(r0[0] - 1.2) < 1e-6", "assert abs(r0[1] - 72.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L3-code-010079
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, 10, 3.2, 50)", "assert r0[0] == 125", "assert r0[1] == 1", "assert r0[2] == 125", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 20.0) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-012226
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 26, 0.04, 0.13, 0.9, 0.6, 0)", "assert abs(r0[0] - 0.1088) < 1e-6", "assert abs(r0[1] - 0.6706) < 1e-6", "assert abs(r0[2] - 0.1088) < 1e-6", "r1 = com_zmp(7, 30, -0.02, -...
theo-eng-code-L2-code-006131
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_maxloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-004753
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 22, 0.1, 1.0)", "assert abs(r0[0] - 5.11) < 1e-6", "assert abs(r0[1] - 306.8) < 1e-6", "assert abs(r0[2] - 90.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_t...
theo-eng-code-L2-code-010598
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([190, 410, 340], 10)", "assert abs(r0 - 2.6111) < 1e-6", "r1 = rect_energy([110, 60, 430, 290, 90], 2)", "assert abs(r1 - 0.5444) < 1e-6", "r2 = rect_energy([340,...
theo-eng-code-L2-code-013950
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L1-clarify-007980
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": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-011082
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([72, 70, 64, 57, 14, 10])", "assert abs(r0[0] - 47.833) < 1e-6", "assert abs(r0[1] - 28.273) < 1e-6", "r1 = summarise([15, 43, 89, 14, 21])", "assert abs(r1[0] - 36....
theo-eng-code-L1-clarify-004619
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-015528
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(90, 40, 0.25)", "assert abs(r0 - 56.79) < 1e-6", "r1 = rms_torque(55, 6, 0.5)", "assert abs(r1 - 39.12) < 1e-6", "r2 = rms_torque(88, 13, 0.25)", "assert abs(r2 - 45.42)...
theo-eng-code-L3-code-003711
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(6.7, 0.5, 45, 2.0, 1.0)", "assert abs(r0[0] - 18.56) < 1e-6", "assert abs(r0[1] - 1.0583) < 1e-6", "assert abs(r0[2] - 19.61) < 1e-6", "r1 = joint_torque(1.8, 0.53, 60, ...
theo-eng-code-L2-code-006669
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([180, 170, 430, 180, 300], 10)", "assert abs(r0 - 3.5) < 1e-6", "r1 = rect_energy([60, 320, 260, 480], 10)", "assert abs(r1 - 3.1111) < 1e-6", "r2 = rect_energy([...
theo-eng-code-L2-code-010824
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L3-code-015798
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 10, 3.6, 100)", "assert r0[0] == 139", "assert r0[1] == 1", "assert r0[2] == 139", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 50.04) < 1e-6" ], ...
theo-eng-code-L3-code-007101
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 21, -0.05, -0.03, 0.6, 0.3, 0)", "assert abs(r0[0] - -0.0398) < 1e-6", "assert abs(r0[1] - 0.4463) < 1e-6", "assert abs(r0[2] - -0.0398) < 1e-6" ], "subtask": "write...
theo-eng-code-L3-code-004279
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(81, 21, 0.25)", "assert abs(r0 - 44.4) < 1e-6", "r1 = rms_torque(64, 8, 0.5)", "assert abs(r1 - 45.61) < 1e-6", "r2 = rms_torque(26, 7, 0.75)", "assert abs(r2 - 22.79) <...
theo-eng-code-L2-code-011105
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, [0, 25, 50, 75, 100], [0.78, 0.83, 0.85, 0.88, 0.85])", "assert abs(r0 - 0.85) < 1e-6", "r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.7, 0.83, 0.88, 0.89, 0.81])", "as...
theo-eng-code-L2-code-006211
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(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-L3-code-010626
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(10, 17, -0.08, -0.01, 0.8, 0.9, 0)", "assert abs(r0[0] - -0.0359) < 1e-6", "assert abs(r0[1] - 0.863) < 1e-6", "assert abs(r0[2] - -0.0359) < 1e-6", "r1 = com_zmp(13, 13, 0.03,...
theo-eng-code-L2-code-013929
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 190, 590, 0.5)", "assert abs(r0[0] - 390.0) < 1e-6", "assert abs(r0[1] - 0.23) < 1e-6", "assert abs(r0[2] - 13.8) < 1e-6", "r1 = runtime(0.5, 280, 390, 0.3)", "a...
theo-eng-code-L2-code-011973
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.2, 0.8)", "assert abs(r0[0] - 0.68) < 1e-6", "assert abs(r0[1] - 40.9) < 1e-6", "assert abs(r0[2] - 12.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L2-code-011592
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 14, -0.07, -0.01, 0.5, 0.7, 0.5)", "assert abs(r0[0] - -0.0453) < 1e-6", "assert abs(r0[1] - 0.5824) < 1e-6", "assert abs(r0[2] - -0.075) < 1e-6", "r1 = com_zmp(15, 12, 0...
theo-eng-code-L2-code-007891
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = seg_len([1.0, 4.5], [0.0, 0.5])", "assert abs(r0 - 4.1231) < 1e-6", "r1 = seg_len([0.5, 4.5], [2.5, 0.0])", "assert abs(r1 - 4.9244) < 1e-6", "r2 = seg_len([4.5, 0.0], [0.5, 3.0]...
theo-eng-code-L2-code-012735
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(98, 1460, 120, 0.28, 2.2, 0.007, 0.4, 0.92, 0.9)", "assert abs(r0[0] - 550.6) < 1e-6", "assert abs(r0[1] - 16.02) < 1e-6", "assert abs(r0[2] - 19.22) < 1e-6", "r1 = erange(9...
theo-eng-code-L2-code-010397
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([270, 480, 420], 2)", "assert abs(r0 - 0.65) < 1e-6", "r1 = rect_energy([360, 120, 270, 270], 10)", "assert abs(r1 - 2.8333) < 1e-6", "r2 = rect_energy([300, 500,...
theo-eng-code-L2-code-013189
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(9, 2, 0.75)", "assert abs(r0 - 7.86) < 1e-6", "r1 = rms_torque(43, 27, 0.75)", "assert abs(r1 - 39.61) < 1e-6", "r2 = rms_torque(6, 5, 0.75)", "assert abs(r2 - 5.77) <...
theo-eng-code-L2-code-004020
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 130, 480, 0.7)", "assert abs(r0[0] - 235.0) < 1e-6", "assert abs(r0[1] - 0.38) < 1e-6", "assert abs(r0[2] - 23.0) < 1e-6", "r1 = runtime(0.2, 300, 520, 0.3)", "a...
theo-eng-code-L2-code-001350
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(26, 4, 0.25)", "assert abs(r0 - 13.45) < 1e-6", "r1 = rms_torque(88, 29, 0.75)", "assert abs(r1 - 77.58) < 1e-6", "r2 = rms_torque(85, 35, 0.75)", "assert abs(r2 - 75....
theo-eng-code-L3-code-014708
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": "2", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 7, 0.1, 0.9)", "assert abs(r0[0] - 2.86) < 1e-6", "assert abs(r0[1] - 171.4) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(6...
theo-eng-code-L2-code-002676
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-007650
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 7, 0.2, 0.9)", "assert abs(r0[0] - 5.0) < 1e-6", "assert abs(r0[1] - 300.0) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L1-code-000550
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-L1-code-011898
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-L3-code-014985
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(3.5, 0.35, 60, 8.0, 3.0)", "assert abs(r0[0] - 28.99) < 1e-6", "assert abs(r0[1] - 1.1229) < 1e-6", "assert abs(r0[2] - 32.36) < 1e-6", "r1 = joint_torque(6.7, 0.56, 60,...
theo-eng-code-L1-clarify-004564
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": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-006442
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(67, 14, 0.75)", "assert abs(r0 - 58.44) < 1e-6", "r1 = rms_torque(27, 12, 0.5)", "assert abs(r1 - 20.89) < 1e-6", "r2 = rms_torque(69, 9, 0.25)", "assert abs(r2 - 35.3...
theo-eng-code-L3-code-008621
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.5, 270, 70, 0.3)", "assert abs(r0[0] - 130.0) < 1e-6", "assert abs(r0[1] - 3.46) < 1e-6", "assert abs(r0[2] - 207.7) < 1e-6", "r1 = runtime(0.1, 150, 370, 0.5)", "ass...
theo-eng-code-L2-code-015684
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-012242
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 12000, 100)", "assert abs(r0[0] - 13.12) < 1e-6", "assert abs(r0[1] - 914.7) < 1e-6", "r1 = gear_ratio(0.27, 12500, 100)", "assert abs(r1[0] - 12.72) < 1e-6", "...
theo-eng-code-L1-clarify-008893
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": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-012722
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.5, 0.53, 90, 1.0, 4.0)", "assert abs(r0[0] - 14.3) < 1e-6", "assert abs(r0[1] - 0.6086) < 1e-6", "assert abs(r0[2] - 16.73) < 1e-6", "r1 = joint_torque(4.9, 0.17, 45...