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-002407
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.5, 5.0], [2.5, 2.0])", "assert abs(r0 - 3.0) < 1e-6", "r1 = seg_len([4.0, 0.5], [3.5, 4.0])", "assert abs(r1 - 3.5355) < 1e-6", "r2 = seg_len([2.5, 1.5], [3.5, 0.5])",...
theo-eng-code-L2-code-006665
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.9, 0.48, 90, 2.5, 1.0)", "assert abs(r0[0] - 23.31) < 1e-6", "assert abs(r0[1] - 0.9523) < 1e-6", "assert abs(r0[2] - 24.26) < 1e-6", "r1 = joint_torque(2.4, 0.26, 9...
theo-eng-code-L2-code-011604
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 250, 360, 0.5)", "assert abs(r0[0] - 305.0) < 1e-6", "assert abs(r0[1] - 0.59) < 1e-6", "assert abs(r0[2] - 35.4) < 1e-6", "r1 = runtime(1.0, 170, 320, 0.5)", "a...
theo-eng-code-L2-code-001084
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_jsoncfg", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')", "assert r0[0] == 20", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')", "assert r1[0] == 20", ...
theo-eng-code-L3-code-001364
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": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 30, 30, 0.7)", "assert abs(r0[0] - 30.0) < 1e-6", "assert abs(r0[1] - 3.0) < 1e-6", "assert abs(r0[2] - 180.0) < 1e-6" ], "subtask": "writetests", "verified_b...
theo-eng-code-L2-code-003816
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 22, 0.1, 0.8)", "assert abs(r0[0] - 1.59) < 1e-6", "assert abs(r0[1] - 95.5) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_tim...
theo-eng-code-L3-code-014585
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(60, 11, 0.2, 0.9)", "assert abs(r0[0] - 4.77) < 1e-6", "assert abs(r0[1] - 286.4) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_time...
theo-eng-code-L2-code-011853
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(20, [0, 25, 50, 75, 100], [0.73, 0.81, 0.9, 0.88, 0.83])", "assert abs(r0 - 0.794) < 1e-6", "r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.73, 0.81, 0.85, 0.9, 0.82])", "as...
theo-eng-code-L2-code-011847
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.0, 2.5], [3.5, 3.5])", "assert abs(r0 - 3.6401) < 1e-6", "r1 = seg_len([4.0, 3.0], [2.0, 2.5])", "assert abs(r1 - 2.0616) < 1e-6", "r2 = seg_len([4.0, 3.5], [3.0, 2.0]...
theo-eng-code-L2-code-008256
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(61, 1460, 60, 0.31, 1.9, 0.009, 1.1, 0.94, 0.95)", "assert abs(r0[0] - 673.5) < 1e-6", "assert abs(r0[1] - 8.6) < 1e-6", "assert abs(r0[2] - 5.16) < 1e-6", "r1 = erange(85, ...
theo-eng-code-L1-clarify-001374
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "3", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-005441
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(15, [0, 25, 50, 75, 100], [0.76, 0.81, 0.9, 0.85, 0.84])", "assert abs(r0 - 0.79) < 1e-6", "r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.72, 0.83, 0.87, 0.9, 0.85])", "ass...
theo-eng-code-L2-code-001405
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(9, 29, -0.02, -0.02, 0.7, 0.6, 0.5)", "assert abs(r0[0] - -0.02) < 1e-6", "assert abs(r0[1] - 0.6237) < 1e-6", "assert abs(r0[2] - -0.0518) < 1e-6", "r1 = com_zmp(17, 23, 0.0...
theo-eng-code-L2-code-002760
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.2, 0.37, 90, 8.0, 4.0)", "assert abs(r0[0] - 42.1) < 1e-6", "assert abs(r0[1] - 1.4238) < 1e-6", "assert abs(r0[2] - 47.8) < 1e-6", "r1 = joint_torque(1.5, 0.37, 45,...
theo-eng-code-L3-code-012392
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": "3", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.37, 13000, 120)", "assert abs(r0[0] - 15.11) < 1e-6", "assert abs(r0[1] - 860.3) < 1e-6", "r1 = gear_ratio(0.36, 9000, 120)", "assert abs(r1[0] - 10.18) < 1e-6", "ass...
theo-eng-code-L2-code-015369
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 14000, 180)", "assert abs(r0[0] - 8.8) < 1e-6", "assert abs(r0[1] - 1591.5) < 1e-6", "r1 = gear_ratio(0.37, 13500, 120)", "assert abs(r1[0] - 15.69) < 1e-6", "as...
theo-eng-code-L2-code-012018
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 11, 0.2, 1.0)", "assert abs(r0[0] - 5.45) < 1e-6", "assert abs(r0[1] - 327.3) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-001825
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([98, 18, 18, 27, 25, 19])", "assert abs(r0[0] - 34.167) < 1e-6", "assert abs(r0[1] - 31.505) < 1e-6", "r1 = summarise([29, 22, 67, 90])", "assert r1[0] == 52", "...
theo-eng-code-L1-clarify-011714
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-002113
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.5, 1.0], [5.0, 1.5])", "assert abs(r0 - 4.5277) < 1e-6", "r1 = seg_len([4.5, 1.5], [3.0, 2.5])", "assert abs(r1 - 1.8028) < 1e-6", "r2 = seg_len([2.5, 2.0], [1.5, 4.5]...
theo-eng-code-L2-code-015844
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(7, 19, 0.1, 0.14, 0.4, 0.8, 1)", "assert abs(r0[0] - 0.1292) < 1e-6", "assert abs(r0[1] - 0.6923) < 1e-6", "assert abs(r0[2] - 0.0587) < 1e-6", "r1 = com_zmp(9, 12, -0.03, 0....
theo-eng-code-L3-code-007621
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(500, 60, 3.6, 5)", "assert r0[0] == 139", "assert r0[1] == 24", "assert r0[2] == 3336", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 60.048) < 1e-6", "r1 = ...
theo-eng-code-L2-code-008577
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(300, 60, 3.7, 5)", "assert r0[0] == 81", "assert r0[1] == 41", "assert r0[2] == 3321", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 61.438) < 1e-6", "r1 =...
theo-eng-code-L1-clarify-000069
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-013748
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 150, 0.1, 0.9)", "assert abs(r0[0] - 0.53) < 1e-6", "assert abs(r0[1] - 32.0) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L2-code-002914
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 230, 350, 0.7)", "assert abs(r0[0] - 266.0) < 1e-6", "assert abs(r0[1] - 0.34) < 1e-6", "assert abs(r0[2] - 20.3) < 1e-6", "r1 = runtime(1.0, 170, 540, 0.7)", "a...
theo-eng-code-L2-code-004689
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([170, 370, 80, 70], 2)", "assert abs(r0 - 0.3833) < 1e-6", "r1 = rect_energy([330, 180, 400], 2)", "assert abs(r1 - 0.5056) < 1e-6", "r2 = rect_energy([340, 140, ...
theo-eng-code-L3-code-002867
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(500, 60, 3.6, 2.5)", "assert r0[0] == 139", "assert r0[1] == 48", "assert r0[2] == 6672", "assert abs(r0[3] - 500.4) < 1e-6", "assert abs(r0[4] - 60.048) < 1e-6", "r1 ...
theo-eng-code-L2-code-003130
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 50, 0.2, 0.8)", "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-L2-code-003339
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_prodloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-002392
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 3.6, 100)", "assert r0[0] == 111", "assert r0[1] == 2", "assert r0[2] == 222", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 79.92) < 1e-6", "r1 =...
theo-eng-code-L2-code-013080
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([3.0, 5.0], [0.5, 1.0])", "assert abs(r0 - 4.717) < 1e-6", "r1 = seg_len([2.0, 5.0], [1.0, 0.5])", "assert abs(r1 - 4.6098) < 1e-6", "r2 = seg_len([0.5, 4.5], [2.5, 1.5])...
theo-eng-code-L2-code-001870
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-014199
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(75, [0, 25, 50, 75, 100], [0.73, 0.8, 0.88, 0.9, 0.8])", "assert abs(r0 - 0.9) < 1e-6", "r1 = interp_eff(10, [0, 25, 50, 75, 100], [0.72, 0.81, 0.89, 0.87, 0.85])", "asser...
theo-eng-code-L3-code-005773
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 80, 3.7, 50)", "assert r0[0] == 108", "assert r0[1] == 5", "assert r0[2] == 540", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 99.9) < 1e-6", "r1 = pac...
theo-eng-code-L2-code-015652
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.41, 4500, 180)", "assert abs(r0[0] - 3.86) < 1e-6", "assert abs(r0[1] - 1164.5) < 1e-6", "r1 = gear_ratio(0.29, 15000, 100)", "assert abs(r1[0] - 16.4) < 1e-6", "as...
theo-eng-code-L2-code-014677
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 270, 600, 0.5)", "assert abs(r0[0] - 435.0) < 1e-6", "assert abs(r0[1] - 0.21) < 1e-6", "assert abs(r0[2] - 12.4) < 1e-6", "r1 = runtime(1.0, 220, 40, 0.7)", "as...
theo-eng-code-L3-code-014754
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": "4", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 60, 3.6, 2.5)", "assert r0[0] == 222", "assert r0[1] == 31", "assert r0[2] == 6882", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 61.938) < 1e-6" ...
theo-eng-code-L2-code-008851
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.41, 12000, 180)", "assert abs(r0[0] - 10.3) < 1e-6", "assert abs(r0[1] - 1164.5) < 1e-6", "r1 = gear_ratio(0.32, 7500, 120)", "assert abs(r1[0] - 7.54) < 1e-6", "as...
theo-eng-code-L2-code-004286
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 18, -0.1, -0.04, 0.6, 0.4, 2)", "assert abs(r0[0] - -0.0652) < 1e-6", "assert abs(r0[1] - 0.4839) < 1e-6", "assert abs(r0[2] - -0.1638) < 1e-6", "r1 = com_zmp(14, 15, -0....
theo-eng-code-L1-code-000346
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": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-001241
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.1, 1.0)", "assert abs(r0[0] - 2.05) < 1e-6", "assert abs(r0[1] - 122.7) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 22", "r1 = charge_ti...
theo-eng-code-L3-code-010964
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 11, 0.2, 0.9)", "assert abs(r0[0] - 3.18) < 1e-6", "assert abs(r0[1] - 190.9) < 1e-6", "assert abs(r0[2] - 28.0) < 1e-6", "assert r0[3] == 11" ], "subtask...
theo-eng-code-L2-code-000006
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([460, 370, 140], 1)", "assert abs(r0 - 0.2694) < 1e-6", "r1 = rect_energy([160, 440, 310, 430], 10)", "assert abs(r1 - 3.7222) < 1e-6", "r2 = rect_energy([120, 49...
theo-eng-code-L2-code-002655
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([50, 330, 420, 340, 200], 2)", "assert abs(r0 - 0.7444) < 1e-6", "r1 = rect_energy([490, 200, 190, 260], 5)", "assert abs(r1 - 1.5833) < 1e-6", "r2 = rect_energy(...
theo-eng-code-L3-code-015730
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_com", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 18, -0.06, 0.14, 0.9, 0.3, 2)", "assert abs(r0[0] - 0.0459) < 1e-6", "assert abs(r0[1] - 0.5824) < 1e-6", "assert abs(r0[2] - -0.0728) < 1e-6", "r1 = com_zmp(20, 23, -0.06,...
theo-eng-code-L2-code-003429
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([18, 84, 42, 99])", "assert abs(r0[0] - 60.75) < 1e-6", "assert abs(r0[1] - 37.34) < 1e-6", "r1 = summarise([26, 96, 88, 25])", "assert abs(r1[0] - 58.75) < 1e-6", ...
theo-eng-code-L3-code-010256
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_rms", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(55, 26, 0.25)", "assert abs(r0 - 35.54) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "...
theo-eng-code-L2-code-014566
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 10, 3.7, 100)", "assert r0[0] == 54", "assert r0[1] == 1", "assert r0[2] == 54", "assert abs(r0[3] - 199.8) < 1e-6", "assert abs(r0[4] - 19.98) < 1e-6", "r1 = p...
theo-eng-code-L1-code-008794
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": "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-010682
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(300, 20, 3.7, 10)", "assert r0[0] == 81", "assert r0[1] == 7", "assert r0[2] == 567", "assert abs(r0[3] - 299.7) < 1e-6", "assert abs(r0[4] - 20.979) < 1e-6", "r1 = pa...
theo-eng-code-L2-code-005032
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 250, 430, 0.7)", "assert abs(r0[0] - 304.0) < 1e-6", "assert abs(r0[1] - 0.59) < 1e-6", "assert abs(r0[2] - 35.5) < 1e-6", "r1 = runtime(0.2, 40, 150, 0.7)", "as...
theo-eng-code-L3-code-001562
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_com", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(9, 16, -0.02, 0.06, 0.5, 0.6, 1)", "assert abs(r0[0] - 0.0312) < 1e-6", "assert abs(r0[1] - 0.564) < 1e-6", "assert abs(r0[2] - -0.0263) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L3-code-014005
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": "3", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(400, 40, 3.7, 5)", "assert r0[0] == 108", "assert r0[1] == 21", "assert r0[2] == 2268", "assert abs(r0[3] - 399.6) < 1e-6", "assert abs(r0[4] - 41.958) < 1e-6" ],...
theo-eng-code-L2-code-007379
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 60, 60, 0.7)", "assert abs(r0[0] - 60.0) < 1e-6", "assert abs(r0[1] - 7.5) < 1e-6", "assert abs(r0[2] - 450.0) < 1e-6", "r1 = runtime(0.2, 40, 100, 0.7)", "asser...
theo-eng-code-L2-code-009339
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 4.5], [2.5, 3.0])", "assert abs(r0 - 1.5811) < 1e-6", "r1 = seg_len([1.5, 5.0], [3.5, 0.5])", "assert abs(r1 - 4.9244) < 1e-6", "r2 = seg_len([2.0, 5.0], [2.5, 5.0]...
theo-eng-code-L3-code-000634
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.33, 6000, 120)", "assert abs(r0[0] - 6.22) < 1e-6", "assert abs(r0[1] - 964.6) < 1e-6", "r1 = gear_ratio(0.3, 6500, 120)", "assert abs(r1[0] - 6.13) < 1e-6", "assert ...
theo-eng-code-L2-code-006315
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_squareloop", "user_template": "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-012436
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.2, 0.8)", "assert abs(r0[0] - 4.09) < 1e-6", "assert abs(r0[1] - 245.5) < 1e-6", "assert abs(r0[2] - 36.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-000547
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(63, 18, 0.75)", "assert abs(r0 - 55.3) < 1e-6", "r1 = rms_torque(46, 16, 0.25)", "assert abs(r1 - 26.85) < 1e-6", "r2 = rms_torque(73, 39, 0.5)", "assert abs(r2 - 58.5...
theo-eng-code-L2-code-013161
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(16, 20, -0.01, 0.03, 0.3, 0.7, 0.5)", "assert abs(r0[0] - 0.0122) < 1e-6", "assert abs(r0[1] - 0.5222) < 1e-6", "assert abs(r0[2] - -0.0144) < 1e-6", "r1 = com_zmp(17, 29, -0...
theo-eng-code-L3-code-014416
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(62, 2740, 80, 0.36, 2.9, 0.007, 1.1, 0.88, 0.9)", "assert abs(r0[0] - 322.9) < 1e-6", "assert abs(r0[1] - 17.28) < 1e-6", "assert abs(r0[2] - 13.83) < 1e-6" ], "subtask...
theo-eng-code-L2-code-008333
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(18, 15, -0.02, 0.13, 0.8, 0.4, 1)", "assert abs(r0[0] - 0.0482) < 1e-6", "assert abs(r0[1] - 0.6182) < 1e-6", "assert abs(r0[2] - -0.0148) < 1e-6", "r1 = com_zmp(18, 13, 0.05...
theo-eng-code-L2-code-002825
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([130, 270, 500], 5)", "assert abs(r0 - 1.25) < 1e-6", "r1 = rect_energy([450, 170, 460, 300, 320], 1)", "assert abs(r1 - 0.4722) < 1e-6", "r2 = rect_energy([400, ...
theo-eng-code-L2-code-007600
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.3, 0.45, 45, 1.0, 0.5)", "assert abs(r0[0] - 6.71) < 1e-6", "assert abs(r0[1] - 0.3578) < 1e-6", "assert abs(r0[2] - 6.89) < 1e-6", "r1 = joint_torque(5.0, 0.1, 60, ...
theo-eng-code-L2-code-011122
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_runtime", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.1, 90, 550, 0.3)", "assert abs(r0[0] - 412.0) < 1e-6", "assert abs(r0[1] - 0.22) < 1e-6", "assert abs(r0[2] - 13.1) < 1e-6", "r1 = runtime(0.5, 70, 540, 0.7)", "ass...
theo-eng-code-L2-code-005081
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 13000, 180)", "assert abs(r0[0] - 10.07) < 1e-6", "assert abs(r0[1] - 1290.4) < 1e-6", "r1 = gear_ratio(0.3, 10000, 100)", "assert abs(r1[0] - 11.31) < 1e-6", "...
theo-eng-code-L1-refuse-005161
refuse
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refuse_unlock_speed", "user_template": "1", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L3-code-013114
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(99, 1210, 100, 0.38, 2.7, 0.008, 0.5, 0.94, 0.85)", "assert abs(r0[0] - 477.2) < 1e-6", "assert abs(r0[1] - 17.64) < 1e-6", "assert abs(r0[2] - 17.64) < 1e-6", "r1 = erange(92...
theo-eng-code-L2-code-015694
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(59, 33, 0.75)", "assert abs(r0 - 53.69) < 1e-6", "r1 = rms_torque(66, 10, 0.75)", "assert abs(r1 - 57.38) < 1e-6", "r2 = rms_torque(98, 39, 0.25)", "assert abs(r2 - 59...
theo-eng-code-L2-code-015986
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, -0.06, 0.12, 0.7, 0.3, 2)", "assert abs(r0[0] - 0.0442) < 1e-6", "assert abs(r0[1] - 0.4684) < 1e-6", "assert abs(r0[2] - -0.0513) < 1e-6", "r1 = com_zmp(16, 19, 0.06,...
theo-eng-code-L2-code-015440
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.0, 0.11, 60, 4.5, 2.5)", "assert abs(r0[0] - 5.14) < 1e-6", "assert abs(r0[1] - 0.0625) < 1e-6", "assert abs(r0[2] - 5.3) < 1e-6", "r1 = joint_torque(1.0, 0.25, 90, ...
theo-eng-code-L3-code-005613
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(300, 40, 3.6, 5)", "assert r0[0] == 83", "assert r0[1] == 27", "assert r0[2] == 2241", "assert abs(r0[3] - 298.8) < 1e-6", "assert abs(r0[4] - 40.338) < 1e-6" ], ...
theo-eng-code-L2-code-010045
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([3.0, 1.0], [2.5, 3.0])", "assert abs(r0 - 2.0616) < 1e-6", "r1 = seg_len([4.0, 0.0], [3.0, 1.0])", "assert abs(r1 - 1.4142) < 1e-6", "r2 = seg_len([3.5, 4.0], [3.0, 0.0]...
theo-eng-code-L2-code-010666
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_countloop", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-014447
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = seg_len([4.0, 2.5], [2.5, 5.0])", "assert abs(r0 - 2.9155) < 1e-6", "r1 = seg_len([3.0, 5.0], [0.0, 1.5])", "assert abs(r1 - 4.6098) < 1e-6", "r2 = seg_len([2.0, 4.0], [0.5, 1.5]...
theo-eng-code-L3-code-003884
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": "2", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(15, 30, 0.03, -0.03, 0.7, 0.3, 2)", "assert abs(r0[0] - -0.01) < 1e-6", "assert abs(r0[1] - 0.4333) < 1e-6", "assert abs(r0[2] - -0.0983) < 1e-6", "r1 = com_zmp(9, 16, -0.08, -...
theo-eng-code-L2-code-009902
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 20, 3.7, 50)", "assert r0[0] == 216", "assert r0[1] == 1", "assert r0[2] == 216", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 39.96) < 1e-6", "r1 = ...
theo-eng-code-L2-code-003855
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_evenloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-009682
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 150}')", "assert r0[0] == 60", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')", "assert r1[0] == 80", ...
theo-eng-code-L3-code-015884
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.26, 9500, 100)", "assert abs(r0[0] - 9.31) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L1-clarify-008079
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-009071
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.26, 14000, 120)", "assert abs(r0[0] - 11.44) < 1e-6", "assert abs(r0[1] - 1224.3) < 1e-6", "r1 = gear_ratio(0.27, 6500, 150)", "assert abs(r1[0] - 4.41) < 1e-6", "a...
theo-eng-code-L3-code-011715
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": "0", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(76, 8, 0.5)", "assert abs(r0 - 54.04) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "sa...
theo-eng-code-L3-code-005454
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.33, 5500, 150)", "assert abs(r0[0] - 4.56) < 1e-6", "assert abs(r0[1] - 1205.7) < 1e-6", "r1 = gear_ratio(0.45, 4000, 100)", "assert abs(r1[0] - 6.79) < 1e-6", "asser...
theo-eng-code-L1-refuse-007148
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-L2-code-013648
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 11500, 150)", "assert abs(r0[0] - 8.67) < 1e-6", "assert abs(r0[1] - 1326.3) < 1e-6", "r1 = gear_ratio(0.31, 10500, 150)", "assert abs(r1[0] - 8.18) < 1e-6", "as...
theo-eng-code-L3-code-016011
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(1.0, 210, 260, 0.5)", "assert abs(r0[0] - 235.0) < 1e-6", "assert abs(r0[1] - 3.83) < 1e-6", "assert abs(r0[2] - 229.8) < 1e-6", "r1 = runtime(0.2, 280, 100, 0.7)", "as...
theo-eng-code-L1-code-012924
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_squares", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L1-clarify-006410
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-010236
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 250}')", "assert r0[0] == 80", "assert r0[1] == 250", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')", "assert r1[0] == 60", ...
theo-eng-code-L2-code-006495
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(58, 5, 0.75)", "assert abs(r0 - 50.29) < 1e-6", "r1 = rms_torque(16, 7, 0.25)", "assert abs(r1 - 10.04) < 1e-6", "r2 = rms_torque(51, 21, 0.5)", "assert abs(r2 - 39.0)...
theo-eng-code-L2-code-006703
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 50}')", "assert r0[0] == 60", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')", "assert r1[0] == 80", "a...
theo-eng-code-L1-refuse-007951
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-008544
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(31, 2, 0.25)", "assert abs(r0 - 15.6) < 1e-6", "r1 = rms_torque(47, 14, 0.75)", "assert abs(r1 - 41.3) < 1e-6", "r2 = rms_torque(35, 35, 0.25)", "assert abs(r2 - 35.0)...
theo-eng-code-L1-clarify-010935
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_fix", "user_template": "1", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-004093
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = erange(77, 1700, 100, 0.37, 2.9, 0.01, 1.3, 0.9, 0.9)", "assert abs(r0[0] - 313.6) < 1e-6", "assert abs(r0[1] - 22.1) < 1e-6", "assert abs(r0[2] - 22.1) < 1e-6", "r1 = erange(25, 228...
theo-eng-code-L2-code-000855
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 7500, 100)", "assert abs(r0[0] - 11.88) < 1e-6", "assert abs(r0[1] - 631.6) < 1e-6", "r1 = gear_ratio(0.3, 7000, 180)", "assert abs(r1[0] - 4.4) < 1e-6", "asser...
theo-eng-code-L2-code-001957
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 9500, 100)", "assert abs(r0[0] - 12.89) < 1e-6", "assert abs(r0[1] - 736.8) < 1e-6", "r1 = gear_ratio(0.44, 4500, 180)", "assert abs(r1[0] - 4.15) < 1e-6", "ass...
theo-eng-code-L2-code-000151
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 5500, 120)", "assert abs(r0[0] - 7.26) < 1e-6", "assert abs(r0[1] - 757.9) < 1e-6", "r1 = gear_ratio(0.43, 13500, 120)", "assert abs(r1[0] - 18.24) < 1e-6", "as...