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-003552 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 11, 0.2, 1.0)",
"assert abs(r0[0] - 5.45) < 1e-6",
"assert abs(r0[1] - 327.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L1-code-007630 | 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": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-014309 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-004033 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-014577 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([99, 12, 64, 90])",
"assert abs(r0[0] - 66.25) < 1e-6",
"assert abs(r0[1] - 39.093) < 1e-6",
"r1 = summarise([68, 69, 90, 72, 46])",
"assert r1[0] == 69",
"asser... |
theo-eng-code-L2-code-012892 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 250, 60, 0.7)",
"assert abs(r0[0] - 193.0) < 1e-6",
"assert abs(r0[1] - 2.33) < 1e-6",
"assert abs(r0[2] - 139.9) < 1e-6",
"r1 = runtime(0.2, 180, 390, 0.3)",
"a... |
theo-eng-code-L3-code-004930 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(86, 1420, 100, 0.36, 3.0, 0.008, 0.7, 0.9, 0.9)",
"assert abs(r0[0] - 389.1) < 1e-6",
"assert abs(r0[1] - 19.89) < 1e-6",
"assert abs(r0[2] - 19.89) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-004126 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 11500, 100)",
"assert abs(r0[0] - 17.34) < 1e-6",
"assert abs(r0[1] - 663.1) < 1e-6",
"r1 = gear_ratio(0.32, 4500, 150)",
"assert abs(r1[0] - 3.62) < 1e-6",
"ass... |
theo-eng-code-L1-refuse-010941 | 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-L3-code-012017 | 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.26, 4000, 180)",
"assert abs(r0[0] - 2.18) < 1e-6",
"assert abs(r0[1] - 1836.4) < 1e-6",
"r1 = gear_ratio(0.27, 11500, 180)",
"assert abs(r1[0] - 6.5) < 1e-6",
"asser... |
theo-eng-code-L2-code-003852 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 260, 220, 0.7)",
"assert abs(r0[0] - 248.0) < 1e-6",
"assert abs(r0[1] - 3.63) < 1e-6",
"assert abs(r0[2] - 217.7) < 1e-6",
"r1 = runtime(0.5, 250, 400, 0.5)",
"... |
theo-eng-code-L2-code-006680 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 60, 440, 0.3)",
"assert abs(r0[0] - 326.0) < 1e-6",
"assert abs(r0[1] - 0.28) < 1e-6",
"assert abs(r0[2] - 16.6) < 1e-6",
"r1 = runtime(0.5, 140, 160, 0.5)",
"as... |
theo-eng-code-L2-code-009460 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.0, 0.49, 45, 6.0, 2.0)",
"assert abs(r0[0] - 23.79) < 1e-6",
"assert abs(r0[1] - 1.6007) < 1e-6",
"assert abs(r0[2] - 26.99) < 1e-6",
"r1 = joint_torque(5.6, 0.53, 6... |
theo-eng-code-L2-code-012961 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 10, 0.09, -0.05, 0.6, 0.3, 0.5)",
"assert abs(r0[0] - 0.0163) < 1e-6",
"assert abs(r0[1] - 0.4421) < 1e-6",
"assert abs(r0[2] - -0.0062) < 1e-6",
"r1 = com_zmp(16, 18, 0.0... |
theo-eng-code-L2-code-012546 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 13, -0.06, 0.12, 0.4, 0.9, 0)",
"assert abs(r0[0] - 0.018) < 1e-6",
"assert abs(r0[1] - 0.6167) < 1e-6",
"assert abs(r0[2] - 0.018) < 1e-6",
"r1 = com_zmp(6, 30, -0.04, 0... |
theo-eng-code-L1-code-007553 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_fstring",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-010984 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.31, 10000, 180)",
"assert abs(r0[0] - 6.49) < 1e-6",
"assert abs(r0[1] - 1540.2) < 1e-6",
"r1 = gear_ratio(0.29, 4000, 100)",
"assert abs(r1[0] - 4.37) < 1e-6",
"as... |
theo-eng-code-L3-code-000833 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.9, 0.13, 60, 0.5, 2.0)",
"assert abs(r0[0] - 1.6) < 1e-6",
"assert abs(r0[1] - 0.0192) < 1e-6",
"assert abs(r0[2] - 1.64) < 1e-6",
"r1 = joint_torque(5.9, 0.13, 30, 7.... |
theo-eng-code-L3-code-007342 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(59, 36, 0.75)",
"assert abs(r0 - 54.17) < 1e-6",
"r1 = rms_torque(11, 8, 0.5)",
"assert abs(r1 - 9.62) < 1e-6",
"r2 = rms_torque(54, 4, 0.5)",
"assert abs(r2 - 38.29) < ... |
theo-eng-code-L1-refuse-009487 | 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-L1-refuse-013499 | 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-013348 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(79, 20, 0.75)",
"assert abs(r0 - 69.14) < 1e-6",
"r1 = rms_torque(21, 5, 0.75)",
"assert abs(r1 - 18.36) < 1e-6",
"r2 = rms_torque(72, 40, 0.25)",
"assert abs(r2 - 49.... |
theo-eng-code-L2-code-009061 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 20, 3.2, 100)",
"assert r0[0] == 250",
"assert r0[1] == 1",
"assert r0[2] == 250",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-003491 | 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(300, 60, 3.2, 100)",
"assert r0[0] == 94",
"assert r0[1] == 2",
"assert r0[2] == 188",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 60.16) < 1e-6"
],
... |
theo-eng-code-L2-code-000452 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 30, 260, 0.5)",
"assert abs(r0[0] - 145.0) < 1e-6",
"assert abs(r0[1] - 1.24) < 1e-6",
"assert abs(r0[2] - 74.5) < 1e-6",
"r1 = runtime(1.0, 240, 550, 0.3)",
"as... |
theo-eng-code-L3-code-013212 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.32, 10500, 120)",
"assert abs(r0[0] - 10.56) < 1e-6",
"assert abs(r0[1] - 994.7) < 1e-6",
"r1 = gear_ratio(0.39, 5000, 100)",
"assert abs(r1[0] - 7.35) < 1e-6",
"asse... |
theo-eng-code-L3-code-015762 | 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(31, 17, 0.25)",
"assert abs(r0 - 21.38) < 1e-6",
"r1 = rms_torque(48, 27, 0.75)",
"assert abs(r1 - 43.71) < 1e-6",
"r2 = rms_torque(51, 26, 0.25)",
"assert abs(r2 - 34.0... |
theo-eng-code-L2-code-006111 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(23, 1790, 120, 0.26, 2.4, 0.01, 1.4, 0.88, 0.95)",
"assert abs(r0[0] - 108.6) < 1e-6",
"assert abs(r0[1] - 20.11) < 1e-6",
"assert abs(r0[2] - 24.14) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L2-code-006697 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(73, 17, 0.75)",
"assert abs(r0 - 63.79) < 1e-6",
"r1 = rms_torque(92, 33, 0.75)",
"assert abs(r1 - 81.36) < 1e-6",
"r2 = rms_torque(21, 8, 0.75)",
"assert abs(r2 - 18.... |
theo-eng-code-L3-code-007959 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 80, 3.7, 100)",
"assert r0[0] == 108",
"assert r0[1] == 3",
"assert r0[2] == 324",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 119.88) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-011328 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.4, 0.18, 30, 7.5, 3.5)",
"assert abs(r0[0] - 8.56) < 1e-6",
"assert abs(r0[1] - 0.2905) < 1e-6",
"assert abs(r0[2] - 9.58) < 1e-6",
"r1 = joint_torque(7.1, 0.43, 30,... |
theo-eng-code-L2-code-004636 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 14, -0.06, 0.08, 0.7, 0.8, 0.5)",
"assert abs(r0[0] - 0.0076) < 1e-6",
"assert abs(r0[1] - 0.7483) < 1e-6",
"assert abs(r0[2] - -0.0306) < 1e-6",
"r1 = com_zmp(9, 23, -0.... |
theo-eng-code-L1-clarify-015623 | 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": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-001835 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(16, 17, -0.04, 0.07, 0.3, 0.6, 0)",
"assert abs(r0[0] - 0.0167) < 1e-6",
"assert abs(r0[1] - 0.4545) < 1e-6",
"assert abs(r0[2] - 0.0167) < 1e-6",
"r1 = com_zmp(13, 12, -0.07... |
theo-eng-code-L2-code-010018 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([420, 350, 280, 480, 320], 1)",
"assert abs(r0 - 0.5139) < 1e-6",
"r1 = rect_energy([400, 220, 450, 70], 2)",
"assert abs(r1 - 0.6333) < 1e-6",
"r2 = rect_energy(... |
theo-eng-code-L2-code-013259 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(77, 16, 0.5)",
"assert abs(r0 - 55.61) < 1e-6",
"r1 = rms_torque(41, 4, 0.25)",
"assert abs(r1 - 20.79) < 1e-6",
"r2 = rms_torque(19, 8, 0.25)",
"assert abs(r2 - 11.76... |
theo-eng-code-L3-code-005470 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 200, 180, 0.3)",
"assert abs(r0[0] - 186.0) < 1e-6",
"assert abs(r0[1] - 0.97) < 1e-6",
"assert abs(r0[2] - 58.1) < 1e-6",
"r1 = runtime(0.1, 240, 480, 0.3)",
"ass... |
theo-eng-code-L2-code-015040 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.5, 0.5], [2.5, 2.0])",
"assert abs(r0 - 1.8028) < 1e-6",
"r1 = seg_len([1.0, 0.0], [2.0, 3.5])",
"assert abs(r1 - 3.6401) < 1e-6",
"r2 = seg_len([2.0, 0.5], [2.5, 0.5]... |
theo-eng-code-L2-code-005897 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 150, 0.2, 0.8)",
"assert abs(r0[0] - 0.25) < 1e-6",
"assert abs(r0[1] - 15.0) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6",
"r... |
theo-eng-code-L1-clarify-006920 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-010582 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.7, 0.51, 60, 5.0, 2.0)",
"assert abs(r0[0] - 34.01) < 1e-6",
"assert abs(r0[1] - 1.7947) < 1e-6",
"assert abs(r0[2] - 37.6) < 1e-6",
"r1 = joint_torque(4.3, 0.31, 45... |
theo-eng-code-L2-code-010464 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 22, 0.1, 0.9)",
"assert abs(r0[0] - 2.73) < 1e-6",
"assert abs(r0[1] - 163.6) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L3-code-006529 | 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(12, 14, 0.04, 0.1, 0.8, 0.3, 2)",
"assert abs(r0[0] - 0.0723) < 1e-6",
"assert abs(r0[1] - 0.5308) < 1e-6",
"assert abs(r0[2] - -0.0359) < 1e-6",
"r1 = com_zmp(14, 10, 0.01, -0... |
theo-eng-code-L2-code-013167 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-002079 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.45) < 1e-6",
"assert abs(r0[1] - 27.0) < 1e-6",
"assert abs(r0[2] - 54.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_t... |
theo-eng-code-L1-code-011575 | 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_cond",
"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-L3-code-001633 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(56, 8, 0.5)",
"assert abs(r0 - 40.0) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"saf... |
theo-eng-code-L2-code-002187 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.28, 7000, 120)",
"assert abs(r0[0] - 6.16) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.27, 9500, 120)",
"assert abs(r1[0] - 8.06) < 1e-6",
"ass... |
theo-eng-code-L3-code-012610 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.2, 100)",
"assert r0[0] == 94",
"assert r0[1] == 3",
"assert r0[2] == 282",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 90.24) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-014895 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 11, 0.2, 0.8)",
"assert abs(r0[0] - 2.73) < 1e-6",
"assert abs(r0[1] - 163.6) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L2-code-012002 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 80, 440, 0.5)",
"assert abs(r0[0] - 260.0) < 1e-6",
"assert abs(r0[1] - 0.35) < 1e-6",
"assert abs(r0[2] - 20.8) < 1e-6",
"r1 = runtime(0.5, 290, 290, 0.5)",
"as... |
theo-eng-code-L2-code-007324 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-007378 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 18, 0.03, 0.09, 0.3, 0.7, 0)",
"assert abs(r0[0] - 0.066) < 1e-6",
"assert abs(r0[1] - 0.54) < 1e-6",
"assert abs(r0[2] - 0.066) < 1e-6",
"r1 = com_zmp(14, 15, 0.02, -0.0... |
theo-eng-code-L2-code-010936 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 28, 0.07, 0.03, 0.8, 0.9, 0)",
"assert abs(r0[0] - 0.0427) < 1e-6",
"assert abs(r0[1] - 0.8683) < 1e-6",
"assert abs(r0[2] - 0.0427) < 1e-6",
"r1 = com_zmp(12, 20, -0.04,... |
theo-eng-code-L2-code-004632 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.6, 0.55, 60, 6.0, 0.5)",
"assert abs(r0[0] - 38.78) < 1e-6",
"assert abs(r0[1] - 2.2788) < 1e-6",
"assert abs(r0[2] - 39.92) < 1e-6",
"r1 = joint_torque(4.2, 0.49, 6... |
theo-eng-code-L2-code-000660 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 4500, 100)",
"assert abs(r0[0] - 6.45) < 1e-6",
"assert abs(r0[1] - 698.0) < 1e-6",
"r1 = gear_ratio(0.28, 7500, 120)",
"assert abs(r1[0] - 6.6) < 1e-6",
"asser... |
theo-eng-code-L2-code-000557 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 22, 0.2, 0.8)",
"assert abs(r0[0] - 2.05) < 1e-6",
"assert abs(r0[1] - 122.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L1-code-005159 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_fstring",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-012050 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 80, 3.2, 10)",
"assert r0[0] == 125",
"assert r0[1] == 20",
"assert r0[2] == 2500",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-009501 | 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.5, 250, 310, 0.3)",
"assert abs(r0[0] - 292.0) < 1e-6",
"assert abs(r0[1] - 1.54) < 1e-6",
"assert abs(r0[2] - 92.5) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L2-code-004831 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 90, 43, 93, 16, 55])",
"assert abs(r0[0] - 58.167) < 1e-6",
"assert abs(r0[1] - 29.267) < 1e-6",
"r1 = summarise([21, 71, 85, 32, 65, 70])",
"assert abs(r1[0] -... |
theo-eng-code-L2-code-005952 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(84, 19, 0.25)",
"assert abs(r0 - 45.11) < 1e-6",
"r1 = rms_torque(13, 7, 0.25)",
"assert abs(r1 - 8.89) < 1e-6",
"r2 = rms_torque(33, 31, 0.25)",
"assert abs(r2 - 31.5... |
theo-eng-code-L3-code-007397 | 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.34, 11500, 120)",
"assert abs(r0[0] - 12.28) < 1e-6",
"assert abs(r0[1] - 936.2) < 1e-6",
"r1 = gear_ratio(0.45, 6500, 100)",
"assert abs(r1[0] - 11.03) < 1e-6",
"ass... |
theo-eng-code-L2-code-001746 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 150, 0.2, 0.9)",
"assert abs(r0[0] - 0.47) < 1e-6",
"assert abs(r0[1] - 28.0) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_t... |
theo-eng-code-L2-code-012060 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([180, 240, 160, 460, 170], 5)",
"assert abs(r0 - 1.6806) < 1e-6",
"r1 = rect_energy([310, 230, 390, 160], 5)",
"assert abs(r1 - 1.5139) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L2-code-015989 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([230, 70, 190, 320], 1)",
"assert abs(r0 - 0.225) < 1e-6",
"r1 = rect_energy([80, 350, 480, 420], 5)",
"assert abs(r1 - 1.8472) < 1e-6",
"r2 = rect_energy([130, 1... |
theo-eng-code-L2-code-010520 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([55, 51, 52, 24, 69, 63])",
"assert abs(r0[0] - 52.333) < 1e-6",
"assert abs(r0[1] - 15.513) < 1e-6",
"r1 = summarise([15, 67, 25, 14, 97])",
"assert abs(r1[0] - 43.... |
theo-eng-code-L2-code-010743 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 5500, 150)",
"assert abs(r0[0] - 4.15) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.33, 15000, 150)",
"assert abs(r1[0] - 12.44) < 1e-6",
"as... |
theo-eng-code-L2-code-011327 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 13500, 120)",
"assert abs(r0[0] - 16.96) < 1e-6",
"assert abs(r0[1] - 795.8) < 1e-6",
"r1 = gear_ratio(0.26, 6000, 120)",
"assert abs(r1[0] - 4.9) < 1e-6",
"asse... |
theo-eng-code-L3-code-009502 | 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(34, 1300, 100, 0.24, 1.9, 0.011, 1.1, 0.92, 0.85)",
"assert abs(r0[0] - 244.0) < 1e-6",
"assert abs(r0[1] - 11.84) < 1e-6",
"assert abs(r0[2] - 11.84) < 1e-6",
"r1 = erange(52... |
theo-eng-code-L3-code-001092 | 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.31, 5000, 150)",
"assert abs(r0[0] - 3.9) < 1e-6",
"assert abs(r0[1] - 1283.5) < 1e-6",
"r1 = gear_ratio(0.44, 11500, 120)",
"assert abs(r1[0] - 15.9) < 1e-6",
"asser... |
theo-eng-code-L2-code-001903 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 360, 0.3)",
"assert abs(r0[0] - 339.0) < 1e-6",
"assert abs(r0[1] - 1.33) < 1e-6",
"assert abs(r0[2] - 79.6) < 1e-6",
"r1 = runtime(0.5, 100, 100, 0.7)",
"a... |
theo-eng-code-L3-code-012982 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 150, 0.1, 0.9)",
"assert abs(r0[0] - 0.67) < 1e-6",
"assert abs(r0[1] - 40.0) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 150"
],
"subta... |
theo-eng-code-L2-code-010680 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.8, 0.23, 90, 0.5, 1.0)",
"assert abs(r0[0] - 6.54) < 1e-6",
"assert abs(r0[1] - 0.1111) < 1e-6",
"assert abs(r0[2] - 6.65) < 1e-6",
"r1 = joint_torque(5.1, 0.16, 90,... |
theo-eng-code-L2-code-006649 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 40, 3.6, 5)",
"assert r0[0] == 83",
"assert r0[1] == 27",
"assert r0[2] == 2241",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 40.338) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-004048 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([92, 81, 74, 14, 20])",
"assert abs(r0[0] - 56.2) < 1e-6",
"assert abs(r0[1] - 36.417) < 1e-6",
"r1 = summarise([87, 56, 16, 51, 57, 46])",
"assert abs(r1[0] - 52.16... |
theo-eng-code-L2-code-004542 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([83, 75, 58, 59])",
"assert abs(r0[0] - 68.75) < 1e-6",
"assert abs(r0[1] - 12.285) < 1e-6",
"r1 = summarise([47, 76, 38, 92, 62])",
"assert r1[0] == 63",
"asser... |
theo-eng-code-L2-code-012586 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 360, 0.7)",
"assert abs(r0[0] - 248.0) < 1e-6",
"assert abs(r0[1] - 0.73) < 1e-6",
"assert abs(r0[2] - 43.5) < 1e-6",
"r1 = runtime(0.2, 130, 310, 0.3)",
"a... |
theo-eng-code-L1-refuse-006370 | 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-004713 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(50, [0, 25, 50, 75, 100], [0.7, 0.85, 0.87, 0.87, 0.84])",
"assert abs(r0 - 0.87) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.78, 0.84, 0.88, 0.85, 0.85])",
"as... |
theo-eng-code-L2-code-002904 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 240, 80, 0.7)",
"assert abs(r0[0] - 192.0) < 1e-6",
"assert abs(r0[1] - 0.94) < 1e-6",
"assert abs(r0[2] - 56.3) < 1e-6",
"r1 = runtime(1.0, 270, 90, 0.7)",
"ass... |
theo-eng-code-L3-code-004497 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(74, 29, 0.25)",
"assert abs(r0 - 44.72) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L3-code-013551 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(21, 2590, 80, 0.38, 3.0, 0.01, 0.4, 0.94, 0.95)",
"assert abs(r0[0] - 109.6) < 1e-6",
"assert abs(r0[1] - 18.2) < 1e-6",
"assert abs(r0[2] - 14.56) < 1e-6",
"r1 = erange(29, 2... |
theo-eng-code-L3-code-013942 | 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(800, 60, 3.2, 10)",
"assert r0[0] == 250",
"assert r0[1] == 8",
"assert r0[2] == 2000",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 64.0) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-014319 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 22, 0.2, 0.9)",
"assert abs(r0[0] - 3.98) < 1e-6",
"assert abs(r0[1] - 238.6) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L3-code-012297 | 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, 160, 510, 0.7)",
"assert abs(r0[0] - 265.0) < 1e-6",
"assert abs(r0[1] - 0.34) < 1e-6",
"assert abs(r0[2] - 20.4) < 1e-6",
"r1 = runtime(0.5, 270, 240, 0.3)",
"ass... |
theo-eng-code-L3-code-012355 | 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, 20, 3.7, 100)",
"assert r0[0] == 54",
"assert r0[1] == 2",
"assert r0[2] == 108",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 39.96) < 1e-6",
"r1 = pa... |
theo-eng-code-L1-clarify-001164 | 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": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-009975 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 22, 0.1, 0.9)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-011896 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.6, 0.13, 30, 4.0, 2.0)",
"assert abs(r0[0] - 4.65) < 1e-6",
"assert abs(r0[1] - 0.1048) < 1e-6",
"assert abs(r0[2] - 4.86) < 1e-6",
"r1 = joint_torque(6.3, 0.6, 60, ... |
theo-eng-code-L3-code-011278 | 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(200, 20, 3.2, 10)",
"assert r0[0] == 62",
"assert r0[1] == 11",
"assert r0[2] == 682",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 21.824) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-008939 | 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, 100)",
"assert abs(r0[0] - 8.77) < 1e-6",
"assert abs(r0[1] - 855.7) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-005146 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(75, [0, 25, 50, 75, 100], [0.77, 0.85, 0.86, 0.88, 0.81])",
"assert abs(r0 - 0.88) < 1e-6",
"r1 = interp_eff(85, [0, 25, 50, 75, 100], [0.79, 0.8, 0.85, 0.85, 0.81])",
"as... |
theo-eng-code-L1-clarify-011886 | 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-006374 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.9, 0.53, 45, 5.5, 2.5)",
"assert abs(r0[0] - 34.74) < 1e-6",
"assert abs(r0[1] - 2.2847) < 1e-6",
"assert abs(r0[2] - 40.45) < 1e-6",
"r1 = joint_torque(1.8, 0.6, 45... |
theo-eng-code-L1-clarify-014855 | 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": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-010900 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.3, 0.38, 60, 0.5, 0.0)",
"assert abs(r0[0] - 8.56) < 1e-6",
"assert abs(r0[1] - 0.2792) < 1e-6",
"assert abs(r0[2] - 8.56) < 1e-6",
"r1 = joint_torque(7.0, 0.15, 60, 1... |
theo-eng-code-L1-refuse-012107 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-013240 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.6, 0.44, 60, 6.5, 2.5)",
"assert abs(r0[0] - 34.76) < 1e-6",
"assert abs(r0[1] - 1.6198) < 1e-6",
"assert abs(r0[2] - 38.81) < 1e-6",
"r1 = joint_torque(4.5, 0.6, 30, ... |
theo-eng-code-L3-code-013820 | 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(54, 1240, 60, 0.32, 2.6, 0.009, 1.2, 0.9, 0.9)",
"assert abs(r0[0] - 498.6) < 1e-6",
"assert abs(r0[1] - 9.75) < 1e-6",
"assert abs(r0[2] - 5.85) < 1e-6",
"r1 = erange(73, 268... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.