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-013842 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(33, 3, 0.25)",
"assert abs(r0 - 16.7) < 1e-6",
"r1 = rms_torque(50, 6, 0.5)",
"assert abs(r1 - 35.61) < 1e-6",
"r2 = rms_torque(67, 20, 0.75)",
"assert abs(r2 - 58.88)... |
theo-eng-code-L2-code-006590 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 16, -0.01, -0.01, 0.3, 0.3, 2)",
"assert abs(r0[0] - -0.01) < 1e-6",
"assert abs(r0[1] - 0.3) < 1e-6",
"assert abs(r0[2] - -0.0712) < 1e-6",
"r1 = com_zmp(17, 11, -0.06, ... |
theo-eng-code-L3-code-012414 | 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(200, 60, 3.2, 100)",
"assert r0[0] == 62",
"assert r0[1] == 4",
"assert r0[2] == 248",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 79.36) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-003140 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 20, 3.2, 100)",
"assert r0[0] == 156",
"assert r0[1] == 1",
"assert r0[2] == 156",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 49.92) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-014120 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([27, 75, 71, 12, 35])",
"assert r0[0] == 44",
"assert abs(r0[1] - 27.767) < 1e-6",
"r1 = summarise([70, 36, 27, 24])",
"assert abs(r1[0] - 39.25) < 1e-6",
"asser... |
theo-eng-code-L2-code-013355 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 10, -0.1, 0.14, 0.3, 0.7, 0)",
"assert abs(r0[0] - 0.0091) < 1e-6",
"assert abs(r0[1] - 0.4818) < 1e-6",
"assert abs(r0[2] - 0.0091) < 1e-6",
"r1 = com_zmp(5, 16, 0.0, -0... |
theo-eng-code-L2-code-006188 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 22, 0.1, 0.9)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 218.2) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L1-refuse-000518 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-006553 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(56, 2370, 60, 0.38, 2.7, 0.013, 0.7, 0.92, 0.95)",
"assert abs(r0[0] - 341.8) < 1e-6",
"assert abs(r0[1] - 15.56) < 1e-6",
"assert abs(r0[2] - 9.34) < 1e-6",
"r1 = erange(86... |
theo-eng-code-L3-code-001027 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(72, 2750, 100, 0.27, 3.0, 0.012, 0.7, 0.9, 0.9)",
"assert abs(r0[0] - 287.9) < 1e-6",
"assert abs(r0[1] - 22.51) < 1e-6",
"assert abs(r0[2] - 22.51) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-001844 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 40, 3.6, 10)",
"assert r0[0] == 83",
"assert r0[1] == 14",
"assert r0[2] == 1162",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 41.832) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-006598 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 7, 0.2, 0.9)",
"assert abs(r0[0] - 10.0) < 1e-6",
"assert abs(r0[1] - 600.0) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L3-code-005782 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 20, -0.08, 0.05, 0.3, 0.6, 2)",
"assert abs(r0[0] - -0.0133) < 1e-6",
"assert abs(r0[1] - 0.4538) < 1e-6",
"assert abs(r0[2] - -0.1059) < 1e-6",
"r1 = com_zmp(14, 28, 0.05,... |
theo-eng-code-L1-code-000890 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_power",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-014897 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([18, 10, 94, 56])",
"assert abs(r0[0] - 44.5) < 1e-6",
"assert abs(r0[1] - 38.622) < 1e-6",
"r1 = summarise([33, 71, 89, 46, 81, 41])",
"assert abs(r1[0] - 60.167) <... |
theo-eng-code-L2-code-003058 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 24, 0.01, -0.01, 0.4, 0.3, 0.5)",
"assert abs(r0[0] - -0.0045) < 1e-6",
"assert abs(r0[1] - 0.3273) < 1e-6",
"assert abs(r0[2] - -0.0212) < 1e-6",
"r1 = com_zmp(9, 12, 0.0... |
theo-eng-code-L3-code-014126 | 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.36, 6000, 150)",
"assert abs(r0[0] - 5.43) < 1e-6",
"assert abs(r0[1] - 1105.2) < 1e-6",
"r1 = gear_ratio(0.43, 13500, 180)",
"assert abs(r1[0] - 12.16) < 1e-6",
"ass... |
theo-eng-code-L2-code-004973 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-015609 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 17, -0.04, -0.04, 0.4, 0.6, 1)",
"assert abs(r0[0] - -0.04) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - -0.091) < 1e-6",
"r1 = com_zmp(11, 16, 0.04, 0.... |
theo-eng-code-L2-code-004466 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')",
"assert r0[0] == 40",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')",
"assert r1[0] == 80",
"a... |
theo-eng-code-L2-code-014782 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(35, 1780, 60, 0.37, 2.8, 0.009, 1.3, 0.92, 0.9)",
"assert abs(r0[0] - 257.5) < 1e-6",
"assert abs(r0[1] - 12.23) < 1e-6",
"assert abs(r0[2] - 7.34) < 1e-6",
"r1 = erange(20,... |
theo-eng-code-L1-clarify-006581 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-code-012549 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_chain",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-014086 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 28, 0.06, 0.09, 0.8, 0.8, 0.5)",
"assert abs(r0[0] - 0.0783) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - 0.0375) < 1e-6",
"r1 = com_zmp(18, 28, -0.1, -0.... |
theo-eng-code-L2-code-012033 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 380, 300, 500, 140], 10)",
"assert abs(r0 - 5.0) < 1e-6",
"r1 = rect_energy([430, 60, 370, 240], 1)",
"assert abs(r1 - 0.3056) < 1e-6",
"r2 = rect_energy([1... |
theo-eng-code-L3-code-011187 | 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, 15, 0.03, 0.05, 0.6, 0.6, 0.5)",
"assert abs(r0[0] - 0.0407) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - 0.0101) < 1e-6"
],
"subtask": "writetests... |
theo-eng-code-L3-code-000391 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(28, 1690, 80, 0.27, 2.3, 0.011, 0.8, 0.92, 0.85)",
"assert abs(r0[0] - 195.4) < 1e-6",
"assert abs(r0[1] - 12.18) < 1e-6",
"assert abs(r0[2] - 9.74) < 1e-6"
],
"subtask... |
theo-eng-code-L3-code-007991 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.2, 100)",
"assert r0[0] == 62",
"assert r0[1] == 4",
"assert r0[2] == 248",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 79.36) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-000395 | 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.1, 110, 50, 0.5)",
"assert abs(r0[0] - 80.0) < 1e-6",
"assert abs(r0[1] - 1.13) < 1e-6",
"assert abs(r0[2] - 67.5) < 1e-6"
],
"subtask": "writetests",
"verified_... |
theo-eng-code-L2-code-011035 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 15, -0.1, 0.15, 0.6, 0.9, 2)",
"assert abs(r0[0] - 0.05) < 1e-6",
"assert abs(r0[1] - 0.78) < 1e-6",
"assert abs(r0[2] - -0.109) < 1e-6",
"r1 = com_zmp(12, 22, 0.01, -0.0... |
theo-eng-code-L3-code-006835 | 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.34, 13000, 150)",
"assert abs(r0[0] - 11.11) < 1e-6",
"assert abs(r0[1] - 1170.3) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run... |
theo-eng-code-L3-code-005894 | 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(76, 2640, 80, 0.29, 2.6, 0.008, 1.2, 0.94, 0.85)",
"assert abs(r0[0] - 449.8) < 1e-6",
"assert abs(r0[1] - 14.36) < 1e-6",
"assert abs(r0[2] - 11.49) < 1e-6",
"r1 = erange(61,... |
theo-eng-code-L2-code-014511 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 100, 410, 0.5)",
"assert abs(r0[0] - 255.0) < 1e-6",
"assert abs(r0[1] - 1.76) < 1e-6",
"assert abs(r0[2] - 105.9) < 1e-6",
"r1 = runtime(0.1, 240, 60, 0.3)",
"a... |
theo-eng-code-L2-code-013144 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([73, 31, 47, 51])",
"assert abs(r0[0] - 50.5) < 1e-6",
"assert abs(r0[1] - 17.311) < 1e-6",
"r1 = summarise([80, 56, 24, 69, 74, 51])",
"assert r1[0] == 59",
"as... |
theo-eng-code-L2-code-008417 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.6, 0.53, 30, 2.5, 4.0)",
"assert abs(r0[0] - 13.78) < 1e-6",
"assert abs(r0[1] - 1.2266) < 1e-6",
"assert abs(r0[2] - 18.68) < 1e-6",
"r1 = joint_torque(1.0, 0.15, 4... |
theo-eng-code-L3-code-002272 | 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(15, 15, 0.75)",
"assert abs(r0 - 15.0) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-012489 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 80, 330, 0.5)",
"assert abs(r0[0] - 205.0) < 1e-6",
"assert abs(r0[1] - 2.2) < 1e-6",
"assert abs(r0[2] - 131.7) < 1e-6",
"r1 = runtime(1.0, 170, 470, 0.7)",
"as... |
theo-eng-code-L1-clarify-011773 | 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-L3-code-002859 | 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(3.9, 0.18, 60, 6.5, 0.5)",
"assert abs(r0[0] - 12.92) < 1e-6",
"assert abs(r0[1] - 0.2527) < 1e-6",
"assert abs(r0[2] - 13.05) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L2-code-003881 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 50, 0.1, 1.0)",
"assert abs(r0[0] - 1.35) < 1e-6",
"assert abs(r0[1] - 81.0) < 1e-6",
"assert abs(r0[2] - 54.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L1-refuse-006067 | 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-L2-code-005824 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, [0, 25, 50, 75, 100], [0.74, 0.84, 0.89, 0.87, 0.82])",
"assert abs(r0 - 0.84) < 1e-6",
"r1 = interp_eff(25, [0, 25, 50, 75, 100], [0.78, 0.84, 0.85, 0.87, 0.85])",
"a... |
theo-eng-code-L2-code-000463 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, -0.1, 0.15, 0.4, 0.5, 2)",
"assert abs(r0[0] - 0.0515) < 1e-6",
"assert abs(r0[1] - 0.4606) < 1e-6",
"assert abs(r0[2] - -0.0424) < 1e-6",
"r1 = com_zmp(6, 24, 0.01, ... |
theo-eng-code-L3-code-011971 | 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(40, 22, 0.1, 0.8)",
"assert abs(r0[0] - 1.59) < 1e-6",
"assert abs(r0[1] - 95.5) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 22"
],
"subtask"... |
theo-eng-code-L3-code-002192 | 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(91, 1790, 60, 0.3, 1.9, 0.009, 0.9, 0.9, 0.95)",
"assert abs(r0[0] - 922.5) < 1e-6",
"assert abs(r0[1] - 9.37) < 1e-6",
"assert abs(r0[2] - 5.62) < 1e-6",
"r1 = erange(35, 221... |
theo-eng-code-L2-code-011127 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 290, 120, 0.7)",
"assert abs(r0[0] - 239.0) < 1e-6",
"assert abs(r0[1] - 0.38) < 1e-6",
"assert abs(r0[2] - 22.6) < 1e-6",
"r1 = runtime(1.0, 210, 200, 0.7)",
"a... |
theo-eng-code-L3-code-005301 | 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(89, 2680, 60, 0.25, 3.1, 0.01, 1.2, 0.9, 0.95)",
"assert abs(r0[0] - 596.1) < 1e-6",
"assert abs(r0[1] - 14.18) < 1e-6",
"assert abs(r0[2] - 8.51) < 1e-6",
"r1 = erange(50, 27... |
theo-eng-code-L3-code-009765 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.31, 4000, 180)",
"assert abs(r0[0] - 2.6) < 1e-6",
"assert abs(r0[1] - 1540.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-006426 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(20, 13, -0.01, 0.06, 0.4, 0.7, 0)",
"assert abs(r0[0] - 0.0176) < 1e-6",
"assert abs(r0[1] - 0.5182) < 1e-6",
"assert abs(r0[2] - 0.0176) < 1e-6",
"r1 = com_zmp(14, 26, 0.01,... |
theo-eng-code-L2-code-011283 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 29, 0.06, 0.07, 0.8, 0.5, 1)",
"assert abs(r0[0] - 0.0669) < 1e-6",
"assert abs(r0[1] - 0.5929) < 1e-6",
"assert abs(r0[2] - 0.0065) < 1e-6",
"r1 = com_zmp(9, 14, 0.03, 0... |
theo-eng-code-L2-code-000176 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(70, [0, 25, 50, 75, 100], [0.72, 0.84, 0.89, 0.89, 0.8])",
"assert abs(r0 - 0.89) < 1e-6",
"r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.75, 0.82, 0.9, 0.9, 0.81])",
"asse... |
theo-eng-code-L2-code-006259 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.4, 0.32, 45, 0.0, 3.0)",
"assert abs(r0[0] - 7.1) < 1e-6",
"assert abs(r0[1] - 0.2185) < 1e-6",
"assert abs(r0[2] - 7.76) < 1e-6",
"r1 = joint_torque(7.7, 0.28, 45, ... |
theo-eng-code-L2-code-015954 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 17, -0.08, 0.07, 0.5, 0.8, 0.5)",
"assert abs(r0[0] - -0.0092) < 1e-6",
"assert abs(r0[1] - 0.6417) < 1e-6",
"assert abs(r0[2] - -0.0419) < 1e-6",
"r1 = com_zmp(9, 26, -0... |
theo-eng-code-L2-code-000522 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 180, 60, 0.5)",
"assert abs(r0[0] - 120.0) < 1e-6",
"assert abs(r0[1] - 3.75) < 1e-6",
"assert abs(r0[2] - 225.0) < 1e-6",
"r1 = runtime(1.0, 100, 110, 0.3)",
"a... |
theo-eng-code-L2-code-003480 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 0.02, 0.01, 0.8, 0.7, 2)",
"assert abs(r0[0] - 0.0131) < 1e-6",
"assert abs(r0[1] - 0.731) < 1e-6",
"assert abs(r0[2] - -0.1359) < 1e-6",
"r1 = com_zmp(9, 22, 0.0, -0.... |
theo-eng-code-L2-code-001656 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 200, 430, 0.7)",
"assert abs(r0[0] - 269.0) < 1e-6",
"assert abs(r0[1] - 3.35) < 1e-6",
"assert abs(r0[2] - 200.7) < 1e-6",
"r1 = runtime(1.0, 80, 410, 0.3)",
"a... |
theo-eng-code-L2-code-010846 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 40, 3.6, 100)",
"assert r0[0] == 139",
"assert r0[1] == 1",
"assert r0[2] == 139",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 50.04) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-000250 | 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(6.3, 0.24, 60, 7.0, 3.0)",
"assert abs(r0[0] - 20.7) < 1e-6",
"assert abs(r0[1] - 0.5242) < 1e-6",
"assert abs(r0[2] - 22.27) < 1e-6",
"r1 = joint_torque(3.7, 0.34, 45, ... |
theo-eng-code-L2-code-014358 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 30, 1.5, 3.5)",
"assert abs(r0[0] - 8.2) < 1e-6",
"assert abs(r0[1] - 0.5873) < 1e-6",
"assert abs(r0[2] - 10.26) < 1e-6",
"r1 = joint_torque(3.6, 0.35, 45,... |
theo-eng-code-L1-code-008916 | 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-003697 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 60, 3.6, 5)",
"assert r0[0] == 83",
"assert r0[1] == 41",
"assert r0[2] == 3403",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 61.254) < 1e-6"
],
... |
theo-eng-code-L3-code-010579 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 20, 3.7, 100)",
"assert r0[0] == 216",
"assert r0[1] == 1",
"assert r0[2] == 216",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6"
],
... |
theo-eng-code-L2-code-005355 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([50, 55, 81, 98, 75, 75])",
"assert abs(r0[0] - 72.333) < 1e-6",
"assert abs(r0[1] - 17.592) < 1e-6",
"r1 = summarise([90, 43, 18, 78, 44])",
"assert abs(r1[0] - 54.... |
theo-eng-code-L3-code-004699 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(5, 24, 0.08, 0.13, 0.4, 0.4, 1)",
"assert abs(r0[0] - 0.1214) < 1e-6",
"assert abs(r0[1] - 0.4) < 1e-6",
"assert abs(r0[2] - 0.0806) < 1e-6",
"r1 = com_zmp(17, 23, -0.07, 0.03,... |
theo-eng-code-L2-code-008583 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, [0, 25, 50, 75, 100], [0.73, 0.85, 0.87, 0.85, 0.81])",
"assert abs(r0 - 0.866) < 1e-6",
"r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.75, 0.81, 0.89, 0.86, 0.81])",
"... |
theo-eng-code-L2-code-007522 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 22, 0.1, 1.0)",
"assert abs(r0[0] - 5.11) < 1e-6",
"assert abs(r0[1] - 306.8) < 1e-6",
"assert abs(r0[2] - 90.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_t... |
theo-eng-code-L2-code-012721 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 23, -0.06, 0.12, 0.5, 0.7, 0.5)",
"assert abs(r0[0] - 0.0519) < 1e-6",
"assert abs(r0[1] - 0.6243) < 1e-6",
"assert abs(r0[2] - 0.0201) < 1e-6",
"r1 = com_zmp(20, 24, -0.... |
theo-eng-code-L1-clarify-005751 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-006840 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 7, 0.1, 1.0)",
"assert abs(r0[0] - 3.21) < 1e-6",
"assert abs(r0[1] - 192.9) < 1e-6",
"assert abs(r0[2] - 18.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-011267 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 9000, 150)",
"assert abs(r0[0] - 10.18) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.36, 10000, 120)",
"assert abs(r1[0] - 11.31) < 1e-6",
"a... |
theo-eng-code-L2-code-005638 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(34, 24, 0.25)",
"assert abs(r0 - 26.85) < 1e-6",
"r1 = rms_torque(53, 37, 0.75)",
"assert abs(r1 - 49.49) < 1e-6",
"r2 = rms_torque(18, 9, 0.25)",
"assert abs(r2 - 11.... |
theo-eng-code-L2-code-013064 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-005074 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([88, 54, 62, 45])",
"assert abs(r0[0] - 62.25) < 1e-6",
"assert abs(r0[1] - 18.518) < 1e-6",
"r1 = summarise([73, 70, 79, 40, 11])",
"assert abs(r1[0] - 54.6) < 1e-6... |
theo-eng-code-L3-code-012070 | 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(14, 27, 0.02, 0.1, 0.8, 0.8, 2)",
"assert abs(r0[0] - 0.0727) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - -0.0904) < 1e-6",
"r1 = com_zmp(19, 24, -0.06, 0.05... |
theo-eng-code-L1-code-006421 | 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": "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-012526 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(89, 40, 0.75)",
"assert abs(r0 - 79.63) < 1e-6",
"r1 = rms_torque(76, 21, 0.5)",
"assert abs(r1 - 55.75) < 1e-6",
"r2 = rms_torque(49, 20, 0.5)",
"assert abs(r2 - 37.4... |
theo-eng-code-L3-code-010139 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 11, -0.02, 0.14, 0.8, 0.8, 0)",
"assert abs(r0[0] - 0.0533) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - 0.0533) < 1e-6"
],
"subtask": "writetests"... |
theo-eng-code-L2-code-015660 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.41, 9000, 180)",
"assert abs(r0[0] - 7.73) < 1e-6",
"assert abs(r0[1] - 1164.5) < 1e-6",
"r1 = gear_ratio(0.36, 5000, 150)",
"assert abs(r1[0] - 4.52) < 1e-6",
"ass... |
theo-eng-code-L2-code-006870 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.0, 2.0], [2.0, 4.0])",
"assert abs(r0 - 2.8284) < 1e-6",
"r1 = seg_len([1.5, 0.0], [3.0, 0.5])",
"assert abs(r1 - 1.5811) < 1e-6",
"r2 = seg_len([1.5, 4.0], [0.0, 2.0]... |
theo-eng-code-L2-code-011186 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(94, 2440, 100, 0.32, 2.9, 0.011, 1.0, 0.9, 0.95)",
"assert abs(r0[0] - 394.0) < 1e-6",
"assert abs(r0[1] - 22.66) < 1e-6",
"assert abs(r0[2] - 22.66) < 1e-6",
"r1 = erange(2... |
theo-eng-code-L3-code-006945 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 150, 0.1, 0.8)",
"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"
],
"subtas... |
theo-eng-code-L2-code-003325 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.0, 1.5], [1.0, 4.0])",
"assert abs(r0 - 3.9051) < 1e-6",
"r1 = seg_len([5.0, 1.0], [0.0, 4.0])",
"assert abs(r1 - 5.831) < 1e-6",
"r2 = seg_len([2.5, 4.5], [1.5, 2.5])... |
theo-eng-code-L2-code-008385 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(75, [0, 25, 50, 75, 100], [0.77, 0.83, 0.89, 0.88, 0.82])",
"assert abs(r0 - 0.88) < 1e-6",
"r1 = interp_eff(50, [0, 25, 50, 75, 100], [0.7, 0.84, 0.89, 0.89, 0.85])",
"as... |
theo-eng-code-L1-clarify-007478 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-002620 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.5, 0.3, 45, 5.0, 2.0)",
"assert abs(r0[0] - 10.93) < 1e-6",
"assert abs(r0[1] - 0.465) < 1e-6",
"assert abs(r0[2] - 11.86) < 1e-6",
"r1 = joint_torque(2.5, 0.45, 90,... |
theo-eng-code-L2-code-012973 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 10, 0.0, -0.02, 0.9, 0.6, 2)",
"assert abs(r0[0] - -0.01) < 1e-6",
"assert abs(r0[1] - 0.75) < 1e-6",
"assert abs(r0[2] - -0.1629) < 1e-6",
"r1 = com_zmp(20, 30, 0.1, 0.1... |
theo-eng-code-L2-code-007115 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(65, [0, 25, 50, 75, 100], [0.78, 0.85, 0.9, 0.89, 0.81])",
"assert abs(r0 - 0.894) < 1e-6",
"r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.79, 0.8, 0.9, 0.85, 0.8])",
"asse... |
theo-eng-code-L3-code-004492 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(50, 1330, 80, 0.31, 2.7, 0.01, 0.3, 0.9, 0.95)",
"assert abs(r0[0] - 388.8) < 1e-6",
"assert abs(r0[1] - 12.22) < 1e-6",
"assert abs(r0[2] - 9.77) < 1e-6",
"r1 = erange(45, 19... |
theo-eng-code-L2-code-015188 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 28, 0.05, 0.05, 0.8, 0.6, 2)",
"assert abs(r0[0] - 0.05) < 1e-6",
"assert abs(r0[1] - 0.6783) < 1e-6",
"assert abs(r0[2] - -0.0883) < 1e-6",
"r1 = com_zmp(17, 29, -0.04, ... |
theo-eng-code-L2-code-001348 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([490, 430, 270, 220], 2)",
"assert abs(r0 - 0.7833) < 1e-6",
"r1 = rect_energy([100, 480, 460], 1)",
"assert abs(r1 - 0.2889) < 1e-6",
"r2 = rect_energy([210, 230... |
theo-eng-code-L3-code-002492 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.8, 0.41, 45, 0.0, 0.0)",
"assert abs(r0[0] - 8.25) < 1e-6",
"assert abs(r0[1] - 0.325) < 1e-6",
"assert abs(r0[2] - 8.25) < 1e-6",
"r1 = joint_torque(5.0, 0.2, 45, 2.5... |
theo-eng-code-L1-clarify-015389 | 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-004745 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(70, [0, 25, 50, 75, 100], [0.7, 0.8, 0.9, 0.88, 0.8])",
"assert abs(r0 - 0.884) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.76, 0.82, 0.87, 0.86, 0.82])",
"asse... |
theo-eng-code-L1-code-004548 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_strmul",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-code-010135 | 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": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-007754 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.0, 4.5], [2.5, 1.0])",
"assert abs(r0 - 3.8079) < 1e-6",
"r1 = seg_len([0.5, 3.5], [0.0, 2.5])",
"assert abs(r1 - 1.118) < 1e-6",
"r2 = seg_len([2.5, 4.5], [3.5, 4.0])... |
theo-eng-code-L2-code-007425 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-000844 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 18, 0.05, 0.12, 0.9, 0.6, 1)",
"assert abs(r0[0] - 0.0967) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - 0.0253) < 1e-6",
"r1 = com_zmp(19, 28, -0.08, 0.0... |
theo-eng-code-L3-code-011997 | 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, 20, 3.7, 10)",
"assert r0[0] == 216",
"assert r0[1] == 3",
"assert r0[2] == 648",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 23.976) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-003446 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.37, 15000, 100)",
"assert abs(r0[0] - 20.92) < 1e-6",
"assert abs(r0[1] - 716.9) < 1e-6",
"r1 = gear_ratio(0.38, 14000, 120)",
"assert abs(r1[0] - 16.71) < 1e-6",
"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.