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-L1-clarify-012149 | 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": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-code-010432 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_strmul",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-015420 | 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(12, 17, 0.02, 0.15, 0.9, 0.3, 0.5)",
"assert abs(r0[0] - 0.0962) < 1e-6",
"assert abs(r0[1] - 0.5483) < 1e-6",
"assert abs(r0[2] - 0.0683) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L3-code-008595 | 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(10, 2, 0.5)",
"assert abs(r0 - 7.21) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"saf... |
theo-eng-code-L2-code-008982 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 7, 0.2, 1.0)",
"assert abs(r0[0] - 5.71) < 1e-6",
"assert abs(r0[1] - 342.9) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L1-code-006782 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_fstring",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-code-013900 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_join",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-code-000041 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_fstring",
"user_template": "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-010349 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 270, 310, 0.7)",
"assert abs(r0[0] - 282.0) < 1e-6",
"assert abs(r0[1] - 0.32) < 1e-6",
"assert abs(r0[2] - 19.1) < 1e-6",
"r1 = runtime(0.1, 180, 390, 0.3)",
"ass... |
theo-eng-code-L2-code-008601 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([65, 13, 17, 92])",
"assert abs(r0[0] - 46.75) < 1e-6",
"assert abs(r0[1] - 38.318) < 1e-6",
"r1 = summarise([48, 25, 38, 43, 30, 68])",
"assert r1[0] == 42",
"a... |
theo-eng-code-L2-code-008257 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 6000, 150)",
"assert abs(r0[0] - 6.79) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.27, 4000, 180)",
"assert abs(r1[0] - 2.26) < 1e-6",
"asse... |
theo-eng-code-L2-code-002107 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 60, \"max_kw\": 250}')",
"assert r0[0] == 60",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')",
"assert r1[0] == 40",
... |
theo-eng-code-L2-code-011856 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(82, 1820, 120, 0.26, 3.0, 0.008, 1.5, 0.9, 0.9)",
"assert abs(r0[0] - 334.8) < 1e-6",
"assert abs(r0[1] - 22.04) < 1e-6",
"assert abs(r0[2] - 26.45) < 1e-6",
"r1 = erange(47... |
theo-eng-code-L2-code-013818 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([270, 370, 240], 2)",
"assert abs(r0 - 0.4889) < 1e-6",
"r1 = rect_energy([100, 160, 500, 350], 10)",
"assert abs(r1 - 3.0833) < 1e-6",
"r2 = rect_energy([460, 27... |
theo-eng-code-L1-code-011023 | 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": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-010566 | 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(300, 10, 3.7, 2.5)",
"assert r0[0] == 81",
"assert r0[1] == 14",
"assert r0[2] == 1134",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 10.489) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-009976 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 12, -0.08, 0.09, 0.5, 0.3, 0)",
"assert abs(r0[0] - -0.0015) < 1e-6",
"assert abs(r0[1] - 0.4077) < 1e-6",
"assert abs(r0[2] - -0.0015) < 1e-6"
],
"subtask": "writet... |
theo-eng-code-L2-code-002571 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([340, 350, 120, 230], 5)",
"assert abs(r0 - 1.4444) < 1e-6",
"r1 = rect_energy([440, 210, 150, 190], 10)",
"assert abs(r1 - 2.75) < 1e-6",
"r2 = rect_energy([190,... |
theo-eng-code-L2-code-009289 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 90, 390, 0.3)",
"assert abs(r0[0] - 300.0) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"r1 = runtime(0.2, 130, 470, 0.5)",
"ass... |
theo-eng-code-L3-code-009416 | 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(17, 26, -0.04, -0.01, 0.8, 0.8, 2)",
"assert abs(r0[0] - -0.0219) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - -0.185) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L3-code-013538 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 190, 200, 0.7)",
"assert abs(r0[0] - 193.0) < 1e-6",
"assert abs(r0[1] - 0.47) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"r1 = runtime(0.2, 150, 130, 0.7)",
"ass... |
theo-eng-code-L2-code-001566 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 22, 0.1, 0.9)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-014484 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([5.0, 5.0], [1.0, 2.0])",
"assert abs(r0 - 5.0) < 1e-6",
"r1 = seg_len([5.0, 1.5], [0.0, 4.5])",
"assert abs(r1 - 5.831) < 1e-6",
"r2 = seg_len([0.5, 1.0], [2.5, 0.0])",
... |
theo-eng-code-L2-code-006751 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-code-015729 | 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": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-000341 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 290, 400, 0.7)",
"assert abs(r0[0] - 323.0) < 1e-6",
"assert abs(r0[1] - 0.28) < 1e-6",
"assert abs(r0[2] - 16.7) < 1e-6",
"r1 = runtime(1.0, 250, 170, 0.5)",
"ass... |
theo-eng-code-L3-code-004422 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 23, -0.04, 0.04, 0.3, 0.8, 0.5)",
"assert abs(r0[0] - 0.006) < 1e-6",
"assert abs(r0[1] - 0.5875) < 1e-6",
"assert abs(r0[2] - -0.0239) < 1e-6"
],
"subtask": "writet... |
theo-eng-code-L2-code-004323 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([440, 150, 50], 10)",
"assert abs(r0 - 1.7778) < 1e-6",
"r1 = rect_energy([500, 370, 460, 380], 2)",
"assert abs(r1 - 0.95) < 1e-6",
"r2 = rect_energy([460, 270, ... |
theo-eng-code-L2-code-000398 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 200, 0.5)",
"assert abs(r0[0] - 120.0) < 1e-6",
"assert abs(r0[1] - 3.75) < 1e-6",
"assert abs(r0[2] - 225.0) < 1e-6",
"r1 = runtime(0.5, 290, 30, 0.5)",
"as... |
theo-eng-code-L2-code-012899 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-012432 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-012268 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.43, 7500, 150)",
"assert abs(r0[0] - 8.11) < 1e-6",
"assert abs(r0[1] - 925.3) < 1e-6",
"r1 = gear_ratio(0.44, 12000, 120)",
"assert abs(r1[0] - 16.59) < 1e-6",
"asse... |
theo-eng-code-L2-code-008699 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, 2800, 80, 0.36, 1.9, 0.013, 0.6, 0.9, 0.85)",
"assert abs(r0[0] - 210.7) < 1e-6",
"assert abs(r0[1] - 18.16) < 1e-6",
"assert abs(r0[2] - 14.53) < 1e-6",
"r1 = erange(53... |
theo-eng-code-L2-code-005036 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([16, 76, 48, 32])",
"assert r0[0] == 43",
"assert abs(r0[1] - 25.586) < 1e-6",
"r1 = summarise([70, 30, 78, 36])",
"assert abs(r1[0] - 53.5) < 1e-6",
"assert abs... |
theo-eng-code-L2-code-004754 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-007513 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 7000, 150)",
"assert abs(r0[0] - 6.69) < 1e-6",
"assert abs(r0[1] - 1047.1) < 1e-6",
"r1 = gear_ratio(0.26, 11000, 120)",
"assert abs(r1[0] - 8.98) < 1e-6",
"as... |
theo-eng-code-L3-code-015127 | 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(98, 1320, 80, 0.33, 2.4, 0.013, 0.7, 0.9, 0.9)",
"assert abs(r0[0] - 655.1) < 1e-6",
"assert abs(r0[1] - 13.46) < 1e-6",
"assert abs(r0[2] - 10.77) < 1e-6",
"r1 = erange(61, 2... |
theo-eng-code-L3-code-006714 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(93, 2630, 120, 0.36, 2.8, 0.009, 1.4, 0.88, 0.95)",
"assert abs(r0[0] - 293.0) < 1e-6",
"assert abs(r0[1] - 30.15) < 1e-6",
"assert abs(r0[2] - 36.18) < 1e-6"
],
"subta... |
theo-eng-code-L1-code-011143 | 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": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-005723 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([230, 360, 180, 60, 260], 2)",
"assert abs(r0 - 0.6056) < 1e-6",
"r1 = rect_energy([430, 250, 70, 270], 1)",
"assert abs(r1 - 0.2833) < 1e-6",
"r2 = rect_energy([... |
theo-eng-code-L3-code-012956 | 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(2.8, 0.56, 30, 6.0, 1.0)",
"assert abs(r0[0] - 20.33) < 1e-6",
"assert abs(r0[1] - 2.1743) < 1e-6",
"assert abs(r0[2] - 22.5) < 1e-6",
"r1 = joint_torque(5.7, 0.57, 90, ... |
theo-eng-code-L3-code-014556 | 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(100, 150, 0.1, 0.8)",
"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-L2-code-013197 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.5, 1.0], [0.5, 3.0])",
"assert abs(r0 - 4.4721) < 1e-6",
"r1 = seg_len([5.0, 0.0], [2.5, 1.5])",
"assert abs(r1 - 2.9155) < 1e-6",
"r2 = seg_len([3.5, 0.0], [5.0, 5.0]... |
theo-eng-code-L2-code-009859 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.0, 0.0], [2.0, 3.0])",
"assert abs(r0 - 3.0) < 1e-6",
"r1 = seg_len([3.5, 3.5], [4.5, 3.0])",
"assert abs(r1 - 1.118) < 1e-6",
"r2 = seg_len([1.5, 2.5], [3.0, 3.5])",
... |
theo-eng-code-L2-code-005095 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.3, 0.26, 30, 3.0, 0.5)",
"assert abs(r0[0] - 5.93) < 1e-6",
"assert abs(r0[1] - 0.2772) < 1e-6",
"assert abs(r0[2] - 6.07) < 1e-6",
"r1 = joint_torque(2.1, 0.36, 60,... |
theo-eng-code-L2-code-011300 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.44, 7500, 180)",
"assert abs(r0[0] - 6.91) < 1e-6",
"assert abs(r0[1] - 1085.1) < 1e-6",
"r1 = gear_ratio(0.34, 8500, 150)",
"assert abs(r1[0] - 7.26) < 1e-6",
"ass... |
theo-eng-code-L3-code-010308 | 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(16, 9, 0.75)",
"assert abs(r0 - 14.57) < 1e-6",
"r1 = rms_torque(55, 16, 0.25)",
"assert abs(r1 - 30.79) < 1e-6",
"r2 = rms_torque(86, 15, 0.25)",
"assert abs(r2 - 44.92... |
theo-eng-code-L2-code-001738 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(49, 2700, 120, 0.32, 2.6, 0.01, 0.4, 0.9, 0.85)",
"assert abs(r0[0] - 160.3) < 1e-6",
"assert abs(r0[1] - 25.98) < 1e-6",
"assert abs(r0[2] - 31.18) < 1e-6",
"r1 = erange(79... |
theo-eng-code-L3-code-006792 | 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.2, 0.9)",
"assert abs(r0[0] - 1.05) < 1e-6",
"assert abs(r0[1] - 63.0) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(... |
theo-eng-code-L1-clarify-006062 | 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-005192 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L1-clarify-006978 | 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": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-001574 | 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.33, 8000, 120)",
"assert abs(r0[0] - 8.29) < 1e-6",
"assert abs(r0[1] - 964.6) < 1e-6",
"r1 = gear_ratio(0.29, 5500, 100)",
"assert abs(r1[0] - 6.01) < 1e-6",
"assert... |
theo-eng-code-L2-code-002856 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "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-005440 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(90, 40, 0.75)",
"assert abs(r0 - 80.47) < 1e-6",
"r1 = rms_torque(81, 7, 0.25)",
"assert abs(r1 - 40.95) < 1e-6",
"r2 = rms_torque(10, 8, 0.75)",
"assert abs(r2 - 9.54... |
theo-eng-code-L3-code-014322 | 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(1.1, 0.25, 30, 2.5, 0.5)",
"assert abs(r0[0] - 3.74) < 1e-6",
"assert abs(r0[1] - 0.1792) < 1e-6",
"assert abs(r0[2] - 3.83) < 1e-6",
"r1 = joint_torque(3.6, 0.26, 90, 1... |
theo-eng-code-L2-code-011055 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-015325 | 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(27, 11, 0.5)",
"assert abs(r0 - 20.62) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-001199 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.0, 5.0], [4.5, 3.0])",
"assert abs(r0 - 4.0311) < 1e-6",
"r1 = seg_len([1.0, 0.5], [2.0, 2.0])",
"assert abs(r1 - 1.8028) < 1e-6",
"r2 = seg_len([0.0, 5.0], [2.0, 2.5]... |
theo-eng-code-L3-code-010442 | 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, 80, 3.7, 2.5)",
"assert r0[0] == 135",
"assert r0[1] == 65",
"assert r0[2] == 8775",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 81.169) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-006944 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 10, 0.1, 0.02, 0.5, 0.9, 1)",
"assert abs(r0[0] - 0.0652) < 1e-6",
"assert abs(r0[1] - 0.6739) < 1e-6",
"assert abs(r0[2] - -0.0035) < 1e-6",
"r1 = com_zmp(20, 23, 0.06, ... |
theo-eng-code-L1-code-003998 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-012237 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 15, -0.05, 0.12, 0.6, 0.8, 1)",
"assert abs(r0[0] - 0.0379) < 1e-6",
"assert abs(r0[1] - 0.7034) < 1e-6",
"assert abs(r0[2] - -0.0338) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L2-code-015221 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 15, 0.04, 0.15, 0.8, 0.5, 2)",
"assert abs(r0[0] - 0.0932) < 1e-6",
"assert abs(r0[1] - 0.6548) < 1e-6",
"assert abs(r0[2] - -0.0403) < 1e-6",
"r1 = com_zmp(6, 28, -0.01,... |
theo-eng-code-L2-code-011497 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 0.5], [4.0, 3.0])",
"assert abs(r0 - 3.2016) < 1e-6",
"r1 = seg_len([2.5, 4.0], [0.0, 5.0])",
"assert abs(r1 - 2.6926) < 1e-6",
"r2 = seg_len([2.5, 1.5], [3.5, 2.0]... |
theo-eng-code-L2-code-004733 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 27, -0.07, -0.04, 0.5, 0.7, 1)",
"assert abs(r0[0] - -0.0516) < 1e-6",
"assert abs(r0[1] - 0.6227) < 1e-6",
"assert abs(r0[2] - -0.1151) < 1e-6",
"r1 = com_zmp(10, 15, -0... |
theo-eng-code-L3-code-007240 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 60, 3.2, 10)",
"assert r0[0] == 94",
"assert r0[1] == 20",
"assert r0[2] == 1880",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 60.16) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-004331 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 28, -0.01, 0.08, 0.3, 0.7, 0)",
"assert abs(r0[0] - 0.05) < 1e-6",
"assert abs(r0[1] - 0.5667) < 1e-6",
"assert abs(r0[2] - 0.05) < 1e-6",
"r1 = com_zmp(15, 12, -0.09, -0... |
theo-eng-code-L1-refuse-011306 | 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-L1-clarify-013669 | 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-006194 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.2, 0.1, 45, 4.5, 2.0)",
"assert abs(r0[0] - 3.54) < 1e-6",
"assert abs(r0[1] - 0.049) < 1e-6",
"assert abs(r0[2] - 3.64) < 1e-6",
"r1 = joint_torque(4.8, 0.58, 60, 6... |
theo-eng-code-L2-code-010325 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(25, 23, 0.5)",
"assert abs(r0 - 24.02) < 1e-6",
"r1 = rms_torque(24, 6, 0.75)",
"assert abs(r1 - 21.0) < 1e-6",
"r2 = rms_torque(39, 36, 0.75)",
"assert abs(r2 - 38.27... |
theo-eng-code-L3-code-005887 | 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(17, 10, 0.75)",
"assert abs(r0 - 15.55) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-002381 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 22, 0.1, 0.9)",
"assert abs(r0[0] - 4.55) < 1e-6",
"assert abs(r0[1] - 272.7) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_t... |
theo-eng-code-L2-code-002479 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.0, 4.0], [4.0, 0.0])",
"assert abs(r0 - 5.0) < 1e-6",
"r1 = seg_len([2.0, 1.0], [3.5, 0.0])",
"assert abs(r1 - 1.8028) < 1e-6",
"r2 = seg_len([3.5, 4.5], [0.0, 4.0])",... |
theo-eng-code-L3-code-009934 | 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(16, 24, 0.08, 0.15, 0.8, 0.3, 1)",
"assert abs(r0[0] - 0.122) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - 0.071) < 1e-6",
"r1 = com_zmp(13, 26, -0.04, -0.02,... |
theo-eng-code-L2-code-001253 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 5500, 100)",
"assert abs(r0[0] - 5.6) < 1e-6",
"assert abs(r0[1] - 982.4) < 1e-6",
"r1 = gear_ratio(0.45, 8500, 180)",
"assert abs(r1[0] - 8.01) < 1e-6",
"asser... |
theo-eng-code-L1-code-013889 | 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": "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-012504 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-001874 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.28, 8000, 150)",
"assert abs(r0[0] - 5.63) < 1e-6",
"assert abs(r0[1] - 1421.0) < 1e-6",
"r1 = gear_ratio(0.25, 5500, 180)",
"assert abs(r1[0] - 2.88) < 1e-6",
"ass... |
theo-eng-code-L2-code-010789 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 28, -0.04, -0.03, 0.9, 0.7, 2)",
"assert abs(r0[0] - -0.032) < 1e-6",
"assert abs(r0[1] - 0.74) < 1e-6",
"assert abs(r0[2] - -0.1829) < 1e-6",
"r1 = com_zmp(7, 29, 0.08, 0... |
theo-eng-code-L2-code-013262 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 80, 3.7, 5)",
"assert r0[0] == 108",
"assert r0[1] == 41",
"assert r0[2] == 4428",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 81.918) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-002769 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 150, 0.2, 1.0)",
"assert abs(r0[0] - 0.33) < 1e-6",
"assert abs(r0[1] - 20.0) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6",
"r... |
theo-eng-code-L3-code-013147 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.1, 0.21, 90, 4.5, 1.5)",
"assert abs(r0[0] - 14.52) < 1e-6",
"assert abs(r0[1] - 0.2734) < 1e-6",
"assert abs(r0[2] - 14.93) < 1e-6",
"r1 = joint_torque(0.9, 0.1, 60, ... |
theo-eng-code-L2-code-010013 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([89, 75, 40, 77])",
"assert abs(r0[0] - 70.25) < 1e-6",
"assert abs(r0[1] - 21.093) < 1e-6",
"r1 = summarise([30, 43, 67, 43, 71, 77])",
"assert abs(r1[0] - 55.167) ... |
theo-eng-code-L2-code-015044 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 14, -0.03, 0.1, 0.8, 0.7, 0)",
"assert abs(r0[0] - 0.0269) < 1e-6",
"assert abs(r0[1] - 0.7562) < 1e-6",
"assert abs(r0[2] - 0.0269) < 1e-6",
"r1 = com_zmp(17, 30, -0.05,... |
theo-eng-code-L3-code-007514 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(50, 2660, 80, 0.22, 2.6, 0.009, 1.5, 0.88, 0.9)",
"assert abs(r0[0] - 305.1) < 1e-6",
"assert abs(r0[1] - 14.75) < 1e-6",
"assert abs(r0[2] - 11.8) < 1e-6"
],
"subtask"... |
theo-eng-code-L3-code-007537 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.2, 0.22, 60, 5.0, 4.0)",
"assert abs(r0[0] - 13.27) < 1e-6",
"assert abs(r0[1] - 0.3098) < 1e-6",
"assert abs(r0[2] - 14.51) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L3-code-015648 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 40, 3.6, 100)",
"assert r0[0] == 139",
"assert r0[1] == 1",
"assert r0[2] == 139",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 50.04) < 1e-6"
],
... |
theo-eng-code-L3-code-011442 | 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(57, 33, 0.25)",
"assert abs(r0 - 40.36) < 1e-6",
"r1 = rms_torque(85, 20, 0.25)",
"assert abs(r1 - 45.89) < 1e-6",
"r2 = rms_torque(92, 3, 0.5)",
"assert abs(r2 - 65.09)... |
theo-eng-code-L2-code-011606 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 11, 0.1, 1.0)",
"assert abs(r0[0] - 6.14) < 1e-6",
"assert abs(r0[1] - 368.2) < 1e-6",
"assert abs(r0[2] - 54.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L3-code-015041 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.7, 50)",
"assert r0[0] == 54",
"assert r0[1] == 7",
"assert r0[2] == 378",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 69.93) < 1e-6"
],
... |
theo-eng-code-L2-code-001671 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(29, 1450, 120, 0.32, 2.9, 0.013, 1.1, 0.94, 0.95)",
"assert abs(r0[0] - 110.0) < 1e-6",
"assert abs(r0[1] - 25.04) < 1e-6",
"assert abs(r0[2] - 30.05) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-004454 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.8, 0.14, 90, 8.0, 4.0)",
"assert abs(r0[0] - 16.34) < 1e-6",
"assert abs(r0[1] - 0.2078) < 1e-6",
"assert abs(r0[2] - 17.17) < 1e-6",
"r1 = joint_torque(2.0, 0.17, 4... |
theo-eng-code-L3-code-001394 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 22, 0.2, 1.0)",
"assert abs(r0[0] - 4.55) < 1e-6",
"assert abs(r0[1] - 272.7) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 22"
],
"subtas... |
theo-eng-code-L3-code-007321 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 120, 110, 0.5)",
"assert abs(r0[0] - 115.0) < 1e-6",
"assert abs(r0[1] - 1.57) < 1e-6",
"assert abs(r0[2] - 93.9) < 1e-6",
"r1 = runtime(1.0, 50, 470, 0.5)",
"asse... |
theo-eng-code-L2-code-010656 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 25, 0.06, 0.01, 0.9, 0.8, 0)",
"assert abs(r0[0] - 0.0271) < 1e-6",
"assert abs(r0[1] - 0.8342) < 1e-6",
"assert abs(r0[2] - 0.0271) < 1e-6",
"r1 = com_zmp(14, 10, 0.09, ... |
theo-eng-code-L3-code-004588 | 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(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_time... |
theo-eng-code-L1-refuse-014702 | 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-L2-code-006998 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(82, 29, 0.75)",
"assert abs(r0 - 72.48) < 1e-6",
"r1 = rms_torque(68, 30, 0.5)",
"assert abs(r1 - 52.55) < 1e-6",
"r2 = rms_torque(7, 2, 0.5)",
"assert abs(r2 - 5.15) ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.