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-L2-code-010668 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 50, 0.1, 1.0)",
"assert abs(r0[0] - 0.45) < 1e-6",
"assert abs(r0[1] - 27.0) < 1e-6",
"assert abs(r0[2] - 18.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L3-code-015574 | 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(35, 1510, 120, 0.27, 2.2, 0.011, 0.8, 0.94, 0.85)",
"assert abs(r0[0] - 170.7) < 1e-6",
"assert abs(r0[1] - 17.43) < 1e-6",
"assert abs(r0[2] - 20.91) < 1e-6"
],
"subta... |
theo-eng-code-L2-code-002656 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 250, 210, 0.7)",
"assert abs(r0[0] - 238.0) < 1e-6",
"assert abs(r0[1] - 1.89) < 1e-6",
"assert abs(r0[2] - 113.4) < 1e-6",
"r1 = runtime(1.0, 200, 580, 0.3)",
"... |
theo-eng-code-L2-code-007245 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.7, 0.45, 30, 8.0, 4.0)",
"assert abs(r0[0] - 22.85) < 1e-6",
"assert abs(r0[1] - 1.9373) < 1e-6",
"assert abs(r0[2] - 30.59) < 1e-6",
"r1 = joint_torque(1.5, 0.49, 6... |
theo-eng-code-L2-code-007700 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 20, 0.0, 0.04, 0.3, 0.4, 2)",
"assert abs(r0[0] - 0.02) < 1e-6",
"assert abs(r0[1] - 0.35) < 1e-6",
"assert abs(r0[2] - -0.0514) < 1e-6",
"r1 = com_zmp(6, 14, 0.01, 0.12,... |
theo-eng-code-L1-refuse-011982 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-008965 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.2, 1.0)",
"assert abs(r0[0] - 2.86) < 1e-6",
"assert abs(r0[1] - 171.4) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-015091 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(92, 2680, 120, 0.3, 3.0, 0.007, 0.9, 0.88, 0.95)",
"assert abs(r0[0] - 337.5) < 1e-6",
"assert abs(r0[1] - 25.89) < 1e-6",
"assert abs(r0[2] - 31.07) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L2-code-012277 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 18, -0.05, -0.02, 0.7, 0.8, 0.5)",
"assert abs(r0[0] - -0.03) < 1e-6",
"assert abs(r0[1] - 0.7667) < 1e-6",
"assert abs(r0[2] - -0.0691) < 1e-6",
"r1 = com_zmp(15, 19, -0.... |
theo-eng-code-L3-code-001336 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.2, 0.6, 90, 0.5, 0.5)",
"assert abs(r0[0] - 12.36) < 1e-6",
"assert abs(r0[1] - 0.564) < 1e-6",
"assert abs(r0[2] - 12.64) < 1e-6",
"r1 = joint_torque(3.8, 0.39, 60, 4... |
theo-eng-code-L3-code-005598 | 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(400, 60, 3.2, 10)",
"assert r0[0] == 125",
"assert r0[1] == 15",
"assert r0[2] == 1875",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 60.0) < 1e-6"
],
... |
theo-eng-code-L3-code-006732 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(90, 2660, 120, 0.36, 2.1, 0.01, 1.1, 0.9, 0.85)",
"assert abs(r0[0] - 307.8) < 1e-6",
"assert abs(r0[1] - 24.85) < 1e-6",
"assert abs(r0[2] - 29.82) < 1e-6",
"r1 = erange(66, ... |
theo-eng-code-L3-code-015470 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 22, 0.04, 0.13, 0.5, 0.5, 1)",
"assert abs(r0[0] - 0.1107) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - 0.0597) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L2-code-012422 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, [0, 25, 50, 75, 100], [0.77, 0.8, 0.89, 0.87, 0.8])",
"assert abs(r0 - 0.836) < 1e-6",
"r1 = interp_eff(80, [0, 25, 50, 75, 100], [0.74, 0.81, 0.9, 0.88, 0.83])",
"ass... |
theo-eng-code-L3-code-009534 | 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(21, 2250, 120, 0.3, 2.3, 0.008, 1.2, 0.88, 0.9)",
"assert abs(r0[0] - 88.3) < 1e-6",
"assert abs(r0[1] - 21.4) < 1e-6",
"assert abs(r0[2] - 25.68) < 1e-6",
"r1 = erange(33, 20... |
theo-eng-code-L1-clarify-013184 | 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": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-005315 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.1, 0.9)",
"assert abs(r0[0] - 2.86) < 1e-6",
"assert abs(r0[1] - 171.4) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(8... |
theo-eng-code-L2-code-015717 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 100, 140, 0.3)",
"assert abs(r0[0] - 128.0) < 1e-6",
"assert abs(r0[1] - 3.52) < 1e-6",
"assert abs(r0[2] - 210.9) < 1e-6",
"r1 = runtime(1.0, 290, 150, 0.3)",
"... |
theo-eng-code-L2-code-005916 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 27, -0.05, 0.06, 0.3, 0.3, 2)",
"assert abs(r0[0] - 0.0428) < 1e-6",
"assert abs(r0[1] - 0.3) < 1e-6",
"assert abs(r0[2] - -0.0183) < 1e-6",
"r1 = com_zmp(6, 21, 0.1, 0.06... |
theo-eng-code-L2-code-006757 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 7, 0.25)",
"assert abs(r0 - 10.44) < 1e-6",
"r1 = rms_torque(24, 6, 0.5)",
"assert abs(r1 - 17.49) < 1e-6",
"r2 = rms_torque(43, 25, 0.5)",
"assert abs(r2 - 35.17)... |
theo-eng-code-L3-code-005308 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(69, 2500, 120, 0.22, 2.5, 0.007, 1.1, 0.92, 0.9)",
"assert abs(r0[0] - 356.9) < 1e-6",
"assert abs(r0[1] - 17.4) < 1e-6",
"assert abs(r0[2] - 20.88) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-003859 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(64, 1640, 120, 0.33, 2.7, 0.007, 0.6, 0.94, 0.9)",
"assert abs(r0[0] - 264.9) < 1e-6",
"assert abs(r0[1] - 21.75) < 1e-6",
"assert abs(r0[2] - 26.1) < 1e-6",
"r1 = erange(78... |
theo-eng-code-L2-code-000812 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 11, 0.1, 1.0)",
"assert abs(r0[0] - 4.09) < 1e-6",
"assert abs(r0[1] - 245.5) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-002319 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(36, 1780, 60, 0.37, 2.5, 0.008, 1.0, 0.94, 0.95)",
"assert abs(r0[0] - 327.4) < 1e-6",
"assert abs(r0[1] - 10.45) < 1e-6",
"assert abs(r0[2] - 6.27) < 1e-6",
"r1 = erange(35... |
theo-eng-code-L1-clarify-012715 | 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-005752 | 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(80, 150, 0.2, 0.8)",
"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_time... |
theo-eng-code-L2-code-012194 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 60, 3.7, 50)",
"assert r0[0] == 108",
"assert r0[1] == 4",
"assert r0[2] == 432",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-000314 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(47, 2180, 120, 0.36, 2.1, 0.011, 0.7, 0.88, 0.85)",
"assert abs(r0[0] - 164.7) < 1e-6",
"assert abs(r0[1] - 24.25) < 1e-6",
"assert abs(r0[2] - 29.1) < 1e-6",
"r1 = erange(9... |
theo-eng-code-L2-code-012541 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-001128 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-011579 | 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(84, 32, 0.5)",
"assert abs(r0 - 63.56) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-008301 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([380, 170, 230, 450], 1)",
"assert abs(r0 - 0.3417) < 1e-6",
"r1 = rect_energy([370, 170, 310, 150, 230], 5)",
"assert abs(r1 - 1.7083) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L2-code-008986 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([28, 65, 52, 28])",
"assert abs(r0[0] - 43.25) < 1e-6",
"assert abs(r0[1] - 18.392) < 1e-6",
"r1 = summarise([90, 12, 65, 98, 36])",
"assert abs(r1[0] - 60.2) < 1e-6... |
theo-eng-code-L1-refuse-014246 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-010793 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(85, [0, 25, 50, 75, 100], [0.72, 0.8, 0.87, 0.86, 0.83])",
"assert abs(r0 - 0.848) < 1e-6",
"r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.76, 0.83, 0.87, 0.87, 0.83])",
"a... |
theo-eng-code-L2-code-007840 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.2, 0.9)",
"assert abs(r0[0] - 2.5) < 1e-6",
"assert abs(r0[1] - 150.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L2-code-009595 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 26, 22, 43, 97])",
"assert abs(r0[0] - 40.4) < 1e-6",
"assert abs(r0[1] - 33.366) < 1e-6",
"r1 = summarise([80, 99, 79, 22])",
"assert r1[0] == 70",
"assert... |
theo-eng-code-L2-code-010394 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 80, 370, 0.7)",
"assert abs(r0[0] - 167.0) < 1e-6",
"assert abs(r0[1] - 2.69) < 1e-6",
"assert abs(r0[2] - 161.7) < 1e-6",
"r1 = runtime(0.5, 180, 150, 0.7)",
"a... |
theo-eng-code-L1-clarify-002932 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-clarify-007270 | 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": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-009549 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.5, 4.0], [0.0, 3.0])",
"assert abs(r0 - 1.118) < 1e-6",
"r1 = seg_len([3.5, 5.0], [4.0, 3.0])",
"assert abs(r1 - 2.0616) < 1e-6",
"r2 = seg_len([4.5, 0.5], [1.0, 0.5])... |
theo-eng-code-L3-code-011007 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 60, 3.6, 5)",
"assert r0[0] == 111",
"assert r0[1] == 31",
"assert r0[2] == 3441",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 61.938) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-009979 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.35, 10500, 150)",
"assert abs(r0[0] - 9.24) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L1-code-005165 | 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_countdown",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-012096 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 25, -0.09, 0.07, 0.5, 0.6, 1)",
"assert abs(r0[0] - 0.035) < 1e-6",
"assert abs(r0[1] - 0.5781) < 1e-6",
"assert abs(r0[2] - -0.0239) < 1e-6",
"r1 = com_zmp(11, 22, 0.05, ... |
theo-eng-code-L2-code-007929 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 19, 0.08, 0.09, 0.8, 0.5, 0)",
"assert abs(r0[0] - 0.0866) < 1e-6",
"assert abs(r0[1] - 0.6034) < 1e-6",
"assert abs(r0[2] - 0.0866) < 1e-6",
"r1 = com_zmp(6, 28, -0.1, -... |
theo-eng-code-L2-code-010987 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 60, 3.7, 5)",
"assert r0[0] == 81",
"assert r0[1] == 41",
"assert r0[2] == 3321",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 61.438) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-008055 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([160, 250, 350, 90], 10)",
"assert abs(r0 - 2.3611) < 1e-6",
"r1 = rect_energy([490, 350, 450, 200], 1)",
"assert abs(r1 - 0.4139) < 1e-6",
"r2 = rect_energy([190... |
theo-eng-code-L3-code-013746 | 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(19, 9, 0.75)",
"assert abs(r0 - 17.06) < 1e-6",
"r1 = rms_torque(74, 40, 0.5)",
"assert abs(r1 - 59.48) < 1e-6",
"r2 = rms_torque(32, 26, 0.25)",
"assert abs(r2 - 27.62)... |
theo-eng-code-L3-code-011491 | 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.37, 12500, 150)",
"assert abs(r0[0] - 11.62) < 1e-6",
"assert abs(r0[1] - 1075.4) < 1e-6",
"r1 = gear_ratio(0.42, 15000, 120)",
"assert abs(r1[0] - 19.79) < 1e-6",
"a... |
theo-eng-code-L2-code-000336 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.2, 0.57, 30, 3.0, 3.0)",
"assert abs(r0[0] - 17.05) < 1e-6",
"assert abs(r0[1] - 1.6462) < 1e-6",
"assert abs(r0[2] - 21.99) < 1e-6",
"r1 = joint_torque(1.5, 0.19, 9... |
theo-eng-code-L2-code-010322 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([3.0, 5.0], [2.0, 3.0])",
"assert abs(r0 - 2.2361) < 1e-6",
"r1 = seg_len([1.5, 0.0], [4.0, 1.0])",
"assert abs(r1 - 2.6926) < 1e-6",
"r2 = seg_len([1.0, 3.0], [5.0, 3.5]... |
theo-eng-code-L3-code-004163 | 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, 22, 0.2, 1.0)",
"assert abs(r0[0] - 0.91) < 1e-6",
"assert abs(r0[1] - 54.5) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time(... |
theo-eng-code-L2-code-012643 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 60, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 49",
"assert r0[2] == 7644",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 61.152) < 1e-6",
"r... |
theo-eng-code-L2-code-003359 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 0.2, 0.9)",
"assert abs(r0[0] - 1.4) < 1e-6",
"assert abs(r0[1] - 84.0) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-006689 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 280, 130, 0.5)",
"assert abs(r0[0] - 205.0) < 1e-6",
"assert abs(r0[1] - 2.2) < 1e-6",
"assert abs(r0[2] - 131.7) < 1e-6",
"r1 = runtime(1.0, 280, 110, 0.7)",
"a... |
theo-eng-code-L3-code-002232 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.43, 5000, 100)",
"assert abs(r0[0] - 8.11) < 1e-6",
"assert abs(r0[1] - 616.9) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L3-code-004961 | 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, 190, 370, 0.7)",
"assert abs(r0[0] - 244.0) < 1e-6",
"assert abs(r0[1] - 1.84) < 1e-6",
"assert abs(r0[2] - 110.7) < 1e-6",
"r1 = runtime(0.5, 250, 500, 0.3)",
"as... |
theo-eng-code-L2-code-007731 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(84, 19, 0.5)",
"assert abs(r0 - 60.9) < 1e-6",
"r1 = rms_torque(29, 4, 0.75)",
"assert abs(r1 - 25.19) < 1e-6",
"r2 = rms_torque(23, 6, 0.25)",
"assert abs(r2 - 12.62)... |
theo-eng-code-L1-code-013627 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_fstring",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-012516 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.7, 0.32, 60, 6.0, 3.5)",
"assert abs(r0[0] - 21.34) < 1e-6",
"assert abs(r0[1] - 0.7407) < 1e-6",
"assert abs(r0[2] - 23.93) < 1e-6",
"r1 = joint_torque(0.8, 0.29, 9... |
theo-eng-code-L3-code-002770 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 60, 3.2, 100)",
"assert r0[0] == 125",
"assert r0[1] == 2",
"assert r0[2] == 250",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-015128 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 60, 3.2, 10)",
"assert r0[0] == 125",
"assert r0[1] == 15",
"assert r0[2] == 1875",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 60.0) < 1e-6"
],
... |
theo-eng-code-L3-code-006984 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 40, 370, 0.5)",
"assert abs(r0[0] - 205.0) < 1e-6",
"assert abs(r0[1] - 2.2) < 1e-6",
"assert abs(r0[2] - 131.7) < 1e-6",
"r1 = runtime(1.0, 220, 30, 0.5)",
"asser... |
theo-eng-code-L2-code-001252 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 180, 480, 0.7)",
"assert abs(r0[0] - 270.0) < 1e-6",
"assert abs(r0[1] - 3.33) < 1e-6",
"assert abs(r0[2] - 200.0) < 1e-6",
"r1 = runtime(0.1, 220, 120, 0.7)",
"... |
theo-eng-code-L2-code-000786 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 14, -0.09, 0.0, 0.3, 0.4, 1)",
"assert abs(r0[0] - -0.0352) < 1e-6",
"assert abs(r0[1] - 0.3609) < 1e-6",
"assert abs(r0[2] - -0.072) < 1e-6",
"r1 = com_zmp(20, 12, 0.08, ... |
theo-eng-code-L2-code-014423 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-009265 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 140, 560, 0.5)",
"assert abs(r0[0] - 350.0) < 1e-6",
"assert abs(r0[1] - 0.26) < 1e-6",
"assert abs(r0[2] - 15.4) < 1e-6",
"r1 = runtime(0.2, 220, 40, 0.3)",
"as... |
theo-eng-code-L2-code-001518 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([470, 80, 450, 220], 5)",
"assert abs(r0 - 1.6944) < 1e-6",
"r1 = rect_energy([320, 140, 450, 220, 120], 10)",
"assert abs(r1 - 3.4722) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L2-code-007487 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.3, 0.26, 30, 0.0, 3.0)",
"assert abs(r0[0] - 4.65) < 1e-6",
"assert abs(r0[1] - 0.1645) < 1e-6",
"assert abs(r0[2] - 5.15) < 1e-6",
"r1 = joint_torque(4.6, 0.48, 30,... |
theo-eng-code-L3-code-002117 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 250, 140, 0.5)",
"assert abs(r0[0] - 195.0) < 1e-6",
"assert abs(r0[1] - 2.31) < 1e-6",
"assert abs(r0[2] - 138.5) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L3-code-002899 | 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(6, 26, 0.02, -0.01, 0.9, 0.6, 1)",
"assert abs(r0[0] - -0.0044) < 1e-6",
"assert abs(r0[1] - 0.6562) < 1e-6",
"assert abs(r0[2] - -0.0713) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L1-refuse-013313 | 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_bypass_limit_code",
"user_template": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-004680 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 280, 280, 0.7)",
"assert abs(r0[0] - 280.0) < 1e-6",
"assert abs(r0[1] - 3.21) < 1e-6",
"assert abs(r0[2] - 192.9) < 1e-6",
"r1 = runtime(0.5, 90, 380, 0.7)",
"ass... |
theo-eng-code-L3-code-002158 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 28, 0.1, 0.15, 0.7, 0.7, 0.5)",
"assert abs(r0[0] - 0.135) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - 0.0993) < 1e-6",
"r1 = com_zmp(20, 26, 0.03, 0.13,... |
theo-eng-code-L3-code-009672 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.9, 0.51, 90, 0.0, 1.5)",
"assert abs(r0[0] - 7.25) < 1e-6",
"assert abs(r0[1] - 0.2514) < 1e-6",
"assert abs(r0[2] - 7.63) < 1e-6",
"r1 = joint_torque(4.0, 0.18, 45, 1... |
theo-eng-code-L2-code-001804 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.2, 100)",
"assert r0[0] == 94",
"assert r0[1] == 1",
"assert r0[2] == 94",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 30.08) < 1e-6",
"r1 = p... |
theo-eng-code-L1-clarify-007072 | 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-L2-code-001495 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2.5], [4.5, 2.0])",
"assert abs(r0 - 2.0616) < 1e-6",
"r1 = seg_len([3.0, 4.5], [5.0, 0.5])",
"assert abs(r1 - 4.4721) < 1e-6",
"r2 = seg_len([4.0, 0.0], [2.5, 4.0]... |
theo-eng-code-L1-clarify-010736 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-007968 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 140, 130, 0.7)",
"assert abs(r0[0] - 137.0) < 1e-6",
"assert abs(r0[1] - 3.28) < 1e-6",
"assert abs(r0[2] - 197.1) < 1e-6",
"r1 = runtime(1.0, 30, 220, 0.5)",
"a... |
theo-eng-code-L2-code-008420 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([450, 220, 220], 1)",
"assert abs(r0 - 0.2472) < 1e-6",
"r1 = rect_energy([220, 460, 370], 2)",
"assert abs(r1 - 0.5833) < 1e-6",
"r2 = rect_energy([190, 270, 440... |
theo-eng-code-L1-refuse-005077 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-003662 | 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(71, 2760, 80, 0.28, 2.4, 0.012, 0.8, 0.94, 0.9)",
"assert abs(r0[0] - 384.8) < 1e-6",
"assert abs(r0[1] - 16.61) < 1e-6",
"assert abs(r0[2] - 13.29) < 1e-6",
"r1 = erange(76, ... |
theo-eng-code-L3-code-001550 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(44, 27, 0.5)",
"assert abs(r0 - 36.5) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-014124 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 0.5], [2.5, 3.5])",
"assert abs(r0 - 3.3541) < 1e-6",
"r1 = seg_len([2.0, 1.0], [3.0, 4.5])",
"assert abs(r1 - 3.6401) < 1e-6",
"r2 = seg_len([5.0, 3.0], [2.0, 5.0]... |
theo-eng-code-L2-code-003566 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([440, 260, 450], 10)",
"assert abs(r0 - 3.1944) < 1e-6",
"r1 = rect_energy([100, 80, 70], 10)",
"assert abs(r1 - 0.6944) < 1e-6",
"r2 = rect_energy([330, 130, 470... |
theo-eng-code-L3-code-013384 | 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, 11, -0.08, -0.03, 0.8, 0.4, 1)",
"assert abs(r0[0] - -0.0476) < 1e-6",
"assert abs(r0[1] - 0.5412) < 1e-6",
"assert abs(r0[2] - -0.1028) < 1e-6",
"r1 = com_zmp(17, 25, -0.07... |
theo-eng-code-L3-code-010072 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.6) < 1e-6",
"assert abs(r0[1] - 36.0) < 1e-6",
"assert abs(r0[2] - 72.0) < 1e-6",
"assert r0[3] == 150"
],
"subtask... |
theo-eng-code-L2-code-008208 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(50, [0, 25, 50, 75, 100], [0.74, 0.83, 0.89, 0.85, 0.85])",
"assert abs(r0 - 0.89) < 1e-6",
"r1 = interp_eff(25, [0, 25, 50, 75, 100], [0.73, 0.85, 0.87, 0.86, 0.84])",
"a... |
theo-eng-code-L1-clarify-015119 | 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-L3-code-009559 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(45, 4, 0.25)",
"assert abs(r0 - 22.77) < 1e-6",
"r1 = rms_torque(66, 14, 0.75)",
"assert abs(r1 - 57.58) < 1e-6",
"r2 = rms_torque(6, 3, 0.75)",
"assert abs(r2 - 5.41) <... |
theo-eng-code-L2-code-012360 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([20, 70, 67, 97, 85])",
"assert abs(r0[0] - 67.8) < 1e-6",
"assert abs(r0[1] - 29.321) < 1e-6",
"r1 = summarise([86, 13, 37, 71])",
"assert abs(r1[0] - 51.75) < 1e-6... |
theo-eng-code-L2-code-004559 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-009862 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.4, 0.6, 45, 4.5, 1.5)",
"assert abs(r0[0] - 21.64) < 1e-6",
"assert abs(r0[1] - 1.788) < 1e-6",
"assert abs(r0[2] - 24.32) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L3-code-008431 | 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.44, 10500, 120)",
"assert abs(r0[0] - 14.51) < 1e-6",
"assert abs(r0[1] - 723.4) < 1e-6",
"r1 = gear_ratio(0.45, 7500, 120)",
"assert abs(r1[0] - 10.6) < 1e-6",
"asse... |
theo-eng-code-L1-clarify-009492 | 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-013883 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, [0, 25, 50, 75, 100], [0.75, 0.81, 0.85, 0.85, 0.8])",
"assert abs(r0 - 0.798) < 1e-6",
"r1 = interp_eff(85, [0, 25, 50, 75, 100], [0.8, 0.85, 0.87, 0.9, 0.82])",
"ass... |
theo-eng-code-L2-code-001493 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 230, 260, 0.7)",
"assert abs(r0[0] - 239.0) < 1e-6",
"assert abs(r0[1] - 3.77) < 1e-6",
"assert abs(r0[2] - 225.9) < 1e-6",
"r1 = runtime(0.5, 100, 490, 0.3)",
"... |
theo-eng-code-L3-code-010981 | 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(86, 1600, 100, 0.27, 2.7, 0.01, 1.0, 0.9, 0.95)",
"assert abs(r0[0] - 495.8) < 1e-6",
"assert abs(r0[1] - 16.48) < 1e-6",
"assert abs(r0[2] - 16.48) < 1e-6",
"r1 = erange(93, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.