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-L3-code-015478 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 60, 3.2, 5)",
"assert r0[0] == 94",
"assert r0[1] == 40",
"assert r0[2] == 3760",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 60.16) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-000092 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 28, -0.01, 0.06, 0.8, 0.4, 1)",
"assert abs(r0[0] - 0.0378) < 1e-6",
"assert abs(r0[1] - 0.5268) < 1e-6",
"assert abs(r0[2] - -0.0159) < 1e-6",
"r1 = com_zmp(14, 29, 0.03... |
theo-eng-code-L1-code-012981 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_filter",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-007592 | 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.5, 70, 480, 0.7)",
"assert abs(r0[0] - 193.0) < 1e-6",
"assert abs(r0[1] - 2.33) < 1e-6",
"assert abs(r0[2] - 139.9) < 1e-6",
"r1 = runtime(0.5, 300, 470, 0.5)",
"ass... |
theo-eng-code-L3-code-012372 | 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(800, 20, 3.7, 100)",
"assert r0[0] == 216",
"assert r0[1] == 1",
"assert r0[2] == 216",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-011348 | 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, 40, 3.7, 2.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] - 40.459) < 1e-6"
]... |
theo-eng-code-L3-code-010400 | 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.6, 0.53, 60, 1.5, 3.5)",
"assert abs(r0[0] - 21.61) < 1e-6",
"assert abs(r0[1] - 1.0393) < 1e-6",
"assert abs(r0[2] - 25.25) < 1e-6",
"r1 = joint_torque(4.0, 0.46, 30,... |
theo-eng-code-L3-code-010806 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 50, 550, 0.5)",
"assert abs(r0[0] - 300.0) < 1e-6",
"assert abs(r0[1] - 3.0) < 1e-6",
"assert abs(r0[2] - 180.0) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L2-code-006066 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([150, 330, 290], 10)",
"assert abs(r0 - 2.1389) < 1e-6",
"r1 = rect_energy([200, 390, 130, 50], 5)",
"assert abs(r1 - 1.0694) < 1e-6",
"r2 = rect_energy([340, 300... |
theo-eng-code-L3-code-009639 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.0, 0.45, 90, 0.0, 2.0)",
"assert abs(r0[0] - 2.21) < 1e-6",
"assert abs(r0[1] - 0.0675) < 1e-6",
"assert abs(r0[2] - 2.34) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L3-code-012465 | 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(0.8, 0.58, 90, 3.0, 0.0)",
"assert abs(r0[0] - 19.35) < 1e-6",
"assert abs(r0[1] - 1.0989) < 1e-6",
"assert abs(r0[2] - 19.35) < 1e-6",
"r1 = joint_torque(2.9, 0.44, 90,... |
theo-eng-code-L1-code-000928 | 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-005375 | 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(7.8, 0.36, 30, 4.5, 2.5)",
"assert abs(r0[0] - 14.83) < 1e-6",
"assert abs(r0[1] - 0.9202) < 1e-6",
"assert abs(r0[2] - 17.13) < 1e-6",
"r1 = joint_torque(7.0, 0.21, 60,... |
theo-eng-code-L3-code-010973 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(38, 2310, 60, 0.32, 2.0, 0.01, 0.5, 0.92, 0.9)",
"assert abs(r0[0] - 312.0) < 1e-6",
"assert abs(r0[1] - 10.96) < 1e-6",
"assert abs(r0[2] - 6.58) < 1e-6",
"r1 = erange(78, 16... |
theo-eng-code-L1-code-015719 | 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-clarify-009442 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-006093 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.4, 0.38, 30, 1.5, 1.0)",
"assert abs(r0[0] - 6.9) < 1e-6",
"assert abs(r0[1] - 0.4284) < 1e-6",
"assert abs(r0[2] - 7.32) < 1e-6",
"r1 = joint_torque(5.3, 0.21, 45, 7.... |
theo-eng-code-L2-code-006408 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')",
"assert r0[0] == 20",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')",
"assert r1[0] == 80",
... |
theo-eng-code-L2-code-012412 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 19, -0.08, -0.01, 0.5, 0.3, 0.5)",
"assert abs(r0[0] - -0.0268) < 1e-6",
"assert abs(r0[1] - 0.348) < 1e-6",
"assert abs(r0[2] - -0.0445) < 1e-6",
"r1 = com_zmp(19, 22, 0.... |
theo-eng-code-L2-code-000889 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(88, 1330, 80, 0.33, 2.1, 0.012, 1.3, 0.92, 0.95)",
"assert abs(r0[0] - 659.2) < 1e-6",
"assert abs(r0[1] - 12.68) < 1e-6",
"assert abs(r0[2] - 10.14) < 1e-6",
"r1 = erange(5... |
theo-eng-code-L3-code-004349 | 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(3.1, 0.51, 60, 5.0, 2.0)",
"assert abs(r0[0] - 28.38) < 1e-6",
"assert abs(r0[1] - 1.5693) < 1e-6",
"assert abs(r0[2] - 31.52) < 1e-6",
"r1 = joint_torque(6.1, 0.57, 30,... |
theo-eng-code-L2-code-008948 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 10, 3.2, 2.5)",
"assert r0[0] == 62",
"assert r0[1] == 21",
"assert r0[2] == 1302",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 10.416) < 1e-6",
"r1... |
theo-eng-code-L3-code-010173 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(7, 27, 0.09, -0.04, 0.3, 0.5, 0)",
"assert abs(r0[0] - -0.0132) < 1e-6",
"assert abs(r0[1] - 0.4588) < 1e-6",
"assert abs(r0[2] - -0.0132) < 1e-6",
"r1 = com_zmp(11, 30, 0.04, ... |
theo-eng-code-L1-code-003719 | 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": "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-006005 | 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(200, 40, 3.7, 5)",
"assert r0[0] == 54",
"assert r0[1] == 41",
"assert r0[2] == 2214",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 40.959) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-005925 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(36, 35, 0.75)",
"assert abs(r0 - 35.75) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L3-code-011687 | 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(1.0, 220, 320, 0.7)",
"assert abs(r0[0] - 250.0) < 1e-6",
"assert abs(r0[1] - 3.6) < 1e-6",
"assert abs(r0[2] - 216.0) < 1e-6",
"r1 = runtime(0.2, 250, 200, 0.3)",
"ass... |
theo-eng-code-L2-code-009718 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([160, 390, 250], 10)",
"assert abs(r0 - 2.2222) < 1e-6",
"r1 = rect_energy([340, 500, 370], 10)",
"assert abs(r1 - 3.3611) < 1e-6",
"r2 = rect_energy([100, 170, 2... |
theo-eng-code-L2-code-015825 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 11000, 180)",
"assert abs(r0[0] - 6.68) < 1e-6",
"assert abs(r0[1] - 1646.4) < 1e-6",
"r1 = gear_ratio(0.38, 5500, 100)",
"assert abs(r1[0] - 7.88) < 1e-6",
"as... |
theo-eng-code-L3-code-015610 | 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(50, 2150, 120, 0.25, 2.9, 0.009, 0.6, 0.92, 0.9)",
"assert abs(r0[0] - 213.0) < 1e-6",
"assert abs(r0[1] - 21.13) < 1e-6",
"assert abs(r0[2] - 25.35) < 1e-6",
"r1 = erange(24,... |
theo-eng-code-L1-clarify-014052 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-005231 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 1.0)",
"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-008599 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 11, 0.2, 1.0)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 218.2) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-010116 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 9500, 120)",
"assert abs(r0[0] - 10.74) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.31, 6500, 150)",
"assert abs(r1[0] - 5.06) < 1e-6",
"ass... |
theo-eng-code-L3-code-002848 | 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": "0",
"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"
],
"subta... |
theo-eng-code-L3-code-015598 | 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.4, 0.43, 45, 1.0, 2.0)",
"assert abs(r0[0] - 6.56) < 1e-6",
"assert abs(r0[1] - 0.3328) < 1e-6",
"assert abs(r0[2] - 7.23) < 1e-6",
"r1 = joint_torque(0.8, 0.11, 30, 0... |
theo-eng-code-L2-code-013680 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 50, 0.1, 0.8)",
"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_t... |
theo-eng-code-L2-code-008115 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 12, -0.05, -0.02, 0.9, 0.9, 0)",
"assert abs(r0[0] - -0.0356) < 1e-6",
"assert abs(r0[1] - 0.9) < 1e-6",
"assert abs(r0[2] - -0.0356) < 1e-6",
"r1 = com_zmp(14, 10, 0.01,... |
theo-eng-code-L3-code-003570 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 17, 0.08, -0.02, 0.8, 0.5, 2)",
"assert abs(r0[0] - 0.012) < 1e-6",
"assert abs(r0[1] - 0.596) < 1e-6",
"assert abs(r0[2] - -0.1095) < 1e-6",
"r1 = com_zmp(12, 22, -0.07, -0... |
theo-eng-code-L2-code-013323 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(47, 20, 0.5)",
"assert abs(r0 - 36.12) < 1e-6",
"r1 = rms_torque(68, 2, 0.75)",
"assert abs(r1 - 58.9) < 1e-6",
"r2 = rms_torque(36, 34, 0.5)",
"assert abs(r2 - 35.01)... |
theo-eng-code-L3-code-013301 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 7, 0.2, 0.9)",
"assert abs(r0[0] - 7.5) < 1e-6",
"assert abs(r0[1] - 450.0) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 7"
],
"subtask": ... |
theo-eng-code-L3-code-009784 | 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(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-000277 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 7, 0.2, 0.9)",
"assert abs(r0[0] - 12.5) < 1e-6",
"assert abs(r0[1] - 750.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_tim... |
theo-eng-code-L2-code-010054 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 250}')",
"assert r0[0] == 40",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')",
"assert r1[0] == 60",
... |
theo-eng-code-L2-code-001505 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(71, 23, 0.75)",
"assert abs(r0 - 62.55) < 1e-6",
"r1 = rms_torque(37, 36, 0.75)",
"assert abs(r1 - 36.75) < 1e-6",
"r2 = rms_torque(31, 2, 0.75)",
"assert abs(r2 - 26.... |
theo-eng-code-L1-code-011011 | 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-015795 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.2, 0.9)",
"assert abs(r0[0] - 2.5) < 1e-6",
"assert abs(r0[1] - 150.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 7"
],
"subtask": ... |
theo-eng-code-L3-code-015095 | 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, 2490, 100, 0.27, 3.1, 0.009, 0.4, 0.88, 0.85)",
"assert abs(r0[0] - 94.3) < 1e-6",
"assert abs(r0[1] - 19.83) < 1e-6",
"assert abs(r0[2] - 19.83) < 1e-6",
"r1 = erange(27,... |
theo-eng-code-L3-code-015173 | 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(500, 40, 3.6, 2.5)",
"assert r0[0] == 139",
"assert r0[1] == 32",
"assert r0[2] == 4448",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 40.032) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-000533 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(25, [0, 25, 50, 75, 100], [0.8, 0.83, 0.86, 0.85, 0.83])",
"assert abs(r0 - 0.83) < 1e-6",
"r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.74, 0.85, 0.89, 0.85, 0.82])",
"as... |
theo-eng-code-L2-code-014235 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(24, 1490, 100, 0.32, 2.3, 0.008, 0.4, 0.92, 0.95)",
"assert abs(r0[0] - 158.0) < 1e-6",
"assert abs(r0[1] - 14.43) < 1e-6",
"assert abs(r0[2] - 14.43) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-012406 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(52, 24, 0.25)",
"assert abs(r0 - 33.29) < 1e-6",
"r1 = rms_torque(17, 5, 0.5)",
"assert abs(r1 - 12.53) < 1e-6",
"r2 = rms_torque(37, 23, 0.75)",
"assert abs(r2 - 34.0... |
theo-eng-code-L2-code-002056 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 60, 3.6, 10)",
"assert r0[0] == 56",
"assert r0[1] == 30",
"assert r0[2] == 1680",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 60.48) < 1e-6",
"r1 =... |
theo-eng-code-L1-code-013201 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_strmul",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-007639 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(31, 22, 0.75)",
"assert abs(r0 - 29.01) < 1e-6",
"r1 = rms_torque(93, 26, 0.75)",
"assert abs(r1 - 81.58) < 1e-6",
"r2 = rms_torque(13, 5, 0.75)",
"assert abs(r2 - 11.... |
theo-eng-code-L2-code-006440 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.42, 12500, 150)",
"assert abs(r0[0] - 13.19) < 1e-6",
"assert abs(r0[1] - 947.4) < 1e-6",
"r1 = gear_ratio(0.25, 10000, 150)",
"assert abs(r1[0] - 6.28) < 1e-6",
"a... |
theo-eng-code-L1-code-009181 | 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": "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-002502 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 18, -0.02, 0.11, 0.5, 0.5, 1)",
"assert abs(r0[0] - 0.0607) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - 0.0097) < 1e-6",
"r1 = com_zmp(19, 26, -0.07, -... |
theo-eng-code-L3-code-015265 | 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(11, 7, 0.25)",
"assert abs(r0 - 8.19) < 1e-6",
"r1 = rms_torque(24, 3, 0.25)",
"assert abs(r1 - 12.28) < 1e-6",
"r2 = rms_torque(12, 3, 0.5)",
"assert abs(r2 - 8.75) < 1... |
theo-eng-code-L3-code-006933 | 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(2.9, 0.34, 60, 2.5, 4.0)",
"assert abs(r0[0] - 11.41) < 1e-6",
"assert abs(r0[1] - 0.4007) < 1e-6",
"assert abs(r0[2] - 13.01) < 1e-6",
"r1 = joint_torque(4.4, 0.18, 30,... |
theo-eng-code-L2-code-006875 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([140, 310, 230, 280], 5)",
"assert abs(r0 - 1.3333) < 1e-6",
"r1 = rect_energy([260, 220, 290, 460, 90], 10)",
"assert abs(r1 - 3.6667) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L3-code-015283 | 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.5, 50, 440, 0.7)",
"assert abs(r0[0] - 167.0) < 1e-6",
"assert abs(r0[1] - 2.69) < 1e-6",
"assert abs(r0[2] - 161.7) < 1e-6",
"r1 = runtime(1.0, 300, 110, 0.5)",
"ass... |
theo-eng-code-L2-code-000310 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([240, 70, 480, 160], 1)",
"assert abs(r0 - 0.2639) < 1e-6",
"r1 = rect_energy([360, 140, 280], 1)",
"assert abs(r1 - 0.2167) < 1e-6",
"r2 = rect_energy([110, 500,... |
theo-eng-code-L2-code-014494 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(80, [0, 25, 50, 75, 100], [0.8, 0.83, 0.87, 0.87, 0.81])",
"assert abs(r0 - 0.858) < 1e-6",
"r1 = interp_eff(75, [0, 25, 50, 75, 100], [0.74, 0.8, 0.9, 0.87, 0.84])",
"ass... |
theo-eng-code-L3-code-011501 | 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(69, 40, 0.75)",
"assert abs(r0 - 63.01) < 1e-6",
"r1 = rms_torque(59, 6, 0.25)",
"assert abs(r1 - 29.95) < 1e-6",
"r2 = rms_torque(100, 20, 0.25)",
"assert abs(r2 - 52.9... |
theo-eng-code-L2-code-011651 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([60, 430, 350], 10)",
"assert abs(r0 - 2.3333) < 1e-6",
"r1 = rect_energy([140, 200, 450, 280, 360], 1)",
"assert abs(r1 - 0.3972) < 1e-6",
"r2 = rect_energy([460... |
theo-eng-code-L3-code-013204 | 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(400, 60, 3.7, 10)",
"assert r0[0] == 108",
"assert r0[1] == 16",
"assert r0[2] == 1728",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 63.936) < 1e-6"
]... |
theo-eng-code-L3-code-008224 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 10, 3.6, 50)",
"assert r0[0] == 111",
"assert r0[1] == 1",
"assert r0[2] == 111",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 19.98) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-002961 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 40, 520, 0.5)",
"assert abs(r0[0] - 280.0) < 1e-6",
"assert abs(r0[1] - 3.21) < 1e-6",
"assert abs(r0[2] - 192.9) < 1e-6",
"r1 = runtime(1.0, 210, 340, 0.5)",
"a... |
theo-eng-code-L2-code-010200 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 6000, 100)",
"assert abs(r0[0] - 6.11) < 1e-6",
"assert abs(r0[1] - 982.4) < 1e-6",
"r1 = gear_ratio(0.28, 6500, 180)",
"assert abs(r1[0] - 3.81) < 1e-6",
"asse... |
theo-eng-code-L2-code-004227 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 4500, 180)",
"assert abs(r0[0] - 4.05) < 1e-6",
"assert abs(r0[1] - 1110.4) < 1e-6",
"r1 = gear_ratio(0.37, 14500, 100)",
"assert abs(r1[0] - 20.23) < 1e-6",
"a... |
theo-eng-code-L3-code-008581 | 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(5.8, 0.38, 90, 7.0, 1.5)",
"assert abs(r0[0] - 36.91) < 1e-6",
"assert abs(r0[1] - 1.29) < 1e-6",
"assert abs(r0[2] - 38.84) < 1e-6",
"r1 = joint_torque(2.9, 0.14, 30, 0... |
theo-eng-code-L2-code-010699 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.2, 0.9)",
"assert abs(r0[0] - 1.59) < 1e-6",
"assert abs(r0[1] - 95.5) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_tim... |
theo-eng-code-L2-code-007662 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "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-003347 | 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(75, 30, 0.75)",
"assert abs(r0 - 66.66) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L1-code-010876 | 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": "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-007160 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(46, 1600, 80, 0.25, 2.8, 0.009, 1.3, 0.92, 0.85)",
"assert abs(r0[0] - 318.3) < 1e-6",
"assert abs(r0[1] - 12.28) < 1e-6",
"assert abs(r0[2] - 9.83) < 1e-6",
"r1 = erange(69... |
theo-eng-code-L2-code-011292 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 110, 110, 0.5)",
"assert abs(r0[0] - 110.0) < 1e-6",
"assert abs(r0[1] - 1.64) < 1e-6",
"assert abs(r0[2] - 98.2) < 1e-6",
"r1 = runtime(0.1, 140, 90, 0.3)",
"as... |
theo-eng-code-L2-code-001682 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 9000, 150)",
"assert abs(r0[0] - 8.6) < 1e-6",
"assert abs(r0[1] - 1047.1) < 1e-6",
"r1 = gear_ratio(0.33, 4500, 180)",
"assert abs(r1[0] - 3.11) < 1e-6",
"asse... |
theo-eng-code-L3-code-012192 | 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.4, 14000, 180)",
"assert abs(r0[0] - 11.73) < 1e-6",
"assert abs(r0[1] - 1193.7) < 1e-6",
"r1 = gear_ratio(0.31, 9500, 180)",
"assert abs(r1[0] - 6.17) < 1e-6",
"asse... |
theo-eng-code-L2-code-009973 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(75, 28, 0.75)",
"assert abs(r0 - 66.44) < 1e-6",
"r1 = rms_torque(79, 14, 0.5)",
"assert abs(r1 - 56.73) < 1e-6",
"r2 = rms_torque(11, 5, 0.5)",
"assert abs(r2 - 8.54)... |
theo-eng-code-L1-code-000932 | 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_loop_sum",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-011976 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 16, -0.06, 0.13, 0.7, 0.7, 2)",
"assert abs(r0[0] - 0.0848) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - -0.0579) < 1e-6",
"r1 = com_zmp(5, 18, -0.08, 0.... |
theo-eng-code-L2-code-009719 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 5500, 150)",
"assert abs(r0[0] - 5.53) < 1e-6",
"assert abs(r0[1] - 994.7) < 1e-6",
"r1 = gear_ratio(0.39, 14500, 100)",
"assert abs(r1[0] - 21.32) < 1e-6",
"ass... |
theo-eng-code-L3-code-009159 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(34, 2590, 80, 0.31, 2.1, 0.007, 0.6, 0.94, 0.95)",
"assert abs(r0[0] - 273.2) < 1e-6",
"assert abs(r0[1] - 11.82) < 1e-6",
"assert abs(r0[2] - 9.46) < 1e-6",
"r1 = erange(72, ... |
theo-eng-code-L1-code-010886 | 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": "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-001351 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 80, 3.6, 5)",
"assert r0[0] == 139",
"assert r0[1] == 32",
"assert r0[2] == 4448",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 80.064) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-003970 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(74, 35, 0.75)",
"assert abs(r0 - 66.43) < 1e-6",
"r1 = rms_torque(14, 8, 0.5)",
"assert abs(r1 - 11.4) < 1e-6",
"r2 = rms_torque(27, 11, 0.75)",
"assert abs(r2 - 24.02... |
theo-eng-code-L3-code-004388 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(57, 1710, 100, 0.38, 2.5, 0.013, 1.0, 0.94, 0.85)",
"assert abs(r0[0] - 233.9) < 1e-6",
"assert abs(r0[1] - 20.71) < 1e-6",
"assert abs(r0[2] - 20.71) < 1e-6",
"r1 = erange(37... |
theo-eng-code-L2-code-007424 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 590, 0.5)",
"assert abs(r0[0] - 365.0) < 1e-6",
"assert abs(r0[1] - 0.25) < 1e-6",
"assert abs(r0[2] - 14.8) < 1e-6",
"r1 = runtime(0.5, 240, 390, 0.5)",
"a... |
theo-eng-code-L3-code-015414 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.7, 5)",
"assert r0[0] == 54",
"assert r0[1] == 41",
"assert r0[2] == 2214",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 40.959) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-003411 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([380, 500, 100], 10)",
"assert abs(r0 - 2.7222) < 1e-6",
"r1 = rect_energy([490, 400, 150], 5)",
"assert abs(r1 - 1.4444) < 1e-6",
"r2 = rect_energy([180, 380, 26... |
theo-eng-code-L2-code-002096 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.5, 3.5], [2.5, 5.0])",
"assert abs(r0 - 2.5) < 1e-6",
"r1 = seg_len([4.5, 1.0], [4.5, 1.5])",
"assert abs(r1 - 0.5) < 1e-6",
"r2 = seg_len([0.0, 4.0], [3.5, 0.5])",
... |
theo-eng-code-L2-code-010304 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([350, 410, 480], 1)",
"assert abs(r0 - 0.3444) < 1e-6",
"r1 = rect_energy([80, 500, 110], 1)",
"assert abs(r1 - 0.1917) < 1e-6",
"r2 = rect_energy([420, 500, 420,... |
theo-eng-code-L1-clarify-011358 | 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-002538 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-002454 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')",
"assert r0[0] == 20",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 50}')",
"assert r1[0] == 80",
"... |
theo-eng-code-L3-code-014881 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(61, 2630, 80, 0.33, 3.1, 0.007, 0.3, 0.92, 0.9)",
"assert abs(r0[0] - 361.9) < 1e-6",
"assert abs(r0[1] - 15.17) < 1e-6",
"assert abs(r0[2] - 12.14) < 1e-6",
"r1 = erange(88, ... |
theo-eng-code-L2-code-003237 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 5500, 100)",
"assert abs(r0[0] - 6.22) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.39, 4000, 100)",
"assert abs(r1[0] - 5.88) < 1e-6",
"asser... |
theo-eng-code-L2-code-010683 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 80, 3.2, 10)",
"assert r0[0] == 62",
"assert r0[1] == 41",
"assert r0[2] == 2542",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 81.344) < 1e-6",
"r1 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.