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-006348 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 170, 180, 0.7)",
"assert abs(r0[0] - 173.0) < 1e-6",
"assert abs(r0[1] - 5.2) < 1e-6",
"assert abs(r0[2] - 312.1) < 1e-6",
"r1 = runtime(0.1, 100, 510, 0.5)",
"a... |
theo-eng-code-L3-code-001358 | 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.38, 6500, 120)",
"assert abs(r0[0] - 7.76) < 1e-6",
"assert abs(r0[1] - 837.7) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L3-code-003021 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 28, -0.04, 0.06, 0.8, 0.3, 1)",
"assert abs(r0[0] - 0.0251) < 1e-6",
"assert abs(r0[1] - 0.4744) < 1e-6",
"assert abs(r0[2] - -0.0232) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L2-code-004642 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 24, 0.03, 0.13, 0.8, 0.9, 2)",
"assert abs(r0[0] - 0.0949) < 1e-6",
"assert abs(r0[1] - 0.8649) < 1e-6",
"assert abs(r0[2] - -0.0815) < 1e-6",
"r1 = com_zmp(17, 11, -0.05... |
theo-eng-code-L2-code-015013 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.44, 4500, 180)",
"assert abs(r0[0] - 4.15) < 1e-6",
"assert abs(r0[1] - 1085.1) < 1e-6",
"r1 = gear_ratio(0.26, 7000, 150)",
"assert abs(r1[0] - 4.57) < 1e-6",
"ass... |
theo-eng-code-L1-clarify-006038 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-002784 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 6000, 100)",
"assert abs(r0[0] - 6.79) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.39, 7500, 150)",
"assert abs(r1[0] - 7.35) < 1e-6",
"asser... |
theo-eng-code-L3-code-003468 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(16, 17, -0.08, -0.03, 0.8, 0.5, 0)",
"assert abs(r0[0] - -0.0542) < 1e-6",
"assert abs(r0[1] - 0.6455) < 1e-6",
"assert abs(r0[2] - -0.0542) < 1e-6"
],
"subtask": "write... |
theo-eng-code-L3-code-001371 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(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"
],
"subtask... |
theo-eng-code-L3-code-015856 | 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(84, 5, 0.5)",
"assert abs(r0 - 59.5) < 1e-6",
"r1 = rms_torque(81, 25, 0.75)",
"assert abs(r1 - 71.25) < 1e-6",
"r2 = rms_torque(50, 6, 0.75)",
"assert abs(r2 - 43.41) <... |
theo-eng-code-L2-code-009743 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(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",
"r1 =... |
theo-eng-code-L2-code-000241 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-007453 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 50, 0.1, 1.0)",
"assert abs(r0[0] - 0.45) < 1e-6",
"assert abs(r0[1] - 27.0) < 1e-6",
"assert abs(r0[2] - 18.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L2-code-013053 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 5000, 150)",
"assert abs(r0[0] - 4.52) < 1e-6",
"assert abs(r0[1] - 1105.2) < 1e-6",
"r1 = gear_ratio(0.3, 12500, 100)",
"assert abs(r1[0] - 14.14) < 1e-6",
"as... |
theo-eng-code-L2-code-012600 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.34, 12000, 120)",
"assert abs(r0[0] - 12.82) < 1e-6",
"assert abs(r0[1] - 936.2) < 1e-6",
"r1 = gear_ratio(0.33, 6500, 180)",
"assert abs(r1[0] - 4.49) < 1e-6",
"as... |
theo-eng-code-L2-code-010221 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(49, 1430, 100, 0.32, 3.1, 0.011, 0.9, 0.92, 0.95)",
"assert abs(r0[0] - 236.1) < 1e-6",
"assert abs(r0[1] - 19.71) < 1e-6",
"assert abs(r0[2] - 19.71) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-011802 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 22, -0.08, 0.04, 0.4, 0.8, 0)",
"assert abs(r0[0] - -0.0046) < 1e-6",
"assert abs(r0[1] - 0.6514) < 1e-6",
"assert abs(r0[2] - -0.0046) < 1e-6",
"r1 = com_zmp(7, 26, -0.0... |
theo-eng-code-L3-code-013766 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(92, 28, 0.25)",
"assert abs(r0 - 52.0) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-010352 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 60, 3.6, 100)",
"assert r0[0] == 83",
"assert r0[1] == 3",
"assert r0[2] == 249",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 89.64) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-013733 | 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.31, 7500, 150)",
"assert abs(r0[0] - 5.84) < 1e-6",
"assert abs(r0[1] - 1283.5) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-010992 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-008791 | 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(20, 19, -0.02, 0.05, 0.7, 0.7, 0.5)",
"assert abs(r0[0] - 0.0141) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - -0.0216) < 1e-6",
"r1 = com_zmp(7, 21, 0.05, 0.... |
theo-eng-code-L2-code-004267 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([43, 22, 27, 20, 67])",
"assert abs(r0[0] - 35.8) < 1e-6",
"assert abs(r0[1] - 19.639) < 1e-6",
"r1 = summarise([83, 50, 99, 59, 33, 71])",
"assert abs(r1[0] - 65.83... |
theo-eng-code-L2-code-013115 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-005882 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 22, 0.03, 0.13, 0.5, 0.7, 1)",
"assert abs(r0[0] - 0.0895) < 1e-6",
"assert abs(r0[1] - 0.6189) < 1e-6",
"assert abs(r0[2] - 0.0264) < 1e-6",
"r1 = com_zmp(9, 25, 0.0, 0.06... |
theo-eng-code-L2-code-008041 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.0, 3.0], [0.0, 1.5])",
"assert abs(r0 - 2.5) < 1e-6",
"r1 = seg_len([1.0, 4.0], [1.5, 2.5])",
"assert abs(r1 - 1.5811) < 1e-6",
"r2 = seg_len([2.0, 3.5], [2.0, 0.5])",... |
theo-eng-code-L1-clarify-007120 | 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-clarify-000090 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-010798 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_prodloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-014186 | 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(35, 2100, 80, 0.3, 2.9, 0.013, 0.5, 0.94, 0.95)",
"assert abs(r0[0] - 203.8) < 1e-6",
"assert abs(r0[1] - 16.32) < 1e-6",
"assert abs(r0[2] - 13.05) < 1e-6",
"r1 = erange(67, ... |
theo-eng-code-L2-code-012389 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([290, 140, 310], 10)",
"assert abs(r0 - 2.0556) < 1e-6",
"r1 = rect_energy([200, 270, 50, 320, 410], 2)",
"assert abs(r1 - 0.6944) < 1e-6",
"r2 = rect_energy([170... |
theo-eng-code-L2-code-001881 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.75) < 1e-6",
"assert abs(r0[1] - 45.0) < 1e-6",
"assert abs(r0[2] - 90.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_... |
theo-eng-code-L2-code-005762 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.3, 5000, 100)",
"assert abs(r0[0] - 5.65) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.38, 7000, 120)",
"assert abs(r1[0] - 8.36) < 1e-6",
"asser... |
theo-eng-code-L1-refuse-003265 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-012738 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-012312 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 50, 0.2, 0.8)",
"assert abs(r0[0] - 0.6) < 1e-6",
"assert abs(r0[1] - 36.0) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-012391 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(81, 33, 0.5)",
"assert abs(r0 - 61.85) < 1e-6",
"r1 = rms_torque(64, 10, 0.25)",
"assert abs(r1 - 33.15) < 1e-6",
"r2 = rms_torque(63, 29, 0.25)",
"assert abs(r2 - 40.... |
theo-eng-code-L2-code-009176 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.5, 2.5], [5.0, 4.5])",
"assert abs(r0 - 2.0616) < 1e-6",
"r1 = seg_len([3.5, 1.0], [3.0, 1.0])",
"assert abs(r1 - 0.5) < 1e-6",
"r2 = seg_len([3.5, 4.0], [0.5, 1.5])",... |
theo-eng-code-L2-code-009262 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 220, 100, 0.5)",
"assert abs(r0[0] - 160.0) < 1e-6",
"assert abs(r0[1] - 2.81) < 1e-6",
"assert abs(r0[2] - 168.8) < 1e-6",
"r1 = runtime(1.0, 70, 210, 0.3)",
"a... |
theo-eng-code-L3-code-002533 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 19, -0.08, 0.07, 0.3, 0.8, 1)",
"assert abs(r0[0] - -0.0008) < 1e-6",
"assert abs(r0[1] - 0.5639) < 1e-6",
"assert abs(r0[2] - -0.0583) < 1e-6",
"r1 = com_zmp(6, 28, 0.06, ... |
theo-eng-code-L2-code-005712 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 30, 370, 0.5)",
"assert abs(r0[0] - 200.0) < 1e-6",
"assert abs(r0[1] - 4.5) < 1e-6",
"assert abs(r0[2] - 270.0) < 1e-6",
"r1 = runtime(0.1, 290, 480, 0.5)",
"as... |
theo-eng-code-L2-code-013208 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([400, 250, 50], 1)",
"assert abs(r0 - 0.1944) < 1e-6",
"r1 = rect_energy([190, 390, 400, 450, 60], 1)",
"assert abs(r1 - 0.4139) < 1e-6",
"r2 = rect_energy([300, ... |
theo-eng-code-L2-code-002002 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([250, 160, 120, 330, 430], 1)",
"assert abs(r0 - 0.3583) < 1e-6",
"r1 = rect_energy([190, 360, 310, 140], 2)",
"assert abs(r1 - 0.5556) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L3-code-003844 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.32, 12000, 180)",
"assert abs(r0[0] - 8.04) < 1e-6",
"assert abs(r0[1] - 1492.1) < 1e-6",
"r1 = gear_ratio(0.35, 6000, 180)",
"assert abs(r1[0] - 4.4) < 1e-6",
"asser... |
theo-eng-code-L2-code-012668 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([0.5, 0.0], [3.0, 2.0])",
"assert abs(r0 - 3.2016) < 1e-6",
"r1 = seg_len([0.0, 0.0], [3.0, 1.0])",
"assert abs(r1 - 3.1623) < 1e-6",
"r2 = seg_len([3.0, 1.5], [4.0, 3.5]... |
theo-eng-code-L3-code-009355 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.6, 10)",
"assert r0[0] == 56",
"assert r0[1] == 20",
"assert r0[2] == 1120",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 40.32) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-001002 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([52, 81, 66, 67])",
"assert abs(r0[0] - 66.5) < 1e-6",
"assert abs(r0[1] - 11.846) < 1e-6",
"r1 = summarise([64, 67, 56, 89, 14])",
"assert r1[0] == 58",
"assert... |
theo-eng-code-L2-code-003158 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-014435 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 250}')",
"assert r0[0] == 40",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 150}')",
"assert r1[0] == 40",
... |
theo-eng-code-L2-code-013249 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(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-011416 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.1, 0.8)",
"assert abs(r0[0] - 2.5) < 1e-6",
"assert abs(r0[1] - 150.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L2-code-000857 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([320, 60, 80, 300, 220], 5)",
"assert abs(r0 - 1.3611) < 1e-6",
"r1 = rect_energy([170, 480, 150, 230, 140], 5)",
"assert abs(r1 - 1.625) < 1e-6",
"r2 = rect_ener... |
theo-eng-code-L2-code-015957 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 10, 3.2, 100)",
"assert r0[0] == 62",
"assert r0[1] == 1",
"assert r0[2] == 62",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 19.84) < 1e-6",
"r1 = p... |
theo-eng-code-L1-code-006411 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-014290 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([70, 480, 140, 230, 150], 1)",
"assert abs(r0 - 0.2972) < 1e-6",
"r1 = rect_energy([360, 230, 230], 1)",
"assert abs(r1 - 0.2278) < 1e-6",
"r2 = rect_energy([210,... |
theo-eng-code-L2-code-013893 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 11000, 150)",
"assert abs(r0[0] - 12.16) < 1e-6",
"assert abs(r0[1] - 904.3) < 1e-6",
"r1 = gear_ratio(0.38, 5000, 150)",
"assert abs(r1[0] - 4.78) < 1e-6",
"as... |
theo-eng-code-L3-code-008515 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 11, 0.1, 0.9)",
"assert abs(r0[0] - 9.09) < 1e-6",
"assert abs(r0[1] - 545.5) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_tim... |
theo-eng-code-L2-code-013381 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 33, 0.5)",
"assert abs(r0 - 36.67) < 1e-6",
"r1 = rms_torque(53, 40, 0.5)",
"assert abs(r1 - 46.95) < 1e-6",
"r2 = rms_torque(85, 7, 0.75)",
"assert abs(r2 - 73.7)... |
theo-eng-code-L2-code-002169 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 21, -0.07, 0.01, 0.9, 0.7, 2)",
"assert abs(r0[0] - -0.0233) < 1e-6",
"assert abs(r0[1] - 0.7833) < 1e-6",
"assert abs(r0[2] - -0.183) < 1e-6",
"r1 = com_zmp(18, 19, -0.0... |
theo-eng-code-L2-code-007346 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([36, 36, 85, 99, 64])",
"assert r0[0] == 64",
"assert abs(r0[1] - 28.434) < 1e-6",
"r1 = summarise([36, 61, 86, 81, 69])",
"assert abs(r1[0] - 66.6) < 1e-6",
"as... |
theo-eng-code-L1-refuse-012814 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-006480 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.41, 12500, 120)",
"assert abs(r0[0] - 16.1) < 1e-6",
"assert abs(r0[1] - 776.4) < 1e-6",
"r1 = gear_ratio(0.41, 6000, 120)",
"assert abs(r1[0] - 7.73) < 1e-6",
"ass... |
theo-eng-code-L2-code-000652 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 2.0], [4.0, 2.0])",
"assert abs(r0 - 0.0) < 1e-6",
"r1 = seg_len([4.5, 5.0], [1.0, 3.0])",
"assert abs(r1 - 4.0311) < 1e-6",
"r2 = seg_len([4.0, 1.0], [3.5, 1.0])",... |
theo-eng-code-L2-code-010712 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.32, 12000, 180)",
"assert abs(r0[0] - 8.04) < 1e-6",
"assert abs(r0[1] - 1492.1) < 1e-6",
"r1 = gear_ratio(0.39, 6500, 150)",
"assert abs(r1[0] - 6.37) < 1e-6",
"as... |
theo-eng-code-L2-code-009607 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(53, 24, 0.75)",
"assert abs(r0 - 47.44) < 1e-6",
"r1 = rms_torque(59, 29, 0.75)",
"assert abs(r1 - 53.11) < 1e-6",
"r2 = rms_torque(7, 2, 0.75)",
"assert abs(r2 - 6.14... |
theo-eng-code-L3-code-010385 | 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(9, 20, -0.05, -0.05, 0.9, 0.9, 0.5)",
"assert abs(r0[0] - -0.05) < 1e-6",
"assert abs(r0[1] - 0.9) < 1e-6",
"assert abs(r0[2] - -0.0959) < 1e-6",
"r1 = com_zmp(6, 22, 0.01, 0.1... |
theo-eng-code-L3-code-009713 | 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.25, 11500, 120)",
"assert abs(r0[0] - 9.03) < 1e-6",
"assert abs(r0[1] - 1273.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-008888 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 80, 3.2, 50)",
"assert r0[0] == 250",
"assert r0[1] == 2",
"assert r0[2] == 500",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-001185 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(17, 14, 0.25)",
"assert abs(r0 - 14.81) < 1e-6",
"r1 = rms_torque(75, 5, 0.5)",
"assert abs(r1 - 53.15) < 1e-6",
"r2 = rms_torque(90, 34, 0.75)",
"assert abs(r2 - 79.7... |
theo-eng-code-L3-code-009049 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.34, 8000, 100)",
"assert abs(r0[0] - 10.25) < 1e-6",
"assert abs(r0[1] - 780.2) < 1e-6",
"r1 = gear_ratio(0.33, 14000, 180)",
"assert abs(r1[0] - 9.68) < 1e-6",
"asse... |
theo-eng-code-L2-code-006469 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(90, 33, 0.5)",
"assert abs(r0 - 67.78) < 1e-6",
"r1 = rms_torque(47, 36, 0.75)",
"assert abs(r1 - 44.51) < 1e-6",
"r2 = rms_torque(96, 28, 0.25)",
"assert abs(r2 - 53.... |
theo-eng-code-L2-code-011323 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 120, 240, 0.5)",
"assert abs(r0[0] - 180.0) < 1e-6",
"assert abs(r0[1] - 5.0) < 1e-6",
"assert abs(r0[2] - 300.0) < 1e-6",
"r1 = runtime(1.0, 210, 200, 0.7)",
"a... |
theo-eng-code-L2-code-014415 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(65, 1330, 100, 0.22, 2.6, 0.013, 0.3, 0.9, 0.9)",
"assert abs(r0[0] - 421.5) < 1e-6",
"assert abs(r0[1] - 13.88) < 1e-6",
"assert abs(r0[2] - 13.88) < 1e-6",
"r1 = erange(44... |
theo-eng-code-L2-code-013280 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.0, 3.5], [1.0, 0.0])",
"assert abs(r0 - 3.6401) < 1e-6",
"r1 = seg_len([1.5, 0.0], [1.0, 0.0])",
"assert abs(r1 - 0.5) < 1e-6",
"r2 = seg_len([0.5, 2.5], [4.5, 1.5])",... |
theo-eng-code-L2-code-011798 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(27, 9, 0.5)",
"assert abs(r0 - 20.12) < 1e-6",
"r1 = rms_torque(69, 23, 0.5)",
"assert abs(r1 - 51.43) < 1e-6",
"r2 = rms_torque(57, 31, 0.5)",
"assert abs(r2 - 45.88)... |
theo-eng-code-L2-code-013983 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-013156 | 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(84, 27, 0.25)",
"assert abs(r0 - 48.07) < 1e-6",
"r1 = rms_torque(27, 18, 0.75)",
"assert abs(r1 - 25.05) < 1e-6",
"r2 = rms_torque(79, 27, 0.75)",
"assert abs(r2 - 69.7... |
theo-eng-code-L3-code-006514 | 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(1.8, 0.14, 60, 0.5, 1.5)",
"assert abs(r0[0] - 1.67) < 1e-6",
"assert abs(r0[1] - 0.0216) < 1e-6",
"assert abs(r0[2] - 1.7) < 1e-6",
"r1 = joint_torque(3.6, 0.34, 30, 3.... |
theo-eng-code-L3-code-004447 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.4, 0.57, 60, 1.5, 1.5)",
"assert abs(r0[0] - 10.65) < 1e-6",
"assert abs(r0[1] - 0.639) < 1e-6",
"assert abs(r0[2] - 11.61) < 1e-6",
"r1 = joint_torque(6.9, 0.39, 30, ... |
theo-eng-code-L2-code-012560 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([5.0, 1.5], [3.0, 4.5])",
"assert abs(r0 - 3.6056) < 1e-6",
"r1 = seg_len([2.5, 3.5], [4.5, 2.5])",
"assert abs(r1 - 2.2361) < 1e-6",
"r2 = seg_len([1.0, 4.5], [0.5, 2.0]... |
theo-eng-code-L3-code-008743 | 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(10, 20, 0.06, 0.03, 0.6, 0.6, 2)",
"assert abs(r0[0] - 0.04) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.0823) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L1-clarify-008761 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-refuse-014517 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-008489 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(52, 10, 0.75)",
"assert abs(r0 - 45.31) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-009529 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 10, 3.6, 2.5)",
"assert r0[0] == 139",
"assert r0[1] == 8",
"assert r0[2] == 1112",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 10.008) < 1e-6",
"r1... |
theo-eng-code-L2-code-011829 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 260, 540, 0.5)",
"assert abs(r0[0] - 400.0) < 1e-6",
"assert abs(r0[1] - 0.23) < 1e-6",
"assert abs(r0[2] - 13.5) < 1e-6",
"r1 = runtime(0.1, 160, 300, 0.5)",
"a... |
theo-eng-code-L2-code-011723 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(26, 980, 60, 0.26, 2.2, 0.012, 0.9, 0.9, 0.85)",
"assert abs(r0[0] - 274.0) < 1e-6",
"assert abs(r0[1] - 8.06) < 1e-6",
"assert abs(r0[2] - 4.84) < 1e-6",
"r1 = erange(42, 2... |
theo-eng-code-L2-code-012509 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 17, -0.08, 0.1, 0.7, 0.5, 0.5)",
"assert abs(r0[0] - 0.01) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.0206) < 1e-6",
"r1 = com_zmp(18, 15, 0.03, 0.... |
theo-eng-code-L2-code-011451 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([250, 150, 250, 160, 490], 10)",
"assert abs(r0 - 3.6111) < 1e-6",
"r1 = rect_energy([460, 410, 100, 390], 5)",
"assert abs(r1 - 1.8889) < 1e-6",
"r2 = rect_energ... |
theo-eng-code-L2-code-002982 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 40, 3.6, 5)",
"assert r0[0] == 56",
"assert r0[1] == 40",
"assert r0[2] == 2240",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 40.32) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-009538 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.9, 0.58, 60, 4.0, 0.0)",
"assert abs(r0[0] - 24.39) < 1e-6",
"assert abs(r0[1] - 1.5587) < 1e-6",
"assert abs(r0[2] - 24.39) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L2-code-010131 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(56, 2210, 80, 0.22, 2.0, 0.011, 1.3, 0.94, 0.95)",
"assert abs(r0[0] - 422.1) < 1e-6",
"assert abs(r0[1] - 12.61) < 1e-6",
"assert abs(r0[2] - 10.08) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L2-code-011585 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 27, 0.07, 0.13, 0.9, 0.8, 1)",
"assert abs(r0[0] - 0.1045) < 1e-6",
"assert abs(r0[1] - 0.8426) < 1e-6",
"assert abs(r0[2] - 0.0186) < 1e-6",
"r1 = com_zmp(12, 19, -0.1, ... |
theo-eng-code-L2-code-012452 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.0, 0.48, 60, 0.5, 1.0)",
"assert abs(r0[0] - 8.16) < 1e-6",
"assert abs(r0[1] - 0.3456) < 1e-6",
"assert abs(r0[2] - 8.5) < 1e-6",
"r1 = joint_torque(7.2, 0.46, 45, ... |
theo-eng-code-L2-code-004756 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(36, 17, 0.75)",
"assert abs(r0 - 32.31) < 1e-6",
"r1 = rms_torque(100, 30, 0.5)",
"assert abs(r1 - 73.82) < 1e-6",
"r2 = rms_torque(62, 31, 0.25)",
"assert abs(r2 - 41... |
theo-eng-code-L2-code-004623 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 18, 0.05, 0.01, 0.4, 0.7, 2)",
"assert abs(r0[0] - 0.0294) < 1e-6",
"assert abs(r0[1] - 0.5543) < 1e-6",
"assert abs(r0[2] - -0.0836) < 1e-6",
"r1 = com_zmp(12, 24, 0.03,... |
theo-eng-code-L2-code-014552 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(30, 2800, 80, 0.29, 2.2, 0.012, 1.2, 0.94, 0.85)",
"assert abs(r0[0] - 150.5) < 1e-6",
"assert abs(r0[1] - 16.94) < 1e-6",
"assert abs(r0[2] - 13.55) < 1e-6",
"r1 = erange(2... |
theo-eng-code-L1-code-003116 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_power",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-011879 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(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-L1-code-014167 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_power",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.