id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L1-clarify-004683 | 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": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-clarify-009762 | 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-008377 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 210, 560, 0.5)",
"assert abs(r0[0] - 385.0) < 1e-6",
"assert abs(r0[1] - 0.47) < 1e-6",
"assert abs(r0[2] - 28.1) < 1e-6",
"r1 = runtime(1.0, 170, 370, 0.5)",
"a... |
theo-eng-code-L2-code-011268 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 80, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 65",
"assert r0[2] == 10140",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 81.12) < 1e-6",
"r... |
theo-eng-code-L2-code-011726 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(72, 2190, 60, 0.36, 1.9, 0.007, 0.4, 0.92, 0.95)",
"assert abs(r0[0] - 784.3) < 1e-6",
"assert abs(r0[1] - 8.72) < 1e-6",
"assert abs(r0[2] - 5.23) < 1e-6",
"r1 = erange(68,... |
theo-eng-code-L3-code-011468 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 60, 3.6, 50)",
"assert r0[0] == 111",
"assert r0[1] == 4",
"assert r0[2] == 444",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-005381 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 60, 3.7, 2.5)",
"assert r0[0] == 135",
"assert r0[1] == 49",
"assert r0[2] == 6615",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 61.189) < 1e-6"
... |
theo-eng-code-L3-code-012602 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(50, 11, 0.75)",
"assert abs(r0 - 43.65) < 1e-6",
"r1 = rms_torque(49, 23, 0.25)",
"assert abs(r1 - 31.58) < 1e-6",
"r2 = rms_torque(93, 19, 0.5)",
"assert abs(r2 - 67.12... |
theo-eng-code-L2-code-004034 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.28, 7500, 100)",
"assert abs(r0[0] - 7.92) < 1e-6",
"assert abs(r0[1] - 947.4) < 1e-6",
"r1 = gear_ratio(0.41, 14500, 120)",
"assert abs(r1[0] - 18.68) < 1e-6",
"as... |
theo-eng-code-L3-code-013122 | 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(80, 11, 0.2, 0.8)",
"assert abs(r0[0] - 5.45) < 1e-6",
"assert abs(r0[1] - 327.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 11"
],
"subtask... |
theo-eng-code-L3-code-003044 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.5, 0.6, 30, 7.0, 2.0)",
"assert abs(r0[0] - 28.69) < 1e-6",
"assert abs(r0[1] - 3.18) < 1e-6",
"assert abs(r0[2] - 35.05) < 1e-6",
"r1 = joint_torque(2.5, 0.24, 90, 5.... |
theo-eng-code-L3-code-013555 | 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.2, 190, 490, 0.7)",
"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(0.5, 70, 490, 0.3)",
"asse... |
theo-eng-code-L2-code-002565 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(14, 9, 0.25)",
"assert abs(r0 - 10.48) < 1e-6",
"r1 = rms_torque(17, 17, 0.25)",
"assert abs(r1 - 17.0) < 1e-6",
"r2 = rms_torque(92, 38, 0.5)",
"assert abs(r2 - 70.38... |
theo-eng-code-L2-code-010593 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 10, 3.2, 50)",
"assert r0[0] == 125",
"assert r0[1] == 1",
"assert r0[2] == 125",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 20.0) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-012766 | 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-L2-code-000275 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 40, 3.6, 10)",
"assert r0[0] == 222",
"assert r0[1] == 6",
"assert r0[2] == 1332",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 47.952) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-001683 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.9, 0.17, 30, 1.0, 0.5)",
"assert abs(r0[0] - 4.13) < 1e-6",
"assert abs(r0[1] - 0.105) < 1e-6",
"assert abs(r0[2] - 4.18) < 1e-6",
"r1 = joint_torque(4.0, 0.55, 30, ... |
theo-eng-code-L3-code-001223 | 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, 7, 0.2, 0.8)",
"assert abs(r0[0] - 6.43) < 1e-6",
"assert abs(r0[1] - 385.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(2... |
theo-eng-code-L2-code-010831 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 6000, 180)",
"assert abs(r0[0] - 3.39) < 1e-6",
"assert abs(r0[1] - 1768.4) < 1e-6",
"r1 = gear_ratio(0.27, 9500, 180)",
"assert abs(r1[0] - 5.37) < 1e-6",
"ass... |
theo-eng-code-L2-code-011536 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(33, 2570, 80, 0.26, 2.0, 0.011, 0.6, 0.88, 0.85)",
"assert abs(r0[0] - 193.9) < 1e-6",
"assert abs(r0[1] - 14.47) < 1e-6",
"assert abs(r0[2] - 11.58) < 1e-6",
"r1 = erange(2... |
theo-eng-code-L1-clarify-001240 | 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-L3-code-006300 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 26, -0.01, 0.03, 0.9, 0.4, 1)",
"assert abs(r0[0] - 0.0197) < 1e-6",
"assert abs(r0[1] - 0.5286) < 1e-6",
"assert abs(r0[2] - -0.0342) < 1e-6",
"r1 = com_zmp(20, 26, 0.03, -... |
theo-eng-code-L3-code-014826 | 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(12, 18, 0.0, 0.02, 0.8, 0.5, 1)",
"assert abs(r0[0] - 0.012) < 1e-6",
"assert abs(r0[1] - 0.62) < 1e-6",
"assert abs(r0[2] - -0.0512) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L1-code-010961 | 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": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-clarify-003177 | 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": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-002140 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([90, 280, 440, 430], 1)",
"assert abs(r0 - 0.3444) < 1e-6",
"r1 = rect_energy([70, 340, 320], 5)",
"assert abs(r1 - 1.0139) < 1e-6",
"r2 = rect_energy([60, 470, 6... |
theo-eng-code-L3-code-011511 | 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(80, 11, 0.1, 0.8)",
"assert abs(r0[0] - 6.36) < 1e-6",
"assert abs(r0[1] - 381.8) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 11"
],
"subtask... |
theo-eng-code-L2-code-009752 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 130, 240, 0.3)",
"assert abs(r0[0] - 207.0) < 1e-6",
"assert abs(r0[1] - 4.35) < 1e-6",
"assert abs(r0[2] - 260.9) < 1e-6",
"r1 = runtime(1.0, 160, 80, 0.5)",
"a... |
theo-eng-code-L3-code-003930 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 23, -0.05, 0.05, 0.4, 0.9, 0.5)",
"assert abs(r0[0] - 0.0242) < 1e-6",
"assert abs(r0[1] - 0.771) < 1e-6",
"assert abs(r0[2] - -0.0151) < 1e-6",
"r1 = com_zmp(16, 14, -0.04,... |
theo-eng-code-L2-code-000066 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(94, 4, 0.5)",
"assert abs(r0 - 66.53) < 1e-6",
"r1 = rms_torque(96, 2, 0.25)",
"assert abs(r1 - 48.03) < 1e-6",
"r2 = rms_torque(5, 3, 0.75)",
"assert abs(r2 - 4.58) <... |
theo-eng-code-L3-code-007369 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 60, 3.6, 2.5)",
"assert r0[0] == 111",
"assert r0[1] == 61",
"assert r0[2] == 6771",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 60.939) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-015590 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.5, 1.5], [4.0, 5.0])",
"assert abs(r0 - 3.8079) < 1e-6",
"r1 = seg_len([2.5, 1.0], [4.0, 3.5])",
"assert abs(r1 - 2.9155) < 1e-6",
"r2 = seg_len([1.5, 2.0], [2.0, 0.0]... |
theo-eng-code-L2-code-003725 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 11, 0.1, 1.0)",
"assert abs(r0[0] - 6.14) < 1e-6",
"assert abs(r0[1] - 368.2) < 1e-6",
"assert abs(r0[2] - 54.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L3-code-014012 | 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.37, 6500, 150)",
"assert abs(r0[0] - 6.04) < 1e-6",
"assert abs(r0[1] - 1075.4) < 1e-6",
"r1 = gear_ratio(0.28, 14500, 120)",
"assert abs(r1[0] - 12.75) < 1e-6",
"ass... |
theo-eng-code-L2-code-007807 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(70, [0, 25, 50, 75, 100], [0.73, 0.83, 0.87, 0.85, 0.82])",
"assert abs(r0 - 0.854) < 1e-6",
"r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.74, 0.85, 0.86, 0.85, 0.84])",
"... |
theo-eng-code-L2-code-010741 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 20, 3.2, 10)",
"assert r0[0] == 250",
"assert r0[1] == 3",
"assert r0[2] == 750",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 24.0) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-013727 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 160, 600, 0.5)",
"assert abs(r0[0] - 380.0) < 1e-6",
"assert abs(r0[1] - 2.37) < 1e-6",
"assert abs(r0[2] - 142.1) < 1e-6",
"r1 = runtime(1.0, 70, 90, 0.3)",
"asse... |
theo-eng-code-L2-code-002818 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 10, 0.03, -0.03, 0.3, 0.8, 1)",
"assert abs(r0[0] - 0.005) < 1e-6",
"assert abs(r0[1] - 0.5083) < 1e-6",
"assert abs(r0[2] - -0.0468) < 1e-6",
"r1 = com_zmp(14, 28, 0.03,... |
theo-eng-code-L2-code-011641 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.5, 1.0], [2.0, 0.0])",
"assert abs(r0 - 1.118) < 1e-6",
"r1 = seg_len([0.5, 4.5], [2.5, 4.0])",
"assert abs(r1 - 2.0616) < 1e-6",
"r2 = seg_len([3.5, 2.5], [1.0, 4.0])... |
theo-eng-code-L2-code-012084 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(55, [0, 25, 50, 75, 100], [0.7, 0.82, 0.89, 0.88, 0.81])",
"assert abs(r0 - 0.888) < 1e-6",
"r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.78, 0.82, 0.85, 0.9, 0.84])",
"as... |
theo-eng-code-L2-code-001994 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.0, 4.5], [2.0, 3.5])",
"assert abs(r0 - 2.2361) < 1e-6",
"r1 = seg_len([3.5, 2.5], [0.0, 0.0])",
"assert abs(r1 - 4.3012) < 1e-6",
"r2 = seg_len([2.0, 3.0], [0.5, 0.0]... |
theo-eng-code-L2-code-007176 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(30, [0, 25, 50, 75, 100], [0.78, 0.82, 0.89, 0.87, 0.85])",
"assert abs(r0 - 0.834) < 1e-6",
"r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.77, 0.85, 0.89, 0.88, 0.83])",
"... |
theo-eng-code-L2-code-001917 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 50, 0.2, 0.8)",
"assert abs(r0[0] - 0.6) < 1e-6",
"assert abs(r0[1] - 36.0) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-000360 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 20, 3.2, 100)",
"assert r0[0] == 156",
"assert r0[1] == 1",
"assert r0[2] == 156",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 49.92) < 1e-6",
"r1 =... |
theo-eng-code-L1-clarify-002519 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-015808 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.2, 0.6, 45, 1.0, 4.0)",
"assert abs(r0[0] - 17.06) < 1e-6",
"assert abs(r0[1] - 1.104) < 1e-6",
"assert abs(r0[2] - 21.48) < 1e-6",
"r1 = joint_torque(3.5, 0.26, 30,... |
theo-eng-code-L3-code-000078 | 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, 160, 320, 0.5)",
"assert abs(r0[0] - 240.0) < 1e-6",
"assert abs(r0[1] - 1.88) < 1e-6",
"assert abs(r0[2] - 112.5) < 1e-6",
"r1 = runtime(1.0, 60, 350, 0.7)",
"ass... |
theo-eng-code-L3-code-001750 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 29, -0.06, 0.14, 0.7, 0.6, 0.5)",
"assert abs(r0[0] - 0.1057) < 1e-6",
"assert abs(r0[1] - 0.6171) < 1e-6",
"assert abs(r0[2] - 0.0743) < 1e-6",
"r1 = com_zmp(18, 21, 0.02, ... |
theo-eng-code-L1-code-000966 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-001532 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(97, 1720, 80, 0.24, 2.3, 0.008, 0.9, 0.92, 0.95)",
"assert abs(r0[0] - 899.7) < 1e-6",
"assert abs(r0[1] - 10.24) < 1e-6",
"assert abs(r0[2] - 8.19) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-005394 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 26, -0.05, -0.02, 0.8, 0.4, 2)",
"assert abs(r0[0] - -0.0283) < 1e-6",
"assert abs(r0[1] - 0.5111) < 1e-6",
"assert abs(r0[2] - -0.1325) < 1e-6",
"r1 = com_zmp(7, 22, 0.0... |
theo-eng-code-L2-code-011899 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.5, 2.0], [3.5, 0.5])",
"assert abs(r0 - 2.5) < 1e-6",
"r1 = seg_len([4.5, 0.5], [4.5, 3.5])",
"assert abs(r1 - 3.0) < 1e-6",
"r2 = seg_len([1.0, 1.5], [4.5, 0.5])",
... |
theo-eng-code-L2-code-008913 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(12, 2, 0.75)",
"assert abs(r0 - 10.44) < 1e-6",
"r1 = rms_torque(22, 21, 0.5)",
"assert abs(r1 - 21.51) < 1e-6",
"r2 = rms_torque(80, 14, 0.5)",
"assert abs(r2 - 57.43... |
theo-eng-code-L2-code-008527 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 260, 70, 0.3)",
"assert abs(r0[0] - 127.0) < 1e-6",
"assert abs(r0[1] - 1.42) < 1e-6",
"assert abs(r0[2] - 85.0) < 1e-6",
"r1 = runtime(0.5, 150, 110, 0.3)",
"as... |
theo-eng-code-L2-code-001695 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.5, 2.5], [2.5, 5.0])",
"assert abs(r0 - 2.5) < 1e-6",
"r1 = seg_len([3.5, 3.0], [1.0, 1.0])",
"assert abs(r1 - 3.2016) < 1e-6",
"r2 = seg_len([5.0, 5.0], [4.0, 1.5])",... |
theo-eng-code-L2-code-013349 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(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",
"r1 ... |
theo-eng-code-L3-code-000080 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(7, 22, 0.02, -0.01, 0.8, 0.6, 1)",
"assert abs(r0[0] - -0.0028) < 1e-6",
"assert abs(r0[1] - 0.6483) < 1e-6",
"assert abs(r0[2] - -0.0688) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L2-code-013687 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.5, 0.54, 90, 6.0, 1.5)",
"assert abs(r0[0] - 46.35) < 1e-6",
"assert abs(r0[1] - 2.2842) < 1e-6",
"assert abs(r0[2] - 49.78) < 1e-6",
"r1 = joint_torque(7.7, 0.1, 90... |
theo-eng-code-L2-code-003680 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 150, 0.1, 0.9)",
"assert abs(r0[0] - 0.67) < 1e-6",
"assert abs(r0[1] - 40.0) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_... |
theo-eng-code-L2-code-003494 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 19, 0.5)",
"assert abs(r0 - 19.0) < 1e-6",
"r1 = rms_torque(38, 20, 0.5)",
"assert abs(r1 - 30.36) < 1e-6",
"r2 = rms_torque(38, 4, 0.5)",
"assert abs(r2 - 27.02) ... |
theo-eng-code-L1-code-000231 | 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": "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-015796 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([430, 110, 500, 390], 10)",
"assert abs(r0 - 3.9722) < 1e-6",
"r1 = rect_energy([390, 200, 60, 110, 500], 1)",
"assert abs(r1 - 0.35) < 1e-6",
"r2 = rect_energy([... |
theo-eng-code-L2-code-005335 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')",
"assert r0[0] == 60",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')",
"assert r1[0] == 60",
"... |
theo-eng-code-L2-code-012409 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 14000, 180)",
"assert abs(r0[0] - 8.21) < 1e-6",
"assert abs(r0[1] - 1705.2) < 1e-6",
"r1 = gear_ratio(0.36, 5500, 180)",
"assert abs(r1[0] - 4.15) < 1e-6",
"as... |
theo-eng-code-L1-code-009953 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-012117 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([190, 60, 340, 140, 330], 10)",
"assert abs(r0 - 2.9444) < 1e-6",
"r1 = rect_energy([400, 150, 300, 120], 10)",
"assert abs(r1 - 2.6944) < 1e-6",
"r2 = rect_energ... |
theo-eng-code-L2-code-009560 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 50, 0.2, 0.8)",
"assert abs(r0[0] - 1.5) < 1e-6",
"assert abs(r0[1] - 90.0) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L2-code-009437 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 150, 0.2, 0.8)",
"assert abs(r0[0] - 0.3) < 1e-6",
"assert abs(r0[1] - 18.0) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_ti... |
theo-eng-code-L2-code-012091 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([64, 48, 54, 13])",
"assert abs(r0[0] - 44.75) < 1e-6",
"assert abs(r0[1] - 22.172) < 1e-6",
"r1 = summarise([32, 28, 96, 71, 64])",
"assert abs(r1[0] - 58.2) < 1e-6... |
theo-eng-code-L3-code-004825 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 28, -0.07, 0.0, 0.5, 0.9, 1)",
"assert abs(r0[0] - -0.017) < 1e-6",
"assert abs(r0[1] - 0.8027) < 1e-6",
"assert abs(r0[2] - -0.0989) < 1e-6",
"r1 = com_zmp(16, 16, -0.07, 0... |
theo-eng-code-L2-code-004913 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 2, 0.25)",
"assert abs(r0 - 3.91) < 1e-6",
"r1 = rms_torque(64, 11, 0.75)",
"assert abs(r1 - 55.7) < 1e-6",
"r2 = rms_torque(19, 16, 0.75)",
"assert abs(r2 - 18.3) ... |
theo-eng-code-L2-code-010384 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([460, 460, 360, 290, 180], 5)",
"assert abs(r0 - 2.4306) < 1e-6",
"r1 = rect_energy([380, 320, 470, 470, 450], 10)",
"assert abs(r1 - 5.8056) < 1e-6",
"r2 = rect_... |
theo-eng-code-L2-code-005397 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(5, 22, -0.02, 0.08, 0.9, 0.9, 1)",
"assert abs(r0[0] - 0.0615) < 1e-6",
"assert abs(r0[1] - 0.9) < 1e-6",
"assert abs(r0[2] - -0.0303) < 1e-6",
"r1 = com_zmp(5, 10, -0.01, 0.... |
theo-eng-code-L1-code-002343 | 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": "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-001789 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.7, 0.31, 30, 5.5, 1.5)",
"assert abs(r0[0] - 12.7) < 1e-6",
"assert abs(r0[1] - 0.7111) < 1e-6",
"assert abs(r0[2] - 13.76) < 1e-6",
"r1 = joint_torque(6.0, 0.4, 60,... |
theo-eng-code-L2-code-009213 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(79, 17, 0.25)",
"assert abs(r0 - 42.15) < 1e-6",
"r1 = rms_torque(59, 35, 0.25)",
"assert abs(r1 - 42.3) < 1e-6",
"r2 = rms_torque(18, 13, 0.75)",
"assert abs(r2 - 16.... |
theo-eng-code-L3-code-006728 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 40, 170, 0.5)",
"assert abs(r0[0] - 105.0) < 1e-6",
"assert abs(r0[1] - 4.29) < 1e-6",
"assert abs(r0[2] - 257.1) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L1-clarify-009948 | 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-005707 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 70, 100, 0.5)",
"assert abs(r0[0] - 85.0) < 1e-6",
"assert abs(r0[1] - 2.12) < 1e-6",
"assert abs(r0[2] - 127.1) < 1e-6",
"r1 = runtime(0.1, 60, 450, 0.3)",
"ass... |
theo-eng-code-L2-code-005116 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 3, 0.75)",
"assert abs(r0 - 5.41) < 1e-6",
"r1 = rms_torque(86, 33, 0.5)",
"assert abs(r1 - 65.13) < 1e-6",
"r2 = rms_torque(22, 2, 0.5)",
"assert abs(r2 - 15.62) <... |
theo-eng-code-L2-code-000960 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.0, 1.5], [2.0, 0.5])",
"assert abs(r0 - 2.2361) < 1e-6",
"r1 = seg_len([1.5, 4.0], [3.5, 2.0])",
"assert abs(r1 - 2.8284) < 1e-6",
"r2 = seg_len([3.5, 3.5], [5.0, 1.0]... |
theo-eng-code-L2-code-003409 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')",
"assert r0[0] == 20",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')",
"assert r1[0] == 60",
"a... |
theo-eng-code-L2-code-004123 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.4, 0.52, 30, 1.5, 0.5)",
"assert abs(r0[0] - 13.26) < 1e-6",
"assert abs(r0[1] - 1.0726) < 1e-6",
"assert abs(r0[2] - 13.8) < 1e-6",
"r1 = joint_torque(4.6, 0.1, 60,... |
theo-eng-code-L2-code-004254 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(81, 1410, 80, 0.29, 2.8, 0.008, 0.6, 0.9, 0.95)",
"assert abs(r0[0] - 655.1) < 1e-6",
"assert abs(r0[1] - 11.75) < 1e-6",
"assert abs(r0[2] - 9.4) < 1e-6",
"r1 = erange(43, ... |
theo-eng-code-L2-code-013894 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')",
"assert r0[0] == 60",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 50}')",
"assert r1[0] == 20",
"... |
theo-eng-code-L2-code-010036 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-008517 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(25, 2380, 80, 0.36, 2.2, 0.013, 1.5, 0.92, 0.9)",
"assert abs(r0[0] - 123.1) < 1e-6",
"assert abs(r0[1] - 18.27) < 1e-6",
"assert abs(r0[2] - 14.62) < 1e-6",
"r1 = erange(64, ... |
theo-eng-code-L2-code-003604 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 320, 0.3)",
"assert abs(r0[0] - 236.0) < 1e-6",
"assert abs(r0[1] - 0.38) < 1e-6",
"assert abs(r0[2] - 22.9) < 1e-6",
"r1 = runtime(0.2, 90, 440, 0.3)",
"ass... |
theo-eng-code-L3-code-007710 | 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(60, 11, 0.2, 0.9)",
"assert abs(r0[0] - 4.77) < 1e-6",
"assert abs(r0[1] - 286.4) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 11"
],
"subtask... |
theo-eng-code-L3-code-001120 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 80, 3.2, 5)",
"assert r0[0] == 62",
"assert r0[1] == 81",
"assert r0[2] == 5022",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 80.352) < 1e-6"
],
... |
theo-eng-code-L2-code-015636 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.0, 3.0], [3.5, 0.5])",
"assert abs(r0 - 3.5355) < 1e-6",
"r1 = seg_len([2.5, 0.0], [2.5, 0.5])",
"assert abs(r1 - 0.5) < 1e-6",
"r2 = seg_len([3.0, 2.5], [4.5, 4.5])",... |
theo-eng-code-L2-code-006554 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([410, 170, 350, 280, 350], 1)",
"assert abs(r0 - 0.4333) < 1e-6",
"r1 = rect_energy([340, 400, 360, 420, 130], 10)",
"assert abs(r1 - 4.5833) < 1e-6",
"r2 = rect_... |
theo-eng-code-L3-code-010952 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 7500, 180)",
"assert abs(r0[0] - 5.65) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.44, 14000, 100)",
"assert abs(r1[0] - 23.22) < 1e-6",
"ass... |
theo-eng-code-L3-code-004652 | 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(67, 28, 0.5)",
"assert abs(r0 - 51.35) < 1e-6",
"r1 = rms_torque(9, 8, 0.75)",
"assert abs(r1 - 8.76) < 1e-6",
"r2 = rms_torque(75, 25, 0.5)",
"assert abs(r2 - 55.9) < 1... |
theo-eng-code-L3-code-001382 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(26, 2700, 60, 0.23, 2.5, 0.013, 0.8, 0.94, 0.9)",
"assert abs(r0[0] - 162.5) < 1e-6",
"assert abs(r0[1] - 14.4) < 1e-6",
"assert abs(r0[2] - 8.64) < 1e-6",
"r1 = erange(82, 93... |
theo-eng-code-L2-code-000750 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([5.0, 1.0], [2.5, 3.0])",
"assert abs(r0 - 3.2016) < 1e-6",
"r1 = seg_len([1.5, 1.5], [3.0, 3.0])",
"assert abs(r1 - 2.1213) < 1e-6",
"r2 = seg_len([4.5, 1.0], [2.0, 3.0]... |
theo-eng-code-L2-code-008825 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(97, 11, 0.75)",
"assert abs(r0 - 84.18) < 1e-6",
"r1 = rms_torque(47, 14, 0.5)",
"assert abs(r1 - 34.68) < 1e-6",
"r2 = rms_torque(91, 38, 0.25)",
"assert abs(r2 - 56.... |
theo-eng-code-L2-code-013048 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.1, 0.8)",
"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-L3-code-011418 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(25, 19, 0.25)",
"assert abs(r0 - 20.66) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-003810 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([370, 500, 180], 2)",
"assert abs(r0 - 0.5833) < 1e-6",
"r1 = rect_energy([440, 150, 480], 1)",
"assert abs(r1 - 0.2972) < 1e-6",
"r2 = rect_energy([450, 210, 390... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.