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-007773 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([500, 260, 350, 90], 1)",
"assert abs(r0 - 0.3333) < 1e-6",
"r1 = rect_energy([90, 290, 390, 490, 250], 5)",
"assert abs(r1 - 2.0972) < 1e-6",
"r2 = rect_energy([... |
theo-eng-code-L2-code-012164 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(50, [0, 25, 50, 75, 100], [0.75, 0.82, 0.86, 0.86, 0.81])",
"assert abs(r0 - 0.86) < 1e-6",
"r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.72, 0.83, 0.89, 0.87, 0.84])",
"a... |
theo-eng-code-L3-code-015466 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 280, 440, 0.3)",
"assert abs(r0[0] - 392.0) < 1e-6",
"assert abs(r0[1] - 0.23) < 1e-6",
"assert abs(r0[2] - 13.8) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L3-code-005117 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 50, 0.2, 1.0)",
"assert abs(r0[0] - 1.6) < 1e-6",
"assert abs(r0[1] - 96.0) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(2... |
theo-eng-code-L3-code-007751 | 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(60, 50, 0.1, 0.9)",
"assert abs(r0[0] - 1.2) < 1e-6",
"assert abs(r0[1] - 72.0) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(8... |
theo-eng-code-L2-code-003837 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 150, 380, 0.7)",
"assert abs(r0[0] - 219.0) < 1e-6",
"assert abs(r0[1] - 2.05) < 1e-6",
"assert abs(r0[2] - 123.3) < 1e-6",
"r1 = runtime(0.1, 210, 380, 0.5)",
"... |
theo-eng-code-L2-code-003254 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([210, 140, 350, 170], 5)",
"assert abs(r0 - 1.2083) < 1e-6",
"r1 = rect_energy([450, 130, 500, 70, 330], 2)",
"assert abs(r1 - 0.8222) < 1e-6",
"r2 = rect_energy(... |
theo-eng-code-L2-code-010194 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "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-015664 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 21, -0.02, -0.04, 0.3, 0.4, 2)",
"assert abs(r0[0] - -0.0356) < 1e-6",
"assert abs(r0[1] - 0.3778) < 1e-6",
"assert abs(r0[2] - -0.1126) < 1e-6",
"r1 = com_zmp(11, 12, 0.0... |
theo-eng-code-L2-code-003622 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 20, \"max_kw\": 150}')",
"assert r0[0] == 20",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')",
"assert r1[0] == 20",
... |
theo-eng-code-L2-code-001490 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 11, -0.09, -0.04, 0.4, 0.8, 0)",
"assert abs(r0[0] - -0.0671) < 1e-6",
"assert abs(r0[1] - 0.5833) < 1e-6",
"assert abs(r0[2] - -0.0671) < 1e-6",
"r1 = com_zmp(20, 30, 0.... |
theo-eng-code-L2-code-002067 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.1, 0.9)",
"assert abs(r0[0] - 9.09) < 1e-6",
"assert abs(r0[1] - 545.5) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_t... |
theo-eng-code-L2-code-007032 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.0, 0.5], [0.5, 3.5])",
"assert abs(r0 - 3.9051) < 1e-6",
"r1 = seg_len([2.5, 1.5], [5.0, 3.5])",
"assert abs(r1 - 3.2016) < 1e-6",
"r2 = seg_len([3.0, 1.0], [4.5, 1.5]... |
theo-eng-code-L2-code-012653 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.33, 5500, 150)",
"assert abs(r0[0] - 4.56) < 1e-6",
"assert abs(r0[1] - 1205.7) < 1e-6",
"r1 = gear_ratio(0.38, 9500, 120)",
"assert abs(r1[0] - 11.34) < 1e-6",
"as... |
theo-eng-code-L2-code-005289 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 11, 0.1, 0.9)",
"assert abs(r0[0] - 9.09) < 1e-6",
"assert abs(r0[1] - 545.5) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_t... |
theo-eng-code-L2-code-001557 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 26, -0.05, 0.03, 0.3, 0.6, 2)",
"assert abs(r0[0] - -0.0038) < 1e-6",
"assert abs(r0[1] - 0.4733) < 1e-6",
"assert abs(r0[2] - -0.1003) < 1e-6",
"r1 = com_zmp(10, 24, 0.0... |
theo-eng-code-L2-code-011499 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([69, 68, 53, 34])",
"assert r0[0] == 56",
"assert abs(r0[1] - 16.391) < 1e-6",
"r1 = summarise([16, 50, 93, 97])",
"assert r1[0] == 64",
"assert abs(r1[1] - 38.4... |
theo-eng-code-L2-code-002440 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.6, 5)",
"assert r0[0] == 83",
"assert r0[1] == 7",
"assert r0[2] == 581",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 10.458) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-004389 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 60, 3.7, 100)",
"assert r0[0] == 108",
"assert r0[1] == 2",
"assert r0[2] == 216",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-009015 | 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(28, 2380, 80, 0.28, 2.3, 0.009, 1.5, 0.92, 0.85)",
"assert abs(r0[0] - 168.8) < 1e-6",
"assert abs(r0[1] - 14.1) < 1e-6",
"assert abs(r0[2] - 11.28) < 1e-6",
"r1 = erange(33, ... |
theo-eng-code-L1-code-008423 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "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-000040 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([54, 30, 53, 71, 98])",
"assert abs(r0[0] - 61.2) < 1e-6",
"assert abs(r0[1] - 25.213) < 1e-6",
"r1 = summarise([47, 25, 60, 59, 95])",
"assert abs(r1[0] - 57.2) < 1... |
theo-eng-code-L2-code-010490 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')",
"assert r0[0] == 60",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')",
"assert r1[0] == 20",
... |
theo-eng-code-L3-code-007284 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.6, 0.37, 60, 4.5, 0.5)",
"assert abs(r0[0] - 22.95) < 1e-6",
"assert abs(r0[1] - 0.8716) < 1e-6",
"assert abs(r0[2] - 23.38) < 1e-6",
"r1 = joint_torque(0.7, 0.48, 30,... |
theo-eng-code-L3-code-008529 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 20, 3.7, 2.5)",
"assert r0[0] == 54",
"assert r0[1] == 41",
"assert r0[2] == 2214",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 20.48) < 1e-6",
"r1 = ... |
theo-eng-code-L1-clarify-007210 | 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-001194 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([29, 65, 12, 32, 13, 23])",
"assert r0[0] == 29",
"assert abs(r0[1] - 19.422) < 1e-6",
"r1 = summarise([74, 41, 43, 27, 62])",
"assert abs(r1[0] - 49.4) < 1e-6",
... |
theo-eng-code-L1-code-009961 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_power",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-015749 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 270, 440, 0.7)",
"assert abs(r0[0] - 321.0) < 1e-6",
"assert abs(r0[1] - 0.56) < 1e-6",
"assert abs(r0[2] - 33.6) < 1e-6",
"r1 = runtime(0.2, 80, 270, 0.7)",
"as... |
theo-eng-code-L2-code-009580 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.7, 100)",
"assert r0[0] == 54",
"assert r0[1] == 4",
"assert r0[2] == 216",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = ... |
theo-eng-code-L1-code-004615 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-003848 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 5500, 120)",
"assert abs(r0[0] - 4.67) < 1e-6",
"assert abs(r0[1] - 1178.9) < 1e-6",
"r1 = gear_ratio(0.29, 13000, 180)",
"assert abs(r1[0] - 7.9) < 1e-6",
"ass... |
theo-eng-code-L2-code-005889 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 290, 570, 0.3)",
"assert abs(r0[0] - 486.0) < 1e-6",
"assert abs(r0[1] - 0.37) < 1e-6",
"assert abs(r0[2] - 22.2) < 1e-6",
"r1 = runtime(0.2, 30, 40, 0.7)",
"ass... |
theo-eng-code-L3-code-007125 | 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(88, 1290, 80, 0.26, 3.1, 0.013, 1.5, 0.88, 0.85)",
"assert abs(r0[0] - 506.7) < 1e-6",
"assert abs(r0[1] - 14.76) < 1e-6",
"assert abs(r0[2] - 11.81) < 1e-6"
],
"subtas... |
theo-eng-code-L2-code-003594 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(53, 15, 0.5)",
"assert abs(r0 - 38.95) < 1e-6",
"r1 = rms_torque(53, 7, 0.5)",
"assert abs(r1 - 37.8) < 1e-6",
"r2 = rms_torque(75, 9, 0.25)",
"assert abs(r2 - 38.3) <... |
theo-eng-code-L2-code-011583 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 300, 290, 0.3)",
"assert abs(r0[0] - 293.0) < 1e-6",
"assert abs(r0[1] - 1.54) < 1e-6",
"assert abs(r0[2] - 92.2) < 1e-6",
"r1 = runtime(1.0, 180, 210, 0.7)",
"a... |
theo-eng-code-L3-code-008751 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 150, 0.2, 0.9)",
"assert abs(r0[0] - 0.58) < 1e-6",
"assert abs(r0[1] - 35.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 150"
],
"subta... |
theo-eng-code-L2-code-006197 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-002063 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 20, 3.6, 2.5)",
"assert r0[0] == 222",
"assert r0[1] == 11",
"assert r0[2] == 2442",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 21.978) < 1e-6",
"r... |
theo-eng-code-L2-code-011754 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(56, 15, 0.5)",
"assert abs(r0 - 40.99) < 1e-6",
"r1 = rms_torque(88, 39, 0.5)",
"assert abs(r1 - 68.06) < 1e-6",
"r2 = rms_torque(14, 7, 0.5)",
"assert abs(r2 - 11.07)... |
theo-eng-code-L3-code-008048 | 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(43, 1240, 120, 0.34, 2.1, 0.007, 1.5, 0.9, 0.95)",
"assert abs(r0[0] - 216.4) < 1e-6",
"assert abs(r0[1] - 18.88) < 1e-6",
"assert abs(r0[2] - 22.65) < 1e-6",
"r1 = erange(38,... |
theo-eng-code-L3-code-008591 | 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.41, 15000, 180)",
"assert abs(r0[0] - 12.88) < 1e-6",
"assert abs(r0[1] - 1164.5) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run... |
theo-eng-code-L2-code-014535 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.6, 2.5)",
"assert r0[0] == 56",
"assert r0[1] == 120",
"assert r0[2] == 6720",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 60.48) < 1e-6",
"r1... |
theo-eng-code-L3-code-013833 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.34, 14500, 180)",
"assert abs(r0[0] - 10.33) < 1e-6",
"assert abs(r0[1] - 1404.3) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run... |
theo-eng-code-L2-code-006182 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-007685 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 19, 0.06, 0.01, 0.9, 0.6, 1)",
"assert abs(r0[0] - 0.0343) < 1e-6",
"assert abs(r0[1] - 0.7459) < 1e-6",
"assert abs(r0[2] - -0.0417) < 1e-6",
"r1 = com_zmp(10, 16, 0.1, ... |
theo-eng-code-L2-code-012536 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 25, 0.01, 0.13, 0.5, 0.6, 2)",
"assert abs(r0[0] - 0.0782) < 1e-6",
"assert abs(r0[1] - 0.5568) < 1e-6",
"assert abs(r0[2] - -0.0353) < 1e-6",
"r1 = com_zmp(10, 20, -0.1,... |
theo-eng-code-L3-code-013218 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(97, 1490, 120, 0.22, 3.1, 0.012, 1.5, 0.9, 0.95)",
"assert abs(r0[0] - 439.0) < 1e-6",
"assert abs(r0[1] - 20.99) < 1e-6",
"assert abs(r0[2] - 25.19) < 1e-6",
"r1 = erange(69,... |
theo-eng-code-L2-code-005252 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 4000, 150)",
"assert abs(r0[0] - 3.42) < 1e-6",
"assert abs(r0[1] - 1170.3) < 1e-6",
"r1 = gear_ratio(0.34, 12000, 100)",
"assert abs(r1[0] - 15.38) < 1e-6",
"a... |
theo-eng-code-L3-code-002116 | 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(20, 18, 0.5)",
"assert abs(r0 - 19.03) < 1e-6",
"r1 = rms_torque(19, 9, 0.5)",
"assert abs(r1 - 14.87) < 1e-6",
"r2 = rms_torque(83, 2, 0.25)",
"assert abs(r2 - 41.54) <... |
theo-eng-code-L2-code-009904 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(66, 29, 0.25)",
"assert abs(r0 - 41.47) < 1e-6",
"r1 = rms_torque(56, 39, 0.5)",
"assert abs(r1 - 48.25) < 1e-6",
"r2 = rms_torque(79, 11, 0.5)",
"assert abs(r2 - 56.4... |
theo-eng-code-L2-code-004354 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 18, 0.05, -0.02, 0.6, 0.6, 0.5)",
"assert abs(r0[0] - 0.014) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.0166) < 1e-6",
"r1 = com_zmp(8, 30, -0.06, ... |
theo-eng-code-L2-code-014601 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([420, 260, 260, 170], 10)",
"assert abs(r0 - 3.0833) < 1e-6",
"r1 = rect_energy([410, 450, 70, 480, 150], 10)",
"assert abs(r1 - 4.3333) < 1e-6",
"r2 = rect_energ... |
theo-eng-code-L2-code-008877 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "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-013266 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([0.0, 4.0], [1.0, 0.5])",
"assert abs(r0 - 3.6401) < 1e-6",
"r1 = seg_len([0.5, 2.5], [1.5, 4.0])",
"assert abs(r1 - 1.8028) < 1e-6",
"r2 = seg_len([1.0, 4.0], [4.0, 4.0]... |
theo-eng-code-L3-code-006916 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 11, 0.2, 0.8)",
"assert abs(r0[0] - 6.82) < 1e-6",
"assert abs(r0[1] - 409.1) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_tim... |
theo-eng-code-L2-code-006781 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.31, 14500, 150)",
"assert abs(r0[0] - 11.3) < 1e-6",
"assert abs(r0[1] - 1283.5) < 1e-6",
"r1 = gear_ratio(0.34, 11000, 150)",
"assert abs(r1[0] - 9.4) < 1e-6",
"as... |
theo-eng-code-L1-code-013707 | 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": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-005622 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.0, 2.5], [4.5, 2.0])",
"assert abs(r0 - 1.5811) < 1e-6",
"r1 = seg_len([1.0, 2.0], [0.0, 3.0])",
"assert abs(r1 - 1.4142) < 1e-6",
"r2 = seg_len([1.0, 3.0], [2.5, 1.0]... |
theo-eng-code-L2-code-001809 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(70, 1630, 60, 0.35, 1.9, 0.009, 0.7, 0.92, 0.95)",
"assert abs(r0[0] - 744.8) < 1e-6",
"assert abs(r0[1] - 8.93) < 1e-6",
"assert abs(r0[2] - 5.36) < 1e-6",
"r1 = erange(74,... |
theo-eng-code-L1-refuse-001384 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-015843 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(88, 1600, 100, 0.33, 2.4, 0.01, 0.9, 0.94, 0.95)",
"assert abs(r0[0] - 503.6) < 1e-6",
"assert abs(r0[1] - 16.6) < 1e-6",
"assert abs(r0[2] - 16.6) < 1e-6",
"r1 = erange(31, 2... |
theo-eng-code-L2-code-000728 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "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-010027 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([5.0, 4.0], [5.0, 3.0])",
"assert abs(r0 - 1.0) < 1e-6",
"r1 = seg_len([0.0, 0.5], [3.5, 0.0])",
"assert abs(r1 - 3.5355) < 1e-6",
"r2 = seg_len([3.5, 5.0], [2.5, 4.0])",... |
theo-eng-code-L3-code-002422 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(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",
"r1 ... |
theo-eng-code-L2-code-013598 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 4000, 100)",
"assert abs(r0[0] - 6.79) < 1e-6",
"assert abs(r0[1] - 589.5) < 1e-6",
"r1 = gear_ratio(0.29, 11500, 100)",
"assert abs(r1[0] - 12.57) < 1e-6",
"as... |
theo-eng-code-L2-code-010843 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-014837 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 80, 490, 0.5)",
"assert abs(r0[0] - 285.0) < 1e-6",
"assert abs(r0[1] - 0.32) < 1e-6",
"assert abs(r0[2] - 18.9) < 1e-6",
"r1 = runtime(1.0, 70, 50, 0.7)",
"asse... |
theo-eng-code-L2-code-004984 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.9)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-000114 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-014705 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-014573 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 220, 90, 0.3)",
"assert abs(r0[0] - 129.0) < 1e-6",
"assert abs(r0[1] - 3.49) < 1e-6",
"assert abs(r0[2] - 209.3) < 1e-6",
"r1 = runtime(1.0, 300, 360, 0.5)",
"a... |
theo-eng-code-L3-code-003807 | 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(15, 16, 0.01, 0.07, 0.7, 0.9, 0.5)",
"assert abs(r0[0] - 0.041) < 1e-6",
"assert abs(r0[1] - 0.8032) < 1e-6",
"assert abs(r0[2] - 0.0) < 1e-6",
"r1 = com_zmp(19, 12, -0.02, 0.1... |
theo-eng-code-L3-code-009917 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.39, 4500, 120)",
"assert abs(r0[0] - 5.51) < 1e-6",
"assert abs(r0[1] - 816.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L3-code-004523 | 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(4.1, 0.57, 45, 3.0, 2.0)",
"assert abs(r0[0] - 19.97) < 1e-6",
"assert abs(r0[1] - 1.4187) < 1e-6",
"assert abs(r0[2] - 22.8) < 1e-6",
"r1 = joint_torque(1.7, 0.25, 30, ... |
theo-eng-code-L3-code-003157 | 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(47, 1050, 120, 0.22, 2.2, 0.011, 0.4, 0.92, 0.9)",
"assert abs(r0[0] - 308.8) < 1e-6",
"assert abs(r0[1] - 13.7) < 1e-6",
"assert abs(r0[2] - 16.44) < 1e-6",
"r1 = erange(72, ... |
theo-eng-code-L3-code-005435 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(7, 3, 0.25)",
"assert abs(r0 - 4.36) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"saf... |
theo-eng-code-L3-code-013653 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(16, 14, 0.5)",
"assert abs(r0 - 15.03) < 1e-6",
"r1 = rms_torque(64, 26, 0.5)",
"assert abs(r1 - 48.85) < 1e-6",
"r2 = rms_torque(86, 17, 0.75)",
"assert abs(r2 - 74.96)... |
theo-eng-code-L2-code-008896 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(49, 18, 0.5)",
"assert abs(r0 - 36.91) < 1e-6",
"r1 = rms_torque(38, 30, 0.75)",
"assert abs(r1 - 36.17) < 1e-6",
"r2 = rms_torque(80, 35, 0.75)",
"assert abs(r2 - 71.... |
theo-eng-code-L3-code-003245 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.4, 0.28, 45, 4.5, 4.0)",
"assert abs(r0[0] - 13.98) < 1e-6",
"assert abs(r0[1] - 0.4939) < 1e-6",
"assert abs(r0[2] - 15.96) < 1e-6",
"r1 = joint_torque(3.1, 0.57, 90,... |
theo-eng-code-L2-code-001200 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 29, 0.02, 0.0, 0.5, 0.6, 0)",
"assert abs(r0[0] - 0.0068) < 1e-6",
"assert abs(r0[1] - 0.5659) < 1e-6",
"assert abs(r0[2] - 0.0068) < 1e-6",
"r1 = com_zmp(16, 10, -0.08, ... |
theo-eng-code-L2-code-003151 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 80, 3.7, 10)",
"assert r0[0] == 108",
"assert r0[1] == 21",
"assert r0[2] == 2268",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 83.916) < 1e-6",
"r1... |
theo-eng-code-L3-code-007529 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.32, 10500, 180)",
"assert abs(r0[0] - 7.04) < 1e-6",
"assert abs(r0[1] - 1492.1) < 1e-6",
"r1 = gear_ratio(0.37, 11500, 120)",
"assert abs(r1[0] - 13.37) < 1e-6",
"as... |
theo-eng-code-L3-code-011933 | 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(18, 28, -0.08, -0.02, 0.4, 0.6, 0.5)",
"assert abs(r0[0] - -0.0435) < 1e-6",
"assert abs(r0[1] - 0.5217) < 1e-6",
"assert abs(r0[2] - -0.0701) < 1e-6"
],
"subtask": "wri... |
theo-eng-code-L3-code-012955 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.4, 0.51, 60, 1.5, 3.5)",
"assert abs(r0[0] - 16.03) < 1e-6",
"assert abs(r0[1] - 0.7716) < 1e-6",
"assert abs(r0[2] - 18.73) < 1e-6",
"r1 = joint_torque(6.4, 0.54, 60,... |
theo-eng-code-L2-code-005591 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.4, 0.39, 60, 7.0, 1.5)",
"assert abs(r0[0] - 32.14) < 1e-6",
"assert abs(r0[1] - 1.3385) < 1e-6",
"assert abs(r0[2] - 34.15) < 1e-6",
"r1 = joint_torque(6.2, 0.23, 3... |
theo-eng-code-L1-code-003117 | 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": "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-000632 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([76, 17, 90, 85, 49])",
"assert abs(r0[0] - 63.4) < 1e-6",
"assert abs(r0[1] - 30.386) < 1e-6",
"r1 = summarise([49, 85, 76, 36, 88, 52])",
"assert abs(r1[0] - 64.33... |
theo-eng-code-L2-code-011198 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-014328 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 19, 0.01, 0.08, 0.8, 0.4, 0)",
"assert abs(r0[0] - 0.0529) < 1e-6",
"assert abs(r0[1] - 0.5548) < 1e-6",
"assert abs(r0[2] - 0.0529) < 1e-6",
"r1 = com_zmp(5, 14, 0.03, -... |
theo-eng-code-L3-code-011379 | 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(53, 35, 0.5)",
"assert abs(r0 - 44.91) < 1e-6",
"r1 = rms_torque(48, 36, 0.75)",
"assert abs(r1 - 45.3) < 1e-6",
"r2 = rms_torque(97, 21, 0.25)",
"assert abs(r2 - 51.8) ... |
theo-eng-code-L3-code-005845 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.3, 0.12, 30, 6.0, 2.5)",
"assert abs(r0[0] - 5.09) < 1e-6",
"assert abs(r0[1] - 0.1118) < 1e-6",
"assert abs(r0[2] - 5.37) < 1e-6",
"r1 = joint_torque(1.2, 0.51, 45, 6... |
theo-eng-code-L3-code-013199 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 24, 0.0, 0.08, 0.9, 0.4, 1)",
"assert abs(r0[0] - 0.064) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - 0.013) < 1e-6"
],
"subtask": "writetests",
"... |
theo-eng-code-L2-code-005103 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.0, 2.0], [2.5, 2.0])",
"assert abs(r0 - 0.5) < 1e-6",
"r1 = seg_len([0.0, 0.0], [0.5, 2.5])",
"assert abs(r1 - 2.5495) < 1e-6",
"r2 = seg_len([3.0, 1.5], [0.0, 4.0])",... |
theo-eng-code-L2-code-011172 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([82, 46, 19, 30])",
"assert abs(r0[0] - 44.25) < 1e-6",
"assert abs(r0[1] - 27.5) < 1e-6",
"r1 = summarise([78, 59, 52, 46])",
"assert abs(r1[0] - 58.75) < 1e-6",
... |
theo-eng-code-L3-code-013238 | 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(300, 20, 3.6, 10)",
"assert r0[0] == 83",
"assert r0[1] == 7",
"assert r0[2] == 581",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 20.916) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-000670 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([86, 66, 49, 65])",
"assert abs(r0[0] - 66.5) < 1e-6",
"assert abs(r0[1] - 15.155) < 1e-6",
"r1 = summarise([13, 50, 35, 64, 36])",
"assert abs(r1[0] - 39.6) < 1e-6"... |
theo-eng-code-L2-code-010403 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([21, 47, 82, 44])",
"assert abs(r0[0] - 48.5) < 1e-6",
"assert abs(r0[1] - 25.173) < 1e-6",
"r1 = summarise([58, 74, 47, 66, 44, 54])",
"assert abs(r1[0] - 57.167) <... |
theo-eng-code-L2-code-008304 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.39, 7500, 120)",
"assert abs(r0[0] - 9.19) < 1e-6",
"assert abs(r0[1] - 816.2) < 1e-6",
"r1 = gear_ratio(0.26, 10500, 150)",
"assert abs(r1[0] - 6.86) < 1e-6",
"ass... |
theo-eng-code-L2-code-003100 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([68, 90, 68, 17, 97, 93])",
"assert abs(r0[0] - 72.167) < 1e-6",
"assert abs(r0[1] - 29.822) < 1e-6",
"r1 = summarise([45, 44, 71, 17, 42, 92])",
"assert abs(r1[0] -... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.