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-001589 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_prodloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-014992 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 20, -0.05, -0.01, 0.6, 0.3, 1)",
"assert abs(r0[0] - -0.0284) < 1e-6",
"assert abs(r0[1] - 0.4378) < 1e-6",
"assert abs(r0[2] - -0.073) < 1e-6",
"r1 = com_zmp(11, 22, -0.... |
theo-eng-code-L2-code-002244 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.31, 7000, 180)",
"assert abs(r0[0] - 4.54) < 1e-6",
"assert abs(r0[1] - 1540.2) < 1e-6",
"r1 = gear_ratio(0.36, 4000, 100)",
"assert abs(r1[0] - 5.43) < 1e-6",
"ass... |
theo-eng-code-L2-code-012094 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(94, 13, 0.25)",
"assert abs(r0 - 48.33) < 1e-6",
"r1 = rms_torque(7, 7, 0.25)",
"assert abs(r1 - 7.0) < 1e-6",
"r2 = rms_torque(92, 37, 0.75)",
"assert abs(r2 - 81.79)... |
theo-eng-code-L2-code-008042 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([100, 200, 360, 410, 150], 10)",
"assert abs(r0 - 3.3889) < 1e-6",
"r1 = rect_energy([440, 410, 260], 1)",
"assert abs(r1 - 0.3083) < 1e-6",
"r2 = rect_energy([50... |
theo-eng-code-L2-code-013056 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 12500, 120)",
"assert abs(r0[0] - 10.6) < 1e-6",
"assert abs(r0[1] - 1178.9) < 1e-6",
"r1 = gear_ratio(0.42, 4500, 150)",
"assert abs(r1[0] - 4.75) < 1e-6",
"as... |
theo-eng-code-L2-code-006398 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 15000, 180)",
"assert abs(r0[0] - 10.68) < 1e-6",
"assert abs(r0[1] - 1404.3) < 1e-6",
"r1 = gear_ratio(0.31, 10000, 120)",
"assert abs(r1[0] - 9.74) < 1e-6",
"... |
theo-eng-code-L2-code-009145 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.8, 0.23, 90, 0.5, 3.0)",
"assert abs(r0[0] - 6.54) < 1e-6",
"assert abs(r0[1] - 0.1111) < 1e-6",
"assert abs(r0[2] - 6.88) < 1e-6",
"r1 = joint_torque(5.4, 0.42, 90,... |
theo-eng-code-L1-code-012403 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_strmul",
"user_template": "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-013073 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-002602 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.42, 9000, 180)",
"assert abs(r0[0] - 7.92) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.3, 11000, 180)",
"assert abs(r1[0] - 6.91) < 1e-6",
"asser... |
theo-eng-code-L2-code-011467 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 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_ti... |
theo-eng-code-L3-code-000734 | 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(4.0, 0.17, 90, 6.5, 1.5)",
"assert abs(r0[0] - 14.18) < 1e-6",
"assert abs(r0[1] - 0.2264) < 1e-6",
"assert abs(r0[2] - 14.52) < 1e-6",
"r1 = joint_torque(2.4, 0.41, 90,... |
theo-eng-code-L2-code-010899 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008072 | 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(6.0, 0.54, 30, 0.5, 1.0)",
"assert abs(r0[0] - 9.27) < 1e-6",
"assert abs(r0[1] - 0.729) < 1e-6",
"assert abs(r0[2] - 10.0) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L3-code-011232 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 15, -0.06, -0.04, 0.7, 0.7, 1)",
"assert abs(r0[0] - -0.048) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - -0.1194) < 1e-6",
"r1 = com_zmp(5, 19, 0.06, 0.0... |
theo-eng-code-L1-code-011192 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_join",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-005946 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([90, 45, 93, 16, 70])",
"assert abs(r0[0] - 62.8) < 1e-6",
"assert abs(r0[1] - 32.445) < 1e-6",
"r1 = summarise([26, 71, 90, 41])",
"assert r1[0] == 57",
"assert... |
theo-eng-code-L2-code-004187 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.9, 0.37, 60, 7.5, 2.5)",
"assert abs(r0[0] - 31.28) < 1e-6",
"assert abs(r0[1] - 1.2504) < 1e-6",
"assert abs(r0[2] - 34.4) < 1e-6",
"r1 = joint_torque(2.6, 0.39, 90... |
theo-eng-code-L2-code-013933 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 60, 3.6, 50)",
"assert r0[0] == 83",
"assert r0[1] == 5",
"assert r0[2] == 415",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 74.7) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-013318 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 10, 3.6, 10)",
"assert r0[0] == 139",
"assert r0[1] == 2",
"assert r0[2] == 278",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 10.008) < 1e-6"
],
... |
theo-eng-code-L3-code-001907 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 12000, 120)",
"assert abs(r0[0] - 10.18) < 1e-6",
"assert abs(r0[1] - 1178.9) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run... |
theo-eng-code-L2-code-004584 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([290, 210, 390], 10)",
"assert abs(r0 - 2.4722) < 1e-6",
"r1 = rect_energy([360, 450, 370, 450], 2)",
"assert abs(r1 - 0.9056) < 1e-6",
"r2 = rect_energy([240, 24... |
theo-eng-code-L2-code-000491 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 40, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 33",
"assert r0[2] == 5148",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 41.184) < 1e-6",
"r... |
theo-eng-code-L1-clarify-004464 | 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": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-refuse-015971 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-012126 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 50, 0.1, 1.0)",
"assert abs(r0[0] - 2.25) < 1e-6",
"assert abs(r0[1] - 135.0) < 1e-6",
"assert abs(r0[2] - 90.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L3-code-002273 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 24, 0.1, 0.14, 0.5, 0.5, 0.5)",
"assert abs(r0[0] - 0.1259) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - 0.1005) < 1e-6"
],
"subtask": "writetests"... |
theo-eng-code-L3-code-005210 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.6, 50)",
"assert r0[0] == 56",
"assert r0[1] == 4",
"assert r0[2] == 224",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 40.32) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-009582 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 50, 0.1, 0.8)",
"assert abs(r0[0] - 0.7) < 1e-6",
"assert abs(r0[1] - 42.0) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-016019 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(22, 2280, 60, 0.31, 2.6, 0.013, 0.6, 0.92, 0.85)",
"assert abs(r0[0] - 134.3) < 1e-6",
"assert abs(r0[1] - 13.92) < 1e-6",
"assert abs(r0[2] - 8.35) < 1e-6",
"r1 = erange(59... |
theo-eng-code-L1-code-013264 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_minmax",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-012161 | 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(38, 37, 0.75)",
"assert abs(r0 - 37.75) < 1e-6",
"r1 = rms_torque(41, 29, 0.25)",
"assert abs(r1 - 32.42) < 1e-6",
"r2 = rms_torque(56, 28, 0.5)",
"assert abs(r2 - 44.27... |
theo-eng-code-L2-code-010591 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 21, 0.06, 0.13, 0.9, 0.7, 2)",
"assert abs(r0[0] - 0.1059) < 1e-6",
"assert abs(r0[1] - 0.7688) < 1e-6",
"assert abs(r0[2] - -0.0508) < 1e-6",
"r1 = com_zmp(7, 15, -0.07,... |
theo-eng-code-L2-code-014607 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([52, 38, 87, 84])",
"assert abs(r0[0] - 65.25) < 1e-6",
"assert abs(r0[1] - 24.102) < 1e-6",
"r1 = summarise([26, 14, 90, 52, 51])",
"assert abs(r1[0] - 46.6) < 1e-6... |
theo-eng-code-L3-code-011177 | 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(64, 21, 0.5)",
"assert abs(r0 - 47.63) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L1-code-011266 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_slices",
"user_template": "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-006937 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 150, 0.2, 1.0)",
"assert abs(r0[0] - 0.33) < 1e-6",
"assert abs(r0[1] - 20.0) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-004644 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 22, 0.1, 1.0)",
"assert abs(r0[0] - 3.07) < 1e-6",
"assert abs(r0[1] - 184.1) < 1e-6",
"assert abs(r0[2] - 54.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-009385 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 40, 3.7, 10)",
"assert r0[0] == 54",
"assert r0[1] == 21",
"assert r0[2] == 1134",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 41.958) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-009670 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 18, 0.05, 0.13, 0.8, 0.5, 0.5)",
"assert abs(r0[0] - 0.095) < 1e-6",
"assert abs(r0[1] - 0.6313) < 1e-6",
"assert abs(r0[2] - 0.0628) < 1e-6",
"r1 = com_zmp(6, 27, 0.03, ... |
theo-eng-code-L2-code-000795 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 7, 0.2, 0.8)",
"assert abs(r0[0] - 4.29) < 1e-6",
"assert abs(r0[1] - 257.1) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-004157 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, [0, 25, 50, 75, 100], [0.7, 0.83, 0.89, 0.88, 0.83])",
"assert abs(r0 - 0.778) < 1e-6",
"r1 = interp_eff(80, [0, 25, 50, 75, 100], [0.76, 0.83, 0.85, 0.85, 0.84])",
"a... |
theo-eng-code-L3-code-008495 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.5, 0.26, 30, 4.5, 3.5)",
"assert abs(r0[0] - 10.52) < 1e-6",
"assert abs(r0[1] - 0.4732) < 1e-6",
"assert abs(r0[2] - 12.18) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L3-code-008643 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 40, 3.7, 2.5)",
"assert r0[0] == 108",
"assert r0[1] == 41",
"assert r0[2] == 4428",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 40.959) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-015958 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 140, 390, 0.3)",
"assert abs(r0[0] - 315.0) < 1e-6",
"assert abs(r0[1] - 1.43) < 1e-6",
"assert abs(r0[2] - 85.7) < 1e-6",
"r1 = runtime(1.0, 100, 400, 0.7)",
"a... |
theo-eng-code-L3-code-002547 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.1, 0.11, 60, 3.0, 3.5)",
"assert abs(r0[0] - 4.25) < 1e-6",
"assert abs(r0[1] - 0.0488) < 1e-6",
"assert abs(r0[2] - 4.42) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L3-code-001657 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 40, 3.7, 10)",
"assert r0[0] == 135",
"assert r0[1] == 9",
"assert r0[2] == 1215",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 44.955) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-011175 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 130, 0.5)",
"assert abs(r0[0] - 90.0) < 1e-6",
"assert abs(r0[1] - 10.0) < 1e-6",
"assert abs(r0[2] - 600.0) < 1e-6",
"r1 = runtime(0.1, 280, 390, 0.5)",
"as... |
theo-eng-code-L2-code-011634 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "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-008576 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(0.9, 0.13, 90, 5.0, 1.0)",
"assert abs(r0[0] - 6.95) < 1e-6",
"assert abs(r0[1] - 0.0896) < 1e-6",
"assert abs(r0[2] - 7.04) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L3-code-004775 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(71, 1950, 120, 0.24, 2.7, 0.013, 0.7, 0.94, 0.95)",
"assert abs(r0[0] - 321.7) < 1e-6",
"assert abs(r0[1] - 20.96) < 1e-6",
"assert abs(r0[2] - 25.16) < 1e-6"
],
"subta... |
theo-eng-code-L3-code-011919 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(34, 19, 0.5)",
"assert abs(r0 - 27.54) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L3-code-015000 | 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(40, 32, 0.75)",
"assert abs(r0 - 38.16) < 1e-6",
"r1 = rms_torque(73, 9, 0.5)",
"assert abs(r1 - 52.01) < 1e-6",
"r2 = rms_torque(86, 24, 0.25)",
"assert abs(r2 - 47.76)... |
theo-eng-code-L3-code-003877 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(46, 1660, 80, 0.26, 2.2, 0.012, 0.8, 0.92, 0.85)",
"assert abs(r0[0] - 322.5) < 1e-6",
"assert abs(r0[1] - 12.12) < 1e-6",
"assert abs(r0[2] - 9.7) < 1e-6",
"r1 = erange(94, 2... |
theo-eng-code-L2-code-008244 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.2, 10)",
"assert r0[0] == 94",
"assert r0[1] == 27",
"assert r0[2] == 2538",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 81.216) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-015416 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([220, 140, 450, 150], 2)",
"assert abs(r0 - 0.5333) < 1e-6",
"r1 = rect_energy([430, 430, 500], 5)",
"assert abs(r1 - 1.8889) < 1e-6",
"r2 = rect_energy([90, 450,... |
theo-eng-code-L2-code-011532 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(94, 8, 0.75)",
"assert abs(r0 - 81.5) < 1e-6",
"r1 = rms_torque(68, 15, 0.5)",
"assert abs(r1 - 49.24) < 1e-6",
"r2 = rms_torque(84, 11, 0.5)",
"assert abs(r2 - 59.9) ... |
theo-eng-code-L2-code-009816 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, 2, 0.25)",
"assert abs(r0 - 22.57) < 1e-6",
"r1 = rms_torque(24, 20, 0.5)",
"assert abs(r1 - 22.09) < 1e-6",
"r2 = rms_torque(22, 7, 0.75)",
"assert abs(r2 - 19.37... |
theo-eng-code-L3-code-007956 | 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.41, 5000, 120)",
"assert abs(r0[0] - 6.44) < 1e-6",
"assert abs(r0[1] - 776.4) < 1e-6",
"r1 = gear_ratio(0.42, 12500, 120)",
"assert abs(r1[0] - 16.49) < 1e-6",
"asse... |
theo-eng-code-L2-code-014668 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 290, 530, 0.5)",
"assert abs(r0[0] - 410.0) < 1e-6",
"assert abs(r0[1] - 1.1) < 1e-6",
"assert abs(r0[2] - 65.9) < 1e-6",
"r1 = runtime(1.0, 140, 140, 0.3)",
"as... |
theo-eng-code-L3-code-003321 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(20, 27, 0.03, 0.06, 0.5, 0.7, 1)",
"assert abs(r0[0] - 0.0472) < 1e-6",
"assert abs(r0[1] - 0.6149) < 1e-6",
"assert abs(r0[2] - -0.0154) < 1e-6",
"r1 = com_zmp(20, 24, -0.06, ... |
theo-eng-code-L2-code-000517 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 40, 3.7, 100)",
"assert r0[0] == 81",
"assert r0[1] == 2",
"assert r0[2] == 162",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 59.94) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-005514 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([95, 24, 33, 59, 21])",
"assert abs(r0[0] - 46.4) < 1e-6",
"assert abs(r0[1] - 31.013) < 1e-6",
"r1 = summarise([30, 79, 10, 63])",
"assert abs(r1[0] - 45.5) < 1e-6"... |
theo-eng-code-L2-code-012015 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 40, 3.2, 10)",
"assert r0[0] == 125",
"assert r0[1] == 10",
"assert r0[2] == 1250",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-010438 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.2, 5)",
"assert r0[0] == 62",
"assert r0[1] == 41",
"assert r0[2] == 2542",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 40.672) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-004717 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.1, 0.8)",
"assert abs(r0[0] - 2.39) < 1e-6",
"assert abs(r0[1] - 143.2) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L3-code-015813 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 180, 140, 0.7)",
"assert abs(r0[0] - 168.0) < 1e-6",
"assert abs(r0[1] - 1.07) < 1e-6",
"assert abs(r0[2] - 64.3) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L3-code-000232 | 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, 40, 3.2, 10)",
"assert r0[0] == 125",
"assert r0[1] == 10",
"assert r0[2] == 1250",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-014890 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 27, -0.06, -0.01, 0.7, 0.5, 2)",
"assert abs(r0[0] - -0.0214) < 1e-6",
"assert abs(r0[1] - 0.5457) < 1e-6",
"assert abs(r0[2] - -0.1327) < 1e-6",
"r1 = com_zmp(14, 29, -0.1,... |
theo-eng-code-L2-code-015561 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 60, 3.6, 10)",
"assert r0[0] == 139",
"assert r0[1] == 12",
"assert r0[2] == 1668",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 60.048) < 1e-6",
"r1... |
theo-eng-code-L3-code-007081 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 22, 0.2, 0.9)",
"assert abs(r0[0] - 0.8) < 1e-6",
"assert abs(r0[1] - 47.7) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 22"
],
"subtask":... |
theo-eng-code-L2-code-015349 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([200, 300, 490, 70, 490], 1)",
"assert abs(r0 - 0.4306) < 1e-6",
"r1 = rect_energy([290, 70, 180, 450, 200], 5)",
"assert abs(r1 - 1.6528) < 1e-6",
"r2 = rect_ene... |
theo-eng-code-L2-code-001327 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 25, 0.09, 0.09, 0.7, 0.4, 0)",
"assert abs(r0[0] - 0.09) < 1e-6",
"assert abs(r0[1] - 0.5077) < 1e-6",
"assert abs(r0[2] - 0.09) < 1e-6",
"r1 = com_zmp(17, 22, 0.08, 0.07... |
theo-eng-code-L2-code-010504 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.33, 14000, 150)",
"assert abs(r0[0] - 11.61) < 1e-6",
"assert abs(r0[1] - 1205.7) < 1e-6",
"r1 = gear_ratio(0.25, 12000, 120)",
"assert abs(r1[0] - 9.42) < 1e-6",
"... |
theo-eng-code-L2-code-000787 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.1, 0.8)",
"assert abs(r0[0] - 1.59) < 1e-6",
"assert abs(r0[1] - 95.5) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_tim... |
theo-eng-code-L2-code-003075 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(15, [0, 25, 50, 75, 100], [0.8, 0.82, 0.86, 0.88, 0.84])",
"assert abs(r0 - 0.812) < 1e-6",
"r1 = interp_eff(45, [0, 25, 50, 75, 100], [0.71, 0.85, 0.85, 0.89, 0.81])",
"a... |
theo-eng-code-L2-code-000887 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 17, -0.08, 0.0, 0.8, 0.5, 2)",
"assert abs(r0[0] - -0.0422) < 1e-6",
"assert abs(r0[1] - 0.6583) < 1e-6",
"assert abs(r0[2] - -0.1764) < 1e-6",
"r1 = com_zmp(12, 17, 0.01... |
theo-eng-code-L2-code-000702 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 200, 190, 0.7)",
"assert abs(r0[0] - 197.0) < 1e-6",
"assert abs(r0[1] - 4.57) < 1e-6",
"assert abs(r0[2] - 274.1) < 1e-6",
"r1 = runtime(1.0, 100, 240, 0.7)",
"... |
theo-eng-code-L3-code-006773 | 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(31, 2160, 80, 0.34, 2.7, 0.008, 0.9, 0.92, 0.95)",
"assert abs(r0[0] - 201.3) < 1e-6",
"assert abs(r0[1] - 14.63) < 1e-6",
"assert abs(r0[2] - 11.7) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-013112 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.2, 0.2, 30, 5.5, 4.0)",
"assert abs(r0[0] - 8.93) < 1e-6",
"assert abs(r0[1] - 0.316) < 1e-6",
"assert abs(r0[2] - 10.19) < 1e-6",
"r1 = joint_torque(6.1, 0.18, 60, ... |
theo-eng-code-L1-code-003433 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_join",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-000446 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(98, 3, 0.5)",
"assert abs(r0 - 69.33) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-013980 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 30, 320, 0.3)",
"assert abs(r0[0] - 233.0) < 1e-6",
"assert abs(r0[1] - 1.93) < 1e-6",
"assert abs(r0[2] - 115.9) < 1e-6",
"r1 = runtime(0.1, 230, 430, 0.5)",
"a... |
theo-eng-code-L2-code-005618 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 7, 0.2, 1.0)",
"assert abs(r0[0] - 5.71) < 1e-6",
"assert abs(r0[1] - 342.9) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-004169 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 5500, 100)",
"assert abs(r0[0] - 9.33) < 1e-6",
"assert abs(r0[1] - 589.5) < 1e-6",
"r1 = gear_ratio(0.35, 13000, 150)",
"assert abs(r1[0] - 11.44) < 1e-6",
"as... |
theo-eng-code-L2-code-001257 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([480, 120, 210, 290], 2)",
"assert abs(r0 - 0.6111) < 1e-6",
"r1 = rect_energy([270, 220, 60], 5)",
"assert abs(r1 - 0.7639) < 1e-6",
"r2 = rect_energy([370, 460,... |
theo-eng-code-L2-code-006475 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 11, 0.1, 0.8)",
"assert abs(r0[0] - 6.36) < 1e-6",
"assert abs(r0[1] - 381.8) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-011841 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(20, [0, 25, 50, 75, 100], [0.7, 0.82, 0.88, 0.85, 0.84])",
"assert abs(r0 - 0.796) < 1e-6",
"r1 = interp_eff(10, [0, 25, 50, 75, 100], [0.75, 0.81, 0.9, 0.85, 0.84])",
"as... |
theo-eng-code-L2-code-011375 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 10000, 120)",
"assert abs(r0[0] - 13.82) < 1e-6",
"assert abs(r0[1] - 723.4) < 1e-6",
"r1 = gear_ratio(0.43, 8000, 150)",
"assert abs(r1[0] - 8.65) < 1e-6",
"as... |
theo-eng-code-L3-code-004353 | 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.2, 50)",
"assert r0[0] == 125",
"assert r0[1] == 4",
"assert r0[2] == 500",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 = pac... |
theo-eng-code-L3-code-005969 | 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, 10, 3.6, 5)",
"assert r0[0] == 56",
"assert r0[1] == 10",
"assert r0[2] == 560",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 10.08) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-014200 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([17, 35, 45, 80, 98])",
"assert r0[0] == 55",
"assert abs(r0[1] - 33.234) < 1e-6",
"r1 = summarise([74, 39, 50, 53, 13, 97])",
"assert abs(r1[0] - 54.333) < 1e-6",
... |
theo-eng-code-L2-code-013111 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, 10, 0.75)",
"assert abs(r0 - 30.72) < 1e-6",
"r1 = rms_torque(55, 32, 0.75)",
"assert abs(r1 - 50.25) < 1e-6",
"r2 = rms_torque(15, 9, 0.5)",
"assert abs(r2 - 12.3... |
theo-eng-code-L2-code-005018 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, 30, 0.75)",
"assert abs(r0 - 33.82) < 1e-6",
"r1 = rms_torque(92, 24, 0.75)",
"assert abs(r1 - 80.57) < 1e-6",
"r2 = rms_torque(88, 17, 0.5)",
"assert abs(r2 - 63.... |
theo-eng-code-L1-clarify-007150 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-000253 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(95, 36, 0.25)",
"assert abs(r0 - 56.82) < 1e-6",
"r1 = rms_torque(17, 9, 0.75)",
"assert abs(r1 - 15.39) < 1e-6",
"r2 = rms_torque(98, 19, 0.75)",
"assert abs(r2 - 85.... |
theo-eng-code-L2-code-004971 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 7, 0.75)",
"assert abs(r0 - 86.67) < 1e-6",
"r1 = rms_torque(61, 10, 0.75)",
"assert abs(r1 - 53.06) < 1e-6",
"r2 = rms_torque(37, 21, 0.5)",
"assert abs(r2 - 30.... |
theo-eng-code-L2-code-002234 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 130, 470, 0.7)",
"assert abs(r0[0] - 232.0) < 1e-6",
"assert abs(r0[1] - 3.88) < 1e-6",
"assert abs(r0[2] - 232.8) < 1e-6",
"r1 = runtime(0.1, 70, 220, 0.3)",
"a... |
theo-eng-code-L3-code-016007 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(61, 900, 100, 0.32, 2.5, 0.008, 1.1, 0.88, 0.85)",
"assert abs(r0[0] - 339.7) < 1e-6",
"assert abs(r0[1] - 15.26) < 1e-6",
"assert abs(r0[2] - 15.26) < 1e-6",
"r1 = erange(98,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.