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-code-000503 | 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": "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-008671 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.7, 10)",
"assert r0[0] == 81",
"assert r0[1] == 27",
"assert r0[2] == 2187",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 80.919) < 1e-6"
],... |
theo-eng-code-L3-code-011734 | 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(3.6, 0.3, 90, 5.0, 3.0)",
"assert abs(r0[0] - 20.01) < 1e-6",
"assert abs(r0[1] - 0.558) < 1e-6",
"assert abs(r0[2] - 21.69) < 1e-6",
"r1 = joint_torque(2.6, 0.12, 45, 3... |
theo-eng-code-L3-code-003188 | 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(6.9, 0.45, 45, 1.0, 1.5)",
"assert abs(r0[0] - 13.89) < 1e-6",
"assert abs(r0[1] - 0.6683) < 1e-6",
"assert abs(r0[2] - 14.89) < 1e-6",
"r1 = joint_torque(1.7, 0.58, 30,... |
theo-eng-code-L3-code-009658 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 22, 0.1, 0.9)",
"assert abs(r0[0] - 2.73) < 1e-6",
"assert abs(r0[1] - 163.6) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
theo-eng-code-L2-code-007149 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 260, 570, 0.5)",
"assert abs(r0[0] - 415.0) < 1e-6",
"assert abs(r0[1] - 1.08) < 1e-6",
"assert abs(r0[2] - 65.1) < 1e-6",
"r1 = runtime(0.5, 150, 460, 0.7)",
"a... |
theo-eng-code-L3-code-011508 | 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.0, 0.33, 90, 3.5, 0.5)",
"assert abs(r0[0] - 22.66) < 1e-6",
"assert abs(r0[1] - 0.6353) < 1e-6",
"assert abs(r0[2] - 22.98) < 1e-6",
"r1 = joint_torque(6.2, 0.49, 45,... |
theo-eng-code-L2-code-001083 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.26, 8500, 100)",
"assert abs(r0[0] - 8.33) < 1e-6",
"assert abs(r0[1] - 1020.2) < 1e-6",
"r1 = gear_ratio(0.25, 7500, 150)",
"assert abs(r1[0] - 4.71) < 1e-6",
"ass... |
theo-eng-code-L1-refuse-010247 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-002819 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 22, 0.0, 0.02, 0.3, 0.4, 1)",
"assert abs(r0[0] - 0.0129) < 1e-6",
"assert abs(r0[1] - 0.3647) < 1e-6",
"assert abs(r0[2] - -0.0242) < 1e-6",
"r1 = com_zmp(17, 14, -0.03,... |
theo-eng-code-L2-code-011539 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 50, 0.1, 0.9)",
"assert abs(r0[0] - 0.8) < 1e-6",
"assert abs(r0[1] - 48.0) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-007845 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 3, 0.25)",
"assert abs(r0 - 7.94) < 1e-6",
"r1 = rms_torque(13, 3, 0.75)",
"assert abs(r1 - 11.36) < 1e-6",
"r2 = rms_torque(34, 29, 0.25)",
"assert abs(r2 - 30.33... |
theo-eng-code-L3-code-009095 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.4, 7000, 100)",
"assert abs(r0[0] - 10.56) < 1e-6",
"assert abs(r0[1] - 663.1) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L3-code-007363 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 160, 490, 0.5)",
"assert abs(r0[0] - 325.0) < 1e-6",
"assert abs(r0[1] - 0.55) < 1e-6",
"assert abs(r0[2] - 33.2) < 1e-6",
"r1 = runtime(0.2, 90, 290, 0.3)",
"asse... |
theo-eng-code-L3-code-001779 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 40, 3.7, 100)",
"assert r0[0] == 81",
"assert r0[1] == 2",
"assert r0[2] == 162",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 59.94) < 1e-6"
],
... |
theo-eng-code-L2-code-013676 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 17, -0.07, 0.13, 0.7, 0.8, 0)",
"assert abs(r0[0] - 0.0271) < 1e-6",
"assert abs(r0[1] - 0.7486) < 1e-6",
"assert abs(r0[2] - 0.0271) < 1e-6",
"r1 = com_zmp(18, 15, -0.09... |
theo-eng-code-L2-code-003294 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 60, 3.6, 100)",
"assert r0[0] == 111",
"assert r0[1] == 2",
"assert r0[2] == 222",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-006117 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 15, 0.01, 0.09, 0.7, 0.6, 2)",
"assert abs(r0[0] - 0.0529) < 1e-6",
"assert abs(r0[1] - 0.6464) < 1e-6",
"assert abs(r0[2] - -0.0789) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L1-clarify-011811 | 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-008205 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([33, 29, 42, 93, 70, 89])",
"assert abs(r0[0] - 59.333) < 1e-6",
"assert abs(r0[1] - 28.43) < 1e-6",
"r1 = summarise([36, 14, 26, 16, 54, 40])",
"assert r1[0] == 31"... |
theo-eng-code-L2-code-014175 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 40, 3.7, 100)",
"assert r0[0] == 108",
"assert r0[1] == 2",
"assert r0[2] == 216",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-015701 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 20, 3.6, 100)",
"assert r0[0] == 56",
"assert r0[1] == 1",
"assert r0[2] == 56",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 20.16) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-007997 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-clarify-008713 | 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": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-007428 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.3, 10500, 120)",
"assert abs(r0[0] - 9.9) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-012115 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([350, 370, 430], 1)",
"assert abs(r0 - 0.3194) < 1e-6",
"r1 = rect_energy([290, 170, 80], 1)",
"assert abs(r1 - 0.15) < 1e-6",
"r2 = rect_energy([180, 500, 160, 5... |
theo-eng-code-L2-code-010042 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.0, 0.0], [3.0, 4.0])",
"assert abs(r0 - 4.4721) < 1e-6",
"r1 = seg_len([4.0, 2.0], [2.5, 1.5])",
"assert abs(r1 - 1.5811) < 1e-6",
"r2 = seg_len([0.0, 2.5], [1.0, 5.0]... |
theo-eng-code-L1-code-013137 | 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": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-000777 | 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(8, 21, 0.07, 0.14, 0.9, 0.4, 0)",
"assert abs(r0[0] - 0.1207) < 1e-6",
"assert abs(r0[1] - 0.5379) < 1e-6",
"assert abs(r0[2] - 0.1207) < 1e-6",
"r1 = com_zmp(14, 18, 0.1, 0.13... |
theo-eng-code-L3-code-000994 | 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(73, 16, 0.75)",
"assert abs(r0 - 63.72) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-006466 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([45, 86, 68, 22])",
"assert abs(r0[0] - 55.25) < 1e-6",
"assert abs(r0[1] - 27.801) < 1e-6",
"r1 = summarise([69, 77, 88, 97, 39, 39])",
"assert abs(r1[0] - 68.167) ... |
theo-eng-code-L2-code-012782 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-code-013233 | 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-008397 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(55, [0, 25, 50, 75, 100], [0.77, 0.82, 0.86, 0.89, 0.8])",
"assert abs(r0 - 0.866) < 1e-6",
"r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.8, 0.8, 0.88, 0.86, 0.8])",
"asse... |
theo-eng-code-L2-code-013079 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(50, [0, 25, 50, 75, 100], [0.79, 0.81, 0.89, 0.88, 0.85])",
"assert abs(r0 - 0.89) < 1e-6",
"r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.75, 0.82, 0.86, 0.85, 0.81])",
"a... |
theo-eng-code-L2-code-012248 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([320, 310, 330, 210, 380], 5)",
"assert abs(r0 - 2.1528) < 1e-6",
"r1 = rect_energy([50, 420, 150, 420, 160], 2)",
"assert abs(r1 - 0.6667) < 1e-6",
"r2 = rect_en... |
theo-eng-code-L2-code-009875 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.45, 8500, 150)",
"assert abs(r0[0] - 9.61) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.37, 8000, 180)",
"assert abs(r1[0] - 6.2) < 1e-6",
"asser... |
theo-eng-code-L2-code-012157 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-015063 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.28, 6000, 120)",
"assert abs(r0[0] - 5.28) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.4, 12000, 100)",
"assert abs(r1[0] - 18.1) < 1e-6",
"ass... |
theo-eng-code-L2-code-002841 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, 1930, 80, 0.26, 2.1, 0.012, 1.2, 0.9, 0.95)",
"assert abs(r0[0] - 174.5) < 1e-6",
"assert abs(r0[1] - 13.61) < 1e-6",
"assert abs(r0[2] - 10.89) < 1e-6",
"r1 = erange(96... |
theo-eng-code-L1-code-004725 | 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_modulo",
"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-003205 | 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(19, 10, 0.5)",
"assert abs(r0 - 15.18) < 1e-6",
"r1 = rms_torque(7, 3, 0.5)",
"assert abs(r1 - 5.39) < 1e-6",
"r2 = rms_torque(86, 2, 0.5)",
"assert abs(r2 - 60.83) < 1e... |
theo-eng-code-L2-code-008064 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([55, 95, 66, 39, 31])",
"assert abs(r0[0] - 57.2) < 1e-6",
"assert abs(r0[1] - 25.144) < 1e-6",
"r1 = summarise([20, 20, 42, 13, 23, 99])",
"assert abs(r1[0] - 36.16... |
theo-eng-code-L2-code-011613 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.26, 10000, 150)",
"assert abs(r0[0] - 6.53) < 1e-6",
"assert abs(r0[1] - 1530.3) < 1e-6",
"r1 = gear_ratio(0.3, 8000, 100)",
"assert abs(r1[0] - 9.05) < 1e-6",
"ass... |
theo-eng-code-L1-clarify-000357 | 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": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-006911 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(15, [0, 25, 50, 75, 100], [0.75, 0.82, 0.86, 0.85, 0.85])",
"assert abs(r0 - 0.792) < 1e-6",
"r1 = interp_eff(50, [0, 25, 50, 75, 100], [0.7, 0.82, 0.9, 0.89, 0.84])",
"as... |
theo-eng-code-L2-code-000237 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_prodloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-013265 | 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(14, 26, 0.06, 0.0, 0.6, 0.3, 2)",
"assert abs(r0[0] - 0.021) < 1e-6",
"assert abs(r0[1] - 0.405) < 1e-6",
"assert abs(r0[2] - -0.0616) < 1e-6",
"r1 = com_zmp(12, 21, 0.1, -0.02... |
theo-eng-code-L1-code-004666 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_cond",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-015199 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(30, [0, 25, 50, 75, 100], [0.76, 0.81, 0.87, 0.88, 0.85])",
"assert abs(r0 - 0.822) < 1e-6",
"r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.7, 0.84, 0.85, 0.88, 0.8])",
"as... |
theo-eng-code-L2-code-007667 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 300, 450, 0.3)",
"assert abs(r0[0] - 405.0) < 1e-6",
"assert abs(r0[1] - 1.11) < 1e-6",
"assert abs(r0[2] - 66.7) < 1e-6",
"r1 = runtime(0.5, 230, 280, 0.7)",
"a... |
theo-eng-code-L3-code-002374 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.31, 15000, 180)",
"assert abs(r0[0] - 9.74) < 1e-6",
"assert abs(r0[1] - 1540.2) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L2-code-015576 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([70, 71, 97, 16, 75])",
"assert abs(r0[0] - 65.8) < 1e-6",
"assert abs(r0[1] - 29.928) < 1e-6",
"r1 = summarise([89, 12, 13, 21])",
"assert abs(r1[0] - 33.75) < 1e-6... |
theo-eng-code-L3-code-010008 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 120, 420, 0.3)",
"assert abs(r0[0] - 330.0) < 1e-6",
"assert abs(r0[1] - 1.36) < 1e-6",
"assert abs(r0[2] - 81.8) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L2-code-002059 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-009669 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([66, 66, 27, 25, 16])",
"assert r0[0] == 40",
"assert abs(r0[1] - 24.094) < 1e-6",
"r1 = summarise([40, 82, 72, 61])",
"assert abs(r1[0] - 63.75) < 1e-6",
"asser... |
theo-eng-code-L2-code-012875 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 1730, 60, 0.27, 2.3, 0.013, 1.5, 0.94, 0.9)",
"assert abs(r0[0] - 333.6) < 1e-6",
"assert abs(r0[1] - 12.14) < 1e-6",
"assert abs(r0[2] - 7.29) < 1e-6",
"r1 = erange(21,... |
theo-eng-code-L3-code-014618 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 18, 0.09, 0.0, 0.5, 0.5, 0.5)",
"assert abs(r0[0] - 0.036) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - 0.0105) < 1e-6",
"r1 = com_zmp(14, 11, 0.07, 0.05,... |
theo-eng-code-L3-code-004462 | 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(78, 1840, 120, 0.29, 2.8, 0.008, 0.7, 0.9, 0.9)",
"assert abs(r0[0] - 317.7) < 1e-6",
"assert abs(r0[1] - 22.1) < 1e-6",
"assert abs(r0[2] - 26.52) < 1e-6",
"r1 = erange(36, 1... |
theo-eng-code-L3-code-001510 | 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, 190, 500, 0.3)",
"assert abs(r0[0] - 407.0) < 1e-6",
"assert abs(r0[1] - 0.22) < 1e-6",
"assert abs(r0[2] - 13.3) < 1e-6",
"r1 = runtime(1.0, 250, 540, 0.3)",
"ass... |
theo-eng-code-L3-code-000038 | 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(9, 10, -0.04, -0.04, 0.8, 0.5, 0.5)",
"assert abs(r0[0] - -0.04) < 1e-6",
"assert abs(r0[1] - 0.6421) < 1e-6",
"assert abs(r0[2] - -0.0727) < 1e-6"
],
"subtask": "writet... |
theo-eng-code-L2-code-001965 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.33, 8000, 180)",
"assert abs(r0[0] - 5.53) < 1e-6",
"assert abs(r0[1] - 1446.9) < 1e-6",
"r1 = gear_ratio(0.35, 7000, 180)",
"assert abs(r1[0] - 5.13) < 1e-6",
"ass... |
theo-eng-code-L2-code-000122 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.1, 0.9)",
"assert abs(r0[0] - 2.86) < 1e-6",
"assert abs(r0[1] - 171.4) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-007738 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.9, 0.16, 90, 1.0, 0.0)",
"assert abs(r0[0] - 6.2) < 1e-6",
"assert abs(r0[1] - 0.0759) < 1e-6",
"assert abs(r0[2] - 6.2) < 1e-6",
"r1 = joint_torque(6.6, 0.22, 30, 4... |
theo-eng-code-L1-clarify-002001 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-007620 | 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.29, 10000, 100)",
"assert abs(r0[0] - 10.93) < 1e-6",
"assert abs(r0[1] - 914.7) < 1e-6",
"r1 = gear_ratio(0.27, 6500, 150)",
"assert abs(r1[0] - 4.41) < 1e-6",
"asse... |
theo-eng-code-L2-code-013066 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 60, 3.6, 2.5)",
"assert r0[0] == 222",
"assert r0[1] == 31",
"assert r0[2] == 6882",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 61.938) < 1e-6",
"r... |
theo-eng-code-L2-code-007714 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 90, 530, 0.5)",
"assert abs(r0[0] - 310.0) < 1e-6",
"assert abs(r0[1] - 2.9) < 1e-6",
"assert abs(r0[2] - 174.2) < 1e-6",
"r1 = runtime(0.5, 190, 150, 0.5)",
"as... |
theo-eng-code-L2-code-011398 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "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-012361 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 50, 0.2, 1.0)",
"assert abs(r0[0] - 0.4) < 1e-6",
"assert abs(r0[1] - 24.0) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-014513 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.2, 0.8)",
"assert abs(r0[0] - 2.14) < 1e-6",
"assert abs(r0[1] - 128.6) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L3-code-006450 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.28, 6000, 120)",
"assert abs(r0[0] - 5.28) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L1-code-010619 | 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": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-007457 | 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, 80, 3.7, 100)",
"assert r0[0] == 54",
"assert r0[1] == 5",
"assert r0[2] == 270",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 99.9) < 1e-6"
],
... |
theo-eng-code-L3-code-004477 | 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(40, 7, 0.1, 0.9)",
"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(2... |
theo-eng-code-L2-code-013688 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([12, 72, 80, 41, 18])",
"assert abs(r0[0] - 44.6) < 1e-6",
"assert abs(r0[1] - 30.77) < 1e-6",
"r1 = summarise([20, 91, 13, 32, 72, 68])",
"assert abs(r1[0] - 49.333... |
theo-eng-code-L2-code-001251 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 10, 3.7, 2.5)",
"assert r0[0] == 216",
"assert r0[1] == 6",
"assert r0[2] == 1296",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 11.988) < 1e-6",
"r1... |
theo-eng-code-L3-code-000658 | 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(40, 150, 0.2, 0.9)",
"assert abs(r0[0] - 0.29) < 1e-6",
"assert abs(r0[1] - 17.5) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert abs(r0[3] - 120.0) < 1e-6"
... |
theo-eng-code-L2-code-001989 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.2, 0.12, 30, 3.0, 3.5)",
"assert abs(r0[0] - 2.41) < 1e-6",
"assert abs(r0[1] - 0.0538) < 1e-6",
"assert abs(r0[2] - 2.6) < 1e-6",
"r1 = joint_torque(6.8, 0.27, 30, ... |
theo-eng-code-L1-clarify-002866 | 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": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-006435 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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], [4.0, 0.0])",
"assert abs(r0 - 2.0) < 1e-6",
"r1 = seg_len([3.0, 3.0], [4.0, 3.0])",
"assert abs(r1 - 1.0) < 1e-6",
"r2 = seg_len([3.5, 2.5], [2.5, 3.5])",
... |
theo-eng-code-L2-code-000593 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 7, 0.2, 0.9)",
"assert abs(r0[0] - 5.0) < 1e-6",
"assert abs(r0[1] - 300.0) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L2-code-003490 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.8, 0.36, 60, 1.5, 1.5)",
"assert abs(r0[0] - 16.52) < 1e-6",
"assert abs(r0[1] - 0.5314) < 1e-6",
"assert abs(r0[2] - 17.31) < 1e-6",
"r1 = joint_torque(3.7, 0.51, 4... |
theo-eng-code-L3-code-013461 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(95, 2450, 60, 0.33, 2.7, 0.011, 0.8, 0.9, 0.85)",
"assert abs(r0[0] - 569.8) < 1e-6",
"assert abs(r0[1] - 14.17) < 1e-6",
"assert abs(r0[2] - 8.5) < 1e-6",
"r1 = erange(21, 24... |
theo-eng-code-L3-code-013622 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 10, -0.08, -0.02, 0.7, 0.3, 2)",
"assert abs(r0[0] - -0.0586) < 1e-6",
"assert abs(r0[1] - 0.5571) < 1e-6",
"assert abs(r0[2] - -0.1722) < 1e-6",
"r1 = com_zmp(17, 25, 0.06... |
theo-eng-code-L3-code-015338 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 23, -0.08, 0.06, 0.9, 0.5, 0.5)",
"assert abs(r0[0] - -0.0015) < 1e-6",
"assert abs(r0[1] - 0.6756) < 1e-6",
"assert abs(r0[2] - -0.0359) < 1e-6",
"r1 = com_zmp(8, 22, -0.0... |
theo-eng-code-L2-code-011075 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.0, 1.0], [1.5, 1.0])",
"assert abs(r0 - 0.5) < 1e-6",
"r1 = seg_len([5.0, 3.0], [4.5, 1.5])",
"assert abs(r1 - 1.5811) < 1e-6",
"r2 = seg_len([0.0, 0.5], [1.5, 3.5])",... |
theo-eng-code-L2-code-012202 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(51, 25, 0.75)",
"assert abs(r0 - 45.9) < 1e-6",
"r1 = rms_torque(100, 32, 0.5)",
"assert abs(r1 - 74.24) < 1e-6",
"r2 = rms_torque(29, 2, 0.75)",
"assert abs(r2 - 25.1... |
theo-eng-code-L2-code-001862 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 260, 300, 0.5)",
"assert abs(r0[0] - 280.0) < 1e-6",
"assert abs(r0[1] - 0.64) < 1e-6",
"assert abs(r0[2] - 38.6) < 1e-6",
"r1 = runtime(1.0, 180, 280, 0.7)",
"a... |
theo-eng-code-L3-code-003593 | 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(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",
"r1 = charge_time(20... |
theo-eng-code-L2-code-000007 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.0, 0.58, 30, 8.0, 1.0)",
"assert abs(r0[0] - 28.45) < 1e-6",
"assert abs(r0[1] - 3.1397) < 1e-6",
"assert abs(r0[2] - 31.59) < 1e-6",
"r1 = joint_torque(7.8, 0.45, 9... |
theo-eng-code-L2-code-001481 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.33, 5500, 120)",
"assert abs(r0[0] - 5.7) < 1e-6",
"assert abs(r0[1] - 964.6) < 1e-6",
"r1 = gear_ratio(0.37, 7000, 180)",
"assert abs(r1[0] - 5.42) < 1e-6",
"asser... |
theo-eng-code-L3-code-010608 | 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(800, 40, 3.6, 2.5)",
"assert r0[0] == 222",
"assert r0[1] == 21",
"assert r0[2] == 4662",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 41.958) < 1e-6",
"r1 ... |
theo-eng-code-L3-code-009194 | 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(10, 28, -0.03, -0.03, 0.8, 0.9, 2)",
"assert abs(r0[0] - -0.03) < 1e-6",
"assert abs(r0[1] - 0.8737) < 1e-6",
"assert abs(r0[2] - -0.2081) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L3-code-010853 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.1, 1.0)",
"assert abs(r0[0] - 2.05) < 1e-6",
"assert abs(r0[1] - 122.7) < 1e-6",
"assert abs(r0[2] - 18.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L3-code-007143 | 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.4, 0.36, 60, 4.0, 0.5)",
"assert abs(r0[0] - 20.49) < 1e-6",
"assert abs(r0[1] - 0.7517) < 1e-6",
"assert abs(r0[2] - 20.87) < 1e-6",
"r1 = joint_torque(2.2, 0.27, 90,... |
theo-eng-code-L2-code-004037 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 120, 480, 0.5)",
"assert abs(r0[0] - 300.0) < 1e-6",
"assert abs(r0[1] - 0.3) < 1e-6",
"assert abs(r0[2] - 18.0) < 1e-6",
"r1 = runtime(0.5, 50, 280, 0.3)",
"ass... |
theo-eng-code-L3-code-008878 | 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(5, 18, -0.1, 0.08, 0.5, 0.8, 0)",
"assert abs(r0[0] - 0.0409) < 1e-6",
"assert abs(r0[1] - 0.7348) < 1e-6",
"assert abs(r0[2] - 0.0409) < 1e-6"
],
"subtask": "writetests... |
theo-eng-code-L3-code-000954 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 9000, 180)",
"assert abs(r0[0] - 5.47) < 1e-6",
"assert abs(r0[1] - 1646.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L3-code-006844 | 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.26, 11500, 100)",
"assert abs(r0[0] - 11.27) < 1e-6",
"assert abs(r0[1] - 1020.2) < 1e-6",
"r1 = gear_ratio(0.36, 12000, 120)",
"assert abs(r1[0] - 13.57) < 1e-6",
"a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.