id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L3-code-009801 | 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(5, 29, 0.07, -0.04, 0.8, 0.9, 1)",
"assert abs(r0[0] - -0.0238) < 1e-6",
"assert abs(r0[1] - 0.8853) < 1e-6",
"assert abs(r0[2] - -0.1141) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L2-code-013375 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 20, 3.6, 50)",
"assert r0[0] == 83",
"assert r0[1] == 2",
"assert r0[2] == 166",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 29.88) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-006976 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 150}')",
"assert r0[0] == 80",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')",
"assert r1[0] == 60",
... |
theo-eng-code-L2-code-007253 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 30, 590, 0.7)",
"assert abs(r0[0] - 198.0) < 1e-6",
"assert abs(r0[1] - 4.55) < 1e-6",
"assert abs(r0[2] - 272.7) < 1e-6",
"r1 = runtime(0.5, 110, 550, 0.7)",
"a... |
theo-eng-code-L2-code-013565 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 23, 0.08, -0.01, 0.9, 0.6, 2)",
"assert abs(r0[0] - 0.0241) < 1e-6",
"assert abs(r0[1] - 0.7135) < 1e-6",
"assert abs(r0[2] - -0.1214) < 1e-6",
"r1 = com_zmp(18, 19, -0.0... |
theo-eng-code-L2-code-015687 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 4000, 180)",
"assert abs(r0[0] - 3.02) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.36, 13500, 180)",
"assert abs(r1[0] - 10.18) < 1e-6",
"a... |
theo-eng-code-L2-code-002467 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.5, 2.5], [3.0, 5.0])",
"assert abs(r0 - 2.5495) < 1e-6",
"r1 = seg_len([3.5, 1.5], [2.0, 0.5])",
"assert abs(r1 - 1.8028) < 1e-6",
"r2 = seg_len([3.0, 4.0], [5.0, 4.0]... |
theo-eng-code-L1-refuse-010945 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-007613 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 0.1, 0.8)",
"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-L3-code-005572 | 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(500, 20, 3.7, 50)",
"assert r0[0] == 135",
"assert r0[1] == 1",
"assert r0[2] == 135",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 24.975) < 1e-6"
],
... |
theo-eng-code-L2-code-004819 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([11, 90, 79, 69, 84, 59])",
"assert abs(r0[0] - 65.333) < 1e-6",
"assert abs(r0[1] - 28.807) < 1e-6",
"r1 = summarise([44, 18, 72, 72, 45])",
"assert abs(r1[0] - 50.... |
theo-eng-code-L3-code-001357 | 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(77, 2550, 60, 0.36, 2.7, 0.008, 1.5, 0.88, 0.9)",
"assert abs(r0[0] - 493.7) < 1e-6",
"assert abs(r0[1] - 14.04) < 1e-6",
"assert abs(r0[2] - 8.42) < 1e-6",
"r1 = erange(23, 2... |
theo-eng-code-L2-code-008955 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(21, 2, 0.5)",
"assert abs(r0 - 14.92) < 1e-6",
"r1 = rms_torque(11, 2, 0.25)",
"assert abs(r1 - 5.77) < 1e-6",
"r2 = rms_torque(27, 3, 0.75)",
"assert abs(r2 - 23.43) ... |
theo-eng-code-L3-code-008940 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 180, 30, 0.7)",
"assert abs(r0[0] - 135.0) < 1e-6",
"assert abs(r0[1] - 6.67) < 1e-6",
"assert abs(r0[2] - 400.0) < 1e-6",
"r1 = runtime(1.0, 40, 400, 0.3)",
"asse... |
theo-eng-code-L1-clarify-011156 | 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-L2-code-015364 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 0.5)",
"assert abs(r0 - 45.83) < 1e-6",
"r1 = rms_torque(21, 7, 0.5)",
"assert abs(r1 - 15.65) < 1e-6",
"r2 = rms_torque(68, 9, 0.75)",
"assert abs(r2 - 59.06)... |
theo-eng-code-L3-code-010754 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.39, 15000, 180)",
"assert abs(r0[0] - 12.25) < 1e-6",
"assert abs(r0[1] - 1224.3) < 1e-6",
"r1 = gear_ratio(0.26, 12000, 120)",
"assert abs(r1[0] - 9.8) < 1e-6",
"ass... |
theo-eng-code-L3-code-013769 | 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(40, 50, 0.1, 0.8)",
"assert abs(r0[0] - 0.7) < 1e-6",
"assert abs(r0[1] - 42.0) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(1... |
theo-eng-code-L3-code-005567 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 90, 540, 0.7)",
"assert abs(r0[0] - 225.0) < 1e-6",
"assert abs(r0[1] - 2.0) < 1e-6",
"assert abs(r0[2] - 120.0) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L3-code-015593 | 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(79, 1300, 120, 0.31, 2.7, 0.011, 1.1, 0.94, 0.9)",
"assert abs(r0[0] - 324.7) < 1e-6",
"assert abs(r0[1] - 21.9) < 1e-6",
"assert abs(r0[2] - 26.27) < 1e-6",
"r1 = erange(24, ... |
theo-eng-code-L3-code-008665 | 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.43, 4000, 150)",
"assert abs(r0[0] - 4.32) < 1e-6",
"assert abs(r0[1] - 925.3) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-015726 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 60, 120, 0.3)",
"assert abs(r0[0] - 102.0) < 1e-6",
"assert abs(r0[1] - 8.82) < 1e-6",
"assert abs(r0[2] - 529.4) < 1e-6",
"r1 = runtime(0.2, 210, 550, 0.7)",
"a... |
theo-eng-code-L2-code-000521 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 150}')",
"assert r0[0] == 80",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 150}')",
"assert r1[0] == 40",
... |
theo-eng-code-L2-code-000910 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.8, 0.13, 60, 6.0, 0.0)",
"assert abs(r0[0] - 9.28) < 1e-6",
"assert abs(r0[1] - 0.1284) < 1e-6",
"assert abs(r0[2] - 9.28) < 1e-6",
"r1 = joint_torque(2.0, 0.51, 60,... |
theo-eng-code-L3-code-004119 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(93, 1770, 100, 0.24, 2.1, 0.013, 1.5, 0.9, 0.85)",
"assert abs(r0[0] - 499.7) < 1e-6",
"assert abs(r0[1] - 15.82) < 1e-6",
"assert abs(r0[2] - 15.82) < 1e-6"
],
"subtas... |
theo-eng-code-L2-code-004999 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 80, 3.2, 10)",
"assert r0[0] == 250",
"assert r0[1] == 10",
"assert r0[2] == 2500",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-013609 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([210, 240, 310], 1)",
"assert abs(r0 - 0.2111) < 1e-6",
"r1 = rect_energy([170, 120, 60, 320], 10)",
"assert abs(r1 - 1.8611) < 1e-6",
"r2 = rect_energy([380, 440... |
theo-eng-code-L3-code-010051 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 60, 90, 0.5)",
"assert abs(r0[0] - 75.0) < 1e-6",
"assert abs(r0[1] - 12.0) < 1e-6",
"assert abs(r0[2] - 720.0) < 1e-6"
],
"subtask": "writetests",
"verified_... |
theo-eng-code-L2-code-013404 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 19, 0.01, 0.02, 0.6, 0.3, 2)",
"assert abs(r0[0] - 0.0163) < 1e-6",
"assert abs(r0[1] - 0.41) < 1e-6",
"assert abs(r0[2] - -0.0673) < 1e-6",
"r1 = com_zmp(15, 20, -0.02, ... |
theo-eng-code-L2-code-001428 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(86, 2650, 100, 0.22, 2.4, 0.01, 1.4, 0.9, 0.85)",
"assert abs(r0[0] - 426.9) < 1e-6",
"assert abs(r0[1] - 17.13) < 1e-6",
"assert abs(r0[2] - 17.13) < 1e-6",
"r1 = erange(45... |
theo-eng-code-L3-code-002164 | 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(83, 2260, 100, 0.31, 2.0, 0.011, 0.5, 0.9, 0.85)",
"assert abs(r0[0] - 413.3) < 1e-6",
"assert abs(r0[1] - 17.07) < 1e-6",
"assert abs(r0[2] - 17.07) < 1e-6"
],
"subtas... |
theo-eng-code-L3-code-010184 | 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(54, 1300, 120, 0.35, 2.4, 0.011, 0.8, 0.94, 0.95)",
"assert abs(r0[0] - 236.3) < 1e-6",
"assert abs(r0[1] - 21.71) < 1e-6",
"assert abs(r0[2] - 26.05) < 1e-6",
"r1 = erange(76... |
theo-eng-code-L2-code-013276 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 12000, 150)",
"assert abs(r0[0] - 10.86) < 1e-6",
"assert abs(r0[1] - 1105.2) < 1e-6",
"r1 = gear_ratio(0.33, 14500, 100)",
"assert abs(r1[0] - 18.04) < 1e-6",
... |
theo-eng-code-L2-code-010218 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 190, 380, 0.7)",
"assert abs(r0[0] - 247.0) < 1e-6",
"assert abs(r0[1] - 0.73) < 1e-6",
"assert abs(r0[2] - 43.7) < 1e-6",
"r1 = runtime(1.0, 70, 170, 0.7)",
"as... |
theo-eng-code-L3-code-013494 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(64, 1210, 120, 0.31, 2.2, 0.009, 1.1, 0.94, 0.9)",
"assert abs(r0[0] - 323.8) < 1e-6",
"assert abs(r0[1] - 17.79) < 1e-6",
"assert abs(r0[2] - 21.35) < 1e-6"
],
"subtas... |
theo-eng-code-L2-code-006004 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 14, -0.08, 0.0, 0.5, 0.5, 0.5)",
"assert abs(r0[0] - -0.0461) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - -0.0715) < 1e-6",
"r1 = com_zmp(19, 26, 0.09,... |
theo-eng-code-L2-code-009450 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-007836 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 50, 0.1, 1.0)",
"assert abs(r0[0] - 0.9) < 1e-6",
"assert abs(r0[1] - 54.0) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(1... |
theo-eng-code-L3-code-005951 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.0, 0.59, 30, 7.0, 1.0)",
"assert abs(r0[0] - 27.49) < 1e-6",
"assert abs(r0[1] - 3.0169) < 1e-6",
"assert abs(r0[2] - 30.51) < 1e-6",
"r1 = joint_torque(0.6, 0.35, 90,... |
theo-eng-code-L2-code-005521 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 26, 0.1, 0.1, 0.4, 0.6, 0)",
"assert abs(r0[0] - 0.1) < 1e-6",
"assert abs(r0[1] - 0.5268) < 1e-6",
"assert abs(r0[2] - 0.1) < 1e-6",
"r1 = com_zmp(9, 12, 0.01, 0.12, 0.6... |
theo-eng-code-L1-clarify-005080 | 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": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-005684 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.2, 0.44, 45, 5.0, 1.0)",
"assert abs(r0[0] - 23.2) < 1e-6",
"assert abs(r0[1] - 1.3036) < 1e-6",
"assert abs(r0[2] - 24.5) < 1e-6",
"r1 = joint_torque(4.7, 0.14, 60, 4... |
theo-eng-code-L3-code-006615 | 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(10, 2, 0.5)",
"assert abs(r0 - 7.21) < 1e-6",
"r1 = rms_torque(74, 10, 0.5)",
"assert abs(r1 - 52.8) < 1e-6",
"r2 = rms_torque(36, 5, 0.75)",
"assert abs(r2 - 31.28) < 1... |
theo-eng-code-L3-code-015803 | 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(57, 920, 100, 0.32, 2.4, 0.007, 1.1, 0.94, 0.9)",
"assert abs(r0[0] - 374.7) < 1e-6",
"assert abs(r0[1] - 13.69) < 1e-6",
"assert abs(r0[2] - 13.69) < 1e-6",
"r1 = erange(68, ... |
theo-eng-code-L2-code-001837 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 160, 90, 0.5)",
"assert abs(r0[0] - 125.0) < 1e-6",
"assert abs(r0[1] - 1.44) < 1e-6",
"assert abs(r0[2] - 86.4) < 1e-6",
"r1 = runtime(0.1, 240, 480, 0.7)",
"as... |
theo-eng-code-L2-code-009858 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, [0, 25, 50, 75, 100], [0.71, 0.81, 0.9, 0.9, 0.85])",
"assert abs(r0 - 0.77) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.75, 0.81, 0.89, 0.86, 0.83])",
"ass... |
theo-eng-code-L2-code-014536 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 14, 0.75)",
"assert abs(r0 - 18.68) < 1e-6",
"r1 = rms_torque(45, 21, 0.25)",
"assert abs(r1 - 28.93) < 1e-6",
"r2 = rms_torque(55, 11, 0.25)",
"assert abs(r2 - 29... |
theo-eng-code-L2-code-008038 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 270, 270, 0.5)",
"assert abs(r0[0] - 270.0) < 1e-6",
"assert abs(r0[1] - 0.67) < 1e-6",
"assert abs(r0[2] - 40.0) < 1e-6",
"r1 = runtime(0.2, 200, 30, 0.7)",
"as... |
theo-eng-code-L2-code-009785 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 150, 0.1, 0.9)",
"assert abs(r0[0] - 0.4) < 1e-6",
"assert abs(r0[1] - 24.0) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_ti... |
theo-eng-code-L3-code-012641 | 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(60, 7, 0.1, 0.9)",
"assert abs(r0[0] - 8.57) < 1e-6",
"assert abs(r0[1] - 514.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(1... |
theo-eng-code-L2-code-001288 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, 2460, 80, 0.24, 2.4, 0.011, 1.3, 0.94, 0.95)",
"assert abs(r0[0] - 324.9) < 1e-6",
"assert abs(r0[1] - 14.62) < 1e-6",
"assert abs(r0[2] - 11.69) < 1e-6",
"r1 = erange(9... |
theo-eng-code-L2-code-007145 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 7, 0.2, 1.0)",
"assert abs(r0[0] - 8.57) < 1e-6",
"assert abs(r0[1] - 514.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-005533 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 220, 540, 0.3)",
"assert abs(r0[0] - 444.0) < 1e-6",
"assert abs(r0[1] - 1.01) < 1e-6",
"assert abs(r0[2] - 60.8) < 1e-6",
"r1 = runtime(0.2, 110, 420, 0.7)",
"a... |
theo-eng-code-L3-code-002827 | 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(13, 8, 0.25)",
"assert abs(r0 - 9.5) < 1e-6",
"r1 = rms_torque(9, 6, 0.25)",
"assert abs(r1 - 6.87) < 1e-6",
"r2 = rms_torque(68, 35, 0.5)",
"assert abs(r2 - 54.08) < 1e... |
theo-eng-code-L2-code-005739 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 22, 0.1, 1.0)",
"assert abs(r0[0] - 2.05) < 1e-6",
"assert abs(r0[1] - 122.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-003821 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(16, 23, 0.02, -0.04, 0.4, 0.9, 1)",
"assert abs(r0[0] - -0.0154) < 1e-6",
"assert abs(r0[1] - 0.6949) < 1e-6",
"assert abs(r0[2] - -0.0862) < 1e-6",
"r1 = com_zmp(19, 15, -0.... |
theo-eng-code-L3-code-008085 | 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(800, 80, 3.6, 50)",
"assert r0[0] == 222",
"assert r0[1] == 3",
"assert r0[2] == 666",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 119.88) < 1e-6"
],
... |
theo-eng-code-L3-code-003088 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(7, 6, 0.75)",
"assert abs(r0 - 6.76) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"saf... |
theo-eng-code-L3-code-009747 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(47, 1120, 60, 0.31, 2.7, 0.012, 0.7, 0.92, 0.95)",
"assert abs(r0[0] - 472.6) < 1e-6",
"assert abs(r0[1] - 9.45) < 1e-6",
"assert abs(r0[2] - 5.67) < 1e-6",
"r1 = erange(54, 1... |
theo-eng-code-L2-code-014427 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([22, 81, 49, 56, 45])",
"assert abs(r0[0] - 50.6) < 1e-6",
"assert abs(r0[1] - 21.244) < 1e-6",
"r1 = summarise([47, 18, 24, 43, 85])",
"assert abs(r1[0] - 43.4) < 1... |
theo-eng-code-L2-code-009036 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-code-010907 | 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": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-013684 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 150, 0.1, 0.8)",
"assert abs(r0[0] - 0.35) < 1e-6",
"assert abs(r0[1] - 21.0) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_t... |
theo-eng-code-L2-code-014288 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 100}')",
"assert r0[0] == 80",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')",
"assert r1[0] == 40",
... |
theo-eng-code-L2-code-015639 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 12, -0.01, 0.03, 0.3, 0.8, 0.5)",
"assert abs(r0[0] - 0.0066) < 1e-6",
"assert abs(r0[1] - 0.5069) < 1e-6",
"assert abs(r0[2] - -0.0193) < 1e-6",
"r1 = com_zmp(16, 22, 0.... |
theo-eng-code-L2-code-013791 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 27, -0.03, -0.03, 0.6, 0.6, 1)",
"assert abs(r0[0] - -0.03) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.0912) < 1e-6",
"r1 = com_zmp(9, 17, -0.02, 0... |
theo-eng-code-L2-code-010096 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(72, 960, 100, 0.29, 2.5, 0.009, 1.4, 0.88, 0.85)",
"assert abs(r0[0] - 411.0) < 1e-6",
"assert abs(r0[1] - 14.89) < 1e-6",
"assert abs(r0[2] - 14.89) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L2-code-003576 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([190, 140, 440, 140, 390], 5)",
"assert abs(r0 - 1.8056) < 1e-6",
"r1 = rect_energy([90, 170, 230], 2)",
"assert abs(r1 - 0.2722) < 1e-6",
"r2 = rect_energy([160,... |
theo-eng-code-L3-code-003108 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.3, 0.59, 90, 4.0, 1.5)",
"assert abs(r0[0] - 35.6) < 1e-6",
"assert abs(r0[1] - 1.8913) < 1e-6",
"assert abs(r0[2] - 38.43) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L3-code-000781 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(0.5, 0.53, 30, 3.5, 1.0)",
"assert abs(r0[0] - 9.75) < 1e-6",
"assert abs(r0[1] - 1.03) < 1e-6",
"assert abs(r0[2] - 10.78) < 1e-6",
"r1 = joint_torque(5.2, 0.37, 30, 2.... |
theo-eng-code-L2-code-002842 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([240, 50, 270, 200], 1)",
"assert abs(r0 - 0.2111) < 1e-6",
"r1 = rect_energy([500, 340, 50, 220], 1)",
"assert abs(r1 - 0.3083) < 1e-6",
"r2 = rect_energy([370, ... |
theo-eng-code-L2-code-013575 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.18, 30, 4.5, 1.0)",
"assert abs(r0[0] - 4.94) < 1e-6",
"assert abs(r0[1] - 0.1696) < 1e-6",
"assert abs(r0[2] - 5.11) < 1e-6",
"r1 = joint_torque(2.5, 0.27, 60,... |
theo-eng-code-L2-code-015191 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 11, 0.1, 0.9)",
"assert abs(r0[0] - 9.09) < 1e-6",
"assert abs(r0[1] - 545.5) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_t... |
theo-eng-code-L2-code-010691 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 120, 370, 0.3)",
"assert abs(r0[0] - 295.0) < 1e-6",
"assert abs(r0[1] - 0.61) < 1e-6",
"assert abs(r0[2] - 36.6) < 1e-6",
"r1 = runtime(0.2, 230, 140, 0.7)",
"a... |
theo-eng-code-L2-code-009367 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 26, -0.1, 0.04, 0.6, 0.4, 0.5)",
"assert abs(r0[0] - 0.004) < 1e-6",
"assert abs(r0[1] - 0.4514) < 1e-6",
"assert abs(r0[2] - -0.019) < 1e-6",
"r1 = com_zmp(19, 23, 0.06, ... |
theo-eng-code-L2-code-009215 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(21, 15, 0.5)",
"assert abs(r0 - 18.25) < 1e-6",
"r1 = rms_torque(59, 15, 0.5)",
"assert abs(r1 - 43.05) < 1e-6",
"r2 = rms_torque(13, 9, 0.5)",
"assert abs(r2 - 11.18)... |
theo-eng-code-L2-code-006288 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.0, 5.0], [2.5, 2.0])",
"assert abs(r0 - 3.3541) < 1e-6",
"r1 = seg_len([1.0, 4.0], [2.0, 5.0])",
"assert abs(r1 - 1.4142) < 1e-6",
"r2 = seg_len([1.0, 1.5], [3.0, 5.0]... |
theo-eng-code-L2-code-006778 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.5, 2.0], [0.0, 3.0])",
"assert abs(r0 - 1.118) < 1e-6",
"r1 = seg_len([3.0, 0.5], [2.5, 3.5])",
"assert abs(r1 - 3.0414) < 1e-6",
"r2 = seg_len([3.0, 1.5], [0.0, 3.5])... |
theo-eng-code-L3-code-011419 | 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(10, 17, 0.08, -0.05, 0.9, 0.8, 0.5)",
"assert abs(r0[0] - -0.0019) < 1e-6",
"assert abs(r0[1] - 0.837) < 1e-6",
"assert abs(r0[2] - -0.0445) < 1e-6",
"r1 = com_zmp(13, 15, -0.0... |
theo-eng-code-L2-code-006718 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([39, 34, 19, 66, 12])",
"assert r0[0] == 34",
"assert abs(r0[1] - 20.964) < 1e-6",
"r1 = summarise([11, 36, 45, 98, 89])",
"assert abs(r1[0] - 55.8) < 1e-6",
"as... |
theo-eng-code-L1-clarify-009178 | 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": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-009185 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-001630 | 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(20, 50, 0.1, 0.9)",
"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(2... |
theo-eng-code-L3-code-007864 | 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(80, 7, 0.1, 0.9)",
"assert abs(r0[0] - 11.43) < 1e-6",
"assert abs(r0[1] - 685.7) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L2-code-012502 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(75, [0, 25, 50, 75, 100], [0.75, 0.81, 0.9, 0.87, 0.82])",
"assert abs(r0 - 0.87) < 1e-6",
"r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.74, 0.85, 0.89, 0.86, 0.83])",
"as... |
theo-eng-code-L2-code-005121 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.1, 0.48, 60, 1.5, 1.0)",
"assert abs(r0[0] - 18.55) < 1e-6",
"assert abs(r0[1] - 0.8141) < 1e-6",
"assert abs(r0[2] - 19.37) < 1e-6",
"r1 = joint_torque(6.6, 0.4, 90... |
theo-eng-code-L2-code-006010 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([14, 11, 26, 82])",
"assert abs(r0[0] - 33.25) < 1e-6",
"assert abs(r0[1] - 33.14) < 1e-6",
"r1 = summarise([64, 46, 92, 94])",
"assert r1[0] == 74",
"assert abs... |
theo-eng-code-L2-code-015831 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 7, 0.2, 1.0)",
"assert abs(r0[0] - 11.43) < 1e-6",
"assert abs(r0[1] - 685.7) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_tim... |
theo-eng-code-L3-code-006261 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.3, 0.53, 30, 7.0, 1.0)",
"assert abs(r0[0] - 19.89) < 1e-6",
"assert abs(r0[1] - 2.088) < 1e-6",
"assert abs(r0[2] - 21.98) < 1e-6",
"r1 = joint_torque(5.9, 0.45, 30, ... |
theo-eng-code-L2-code-002636 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([53, 52, 34, 41])",
"assert r0[0] == 45",
"assert abs(r0[1] - 9.129) < 1e-6",
"r1 = summarise([10, 39, 88, 10, 81, 67])",
"assert abs(r1[0] - 49.167) < 1e-6",
"a... |
theo-eng-code-L2-code-015939 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-015983 | 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.7, 0.39, 30, 7.0, 0.0)",
"assert abs(r0[0] - 20.76) < 1e-6",
"assert abs(r0[1] - 1.4551) < 1e-6",
"assert abs(r0[2] - 20.76) < 1e-6",
"r1 = joint_torque(4.9, 0.54, 60,... |
theo-eng-code-L2-code-000148 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.39, 9500, 120)",
"assert abs(r0[0] - 11.64) < 1e-6",
"assert abs(r0[1] - 816.2) < 1e-6",
"r1 = gear_ratio(0.37, 6000, 100)",
"assert abs(r1[0] - 8.37) < 1e-6",
"ass... |
theo-eng-code-L3-code-010250 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.2, 0.33, 45, 1.0, 0.0)",
"assert abs(r0[0] - 10.53) < 1e-6",
"assert abs(r0[1] - 0.3703) < 1e-6",
"assert abs(r0[2] - 10.53) < 1e-6",
"r1 = joint_torque(5.3, 0.31, 45,... |
theo-eng-code-L2-code-000709 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 10, 0.5)",
"assert abs(r0 - 11.05) < 1e-6",
"r1 = rms_torque(89, 29, 0.75)",
"assert abs(r1 - 78.43) < 1e-6",
"r2 = rms_torque(11, 11, 0.75)",
"assert abs(r2 - 11.... |
theo-eng-code-L3-code-008597 | 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.1, 80, 170, 0.3)",
"assert abs(r0[0] - 143.0) < 1e-6",
"assert abs(r0[1] - 0.63) < 1e-6",
"assert abs(r0[2] - 37.8) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L2-code-003568 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 22, 0.2, 0.9)",
"assert abs(r0[0] - 2.39) < 1e-6",
"assert abs(r0[1] - 143.2) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L3-code-005444 | 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.4, 6500, 180)",
"assert abs(r0[0] - 5.45) < 1e-6",
"assert abs(r0[1] - 1193.7) < 1e-6",
"r1 = gear_ratio(0.3, 8000, 120)",
"assert abs(r1[0] - 7.54) < 1e-6",
"assert ... |
theo-eng-code-L2-code-008073 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([300, 420, 150, 400, 70], 5)",
"assert abs(r0 - 1.8611) < 1e-6",
"r1 = rect_energy([450, 470, 250, 190, 460], 2)",
"assert abs(r1 - 1.0111) < 1e-6",
"r2 = rect_en... |
theo-eng-code-L2-code-007944 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.6, 2.5)",
"assert r0[0] == 56",
"assert r0[1] == 120",
"assert r0[2] == 6720",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 60.48) < 1e-6",
"r1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.