id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L3-code-011668 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.5, 0.2, 60, 3.5, 3.5)",
"assert abs(r0[0] - 9.77) < 1e-6",
"assert abs(r0[1] - 0.2) < 1e-6",
"assert abs(r0[2] - 10.47) < 1e-6"
],
"subtask": "writetests",
"v... |
theo-eng-code-L2-code-004375 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 10, 3.2, 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] - 10.0) < 1e-6",
"r1 ... |
theo-eng-code-L3-code-004214 | 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(31, 2010, 100, 0.36, 2.3, 0.009, 0.4, 0.92, 0.95)",
"assert abs(r0[0] - 167.6) < 1e-6",
"assert abs(r0[1] - 17.57) < 1e-6",
"assert abs(r0[2] - 17.57) < 1e-6",
"r1 = erange(96... |
theo-eng-code-L2-code-015704 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_sumloop",
"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-010678 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 110, 450, 0.5)",
"assert abs(r0[0] - 280.0) < 1e-6",
"assert abs(r0[1] - 0.64) < 1e-6",
"assert abs(r0[2] - 38.6) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L3-code-003694 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 60, 3.7, 10)",
"assert r0[0] == 108",
"assert r0[1] == 16",
"assert r0[2] == 1728",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 63.936) < 1e-6"
]... |
theo-eng-code-L2-code-009531 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 300, 120, 0.3)",
"assert abs(r0[0] - 174.0) < 1e-6",
"assert abs(r0[1] - 1.03) < 1e-6",
"assert abs(r0[2] - 62.1) < 1e-6",
"r1 = runtime(0.2, 110, 160, 0.7)",
"a... |
theo-eng-code-L3-code-012966 | 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(71, 2580, 120, 0.26, 3.1, 0.013, 0.8, 0.94, 0.9)",
"assert abs(r0[0] - 240.2) < 1e-6",
"assert abs(r0[1] - 26.6) < 1e-6",
"assert abs(r0[2] - 31.92) < 1e-6",
"r1 = erange(60, ... |
theo-eng-code-L2-code-001197 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([220, 60, 280], 1)",
"assert abs(r0 - 0.1556) < 1e-6",
"r1 = rect_energy([110, 470, 160], 5)",
"assert abs(r1 - 1.0278) < 1e-6",
"r2 = rect_energy([330, 440, 90, ... |
theo-eng-code-L2-code-010950 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 270, 480, 0.7)",
"assert abs(r0[0] - 333.0) < 1e-6",
"assert abs(r0[1] - 1.35) < 1e-6",
"assert abs(r0[2] - 81.1) < 1e-6",
"r1 = runtime(0.5, 30, 130, 0.5)",
"as... |
theo-eng-code-L3-code-010277 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 20, 3.6, 10)",
"assert r0[0] == 139",
"assert r0[1] == 4",
"assert r0[2] == 556",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 20.016) < 1e-6"
],
... |
theo-eng-code-L3-code-006819 | 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(29, 2590, 100, 0.3, 2.5, 0.011, 0.8, 0.94, 0.9)",
"assert abs(r0[0] - 133.6) < 1e-6",
"assert abs(r0[1] - 19.53) < 1e-6",
"assert abs(r0[2] - 19.53) < 1e-6",
"r1 = erange(100,... |
theo-eng-code-L2-code-007201 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([96, 10, 96, 26])",
"assert r0[0] == 57",
"assert abs(r0[1] - 45.505) < 1e-6",
"r1 = summarise([95, 21, 40, 21, 36])",
"assert abs(r1[0] - 42.6) < 1e-6",
"assert... |
theo-eng-code-L2-code-001865 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([320, 470, 140, 360], 2)",
"assert abs(r0 - 0.7167) < 1e-6",
"r1 = rect_energy([130, 250, 280, 150], 5)",
"assert abs(r1 - 1.125) < 1e-6",
"r2 = rect_energy([470,... |
theo-eng-code-L2-code-001689 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-004955 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 0.31, 60, 0.0, 4.0)",
"assert abs(r0[0] - 5.79) < 1e-6",
"assert abs(r0[1] - 0.1409) < 1e-6",
"assert abs(r0[2] - 6.36) < 1e-6",
"r1 = joint_torque(1.1, 0.6, 90, ... |
theo-eng-code-L2-code-005991 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.28, 7500, 120)",
"assert abs(r0[0] - 6.6) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.26, 15000, 120)",
"assert abs(r1[0] - 12.25) < 1e-6",
"as... |
theo-eng-code-L2-code-012923 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 260, 0.5)",
"assert abs(r0[0] - 205.0) < 1e-6",
"assert abs(r0[1] - 0.44) < 1e-6",
"assert abs(r0[2] - 26.3) < 1e-6",
"r1 = runtime(0.1, 280, 450, 0.5)",
"a... |
theo-eng-code-L2-code-001546 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.3, 12500, 100)",
"assert abs(r0[0] - 14.14) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.42, 9000, 150)",
"assert abs(r1[0] - 9.5) < 1e-6",
"asse... |
theo-eng-code-L1-code-007287 | 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": "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-008624 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(90, [0, 25, 50, 75, 100], [0.8, 0.85, 0.9, 0.86, 0.81])",
"assert abs(r0 - 0.83) < 1e-6",
"r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.73, 0.8, 0.89, 0.85, 0.81])",
"asse... |
theo-eng-code-L1-clarify-013288 | 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": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-014244 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(98, 19, 0.25)",
"assert abs(r0 - 51.69) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-012130 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 300, 200, 0.7)",
"assert abs(r0[0] - 270.0) < 1e-6",
"assert abs(r0[1] - 3.33) < 1e-6",
"assert abs(r0[2] - 200.0) < 1e-6",
"r1 = runtime(0.1, 240, 410, 0.7)",
"... |
theo-eng-code-L3-code-002423 | 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.45, 12500, 150)",
"assert abs(r0[0] - 14.14) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.28, 14500, 120)",
"assert abs(r1[0] - 12.75) < 1e-6",
"as... |
theo-eng-code-L2-code-012162 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([44, 47, 28, 96])",
"assert abs(r0[0] - 53.75) < 1e-6",
"assert abs(r0[1] - 29.375) < 1e-6",
"r1 = summarise([79, 43, 27, 17, 56, 41])",
"assert abs(r1[0] - 43.833) ... |
theo-eng-code-L2-code-013155 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 3, 0.5)",
"assert abs(r0 - 7.38) < 1e-6",
"r1 = rms_torque(18, 15, 0.25)",
"assert abs(r1 - 15.8) < 1e-6",
"r2 = rms_torque(47, 22, 0.75)",
"assert abs(r2 - 42.16)... |
theo-eng-code-L2-code-013891 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(15, [0, 25, 50, 75, 100], [0.71, 0.85, 0.85, 0.85, 0.84])",
"assert abs(r0 - 0.794) < 1e-6",
"r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.76, 0.83, 0.85, 0.88, 0.84])",
"... |
theo-eng-code-L3-code-010869 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.1, 0.9)",
"assert abs(r0[0] - 2.86) < 1e-6",
"assert abs(r0[1] - 171.4) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(2... |
theo-eng-code-L2-code-011554 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 12, 0.1, 0.12, 0.7, 0.7, 1)",
"assert abs(r0[0] - 0.1114) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - 0.0401) < 1e-6",
"r1 = com_zmp(7, 28, 0.07, 0.03, ... |
theo-eng-code-L1-code-001452 | 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": "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-013057 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(5, 5, 0.5)",
"assert abs(r0 - 5.0) < 1e-6",
"r1 = rms_torque(10, 7, 0.5)",
"assert abs(r1 - 8.63) < 1e-6",
"r2 = rms_torque(20, 16, 0.25)",
"assert abs(r2 - 17.09) < 1... |
theo-eng-code-L2-code-002886 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 210, 350, 0.3)",
"assert abs(r0[0] - 308.0) < 1e-6",
"assert abs(r0[1] - 0.29) < 1e-6",
"assert abs(r0[2] - 17.5) < 1e-6",
"r1 = runtime(0.2, 250, 430, 0.7)",
"a... |
theo-eng-code-L2-code-000936 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 6, 0.75)",
"assert abs(r0 - 6.76) < 1e-6",
"r1 = rms_torque(80, 39, 0.75)",
"assert abs(r1 - 71.97) < 1e-6",
"r2 = rms_torque(23, 22, 0.5)",
"assert abs(r2 - 22.51)... |
theo-eng-code-L3-code-006700 | 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(86, 2790, 100, 0.25, 3.1, 0.008, 0.6, 0.88, 0.9)",
"assert abs(r0[0] - 405.8) < 1e-6",
"assert abs(r0[1] - 19.07) < 1e-6",
"assert abs(r0[2] - 19.07) < 1e-6",
"r1 = erange(96,... |
theo-eng-code-L2-code-003632 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-code-007327 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_join",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-002562 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 210, 580, 0.3)",
"assert abs(r0[0] - 469.0) < 1e-6",
"assert abs(r0[1] - 0.19) < 1e-6",
"assert abs(r0[2] - 11.5) < 1e-6",
"r1 = runtime(0.1, 70, 40, 0.3)",
"asser... |
theo-eng-code-L2-code-002292 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.2, 50)",
"assert r0[0] == 94",
"assert r0[1] == 1",
"assert r0[2] == 94",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 15.04) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-013668 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([320, 140, 450, 490], 5)",
"assert abs(r0 - 1.9444) < 1e-6",
"r1 = rect_energy([310, 500, 270, 260, 340], 1)",
"assert abs(r1 - 0.4667) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L1-code-007986 | 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_modulo",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-code-009648 | 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_minmax",
"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-000552 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 30, -0.09, -0.01, 0.6, 0.5, 2)",
"assert abs(r0[0] - -0.0367) < 1e-6",
"assert abs(r0[1] - 0.5333) < 1e-6",
"assert abs(r0[2] - -0.1454) < 1e-6",
"r1 = com_zmp(12, 18, 0.... |
theo-eng-code-L2-code-009066 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.39, 15000, 180)",
"assert abs(r0[0] - 12.25) < 1e-6",
"assert abs(r0[1] - 1224.3) < 1e-6",
"r1 = gear_ratio(0.27, 14000, 150)",
"assert abs(r1[0] - 9.5) < 1e-6",
"a... |
theo-eng-code-L3-code-015379 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 50, 0.1, 1.0)",
"assert abs(r0[0] - 0.9) < 1e-6",
"assert abs(r0[1] - 54.0) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(6... |
theo-eng-code-L2-code-010390 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 4, 0.5)",
"assert abs(r0 - 5.7) < 1e-6",
"r1 = rms_torque(53, 10, 0.25)",
"assert abs(r1 - 27.88) < 1e-6",
"r2 = rms_torque(12, 11, 0.5)",
"assert abs(r2 - 11.51) <... |
theo-eng-code-L3-code-008814 | 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.8, 0.12, 30, 1.5, 2.0)",
"assert abs(r0[0] - 2.0) < 1e-6",
"assert abs(r0[1] - 0.0398) < 1e-6",
"assert abs(r0[2] - 2.08) < 1e-6",
"r1 = joint_torque(7.0, 0.18, 60, 6.... |
theo-eng-code-L2-code-013477 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 7000, 180)",
"assert abs(r0[0] - 6.3) < 1e-6",
"assert abs(r0[1] - 1110.4) < 1e-6",
"r1 = gear_ratio(0.38, 13000, 120)",
"assert abs(r1[0] - 15.52) < 1e-6",
"as... |
theo-eng-code-L2-code-005008 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')",
"assert r0[0] == 60",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 150}')",
"assert r1[0] == 40",
"a... |
theo-eng-code-L3-code-002455 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 270, 270, 0.3)",
"assert abs(r0[0] - 270.0) < 1e-6",
"assert abs(r0[1] - 0.33) < 1e-6",
"assert abs(r0[2] - 20.0) < 1e-6",
"r1 = runtime(0.1, 70, 430, 0.5)",
"asse... |
theo-eng-code-L2-code-005251 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 15, 0.05, 0.14, 0.5, 0.8, 1)",
"assert abs(r0[0] - 0.1063) < 1e-6",
"assert abs(r0[1] - 0.6875) < 1e-6",
"assert abs(r0[2] - 0.0362) < 1e-6",
"r1 = com_zmp(7, 30, 0.05, 0.... |
theo-eng-code-L2-code-005972 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 16, 0.09, 0.08, 0.5, 0.4, 0)",
"assert abs(r0[0] - 0.0848) < 1e-6",
"assert abs(r0[1] - 0.4484) < 1e-6",
"assert abs(r0[2] - 0.0848) < 1e-6",
"r1 = com_zmp(9, 27, -0.05, ... |
theo-eng-code-L2-code-009158 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([90, 19, 54, 16, 57, 51])",
"assert abs(r0[0] - 47.833) < 1e-6",
"assert abs(r0[1] - 27.404) < 1e-6",
"r1 = summarise([53, 24, 88, 11])",
"assert r1[0] == 44",
"... |
theo-eng-code-L1-refuse-004467 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-003375 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.38, 8000, 150)",
"assert abs(r0[0] - 7.64) < 1e-6",
"assert abs(r0[1] - 1047.1) < 1e-6",
"r1 = gear_ratio(0.25, 11000, 150)",
"assert abs(r1[0] - 6.91) < 1e-6",
"as... |
theo-eng-code-L2-code-015270 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.4, 0.52, 90, 7.5, 3.0)",
"assert abs(r0[0] - 44.38) < 1e-6",
"assert abs(r0[1] - 2.2443) < 1e-6",
"assert abs(r0[2] - 51.11) < 1e-6",
"r1 = joint_torque(6.0, 0.33, 6... |
theo-eng-code-L3-code-014493 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.35, 14000, 180)",
"assert abs(r0[0] - 10.26) < 1e-6",
"assert abs(r0[1] - 1364.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run... |
theo-eng-code-L2-code-000759 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(17, 12, 0.25)",
"assert abs(r0 - 13.43) < 1e-6",
"r1 = rms_torque(32, 22, 0.75)",
"assert abs(r1 - 29.82) < 1e-6",
"r2 = rms_torque(76, 3, 0.75)",
"assert abs(r2 - 65.... |
theo-eng-code-L1-clarify-004895 | 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-002097 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 290, 250, 0.5)",
"assert abs(r0[0] - 270.0) < 1e-6",
"assert abs(r0[1] - 1.67) < 1e-6",
"assert abs(r0[2] - 100.0) < 1e-6",
"r1 = runtime(0.5, 40, 260, 0.7)",
"a... |
theo-eng-code-L2-code-010317 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([170, 120, 230, 360, 110], 10)",
"assert abs(r0 - 2.75) < 1e-6",
"r1 = rect_energy([270, 430, 380, 60, 220], 2)",
"assert abs(r1 - 0.7556) < 1e-6",
"r2 = rect_ene... |
theo-eng-code-L2-code-011178 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 1.0)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 218.2) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L1-clarify-003310 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-clarify-010174 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-009046 | 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(19, 17, 0.08, 0.15, 0.7, 0.9, 0)",
"assert abs(r0[0] - 0.1131) < 1e-6",
"assert abs(r0[1] - 0.7944) < 1e-6",
"assert abs(r0[2] - 0.1131) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L1-code-002612 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_filter",
"user_template": "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-007494 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 7, 0.2, 0.8)",
"assert abs(r0[0] - 8.57) < 1e-6",
"assert abs(r0[1] - 514.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L3-code-002051 | 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, 7500, 180)",
"assert abs(r0[0] - 4.08) < 1e-6",
"assert abs(r0[1] - 1836.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L1-clarify-003638 | 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-000365 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(34, 26, 0.25)",
"assert abs(r0 - 28.21) < 1e-6",
"r1 = rms_torque(15, 15, 0.5)",
"assert abs(r1 - 15.0) < 1e-6",
"r2 = rms_torque(50, 12, 0.5)",
"assert abs(r2 - 36.36... |
theo-eng-code-L2-code-014137 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 100, 300, 0.3)",
"assert abs(r0[0] - 240.0) < 1e-6",
"assert abs(r0[1] - 1.88) < 1e-6",
"assert abs(r0[2] - 112.5) < 1e-6",
"r1 = runtime(0.2, 30, 130, 0.7)",
"a... |
theo-eng-code-L2-code-004423 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.6, 10)",
"assert r0[0] == 56",
"assert r0[1] == 30",
"assert r0[2] == 1680",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 60.48) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-010701 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(88, 2540, 100, 0.25, 3.0, 0.011, 0.9, 0.9, 0.9)",
"assert abs(r0[0] - 390.2) < 1e-6",
"assert abs(r0[1] - 20.3) < 1e-6",
"assert abs(r0[2] - 20.3) < 1e-6",
"r1 = erange(76, ... |
theo-eng-code-L2-code-003990 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 200, 260, 0.7)",
"assert abs(r0[0] - 218.0) < 1e-6",
"assert abs(r0[1] - 0.83) < 1e-6",
"assert abs(r0[2] - 49.5) < 1e-6",
"r1 = runtime(0.1, 100, 520, 0.3)",
"a... |
theo-eng-code-L2-code-012253 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(70, [0, 25, 50, 75, 100], [0.74, 0.81, 0.85, 0.85, 0.85])",
"assert abs(r0 - 0.85) < 1e-6",
"r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.77, 0.82, 0.89, 0.88, 0.85])",
"a... |
theo-eng-code-L2-code-012169 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.42, 8500, 100)",
"assert abs(r0[0] - 13.46) < 1e-6",
"assert abs(r0[1] - 631.6) < 1e-6",
"r1 = gear_ratio(0.39, 12500, 120)",
"assert abs(r1[0] - 15.32) < 1e-6",
"a... |
theo-eng-code-L1-code-009418 | 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-L2-code-005611 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([140, 50, 460], 10)",
"assert abs(r0 - 1.8056) < 1e-6",
"r1 = rect_energy([230, 370, 110, 440], 2)",
"assert abs(r1 - 0.6389) < 1e-6",
"r2 = rect_energy([240, 50,... |
theo-eng-code-L2-code-013360 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(87, 1120, 100, 0.26, 2.6, 0.007, 0.7, 0.92, 0.85)",
"assert abs(r0[0] - 583.7) < 1e-6",
"assert abs(r0[1] - 12.67) < 1e-6",
"assert abs(r0[2] - 12.67) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-014809 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 40, 3.6, 2.5)",
"assert r0[0] == 111",
"assert r0[1] == 41",
"assert r0[2] == 4551",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 40.959) < 1e-6",
"r... |
theo-eng-code-L2-code-011740 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-002418 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(78, 2, 0.25)",
"assert abs(r0 - 39.04) < 1e-6",
"r1 = rms_torque(30, 18, 0.5)",
"assert abs(r1 - 24.74) < 1e-6",
"r2 = rms_torque(56, 24, 0.75)",
"assert abs(r2 - 49.96)... |
theo-eng-code-L2-code-010215 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 25, -0.04, 0.07, 0.8, 0.9, 0)",
"assert abs(r0[0] - 0.024) < 1e-6",
"assert abs(r0[1] - 0.8581) < 1e-6",
"assert abs(r0[2] - 0.024) < 1e-6",
"r1 = com_zmp(15, 10, -0.1, 0... |
theo-eng-code-L2-code-008895 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 50, 560, 0.5)",
"assert abs(r0[0] - 305.0) < 1e-6",
"assert abs(r0[1] - 2.95) < 1e-6",
"assert abs(r0[2] - 177.0) < 1e-6",
"r1 = runtime(0.5, 180, 480, 0.5)",
"a... |
theo-eng-code-L3-code-007339 | 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(34, 2520, 100, 0.38, 2.1, 0.007, 0.3, 0.88, 0.85)",
"assert abs(r0[0] - 163.6) < 1e-6",
"assert abs(r0[1] - 17.67) < 1e-6",
"assert abs(r0[2] - 17.67) < 1e-6",
"r1 = erange(43... |
theo-eng-code-L1-clarify-006803 | 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": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-015579 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_sumloop",
"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-000281 | 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, 5)",
"assert r0[0] == 81",
"assert r0[1] == 14",
"assert r0[2] == 1134",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 20.979) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-014330 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 20, -0.04, 0.14, 0.4, 0.6, 0)",
"assert abs(r0[0] - 0.0761) < 1e-6",
"assert abs(r0[1] - 0.529) < 1e-6",
"assert abs(r0[2] - 0.0761) < 1e-6",
"r1 = com_zmp(8, 30, 0.09, -... |
theo-eng-code-L2-code-001852 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_prodloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-015001 | 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(7, 2, 0.5)",
"assert abs(r0 - 5.15) < 1e-6",
"r1 = rms_torque(56, 27, 0.25)",
"assert abs(r1 - 36.48) < 1e-6",
"r2 = rms_torque(71, 22, 0.5)",
"assert abs(r2 - 52.56) < ... |
theo-eng-code-L1-code-003974 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_slices",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-refuse-011611 | 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-L3-code-014158 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 14, 0.04, 0.06, 0.9, 0.9, 0)",
"assert abs(r0[0] - 0.0508) < 1e-6",
"assert abs(r0[1] - 0.9) < 1e-6",
"assert abs(r0[2] - 0.0508) < 1e-6",
"r1 = com_zmp(10, 16, -0.03, -0.0... |
theo-eng-code-L3-code-014439 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.44, 11000, 120)",
"assert abs(r0[0] - 15.21) < 1e-6",
"assert abs(r0[1] - 723.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L2-code-014430 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(55, [0, 25, 50, 75, 100], [0.76, 0.81, 0.9, 0.85, 0.83])",
"assert abs(r0 - 0.89) < 1e-6",
"r1 = interp_eff(55, [0, 25, 50, 75, 100], [0.74, 0.85, 0.85, 0.86, 0.83])",
"as... |
theo-eng-code-L2-code-006286 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, 1250, 60, 0.24, 2.0, 0.008, 0.9, 0.88, 0.9)",
"assert abs(r0[0] - 564.5) < 1e-6",
"assert abs(r0[1] - 7.17) < 1e-6",
"assert abs(r0[2] - 4.3) < 1e-6",
"r1 = erange(71, 1... |
theo-eng-code-L3-code-007988 | 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.8, 0.41, 45, 5.0, 1.5)",
"assert abs(r0[0] - 19.62) < 1e-6",
"assert abs(r0[1] - 1.0534) < 1e-6",
"assert abs(r0[2] - 21.2) < 1e-6",
"r1 = joint_torque(2.6, 0.39, 60, ... |
theo-eng-code-L3-code-002570 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(37, 10, 0.5)",
"assert abs(r0 - 27.1) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-002575 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 20, 0.08, 0.05, 0.6, 0.7, 0)",
"assert abs(r0[0] - 0.0646) < 1e-6",
"assert abs(r0[1] - 0.6513) < 1e-6",
"assert abs(r0[2] - 0.0646) < 1e-6",
"r1 = com_zmp(11, 27, 0.08, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.