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-010538 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([5.0, 3.0], [0.5, 1.5])",
"assert abs(r0 - 4.7434) < 1e-6",
"r1 = seg_len([0.0, 3.5], [0.0, 4.5])",
"assert abs(r1 - 1.0) < 1e-6",
"r2 = seg_len([3.0, 1.5], [1.0, 2.0])",... |
theo-eng-code-L3-code-009872 | 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, 50, 0.2, 0.9)",
"assert abs(r0[0] - 1.75) < 1e-6",
"assert abs(r0[1] - 105.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L2-code-002882 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 140, 320, 0.3)",
"assert abs(r0[0] - 266.0) < 1e-6",
"assert abs(r0[1] - 0.34) < 1e-6",
"assert abs(r0[2] - 20.3) < 1e-6",
"r1 = runtime(1.0, 90, 130, 0.7)",
"as... |
theo-eng-code-L1-code-000405 | 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_dictget",
"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-015052 | 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(54, 16, 0.25)",
"assert abs(r0 - 30.35) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L3-code-013390 | 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(6.1, 0.49, 90, 4.5, 1.0)",
"assert abs(r0[0] - 36.29) < 1e-6",
"assert abs(r0[1] - 1.5687) < 1e-6",
"assert abs(r0[2] - 37.86) < 1e-6",
"r1 = joint_torque(6.1, 0.38, 90,... |
theo-eng-code-L3-code-000752 | 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.45, 12500, 180)",
"assert abs(r0[0] - 11.78) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run... |
theo-eng-code-L2-code-009938 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 26, 0.04, 0.05, 0.4, 0.8, 2)",
"assert abs(r0[0] - 0.0476) < 1e-6",
"assert abs(r0[1] - 0.7059) < 1e-6",
"assert abs(r0[2] - -0.0963) < 1e-6",
"r1 = com_zmp(8, 20, 0.03, 0... |
theo-eng-code-L2-code-009190 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 5500, 150)",
"assert abs(r0[0] - 3.73) < 1e-6",
"assert abs(r0[1] - 1473.7) < 1e-6",
"r1 = gear_ratio(0.26, 12500, 120)",
"assert abs(r1[0] - 10.21) < 1e-6",
"a... |
theo-eng-code-L3-code-010535 | 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(76, 1660, 120, 0.3, 2.9, 0.011, 1.0, 0.9, 0.95)",
"assert abs(r0[0] - 293.1) < 1e-6",
"assert abs(r0[1] - 24.64) < 1e-6",
"assert abs(r0[2] - 29.56) < 1e-6",
"r1 = erange(64, ... |
theo-eng-code-L3-code-005276 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(95, 31, 0.25)",
"assert abs(r0 - 54.56) < 1e-6",
"r1 = rms_torque(37, 9, 0.25)",
"assert abs(r1 - 20.07) < 1e-6",
"r2 = rms_torque(68, 38, 0.25)",
"assert abs(r2 - 47.32... |
theo-eng-code-L1-clarify-002486 | 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": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-006123 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, [0, 25, 50, 75, 100], [0.76, 0.82, 0.86, 0.87, 0.8])",
"assert abs(r0 - 0.864) < 1e-6",
"r1 = interp_eff(45, [0, 25, 50, 75, 100], [0.71, 0.81, 0.87, 0.89, 0.82])",
"a... |
theo-eng-code-L3-code-014119 | 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(18, 13, 0.05, 0.13, 0.8, 0.4, 1)",
"assert abs(r0[0] - 0.0835) < 1e-6",
"assert abs(r0[1] - 0.6323) < 1e-6",
"assert abs(r0[2] - 0.0191) < 1e-6",
"r1 = com_zmp(16, 29, -0.07, 0... |
theo-eng-code-L2-code-006324 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(72, 2080, 80, 0.25, 2.6, 0.012, 0.9, 0.9, 0.95)",
"assert abs(r0[0] - 463.7) < 1e-6",
"assert abs(r0[1] - 14.75) < 1e-6",
"assert abs(r0[2] - 11.8) < 1e-6",
"r1 = erange(79,... |
theo-eng-code-L1-clarify-009189 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-013175 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-012530 | 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(20, 10, 0.01, 0.05, 0.9, 0.7, 0.5)",
"assert abs(r0[0] - 0.0233) < 1e-6",
"assert abs(r0[1] - 0.8333) < 1e-6",
"assert abs(r0[2] - -0.0191) < 1e-6"
],
"subtask": "writet... |
theo-eng-code-L1-code-001062 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_slices",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-001071 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 80, 3.7, 5)",
"assert r0[0] == 54",
"assert r0[1] == 81",
"assert r0[2] == 4374",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 80.919) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-007647 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 3.7, 10)",
"assert r0[0] == 54",
"assert r0[1] == 11",
"assert r0[2] == 594",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 21.978) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-012447 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([72, 85, 74, 29, 95])",
"assert r0[0] == 71",
"assert abs(r0[1] - 25.229) < 1e-6",
"r1 = summarise([24, 59, 56, 27, 96])",
"assert abs(r1[0] - 52.4) < 1e-6",
"as... |
theo-eng-code-L2-code-014664 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.35, 7000, 120)",
"assert abs(r0[0] - 7.7) < 1e-6",
"assert abs(r0[1] - 909.5) < 1e-6",
"r1 = gear_ratio(0.44, 7500, 120)",
"assert abs(r1[0] - 10.37) < 1e-6",
"asse... |
theo-eng-code-L2-code-013826 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([22, 88, 19, 14, 60])",
"assert abs(r0[0] - 40.6) < 1e-6",
"assert abs(r0[1] - 32.184) < 1e-6",
"r1 = summarise([66, 55, 59, 31, 31, 89])",
"assert abs(r1[0] - 55.16... |
theo-eng-code-L2-code-002278 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 250}')",
"assert r0[0] == 20",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')",
"assert r1[0] == 60",
"... |
theo-eng-code-L1-code-015743 | 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-L2-code-004641 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 180, 260, 0.3)",
"assert abs(r0[0] - 236.0) < 1e-6",
"assert abs(r0[1] - 3.81) < 1e-6",
"assert abs(r0[2] - 228.8) < 1e-6",
"r1 = runtime(0.1, 250, 490, 0.5)",
"... |
theo-eng-code-L2-code-011287 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 10, 3.2, 50)",
"assert r0[0] == 125",
"assert r0[1] == 1",
"assert r0[2] == 125",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 20.0) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-002545 | 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.41, 4000, 180)",
"assert abs(r0[0] - 3.43) < 1e-6",
"assert abs(r0[1] - 1164.5) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L3-code-003086 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.4, 11000, 150)",
"assert abs(r0[0] - 11.06) < 1e-6",
"assert abs(r0[1] - 994.7) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-009679 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([88, 89, 47, 85])",
"assert abs(r0[0] - 77.25) < 1e-6",
"assert abs(r0[1] - 20.238) < 1e-6",
"r1 = summarise([79, 22, 16, 37, 10, 83])",
"assert abs(r1[0] - 41.167) ... |
theo-eng-code-L2-code-002380 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([77, 83, 97, 84, 37])",
"assert abs(r0[0] - 75.6) < 1e-6",
"assert abs(r0[1] - 22.777) < 1e-6",
"r1 = summarise([75, 87, 67, 95, 61, 82])",
"assert abs(r1[0] - 77.83... |
theo-eng-code-L2-code-002017 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-005943 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.5, 0.38, 60, 1.5, 0.5)",
"assert abs(r0[0] - 16.95) < 1e-6",
"assert abs(r0[1] - 0.5776) < 1e-6",
"assert abs(r0[2] - 17.24) < 1e-6",
"r1 = joint_torque(6.3, 0.1, 45... |
theo-eng-code-L2-code-000493 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 11, 0.1, 0.8)",
"assert abs(r0[0] - 4.77) < 1e-6",
"assert abs(r0[1] - 286.4) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L3-code-015753 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 22, 0.2, 0.8)",
"assert abs(r0[0] - 2.05) < 1e-6",
"assert abs(r0[1] - 122.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
theo-eng-code-L2-code-012710 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([87, 44, 48, 82])",
"assert abs(r0[0] - 65.25) < 1e-6",
"assert abs(r0[1] - 22.381) < 1e-6",
"r1 = summarise([27, 40, 78, 27, 34])",
"assert abs(r1[0] - 41.2) < 1e-6... |
theo-eng-code-L1-refuse-008328 | 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_kill_audit",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-refuse-008763 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-007028 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 300, 250, 0.5)",
"assert abs(r0[0] - 275.0) < 1e-6",
"assert abs(r0[1] - 1.64) < 1e-6",
"assert abs(r0[2] - 98.2) < 1e-6",
"r1 = runtime(0.2, 30, 90, 0.5)",
"ass... |
theo-eng-code-L2-code-013719 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 25, -0.01, 0.14, 0.5, 0.5, 0.5)",
"assert abs(r0[0] - 0.0815) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - 0.056) < 1e-6",
"r1 = com_zmp(16, 27, 0.0, 0.... |
theo-eng-code-L2-code-004515 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 9000, 120)",
"assert abs(r0[0] - 12.16) < 1e-6",
"assert abs(r0[1] - 740.3) < 1e-6",
"r1 = gear_ratio(0.25, 10500, 120)",
"assert abs(r1[0] - 8.25) < 1e-6",
"as... |
theo-eng-code-L2-code-015271 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 130, 280, 0.7)",
"assert abs(r0[0] - 175.0) < 1e-6",
"assert abs(r0[1] - 2.57) < 1e-6",
"assert abs(r0[2] - 154.3) < 1e-6",
"r1 = runtime(1.0, 280, 80, 0.7)",
"a... |
theo-eng-code-L3-code-008255 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 10, 3.2, 5)",
"assert r0[0] == 125",
"assert r0[1] == 5",
"assert r0[2] == 625",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 10.0) < 1e-6",
"r1 = pack... |
theo-eng-code-L2-code-010160 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 19, -0.07, 0.13, 0.8, 0.8, 0)",
"assert abs(r0[0] - 0.0356) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - 0.0356) < 1e-6",
"r1 = com_zmp(11, 29, 0.1, 0.0... |
theo-eng-code-L3-code-006108 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 80, 490, 0.3)",
"assert abs(r0[0] - 367.0) < 1e-6",
"assert abs(r0[1] - 2.45) < 1e-6",
"assert abs(r0[2] - 147.1) < 1e-6",
"r1 = runtime(0.1, 60, 380, 0.7)",
"asse... |
theo-eng-code-L2-code-010670 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.9, 0.57, 90, 3.0, 3.5)",
"assert abs(r0[0] - 27.68) < 1e-6",
"assert abs(r0[1] - 1.3971) < 1e-6",
"assert abs(r0[2] - 32.57) < 1e-6",
"r1 = joint_torque(0.7, 0.58, 9... |
theo-eng-code-L1-clarify-008338 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-011038 | 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, 10, -0.1, 0.08, 0.4, 0.8, 0.5)",
"assert abs(r0[0] - -0.025) < 1e-6",
"assert abs(r0[1] - 0.5667) < 1e-6",
"assert abs(r0[2] - -0.0539) < 1e-6",
"r1 = com_zmp(8, 18, -0.07,... |
theo-eng-code-L1-code-001444 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_power",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-002608 | 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(6.4, 0.29, 90, 1.5, 0.5)",
"assert abs(r0[0] - 13.37) < 1e-6",
"assert abs(r0[1] - 0.3056) < 1e-6",
"assert abs(r0[2] - 13.52) < 1e-6",
"r1 = joint_torque(5.6, 0.39, 60,... |
theo-eng-code-L2-code-008209 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L3-code-008873 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.7, 0.58, 60, 6.5, 0.5)",
"assert abs(r0[0] - 36.22) < 1e-6",
"assert abs(r0[1] - 2.3772) < 1e-6",
"assert abs(r0[2] - 37.41) < 1e-6",
"r1 = joint_torque(6.3, 0.59, 90,... |
theo-eng-code-L2-code-004087 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-012785 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 210, 290, 0.7)",
"assert abs(r0[0] - 234.0) < 1e-6",
"assert abs(r0[1] - 1.92) < 1e-6",
"assert abs(r0[2] - 115.4) < 1e-6",
"r1 = runtime(0.5, 240, 380, 0.3)",
"... |
theo-eng-code-L2-code-006946 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 10000, 120)",
"assert abs(r0[0] - 13.51) < 1e-6",
"assert abs(r0[1] - 740.3) < 1e-6",
"r1 = gear_ratio(0.28, 6500, 100)",
"assert abs(r1[0] - 6.86) < 1e-6",
"as... |
theo-eng-code-L3-code-015932 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 22, 0.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_tim... |
theo-eng-code-L2-code-006644 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.0, 0.13, 30, 4.0, 3.5)",
"assert abs(r0[0] - 3.19) < 1e-6",
"assert abs(r0[1] - 0.0789) < 1e-6",
"assert abs(r0[2] - 3.46) < 1e-6",
"r1 = joint_torque(4.4, 0.29, 90,... |
theo-eng-code-L3-code-014840 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(31, 18, 0.5)",
"assert abs(r0 - 25.35) < 1e-6",
"r1 = rms_torque(45, 40, 0.5)",
"assert abs(r1 - 42.57) < 1e-6",
"r2 = rms_torque(45, 18, 0.5)",
"assert abs(r2 - 34.27) ... |
theo-eng-code-L2-code-000804 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 22, 0.03, 0.13, 0.3, 0.6, 0)",
"assert abs(r0[0] - 0.1115) < 1e-6",
"assert abs(r0[1] - 0.5444) < 1e-6",
"assert abs(r0[2] - 0.1115) < 1e-6",
"r1 = com_zmp(19, 12, -0.07, ... |
theo-eng-code-L3-code-010329 | 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(91, 2400, 60, 0.31, 2.7, 0.011, 1.1, 0.92, 0.85)",
"assert abs(r0[0] - 554.4) < 1e-6",
"assert abs(r0[1] - 13.95) < 1e-6",
"assert abs(r0[2] - 8.37) < 1e-6"
],
"subtask... |
theo-eng-code-L3-code-003226 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(22, 1810, 120, 0.28, 2.6, 0.01, 1.4, 0.88, 0.9)",
"assert abs(r0[0] - 88.4) < 1e-6",
"assert abs(r0[1] - 22.41) < 1e-6",
"assert abs(r0[2] - 26.89) < 1e-6",
"r1 = erange(31, 1... |
theo-eng-code-L2-code-002824 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 180, 250, 0.3)",
"assert abs(r0[0] - 229.0) < 1e-6",
"assert abs(r0[1] - 1.97) < 1e-6",
"assert abs(r0[2] - 117.9) < 1e-6",
"r1 = runtime(0.2, 290, 530, 0.3)",
"... |
theo-eng-code-L3-code-012041 | 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.42, 11500, 150)",
"assert abs(r0[0] - 12.14) < 1e-6",
"assert abs(r0[1] - 947.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-010779 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(26, 1350, 100, 0.28, 2.1, 0.007, 0.9, 0.9, 0.9)",
"assert abs(r0[0] - 189.7) < 1e-6",
"assert abs(r0[1] - 12.34) < 1e-6",
"assert abs(r0[2] - 12.34) < 1e-6",
"r1 = erange(81, ... |
theo-eng-code-L2-code-015979 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 11, 0.2, 0.8)",
"assert abs(r0[0] - 4.09) < 1e-6",
"assert abs(r0[1] - 245.5) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-009106 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-006995 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 150, 0.2, 0.8)",
"assert abs(r0[0] - 0.25) < 1e-6",
"assert abs(r0[1] - 15.0) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-013314 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 50, 0.2, 0.9)",
"assert abs(r0[0] - 0.7) < 1e-6",
"assert abs(r0[1] - 42.0) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-015962 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 17, 0.02, 0.11, 0.5, 0.3, 2)",
"assert abs(r0[0] - 0.0865) < 1e-6",
"assert abs(r0[1] - 0.3522) < 1e-6",
"assert abs(r0[2] - 0.0147) < 1e-6",
"r1 = com_zmp(17, 16, 0.04, 0... |
theo-eng-code-L2-code-014088 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 30, -0.09, -0.02, 0.9, 0.5, 2)",
"assert abs(r0[0] - -0.0433) < 1e-6",
"assert abs(r0[1] - 0.6333) < 1e-6",
"assert abs(r0[2] - -0.1725) < 1e-6",
"r1 = com_zmp(16, 22, 0.... |
theo-eng-code-L2-code-000874 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 21, -0.08, -0.04, 0.4, 0.6, 0.5)",
"assert abs(r0[0] - -0.0585) < 1e-6",
"assert abs(r0[1] - 0.5077) < 1e-6",
"assert abs(r0[2] - -0.0843) < 1e-6",
"r1 = com_zmp(13, 25, ... |
theo-eng-code-L1-code-003068 | 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-L3-code-006750 | 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(20, 50, 0.2, 0.8)",
"assert abs(r0[0] - 0.3) < 1e-6",
"assert abs(r0[1] - 18.0) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert r0[3] == 50"
],
"subtask":... |
theo-eng-code-L2-code-004928 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 25, 0.06, -0.05, 0.4, 0.8, 0.5)",
"assert abs(r0[0] - -0.0233) < 1e-6",
"assert abs(r0[1] - 0.703) < 1e-6",
"assert abs(r0[2] - -0.0592) < 1e-6",
"r1 = com_zmp(6, 12, 0.02... |
theo-eng-code-L2-code-010532 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 250}')",
"assert r0[0] == 60",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')",
"assert r1[0] == 60",
... |
theo-eng-code-L1-code-009183 | 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": "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-005370 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 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",
"r1 = charge_ti... |
theo-eng-code-L3-code-004605 | 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(29, 2330, 100, 0.31, 2.7, 0.007, 0.7, 0.88, 0.9)",
"assert abs(r0[0] - 143.1) < 1e-6",
"assert abs(r0[1] - 18.24) < 1e-6",
"assert abs(r0[2] - 18.24) < 1e-6",
"r1 = erange(69,... |
theo-eng-code-L3-code-013467 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 26, -0.02, 0.12, 0.7, 0.6, 2)",
"assert abs(r0[0] - 0.0647) < 1e-6",
"assert abs(r0[1] - 0.6395) < 1e-6",
"assert abs(r0[2] - -0.0657) < 1e-6",
"r1 = com_zmp(13, 12, -0.09,... |
theo-eng-code-L2-code-009199 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([460, 370, 120, 430], 5)",
"assert abs(r0 - 1.9167) < 1e-6",
"r1 = rect_energy([180, 200, 210, 480], 2)",
"assert abs(r1 - 0.5944) < 1e-6",
"r2 = rect_energy([190... |
theo-eng-code-L2-code-015319 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([220, 250, 460, 440], 10)",
"assert abs(r0 - 3.8056) < 1e-6",
"r1 = rect_energy([310, 190, 390], 1)",
"assert abs(r1 - 0.2472) < 1e-6",
"r2 = rect_energy([230, 90... |
theo-eng-code-L2-code-005548 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(24, 5, 0.25)",
"assert abs(r0 - 12.76) < 1e-6",
"r1 = rms_torque(20, 14, 0.25)",
"assert abs(r1 - 15.72) < 1e-6",
"r2 = rms_torque(13, 7, 0.75)",
"assert abs(r2 - 11.7... |
theo-eng-code-L3-code-011709 | 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, 5)",
"assert r0[0] == 62",
"assert r0[1] == 61",
"assert r0[2] == 3782",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 60.512) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-014643 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.0, 2.0], [3.0, 0.0])",
"assert abs(r0 - 2.0) < 1e-6",
"r1 = seg_len([1.5, 1.5], [5.0, 4.5])",
"assert abs(r1 - 4.6098) < 1e-6",
"r2 = seg_len([0.5, 3.0], [0.5, 5.0])",... |
theo-eng-code-L1-code-014011 | 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_average",
"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-006414 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.0, 0.46, 60, 0.5, 1.5)",
"assert abs(r0[0] - 3.91) < 1e-6",
"assert abs(r0[1] - 0.1763) < 1e-6",
"assert abs(r0[2] - 4.17) < 1e-6",
"r1 = joint_torque(7.0, 0.37, 60, 7... |
theo-eng-code-L3-code-000209 | 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(79, 2, 0.5)",
"assert abs(r0 - 55.88) < 1e-6",
"r1 = rms_torque(56, 20, 0.25)",
"assert abs(r1 - 32.92) < 1e-6",
"r2 = rms_torque(75, 36, 0.75)",
"assert abs(r2 - 67.4) ... |
theo-eng-code-L1-clarify-008933 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-000562 | 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(7.8, 0.56, 90, 6.5, 2.0)",
"assert abs(r0[0] - 57.13) < 1e-6",
"assert abs(r0[1] - 2.8538) < 1e-6",
"assert abs(r0[2] - 62.84) < 1e-6",
"r1 = joint_torque(7.1, 0.1, 45, ... |
theo-eng-code-L2-code-006758 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 0.5], [3.5, 3.5])",
"assert abs(r0 - 3.1623) < 1e-6",
"r1 = seg_len([2.0, 5.0], [1.5, 4.5])",
"assert abs(r1 - 0.7071) < 1e-6",
"r2 = seg_len([5.0, 4.0], [1.0, 5.0]... |
theo-eng-code-L2-code-004001 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([16, 43, 42, 83, 39, 29])",
"assert r0[0] == 42",
"assert abs(r0[1] - 22.521) < 1e-6",
"r1 = summarise([37, 43, 18, 78])",
"assert r1[0] == 44",
"assert abs(r1[1... |
theo-eng-code-L2-code-007274 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.6, 50)",
"assert r0[0] == 111",
"assert r0[1] == 5",
"assert r0[2] == 555",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 99.9) < 1e-6",
"r1 = p... |
theo-eng-code-L1-code-013886 | 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_countdown",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-012055 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-001343 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, [0, 25, 50, 75, 100], [0.7, 0.85, 0.85, 0.87, 0.83])",
"assert abs(r0 - 0.85) < 1e-6",
"r1 = interp_eff(45, [0, 25, 50, 75, 100], [0.79, 0.8, 0.89, 0.88, 0.83])",
"ass... |
theo-eng-code-L3-code-003749 | 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(99, 37, 0.5)",
"assert abs(r0 - 74.73) < 1e-6",
"r1 = rms_torque(66, 19, 0.25)",
"assert abs(r1 - 36.87) < 1e-6",
"r2 = rms_torque(94, 22, 0.75)",
"assert abs(r2 - 82.15... |
theo-eng-code-L2-code-013583 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.42, 10000, 100)",
"assert abs(r0[0] - 15.83) < 1e-6",
"assert abs(r0[1] - 631.6) < 1e-6",
"r1 = gear_ratio(0.26, 5500, 100)",
"assert abs(r1[0] - 5.39) < 1e-6",
"as... |
theo-eng-code-L1-code-010346 | 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_average",
"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-014170 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_prodloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.