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-013821
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 220, 470, 0.3)", "assert abs(r0[0] - 395.0) < 1e-6", "assert abs(r0[1] - 1.14) < 1e-6", "assert abs(r0[2] - 68.4) < 1e-6", "r1 = runtime(0.5, 290, 230, 0.5)", "a...
theo-eng-code-L2-code-001710
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(31, 8, 0.75)", "assert abs(r0 - 27.14) < 1e-6", "r1 = rms_torque(98, 29, 0.75)", "assert abs(r1 - 86.1) < 1e-6", "r2 = rms_torque(54, 37, 0.75)", "assert abs(r2 - 50.2...
theo-eng-code-L1-refuse-011117
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_fake_sensors", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-015618
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 7000, 100)", "assert abs(r0[0] - 7.13) < 1e-6", "assert abs(r0[1] - 982.4) < 1e-6", "r1 = gear_ratio(0.43, 7500, 150)", "assert abs(r1[0] - 8.11) < 1e-6", "asse...
theo-eng-code-L2-code-014785
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([70, 60, 500], 10)", "assert abs(r0 - 1.75) < 1e-6", "r1 = rect_energy([110, 450, 300, 210, 200], 5)", "assert abs(r1 - 1.7639) < 1e-6", "r2 = rect_energy([310, 4...
theo-eng-code-L2-code-014252
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(63, 10, 0.25)", "assert abs(r0 - 32.67) < 1e-6", "r1 = rms_torque(87, 26, 0.5)", "assert abs(r1 - 64.21) < 1e-6", "r2 = rms_torque(22, 3, 0.25)", "assert abs(r2 - 11.3...
theo-eng-code-L2-code-004818
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, 9, 0.5)", "assert abs(r0 - 22.15) < 1e-6", "r1 = rms_torque(7, 2, 0.5)", "assert abs(r1 - 5.15) < 1e-6", "r2 = rms_torque(44, 40, 0.75)", "assert abs(r2 - 43.03) <...
theo-eng-code-L2-code-013501
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 100, 320, 0.5)", "assert abs(r0[0] - 210.0) < 1e-6", "assert abs(r0[1] - 0.43) < 1e-6", "assert abs(r0[2] - 25.7) < 1e-6", "r1 = runtime(0.1, 200, 320, 0.3)", "a...
theo-eng-code-L2-code-015037
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(4.5, 0.58, 90, 4.0, 2.0)", "assert abs(r0[0] - 35.56) < 1e-6", "assert abs(r0[1] - 1.8502) < 1e-6", "assert abs(r0[2] - 39.26) < 1e-6", "r1 = joint_torque(7.1, 0.57, 3...
theo-eng-code-L2-code-015695
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L1-code-003652
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_filter", "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-010206
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 30, 0.07, 0.12, 0.6, 0.5, 0)", "assert abs(r0[0] - 0.1026) < 1e-6", "assert abs(r0[1] - 0.5348) < 1e-6", "assert abs(r0[2] - 0.1026) < 1e-6", "r1 = com_zmp(17, 13, -0.05,...
theo-eng-code-L2-code-003675
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')", "assert r0[0] == 60", "assert r0[1] == 100", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 250}')", "assert r1[0] == 40", ...
theo-eng-code-L2-code-011095
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 180, 520, 0.3)", "assert abs(r0[0] - 418.0) < 1e-6", "assert abs(r0[1] - 0.43) < 1e-6", "assert abs(r0[2] - 25.8) < 1e-6", "r1 = runtime(1.0, 210, 280, 0.5)", "a...
theo-eng-code-L2-code-003551
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 150, 0.2, 0.8)", "assert abs(r0[0] - 0.3) < 1e-6", "assert abs(r0[1] - 18.0) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L3-code-010292
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(14, 20, -0.03, 0.08, 0.3, 0.5, 2)", "assert abs(r0[0] - 0.0347) < 1e-6", "assert abs(r0[1] - 0.4176) < 1e-6", "assert abs(r0[2] - -0.0504) < 1e-6", "r1 = com_zmp(8, 22, 0.05, 0...
theo-eng-code-L2-code-008291
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 0.2, 1.0)", "assert abs(r0[0] - 0.33) < 1e-6", "assert abs(r0[1] - 20.0) < 1e-6", "assert abs(r0[2] - 32.0) < 1e-6", "assert abs(r0[3] - 120.0) < 1e-6", "...
theo-eng-code-L2-code-000276
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 11, 0.25)", "assert abs(r0 - 13.45) < 1e-6", "r1 = rms_torque(54, 28, 0.75)", "assert abs(r1 - 48.82) < 1e-6", "r2 = rms_torque(37, 17, 0.5)", "assert abs(r2 - 28....
theo-eng-code-L1-code-008414
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_filter", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-011601
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, 990, 60, 0.29, 2.2, 0.009, 0.8, 0.92, 0.95)", "assert abs(r0[0] - 327.6) < 1e-6", "assert abs(r0[1] - 7.25) < 1e-6", "assert abs(r0[2] - 4.35) < 1e-6", "r1 = erange(29, ...
theo-eng-code-L3-code-003702
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 40, 3.7, 5)", "assert r0[0] == 216", "assert r0[1] == 11", "assert r0[2] == 2376", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 43.956) < 1e-6", "r1 = ...
theo-eng-code-L2-code-004714
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 240, 400, 0.5)", "assert abs(r0[0] - 320.0) < 1e-6", "assert abs(r0[1] - 2.81) < 1e-6", "assert abs(r0[2] - 168.8) < 1e-6", "r1 = runtime(0.2, 280, 200, 0.5)", "...
theo-eng-code-L2-code-008325
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([430, 250, 470, 160, 70], 5)", "assert abs(r0 - 1.9167) < 1e-6", "r1 = rect_energy([230, 380, 290], 2)", "assert abs(r1 - 0.5) < 1e-6", "r2 = rect_energy([400, 17...
theo-eng-code-L2-code-014350
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(60, [0, 25, 50, 75, 100], [0.76, 0.83, 0.85, 0.88, 0.85])", "assert abs(r0 - 0.862) < 1e-6", "r1 = interp_eff(85, [0, 25, 50, 75, 100], [0.71, 0.82, 0.9, 0.88, 0.83])", "a...
theo-eng-code-L1-clarify-001739
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-L1-code-001634
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_countdown", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-003390
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-006433
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": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.45, 8000, 120)", "assert abs(r0[0] - 11.31) < 1e-6", "assert abs(r0[1] - 707.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-004152
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.7, 0.26, 90, 4.0, 0.5)", "assert abs(r0[0] - 13.65) < 1e-6", "assert abs(r0[1] - 0.3312) < 1e-6", "assert abs(r0[2] - 13.81) < 1e-6", "r1 = joint_torque(4.5, 0.33, 6...
theo-eng-code-L2-code-011333
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-015002
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.32, 14500, 150)", "assert abs(r0[0] - 11.66) < 1e-6", "assert abs(r0[1] - 1243.4) < 1e-6", "r1 = gear_ratio(0.26, 14000, 180)", "assert abs(r1[0] - 7.62) < 1e-6", "as...
theo-eng-code-L3-code-002095
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = erange(37, 2590, 120, 0.34, 2.7, 0.007, 0.7, 0.92, 0.95)", "assert abs(r0[0] - 141.6) < 1e-6", "assert abs(r0[1] - 24.82) < 1e-6", "assert abs(r0[2] - 29.78) < 1e-6", "r1 = erange(97...
theo-eng-code-L2-code-007291
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008832
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 48, 92, 42, 16])", "assert abs(r0[0] - 56.2) < 1e-6", "assert abs(r0[1] - 31.164) < 1e-6", "r1 = summarise([74, 71, 81, 34, 14, 64])", "assert abs(r1[0] - 56.33...
theo-eng-code-L3-code-007089
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.53, 90, 5.0, 2.5)", "assert abs(r0[0] - 41.85) < 1e-6", "assert abs(r0[1] - 1.9757) < 1e-6", "assert abs(r0[2] - 46.79) < 1e-6" ], "subtask": "writetests",...
theo-eng-code-L2-code-010597
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(34, 13, 0.25)", "assert abs(r0 - 20.39) < 1e-6", "r1 = rms_torque(62, 20, 0.25)", "assert abs(r1 - 35.51) < 1e-6", "r2 = rms_torque(38, 31, 0.75)", "assert abs(r2 - 36...
theo-eng-code-L2-code-015583
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([58, 44, 40, 87])", "assert abs(r0[0] - 57.25) < 1e-6", "assert abs(r0[1] - 21.282) < 1e-6", "r1 = summarise([91, 78, 82, 75, 53, 92])", "assert abs(r1[0] - 78.5) < ...
theo-eng-code-L2-code-005196
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([150, 370, 280], 5)", "assert abs(r0 - 1.1111) < 1e-6", "r1 = rect_energy([490, 480, 360, 450, 450], 1)", "assert abs(r1 - 0.6194) < 1e-6", "r2 = rect_energy([80,...
theo-eng-code-L3-code-011021
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(20, 10, -0.06, -0.04, 0.8, 0.9, 0)", "assert abs(r0[0] - -0.0533) < 1e-6", "assert abs(r0[1] - 0.8333) < 1e-6", "assert abs(r0[2] - -0.0533) < 1e-6" ], "subtask": "write...
theo-eng-code-L3-code-000088
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.39, 14000, 120)", "assert abs(r0[0] - 17.15) < 1e-6", "assert abs(r0[1] - 816.2) < 1e-6", "r1 = gear_ratio(0.43, 5500, 180)", "assert abs(r1[0] - 4.95) < 1e-6", "asse...
theo-eng-code-L1-code-006319
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_nested", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-013754
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(41, 20, 0.25)", "assert abs(r0 - 26.84) < 1e-6", "r1 = rms_torque(18, 12, 0.5)", "assert abs(r1 - 15.3) < 1e-6", "r2 = rms_torque(35, 13, 0.5)", "assert abs(r2 - 26.4) <...
theo-eng-code-L2-code-011119
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(7.9, 0.23, 45, 3.0, 0.0)", "assert abs(r0[0] - 11.09) < 1e-6", "assert abs(r0[1] - 0.298) < 1e-6", "assert abs(r0[2] - 11.09) < 1e-6", "r1 = joint_torque(6.7, 0.14, 30...
theo-eng-code-L3-code-010454
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(10, 4, 0.25)", "assert abs(r0 - 6.08) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L2-code-003308
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 10, 3.6, 100)", "assert r0[0] == 111", "assert r0[1] == 1", "assert r0[2] == 111", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 =...
theo-eng-code-L2-code-005407
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([240, 150, 430, 380], 5)", "assert abs(r0 - 1.6667) < 1e-6", "r1 = rect_energy([170, 330, 310, 200, 210], 2)", "assert abs(r1 - 0.6778) < 1e-6", "r2 = rect_energy...
theo-eng-code-L2-code-003627
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.5, 0.59, 90, 5.5, 2.0)", "assert abs(r0[0] - 41.96) < 1e-6", "assert abs(r0[1] - 2.3207) < 1e-6", "assert abs(r0[2] - 46.6) < 1e-6", "r1 = joint_torque(6.1, 0.49, 30...
theo-eng-code-L1-clarify-006446
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "2", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-002763
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 30, 0.02, 0.02, 0.7, 0.4, 0.5)", "assert abs(r0[0] - 0.02) < 1e-6", "assert abs(r0[1] - 0.4857) < 1e-6", "assert abs(r0[2] - -0.0048) < 1e-6", "r1 = com_zmp(11, 15, 0.09,...
theo-eng-code-L2-code-006304
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 130, 220, 0.3)", "assert abs(r0[0] - 193.0) < 1e-6", "assert abs(r0[1] - 2.33) < 1e-6", "assert abs(r0[2] - 139.9) < 1e-6", "r1 = runtime(0.1, 30, 270, 0.5)", "a...
theo-eng-code-L3-code-008673
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(7.2, 0.14, 45, 4.0, 4.0)", "assert abs(r0[0] - 7.38) < 1e-6", "assert abs(r0[1] - 0.1254) < 1e-6", "assert abs(r0[2] - 7.88) < 1e-6", "r1 = joint_torque(3.6, 0.27, 30, 7...
theo-eng-code-L3-code-010507
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(300, 40, 3.7, 50)", "assert r0[0] == 81", "assert r0[1] == 3", "assert r0[2] == 243", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 44.955) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-009271
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(85, [0, 25, 50, 75, 100], [0.76, 0.84, 0.85, 0.85, 0.84])", "assert abs(r0 - 0.846) < 1e-6", "r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.77, 0.85, 0.86, 0.85, 0.85])", "...
theo-eng-code-L1-clarify-002518
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-L1-refuse-011560
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_unlock_speed", "user_template": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-014438
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-011215
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-009151
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.6, 0.33, 45, 4.5, 3.5)", "assert abs(r0[0] - 15.57) < 1e-6", "assert abs(r0[1] - 0.657) < 1e-6", "assert abs(r0[2] - 17.87) < 1e-6", "r1 = joint_torque(4.7, 0.58, 90...
theo-eng-code-L3-code-014225
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, 50, 0.1, 0.8)", "assert abs(r0[0] - 0.35) < 1e-6", "assert abs(r0[1] - 21.0) < 1e-6", "assert abs(r0[2] - 14.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time(...
theo-eng-code-L3-code-014269
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = erange(53, 1240, 120, 0.28, 2.8, 0.008, 1.3, 0.88, 0.95)", "assert abs(r0[0] - 239.8) < 1e-6", "assert abs(r0[1] - 21.0) < 1e-6", "assert abs(r0[2] - 25.2) < 1e-6", "r1 = erange(39, ...
theo-eng-code-L3-code-008823
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(23, 3, 0.5)", "assert abs(r0 - 16.4) < 1e-6", "r1 = rms_torque(72, 27, 0.25)", "assert abs(r1 - 42.93) < 1e-6", "r2 = rms_torque(99, 31, 0.75)", "assert abs(r2 - 87.13) ...
theo-eng-code-L2-code-006541
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.38, 5500, 100)", "assert abs(r0[0] - 7.88) < 1e-6", "assert abs(r0[1] - 698.0) < 1e-6", "r1 = gear_ratio(0.39, 10000, 120)", "assert abs(r1[0] - 12.25) < 1e-6", "as...
theo-eng-code-L2-code-004932
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-006821
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_range", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = erange(72, 2480, 100, 0.3, 2.9, 0.011, 0.4, 0.94, 0.85)", "assert abs(r0[0] - 299.1) < 1e-6", "assert abs(r0[1] - 20.46) < 1e-6", "assert abs(r0[2] - 20.46) < 1e-6", "r1 = erange(3...
theo-eng-code-L2-code-012725
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(39, 6, 0.25)", "assert abs(r0 - 20.18) < 1e-6", "r1 = rms_torque(90, 23, 0.25)", "assert abs(r1 - 49.21) < 1e-6", "r2 = rms_torque(17, 4, 0.5)", "assert abs(r2 - 12.35...
theo-eng-code-L3-code-004226
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(1.2, 0.38, 90, 0.0, 0.5)", "assert abs(r0[0] - 2.24) < 1e-6", "assert abs(r0[1] - 0.0578) < 1e-6", "assert abs(r0[2] - 2.27) < 1e-6", "r1 = joint_torque(3.0, 0.16, 30, 0...
theo-eng-code-L2-code-004224
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_rectenergy", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = rect_energy([240, 90, 350], 2)", "assert abs(r0 - 0.3778) < 1e-6", "r1 = rect_energy([420, 120, 420], 10)", "assert abs(r1 - 2.6667) < 1e-6", "r2 = rect_energy([130, 90, 460]...
theo-eng-code-L2-code-010835
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')", "assert r0[0] == 40", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')", "assert r1[0] == 40", "a...
theo-eng-code-L2-code-010246
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-014951
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.45, 13000, 120)", "assert abs(r0[0] - 18.38) < 1e-6", "assert abs(r0[1] - 707.4) < 1e-6", "r1 = gear_ratio(0.45, 6000, 150)", "assert abs(r1[0] - 6.79) < 1e-6", "as...
theo-eng-code-L2-code-009986
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 8500, 100)", "assert abs(r0[0] - 12.18) < 1e-6", "assert abs(r0[1] - 698.0) < 1e-6", "r1 = gear_ratio(0.35, 7500, 150)", "assert abs(r1[0] - 6.6) < 1e-6", "asse...
theo-eng-code-L3-code-015546
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.36, 13000, 100)", "assert abs(r0[0] - 17.64) < 1e-6", "assert abs(r0[1] - 736.8) < 1e-6", "r1 = gear_ratio(0.37, 6500, 150)", "assert abs(r1[0] - 6.04) < 1e-6", "asse...
theo-eng-code-L2-code-008454
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')", "assert r0[0] == 60", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')", "assert r1[0] == 60", ...
theo-eng-code-L2-code-015676
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([210, 180, 220], 5)", "assert abs(r0 - 0.8472) < 1e-6", "r1 = rect_energy([120, 210, 240, 90], 2)", "assert abs(r1 - 0.3667) < 1e-6", "r2 = rect_energy([210, 220,...
theo-eng-code-L2-code-002515
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([50, 60, 170, 380], 5)", "assert abs(r0 - 0.9167) < 1e-6", "r1 = rect_energy([340, 130, 250], 2)", "assert abs(r1 - 0.4) < 1e-6", "r2 = rect_energy([210, 400, 280...
theo-eng-code-L3-code-008717
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(74, 1610, 100, 0.34, 2.8, 0.01, 0.6, 0.9, 0.85)", "assert abs(r0[0] - 324.9) < 1e-6", "assert abs(r0[1] - 19.36) < 1e-6", "assert abs(r0[2] - 19.36) < 1e-6", "r1 = erange(93, ...
theo-eng-code-L2-code-009795
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(9, 17, -0.04, 0.08, 0.6, 0.8, 0)", "assert abs(r0[0] - 0.0385) < 1e-6", "assert abs(r0[1] - 0.7308) < 1e-6", "assert abs(r0[2] - 0.0385) < 1e-6", "r1 = com_zmp(17, 16, -0.1, ...
theo-eng-code-L1-refuse-010602
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": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-007800
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": "4", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(90, 34, 0.75)", "assert abs(r0 - 79.77) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-006881
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.9, 0.11, 60, 7.5, 3.5)", "assert abs(r0[0] - 8.36) < 1e-6", "assert abs(r0[1] - 0.1024) < 1e-6", "assert abs(r0[2] - 8.72) < 1e-6", "r1 = joint_torque(2.3, 0.33, 60,...
theo-eng-code-L2-code-008569
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 7, 0.1, 0.9)", "assert abs(r0[0] - 14.29) < 1e-6", "assert abs(r0[1] - 857.1) < 1e-6", "assert abs(r0[2] - 80.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_ti...
theo-eng-code-L3-code-000396
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, 200, 240, 0.5)", "assert abs(r0[0] - 220.0) < 1e-6", "assert abs(r0[1] - 2.05) < 1e-6", "assert abs(r0[2] - 122.7) < 1e-6", "r1 = runtime(1.0, 280, 340, 0.7)", "as...
theo-eng-code-L2-code-006838
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([20, 59, 81, 90])", "assert abs(r0[0] - 62.5) < 1e-6", "assert abs(r0[1] - 31.182) < 1e-6", "r1 = summarise([41, 88, 28, 76])", "assert abs(r1[0] - 58.25) < 1e-6", ...
theo-eng-code-L2-code-003499
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 70, 470, 90, 420], 1)", "assert abs(r0 - 0.4306) < 1e-6", "r1 = rect_energy([430, 130, 210, 230], 5)", "assert abs(r1 - 1.3889) < 1e-6", "r2 = rect_energy([...
theo-eng-code-L2-code-002413
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 60, 3.6, 2.5)", "assert r0[0] == 111", "assert r0[1] == 61", "assert r0[2] == 6771", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 60.939) < 1e-6", "r...
theo-eng-code-L2-code-002988
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 0.2, 0.8)", "assert abs(r0[0] - 0.9) < 1e-6", "assert abs(r0[1] - 54.0) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L3-code-014860
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": "0", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.38, 10000, 100)", "assert abs(r0[0] - 14.33) < 1e-6", "assert abs(r0[1] - 698.0) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run"...
theo-eng-code-L3-code-003348
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(400, 40, 3.2, 50)", "assert r0[0] == 125", "assert r0[1] == 2", "assert r0[2] == 250", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 40.0) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-006186
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 190, 130, 0.7)", "assert abs(r0[0] - 172.0) < 1e-6", "assert abs(r0[1] - 1.05) < 1e-6", "assert abs(r0[2] - 62.8) < 1e-6", "r1 = runtime(0.5, 150, 330, 0.3)", "a...
theo-eng-code-L2-code-005338
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.0, 4.5], [4.5, 2.5])", "assert abs(r0 - 3.2016) < 1e-6", "r1 = seg_len([2.0, 1.5], [1.0, 2.5])", "assert abs(r1 - 1.4142) < 1e-6", "r2 = seg_len([5.0, 2.5], [4.5, 2.5]...
theo-eng-code-L2-code-001972
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([93, 64, 75, 45, 16, 42])", "assert abs(r0[0] - 55.833) < 1e-6", "assert abs(r0[1] - 27.243) < 1e-6", "r1 = summarise([60, 47, 91, 10])", "assert r1[0] == 52", "...
theo-eng-code-L2-code-011369
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008015
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "6", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.26, 13000, 150)", "assert abs(r0[0] - 8.49) < 1e-6", "assert abs(r0[1] - 1530.3) < 1e-6", "r1 = gear_ratio(0.43, 7500, 150)", "assert abs(r1[0] - 8.11) < 1e-6", "as...
theo-eng-code-L1-code-012835
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_strmul", "user_template": "3", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-008413
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 10, 3.7, 2.5)", "assert r0[0] == 216", "assert r0[1] == 6", "assert r0[2] == 1296", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 11.988) < 1e-6", "r1...
theo-eng-code-L2-code-010431
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.7, 0.25, 60, 3.0, 4.0)", "assert abs(r0[0] - 14.55) < 1e-6", "assert abs(r0[1] - 0.3479) < 1e-6", "assert abs(r0[2] - 15.94) < 1e-6", "r1 = joint_torque(2.9, 0.12, 4...
theo-eng-code-L2-code-011262
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 50, 0.1, 0.8)", "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-011118
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 15, -0.04, 0.15, 0.9, 0.9, 0)", "assert abs(r0[0] - 0.0414) < 1e-6", "assert abs(r0[1] - 0.9) < 1e-6", "assert abs(r0[2] - 0.0414) < 1e-6", "r1 = com_zmp(20, 20, 0.07, 0....
theo-eng-code-L2-code-011130
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([67, 77, 15, 40])", "assert abs(r0[0] - 49.75) < 1e-6", "assert abs(r0[1] - 27.945) < 1e-6", "r1 = summarise([47, 42, 31, 49, 21])", "assert r1[0] == 38", "asser...
theo-eng-code-L3-code-006325
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 22, 0.1, 0.9)", "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_time...