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-003186
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 26, -0.05, 0.07, 0.3, 0.4, 2)", "assert abs(r0[0] - 0.0343) < 1e-6", "assert abs(r0[1] - 0.3703) < 1e-6", "assert abs(r0[2] - -0.0412) < 1e-6", "r1 = com_zmp(7, 12, 0.08,...
theo-eng-code-L2-code-014352
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 7, 0.2, 0.9)", "assert abs(r0[0] - 7.5) < 1e-6", "assert abs(r0[1] - 450.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(...
theo-eng-code-L2-code-009583
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(48, 13, 0.5)", "assert abs(r0 - 35.16) < 1e-6", "r1 = rms_torque(28, 13, 0.75)", "assert abs(r1 - 25.1) < 1e-6", "r2 = rms_torque(83, 13, 0.5)", "assert abs(r2 - 59.41...
theo-eng-code-L2-code-007070
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = charge_time(100, 11, 0.2, 0.8)", "assert abs(r0[0] - 6.82) < 1e-6", "assert abs(r0[1] - 409.1) < 1e-6", "assert abs(r0[2] - 60.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_t...
theo-eng-code-L1-clarify-006682
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "5", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L2-code-007770
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 60, 3.2, 2.5)", "assert r0[0] == 250", "assert r0[1] == 30", "assert r0[2] == 7500", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 60.0) < 1e-6", "r1 ...
theo-eng-code-L1-clarify-010321
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_libuse", "user_template": "4", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-005430
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(72, 1300, 100, 0.36, 2.7, 0.01, 1.3, 0.94, 0.85)", "assert abs(r0[0] - 328.3) < 1e-6", "assert abs(r0[1] - 18.64) < 1e-6", "assert abs(r0[2] - 18.64) < 1e-6", "r1 = erange(50,...
theo-eng-code-L2-code-013110
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(49, 36, 0.75)", "assert abs(r0 - 46.1) < 1e-6", "r1 = rms_torque(46, 6, 0.75)", "assert abs(r1 - 39.95) < 1e-6", "r2 = rms_torque(6, 2, 0.5)", "assert abs(r2 - 4.47) <...
theo-eng-code-L2-code-012836
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 20, 3.2, 5)", "assert r0[0] == 125", "assert r0[1] == 10", "assert r0[2] == 1250", "assert abs(r0[3] - 400.0) < 1e-6", "assert abs(r0[4] - 20.0) < 1e-6", "r1 = ...
theo-eng-code-L2-code-013715
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 12500, 150)", "assert abs(r0[0] - 8.48) < 1e-6", "assert abs(r0[1] - 1473.7) < 1e-6", "r1 = gear_ratio(0.37, 12000, 180)", "assert abs(r1[0] - 9.3) < 1e-6", "as...
theo-eng-code-L2-code-009414
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.5, 4.5], [5.0, 1.0])", "assert abs(r0 - 5.7009) < 1e-6", "r1 = seg_len([4.5, 1.0], [0.0, 0.0])", "assert abs(r1 - 4.6098) < 1e-6", "r2 = seg_len([3.5, 1.5], [2.0, 3.0]...
theo-eng-code-L3-code-001980
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(7, 23, 0.1, -0.01, 0.3, 0.6, 0.5)", "assert abs(r0[0] - 0.0157) < 1e-6", "assert abs(r0[1] - 0.53) < 1e-6", "assert abs(r0[2] - -0.0113) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L3-code-000666
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(21, 3, 0.75)", "assert abs(r0 - 18.25) < 1e-6", "r1 = rms_torque(28, 14, 0.5)", "assert abs(r1 - 22.14) < 1e-6", "r2 = rms_torque(69, 12, 0.75)", "assert abs(r2 - 60.06)...
theo-eng-code-L1-clarify-010159
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-011290
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": "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-009030
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.5, 0.0], [0.5, 0.5])", "assert abs(r0 - 4.0311) < 1e-6", "r1 = seg_len([4.5, 2.5], [2.5, 4.0])", "assert abs(r1 - 2.5) < 1e-6", "r2 = seg_len([3.5, 3.0], [1.5, 1.5])",...
theo-eng-code-L3-code-006428
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": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(94, 1080, 80, 0.34, 1.9, 0.013, 1.4, 0.92, 0.95)", "assert abs(r0[0] - 756.3) < 1e-6", "assert abs(r0[1] - 11.81) < 1e-6", "assert abs(r0[2] - 9.45) < 1e-6" ], "subtask...
theo-eng-code-L2-code-012171
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([240, 180, 220, 130], 1)", "assert abs(r0 - 0.2139) < 1e-6", "r1 = rect_energy([420, 490, 430, 140], 1)", "assert abs(r1 - 0.4111) < 1e-6", "r2 = rect_energy([370...
theo-eng-code-L2-code-003740
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([410, 470, 360], 2)", "assert abs(r0 - 0.6889) < 1e-6", "r1 = rect_energy([270, 300, 130, 270], 5)", "assert abs(r1 - 1.3472) < 1e-6", "r2 = rect_energy([170, 310...
theo-eng-code-L3-code-007851
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 7, 0.2, 0.8)", "assert abs(r0[0] - 4.29) < 1e-6", "assert abs(r0[1] - 257.1) < 1e-6", "assert abs(r0[2] - 24.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_time(4...
theo-eng-code-L3-code-011420
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_rms", "user_template": "2", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(78, 13, 0.75)", "assert abs(r0 - 67.86) < 1e-6", "r1 = rms_torque(82, 25, 0.25)", "assert abs(r1 - 46.37) < 1e-6", "r2 = rms_torque(39, 25, 0.75)", "assert abs(r2 - 36.0...
theo-eng-code-L2-code-012319
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 11, 0.1, 1.0)", "assert abs(r0[0] - 2.05) < 1e-6", "assert abs(r0[1] - 122.7) < 1e-6", "assert abs(r0[2] - 18.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-002806
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 9000, 100)", "assert abs(r0[0] - 14.25) < 1e-6", "assert abs(r0[1] - 631.6) < 1e-6", "r1 = gear_ratio(0.34, 11000, 180)", "assert abs(r1[0] - 7.83) < 1e-6", "as...
theo-eng-code-L1-clarify-016022
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-L3-code-013692
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, 60, 220, 0.3)", "assert abs(r0[0] - 172.0) < 1e-6", "assert abs(r0[1] - 2.62) < 1e-6", "assert abs(r0[2] - 157.0) < 1e-6", "r1 = runtime(0.1, 190, 140, 0.3)", "ass...
theo-eng-code-L2-code-010517
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 5500, 100)", "assert abs(r0[0] - 9.12) < 1e-6", "assert abs(r0[1] - 602.9) < 1e-6", "r1 = gear_ratio(0.3, 13500, 120)", "assert abs(r1[0] - 12.72) < 1e-6", "ass...
theo-eng-code-L2-code-003032
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.9, 0.57, 45, 4.5, 3.5)", "assert abs(r0[0] - 33.41) < 1e-6", "assert abs(r0[1] - 2.3176) < 1e-6", "assert abs(r0[2] - 41.52) < 1e-6", "r1 = joint_torque(3.8, 0.55, 4...
theo-eng-code-L2-code-004436
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 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-011394
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 26, -0.02, 0.01, 0.3, 0.8, 0.5)", "assert abs(r0[0] - -0.0005) < 1e-6", "assert abs(r0[1] - 0.625) < 1e-6", "assert abs(r0[2] - -0.0324) < 1e-6", "r1 = com_zmp(19, 11, 0....
theo-eng-code-L1-refuse-002144
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": "0", "style": "refusal", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "refusal", "dedup" ] }
theo-eng-code-L2-code-001737
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 4, 0.5)", "assert abs(r0 - 10.98) < 1e-6", "r1 = rms_torque(25, 25, 0.5)", "assert abs(r1 - 25.0) < 1e-6", "r2 = rms_torque(50, 14, 0.25)", "assert abs(r2 - 27.78)...
theo-eng-code-L1-code-004849
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_average", "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-013000
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.2, 140, 540, 0.3)", "assert abs(r0[0] - 420.0) < 1e-6", "assert abs(r0[1] - 0.43) < 1e-6", "assert abs(r0[2] - 25.7) < 1e-6", "r1 = runtime(0.1, 280, 310, 0.3)", "a...
theo-eng-code-L3-code-009474
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, 180, 440, 0.5)", "assert abs(r0[0] - 310.0) < 1e-6", "assert abs(r0[1] - 1.45) < 1e-6", "assert abs(r0[2] - 87.1) < 1e-6", "r1 = runtime(0.5, 130, 190, 0.5)", "ass...
theo-eng-code-L2-code-002673
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 150, 0.2, 1.0)", "assert abs(r0[0] - 0.4) < 1e-6", "assert abs(r0[1] - 24.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_ti...
theo-eng-code-L2-code-007659
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.28, 9500, 150)", "assert abs(r0[0] - 6.69) < 1e-6", "assert abs(r0[1] - 1421.0) < 1e-6", "r1 = gear_ratio(0.39, 15000, 150)", "assert abs(r1[0] - 14.7) < 1e-6", "as...
theo-eng-code-L2-code-014408
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([460, 480, 110, 440, 180], 10)", "assert abs(r0 - 4.6389) < 1e-6", "r1 = rect_energy([480, 100, 400], 10)", "assert abs(r1 - 2.7222) < 1e-6", "r2 = rect_energy([1...
theo-eng-code-L2-code-002041
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_catloop", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-011921
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.33, 14000, 120)", "assert abs(r0[0] - 14.51) < 1e-6", "assert abs(r0[1] - 964.6) < 1e-6", "r1 = gear_ratio(0.43, 11500, 180)", "assert abs(r1[0] - 10.36) < 1e-6", "...
theo-eng-code-L2-code-010415
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_dist2d", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = seg_len([0.0, 4.5], [0.0, 5.0])", "assert abs(r0 - 0.5) < 1e-6", "r1 = seg_len([1.0, 1.5], [1.0, 0.5])", "assert abs(r1 - 1.0) < 1e-6", "r2 = seg_len([4.5, 5.0], [0.0, 3.5])", ...
theo-eng-code-L2-code-004664
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.0, 0.38, 60, 2.5, 2.0)", "assert abs(r0[0] - 17.76) < 1e-6", "assert abs(r0[1] - 0.6498) < 1e-6", "assert abs(r0[2] - 19.06) < 1e-6", "r1 = joint_torque(6.0, 0.53, 4...
theo-eng-code-L2-code-006678
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 80, 3.6, 100)", "assert r0[0] == 222", "assert r0[1] == 2", "assert r0[2] == 444", "assert abs(r0[3] - 799.2) < 1e-6", "assert abs(r0[4] - 159.84) < 1e-6", "r1 ...
theo-eng-code-L3-code-006951
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(500, 20, 3.7, 100)", "assert r0[0] == 135", "assert r0[1] == 1", "assert r0[2] == 135", "assert abs(r0[3] - 499.5) < 1e-6", "assert abs(r0[4] - 49.95) < 1e-6" ], ...
theo-eng-code-L3-code-008996
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_gear", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.37, 14000, 150)", "assert abs(r0[0] - 13.02) < 1e-6", "assert abs(r0[1] - 1075.4) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run...
theo-eng-code-L2-code-001181
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 220, 400, 0.5)", "assert abs(r0[0] - 310.0) < 1e-6", "assert abs(r0[1] - 2.9) < 1e-6", "assert abs(r0[2] - 174.2) < 1e-6", "r1 = runtime(0.1, 290, 360, 0.3)", "a...
theo-eng-code-L2-code-009478
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_joint", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.7, 0.18, 60, 6.0, 3.0)", "assert abs(r0[0] - 11.24) < 1e-6", "assert abs(r0[1] - 0.2236) < 1e-6", "assert abs(r0[2] - 11.91) < 1e-6", "r1 = joint_torque(6.4, 0.32, 6...
theo-eng-code-L2-code-015951
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_refactor_countloop", "user_template": "1", "style": "code", "source": "template", "tests": [], "subtask": "refactor", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ], "check": "stdout-match" }
theo-eng-code-L2-code-000679
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([91, 95, 33, 43, 48])", "assert r0[0] == 62", "assert abs(r0[1] - 28.844) < 1e-6", "r1 = summarise([49, 57, 79, 71])", "assert r1[0] == 64", "assert abs(r1[1] - ...
theo-eng-code-L2-code-002718
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(70, [0, 25, 50, 75, 100], [0.78, 0.81, 0.9, 0.9, 0.82])", "assert abs(r0 - 0.9) < 1e-6", "r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.74, 0.81, 0.88, 0.89, 0.82])", "asse...
theo-eng-code-L2-code-003729
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.1, 1.0)", "assert abs(r0[0] - 8.18) < 1e-6", "assert abs(r0[1] - 490.9) < 1e-6", "assert abs(r0[2] - 72.0) < 1e-6", "assert r0[3] == 11", "r1 = charge_ti...
theo-eng-code-L2-code-012113
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-009520
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(48, 1170, 60, 0.32, 2.5, 0.009, 0.5, 0.92, 0.9)", "assert abs(r0[0] - 535.9) < 1e-6", "assert abs(r0[1] - 8.06) < 1e-6", "assert abs(r0[2] - 4.84) < 1e-6", "r1 = erange(38, 11...
theo-eng-code-L1-code-000747
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-003349
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(13, 12, 0.01, -0.04, 0.5, 0.9, 1)", "assert abs(r0[0] - -0.014) < 1e-6", "assert abs(r0[1] - 0.692) < 1e-6", "assert abs(r0[2] - -0.0845) < 1e-6", "r1 = com_zmp(16, 22, -0.02, ...
theo-eng-code-L1-code-010396
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": "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-012886
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, 19, 0.75)", "assert abs(r0 - 27.66) < 1e-6", "r1 = rms_torque(15, 9, 0.75)", "assert abs(r1 - 13.75) < 1e-6", "r2 = rms_torque(88, 7, 0.25)", "assert abs(r2 - 44.4...
theo-eng-code-L2-code-007560
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, [0, 25, 50, 75, 100], [0.78, 0.82, 0.89, 0.86, 0.84])", "assert abs(r0 - 0.878) < 1e-6", "r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.76, 0.83, 0.89, 0.88, 0.83])", "...
theo-eng-code-L2-code-009493
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 150, 0.2, 1.0)", "assert abs(r0[0] - 0.53) < 1e-6", "assert abs(r0[1] - 32.0) < 1e-6", "assert abs(r0[2] - 64.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_t...
theo-eng-code-L2-code-013392
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 11, 0.5)", "assert abs(r0 - 13.73) < 1e-6", "r1 = rms_torque(29, 21, 0.75)", "assert abs(r1 - 27.22) < 1e-6", "r2 = rms_torque(46, 7, 0.5)", "assert abs(r2 - 32.9)...
theo-eng-code-L2-code-011272
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(37, 31, 0.25)", "assert abs(r0 - 32.6) < 1e-6", "r1 = rms_torque(63, 27, 0.75)", "assert abs(r1 - 56.2) < 1e-6", "r2 = rms_torque(36, 2, 0.5)", "assert abs(r2 - 25.5) ...
theo-eng-code-L2-code-009148
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, [0, 25, 50, 75, 100], [0.73, 0.81, 0.85, 0.86, 0.8])", "assert abs(r0 - 0.85) < 1e-6", "r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.75, 0.83, 0.89, 0.89, 0.83])", "as...
theo-eng-code-L2-code-006532
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(14, 9, 0.75)", "assert abs(r0 - 12.93) < 1e-6", "r1 = rms_torque(47, 25, 0.25)", "assert abs(r1 - 31.95) < 1e-6", "r2 = rms_torque(7, 6, 0.75)", "assert abs(r2 - 6.76)...
theo-eng-code-L2-code-004840
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_libuse_interp", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = interp_eff(10, [0, 25, 50, 75, 100], [0.77, 0.85, 0.86, 0.85, 0.84])", "assert abs(r0 - 0.802) < 1e-6", "r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.74, 0.8, 0.85, 0.85, 0.81])", "a...
theo-eng-code-L2-code-014343
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "0", "style": "code", "source": "template", "tests": [ "r0 = charge_time(40, 11, 0.1, 0.8)", "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", "r1 = charge_ti...
theo-eng-code-L3-code-007104
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(32, 2510, 100, 0.26, 2.5, 0.011, 1.5, 0.92, 0.95)", "assert abs(r0[0] - 160.4) < 1e-6", "assert abs(r0[1] - 18.95) < 1e-6", "assert abs(r0[2] - 18.95) < 1e-6", "r1 = erange(62...
theo-eng-code-L2-code-008153
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 150}')", "assert r0[0] == 40", "assert r0[1] == 150", "r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')", "assert r1[0] == 20", ...
theo-eng-code-L3-code-012583
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_runtime", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 300, 540, 0.5)", "assert abs(r0[0] - 420.0) < 1e-6", "assert abs(r0[1] - 1.07) < 1e-6", "assert abs(r0[2] - 64.3) < 1e-6", "r1 = runtime(0.1, 260, 500, 0.3)", "ass...
theo-eng-code-L3-code-006312
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_runtime", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = runtime(0.5, 60, 480, 0.7)", "assert abs(r0[0] - 186.0) < 1e-6", "assert abs(r0[1] - 2.42) < 1e-6", "assert abs(r0[2] - 145.2) < 1e-6" ], "subtask": "writetests", "verifie...
theo-eng-code-L3-code-002713
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(200, 20, 3.2, 5)", "assert r0[0] == 62", "assert r0[1] == 21", "assert r0[2] == 1302", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 20.832) < 1e-6" ], ...
theo-eng-code-L3-code-002854
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(200, 20, 3.2, 50)", "assert r0[0] == 62", "assert r0[1] == 3", "assert r0[2] == 186", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 29.76) < 1e-6" ], ...
theo-eng-code-L2-code-001771
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 5500, 120)", "assert abs(r1[0] - 7.78) < 1e-6", "asse...
theo-eng-code-L2-code-000076
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 0.1, 0.9)", "assert abs(r0[0] - 1.2) < 1e-6", "assert abs(r0[1] - 72.0) < 1e-6", "assert abs(r0[2] - 48.0) < 1e-6", "assert r0[3] == 50", "r1 = charge_time...
theo-eng-code-L3-code-001418
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_writetests_charge", "user_template": "4", "style": "code", "source": "template", "tests": [ "r0 = charge_time(20, 150, 0.2, 1.0)", "assert abs(r0[0] - 0.33) < 1e-6", "assert abs(r0[1] - 20.0) < 1e-6", "assert abs(r0[2] - 16.0) < 1e-6", "assert abs(r0[3] - 60.0) < 1e-6" ...
theo-eng-code-L2-code-012752
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.8, 0.54, 30, 7.5, 1.5)", "assert abs(r0[0] - 27.55) < 1e-6", "assert abs(r0[1] - 2.7508) < 1e-6", "assert abs(r0[2] - 31.67) < 1e-6", "r1 = joint_torque(7.5, 0.43, 6...
theo-eng-code-L3-code-015094
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(200, 60, 3.2, 2.5)", "assert r0[0] == 62", "assert r0[1] == 121", "assert r0[2] == 7502", "assert abs(r0[3] - 198.4) < 1e-6", "assert abs(r0[4] - 60.016) < 1e-6", "r1 ...
theo-eng-code-L2-code-009278
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_pack", "user_template": "1", "style": "code", "source": "template", "tests": [ "r0 = pack_sp(800, 80, 3.2, 2.5)", "assert r0[0] == 250", "assert r0[1] == 40", "assert r0[2] == 10000", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 80.0) < 1e-6", "r1...
theo-eng-code-L3-code-004598
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(3.0, 0.56, 90, 4.0, 2.5)", "assert abs(r0[0] - 30.21) < 1e-6", "assert abs(r0[1] - 1.568) < 1e-6", "assert abs(r0[2] - 34.13) < 1e-6", "r1 = joint_torque(3.3, 0.32, 45, ...
theo-eng-code-L1-code-015594
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": "0", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L3-code-004310
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(17, 11, 0.02, 0.11, 0.4, 0.5, 0)", "assert abs(r0[0] - 0.0554) < 1e-6", "assert abs(r0[1] - 0.4393) < 1e-6", "assert abs(r0[2] - 0.0554) < 1e-6", "r1 = com_zmp(7, 13, 0.0, -0.0...
theo-eng-code-L2-code-009274
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(80, 7, 0.1, 1.0)", "assert abs(r0[0] - 12.86) < 1e-6", "assert abs(r0[1] - 771.4) < 1e-6", "assert abs(r0[2] - 72.0) < 1e-6", "assert r0[3] == 7", "r1 = charge_tim...
theo-eng-code-L2-code-006588
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([350, 210, 270], 10)", "assert abs(r0 - 2.3056) < 1e-6", "r1 = rect_energy([120, 140, 180, 450, 200], 1)", "assert abs(r1 - 0.3028) < 1e-6", "r2 = rect_energy([48...
theo-eng-code-L2-code-005094
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 50}')", "assert r0[0] == 60", "assert r0[1] == 50", "r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')", "assert r1[0] == 60", "as...
theo-eng-code-L1-code-014612
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_fstring", "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-L3-code-004096
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": "4", "style": "code", "source": "template", "tests": [ "r0 = gear_ratio(0.26, 7000, 120)", "assert abs(r0[0] - 5.72) < 1e-6", "assert abs(r0[1] - 1224.3) < 1e-6" ], "subtask": "writetests", "verified_by": [ "structure", "code_run",...
theo-eng-code-L2-code-012249
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-003532
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 17, -0.05, 0.14, 0.7, 0.3, 0.5)", "assert abs(r0[0] - 0.0742) < 1e-6", "assert abs(r0[1] - 0.4385) < 1e-6", "assert abs(r0[2] - 0.0519) < 1e-6", "r1 = com_zmp(10, 24, 0.09...
theo-eng-code-L2-code-014637
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 5500, 120)", "assert abs(r0[0] - 6.22) < 1e-6", "assert abs(r0[1] - 884.2) < 1e-6", "r1 = gear_ratio(0.27, 8500, 150)", "assert abs(r1[0] - 5.77) < 1e-6", "asse...
theo-eng-code-L3-code-008865
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_charge", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = charge_time(60, 150, 0.2, 0.9)", "assert abs(r0[0] - 0.35) < 1e-6", "assert abs(r0[1] - 21.0) < 1e-6", "assert abs(r0[2] - 42.0) < 1e-6", "assert r0[3] == 150", "r1 = charge_tim...
theo-eng-code-L3-code-008845
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(800, 20, 3.2, 10)", "assert r0[0] == 250", "assert r0[1] == 3", "assert r0[2] == 750", "assert abs(r0[3] - 800.0) < 1e-6", "assert abs(r0[4] - 24.0) < 1e-6" ], ...
theo-eng-code-L2-code-001474
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_rms", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = rms_torque(25, 8, 0.5)", "assert abs(r0 - 18.56) < 1e-6", "r1 = rms_torque(81, 12, 0.25)", "assert abs(r1 - 41.81) < 1e-6", "r2 = rms_torque(80, 11, 0.75)", "assert abs(r2 - 69.5...
theo-eng-code-L2-code-015203
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_write_com", "user_template": "7", "style": "code", "source": "template", "tests": [ "r0 = com_zmp(6, 16, -0.1, -0.01, 0.8, 0.3, 2)", "assert abs(r0[0] - -0.0345) < 1e-6", "assert abs(r0[1] - 0.4364) < 1e-6", "assert abs(r0[2] - -0.1235) < 1e-6", "r1 = com_zmp(16, 14, -0.0...
theo-eng-code-L3-code-002246
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_range", "user_template": "3", "style": "code", "source": "template", "tests": [ "r0 = erange(39, 1590, 60, 0.29, 2.9, 0.012, 0.5, 0.92, 0.85)", "assert abs(r0[0] - 306.8) < 1e-6", "assert abs(r0[1] - 10.81) < 1e-6", "assert abs(r0[2] - 6.48) < 1e-6", "r1 = erange(51, ...
theo-eng-code-L3-code-014487
code
L3
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_fix_joint", "user_template": "5", "style": "code", "source": "template", "tests": [ "r0 = joint_torque(2.1, 0.5, 90, 0.5, 3.5)", "assert abs(r0[0] - 7.6) < 1e-6", "assert abs(r0[1] - 0.3) < 1e-6", "assert abs(r0[2] - 8.65) < 1e-6", "r1 = joint_torque(4.0, 0.39, 60, 6.5, 3...
theo-eng-code-L3-code-004933
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(5, 20, -0.09, 0.02, 0.9, 0.9, 0.5)", "assert abs(r0[0] - -0.002) < 1e-6", "assert abs(r0[1] - 0.9) < 1e-6", "assert abs(r0[2] - -0.0479) < 1e-6" ], "subtask": "writetest...
theo-eng-code-L1-clarify-002930
clarify
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_clarify_write", "user_template": "0", "style": "code", "source": "template", "verified_by": [ "structure", "number_match", "unit_presence", "clarify", "dedup" ] }
theo-eng-code-L3-code-015464
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": "5", "style": "code", "source": "template", "tests": [ "r0 = erange(50, 1840, 100, 0.31, 3.1, 0.013, 0.5, 0.92, 0.9)", "assert abs(r0[0] - 211.3) < 1e-6", "assert abs(r0[1] - 21.3) < 1e-6", "assert abs(r0[2] - 21.3) < 1e-6", "r1 = erange(92, 2...
theo-eng-code-L1-code-015919
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_chain", "user_template": "2", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }
theo-eng-code-L2-code-015345
code
L2
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.39, 13500, 150)", "assert abs(r0[0] - 13.23) < 1e-6", "assert abs(r0[1] - 1020.2) < 1e-6", "r1 = gear_ratio(0.34, 15000, 180)", "assert abs(r1[0] - 10.68) < 1e-6", ...
theo-eng-code-L1-code-013834
code
L1
code
[ { "role": "system", "content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com...
{ "family": "code_explain_join", "user_template": "5", "style": "code", "source": "template", "tests": [], "subtask": "explain", "verified_by": [ "structure", "code_run", "number_match", "unit_presence", "safety_scan", "dedup" ] }