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-007978 | 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(79, 2610, 80, 0.38, 2.3, 0.008, 0.7, 0.88, 0.95)",
"assert abs(r0[0] - 478.5) < 1e-6",
"assert abs(r0[1] - 15.69) < 1e-6",
"assert abs(r0[2] - 12.55) < 1e-6",
"r1 = erange(52,... |
theo-eng-code-L3-code-005447 | 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.26, 10000, 100)",
"assert abs(r0[0] - 9.8) < 1e-6",
"assert abs(r0[1] - 1020.2) < 1e-6",
"r1 = gear_ratio(0.27, 14000, 100)",
"assert abs(r1[0] - 14.25) < 1e-6",
"ass... |
theo-eng-code-L2-code-011610 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 28, 0.75)",
"assert abs(r0 - 87.73) < 1e-6",
"r1 = rms_torque(28, 26, 0.5)",
"assert abs(r1 - 27.02) < 1e-6",
"r2 = rms_torque(34, 15, 0.75)",
"assert abs(r2 - 30... |
theo-eng-code-L2-code-006753 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([360, 220, 310, 430, 360], 5)",
"assert abs(r0 - 2.3333) < 1e-6",
"r1 = rect_energy([490, 110, 80, 140, 130], 10)",
"assert abs(r1 - 2.6389) < 1e-6",
"r2 = rect_e... |
theo-eng-code-L2-code-013001 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(0.6, 0.19, 45, 2.0, 0.5)",
"assert abs(r0[0] - 3.03) < 1e-6",
"assert abs(r0[1] - 0.0794) < 1e-6",
"assert abs(r0[2] - 3.07) < 1e-6",
"r1 = joint_torque(5.1, 0.38, 90,... |
theo-eng-code-L2-code-012471 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([210, 290, 460], 5)",
"assert abs(r0 - 1.3333) < 1e-6",
"r1 = rect_energy([360, 310, 280, 290, 490], 1)",
"assert abs(r1 - 0.4806) < 1e-6",
"r2 = rect_energy([120... |
theo-eng-code-L1-code-010208 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_chain",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-014034 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.25, 6500, 180)",
"assert abs(r0[0] - 3.4) < 1e-6",
"assert abs(r0[1] - 1909.9) < 1e-6",
"r1 = gear_ratio(0.45, 11500, 120)",
"assert abs(r1[0] - 16.26) < 1e-6",
"asse... |
theo-eng-code-L2-code-003634 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 220, 260, 0.3)",
"assert abs(r0[0] - 248.0) < 1e-6",
"assert abs(r0[1] - 3.63) < 1e-6",
"assert abs(r0[2] - 217.7) < 1e-6",
"r1 = runtime(0.2, 280, 240, 0.7)",
"... |
theo-eng-code-L2-code-007124 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(52, 1170, 60, 0.35, 2.5, 0.011, 0.5, 0.88, 0.95)",
"assert abs(r0[0] - 519.0) < 1e-6",
"assert abs(r0[1] - 9.52) < 1e-6",
"assert abs(r0[2] - 5.71) < 1e-6",
"r1 = erange(33,... |
theo-eng-code-L1-code-002916 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_modulo",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-006659 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 18, -0.08, 0.02, 0.9, 0.6, 0.5)",
"assert abs(r0[0] - -0.0326) < 1e-6",
"assert abs(r0[1] - 0.7579) < 1e-6",
"assert abs(r0[2] - -0.0713) < 1e-6",
"r1 = com_zmp(17, 11, 0... |
theo-eng-code-L1-refuse-010081 | 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-005097 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.1, 0.8)",
"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-L2-code-004394 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.7, 0.4, 60, 0.5, 0.5)",
"assert abs(r0[0] - 4.59) < 1e-6",
"assert abs(r0[1] - 0.1707) < 1e-6",
"assert abs(r0[2] - 4.67) < 1e-6",
"r1 = joint_torque(2.0, 0.27, 30, ... |
theo-eng-code-L3-code-011440 | 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(41, 5, 0.75)",
"assert abs(r0 - 35.59) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-012140 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(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-L2-code-011907 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(85, 23, 0.75)",
"assert abs(r0 - 74.51) < 1e-6",
"r1 = rms_torque(33, 19, 0.25)",
"assert abs(r1 - 23.3) < 1e-6",
"r2 = rms_torque(5, 3, 0.5)",
"assert abs(r2 - 4.12) ... |
theo-eng-code-L1-code-003629 | 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_squares",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-012059 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-000573 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 7, 0.2, 0.9)",
"assert abs(r0[0] - 12.5) < 1e-6",
"assert abs(r0[1] - 750.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_tim... |
theo-eng-code-L2-code-008556 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([200, 150, 480, 250, 500], 10)",
"assert abs(r0 - 4.3889) < 1e-6",
"r1 = rect_energy([260, 130, 310], 10)",
"assert abs(r1 - 1.9444) < 1e-6",
"r2 = rect_energy([2... |
theo-eng-code-L2-code-000908 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([120, 280, 130], 2)",
"assert abs(r0 - 0.2944) < 1e-6",
"r1 = rect_energy([120, 120, 390], 2)",
"assert abs(r1 - 0.35) < 1e-6",
"r2 = rect_energy([230, 420, 290, ... |
theo-eng-code-L2-code-013495 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 10, 3.7, 100)",
"assert r0[0] == 216",
"assert r0[1] == 1",
"assert r0[2] == 216",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-005452 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-code-001412 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_loop_sum",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-000869 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.6, 0.49, 45, 1.5, 3.5)",
"assert abs(r0[0] - 14.62) < 1e-6",
"assert abs(r0[1] - 0.8083) < 1e-6",
"assert abs(r0[2] - 17.44) < 1e-6",
"r1 = joint_torque(7.6, 0.2, 60, ... |
theo-eng-code-L2-code-003910 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 16, 0.0, 0.06, 0.9, 0.6, 0)",
"assert abs(r0[0] - 0.031) < 1e-6",
"assert abs(r0[1] - 0.7452) < 1e-6",
"assert abs(r0[2] - 0.031) < 1e-6",
"r1 = com_zmp(11, 27, 0.0, 0.07... |
theo-eng-code-L3-code-000149 | 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(0.2, 200, 80, 0.7)",
"assert abs(r0[0] - 164.0) < 1e-6",
"assert abs(r0[1] - 1.1) < 1e-6",
"assert abs(r0[2] - 65.9) < 1e-6"
],
"subtask": "writetests",
"verified_... |
theo-eng-code-L3-code-002482 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 24, 0.07, 0.05, 0.4, 0.6, 0)",
"assert abs(r0[0] - 0.0574) < 1e-6",
"assert abs(r0[1] - 0.5263) < 1e-6",
"assert abs(r0[2] - 0.0574) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L3-code-015982 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(42, 1680, 100, 0.36, 2.3, 0.011, 0.6, 0.94, 0.9)",
"assert abs(r0[0] - 215.7) < 1e-6",
"assert abs(r0[1] - 17.52) < 1e-6",
"assert abs(r0[2] - 17.52) < 1e-6"
],
"subtas... |
theo-eng-code-L2-code-012972 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([220, 480, 410, 300], 2)",
"assert abs(r0 - 0.7833) < 1e-6",
"r1 = rect_energy([340, 180, 350], 1)",
"assert abs(r1 - 0.2417) < 1e-6",
"r2 = rect_energy([230, 350... |
theo-eng-code-L2-code-005515 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, 2460, 100, 0.27, 3.0, 0.008, 0.9, 0.92, 0.95)",
"assert abs(r0[0] - 155.8) < 1e-6",
"assert abs(r0[1] - 18.29) < 1e-6",
"assert abs(r0[2] - 18.29) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-003243 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.5, 0.28, 45, 2.0, 0.0)",
"assert abs(r0[0] - 10.2) < 1e-6",
"assert abs(r0[1] - 0.3267) < 1e-6",
"assert abs(r0[2] - 10.2) < 1e-6",
"r1 = joint_torque(7.8, 0.45, 30,... |
theo-eng-code-L2-code-013530 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.9, 0.22, 45, 2.5, 1.5)",
"assert abs(r0[0] - 6.03) < 1e-6",
"assert abs(r0[1] - 0.1678) < 1e-6",
"assert abs(r0[2] - 6.28) < 1e-6",
"r1 = joint_torque(3.2, 0.45, 45,... |
theo-eng-code-L1-refuse-007665 | 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-013885 | 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.31, 13000, 180)",
"assert abs(r0[0] - 8.44) < 1e-6",
"assert abs(r0[1] - 1540.2) < 1e-6",
"r1 = gear_ratio(0.42, 7500, 180)",
"assert abs(r1[0] - 6.6) < 1e-6",
"asser... |
theo-eng-code-L2-code-015301 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(25, 1810, 60, 0.26, 3.1, 0.012, 0.7, 0.9, 0.85)",
"assert abs(r0[0] - 177.4) < 1e-6",
"assert abs(r0[1] - 11.98) < 1e-6",
"assert abs(r0[2] - 7.19) < 1e-6",
"r1 = erange(74,... |
theo-eng-code-L3-code-016002 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 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"
],
"subtask... |
theo-eng-code-L2-code-014233 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(14, 2, 0.5)",
"assert abs(r0 - 10.0) < 1e-6",
"r1 = rms_torque(72, 30, 0.5)",
"assert abs(r1 - 55.15) < 1e-6",
"r2 = rms_torque(52, 28, 0.25)",
"assert abs(r2 - 35.55)... |
theo-eng-code-L2-code-008438 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 40, 3.6, 2.5)",
"assert r0[0] == 111",
"assert r0[1] == 41",
"assert r0[2] == 4551",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 40.959) < 1e-6",
"r... |
theo-eng-code-L1-refuse-014968 | 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-009592 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(55, [0, 25, 50, 75, 100], [0.71, 0.8, 0.88, 0.87, 0.8])",
"assert abs(r0 - 0.878) < 1e-6",
"r1 = interp_eff(20, [0, 25, 50, 75, 100], [0.73, 0.85, 0.85, 0.9, 0.83])",
"ass... |
theo-eng-code-L2-code-013936 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([420, 130, 440], 10)",
"assert abs(r0 - 2.75) < 1e-6",
"r1 = rect_energy([420, 370, 410, 490, 310], 2)",
"assert abs(r1 - 1.1111) < 1e-6",
"r2 = rect_energy([120,... |
theo-eng-code-L3-code-003991 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 110, 80, 0.5)",
"assert abs(r0[0] - 95.0) < 1e-6",
"assert abs(r0[1] - 4.74) < 1e-6",
"assert abs(r0[2] - 284.2) < 1e-6",
"r1 = runtime(1.0, 270, 560, 0.3)",
"asse... |
theo-eng-code-L2-code-013928 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([280, 340, 470, 500], 1)",
"assert abs(r0 - 0.4417) < 1e-6",
"r1 = rect_energy([370, 440, 80], 1)",
"assert abs(r1 - 0.2472) < 1e-6",
"r2 = rect_energy([470, 350,... |
theo-eng-code-L3-code-002512 | 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, 4000, 150)",
"assert abs(r0[0] - 4.42) < 1e-6",
"assert abs(r0[1] - 904.3) < 1e-6",
"r1 = gear_ratio(0.38, 8500, 100)",
"assert abs(r1[0] - 12.18) < 1e-6",
"asser... |
theo-eng-code-L2-code-012815 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 9000, 150)",
"assert abs(r0[0] - 6.56) < 1e-6",
"assert abs(r0[1] - 1372.0) < 1e-6",
"r1 = gear_ratio(0.34, 15000, 180)",
"assert abs(r1[0] - 10.68) < 1e-6",
"a... |
theo-eng-code-L2-code-003788 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(39, 2590, 120, 0.3, 2.9, 0.012, 0.5, 0.88, 0.9)",
"assert abs(r0[0] - 122.2) < 1e-6",
"assert abs(r0[1] - 28.73) < 1e-6",
"assert abs(r0[2] - 34.48) < 1e-6",
"r1 = erange(31... |
theo-eng-code-L3-code-007950 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.33, 12000, 150)",
"assert abs(r0[0] - 9.95) < 1e-6",
"assert abs(r0[1] - 1205.7) < 1e-6",
"r1 = gear_ratio(0.42, 14000, 100)",
"assert abs(r1[0] - 22.17) < 1e-6",
"as... |
theo-eng-code-L1-refuse-015532 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-000192 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 11, -0.03, 0.08, 0.8, 0.5, 0)",
"assert abs(r0[0] - 0.0226) < 1e-6",
"assert abs(r0[1] - 0.6565) < 1e-6",
"assert abs(r0[2] - 0.0226) < 1e-6",
"r1 = com_zmp(20, 15, -0.1,... |
theo-eng-code-L3-code-007573 | 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(60, 7, 0.2, 0.8)",
"assert abs(r0[0] - 6.43) < 1e-6",
"assert abs(r0[1] - 385.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(1... |
theo-eng-code-L2-code-009138 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.41, 6000, 120)",
"assert abs(r0[0] - 7.73) < 1e-6",
"assert abs(r0[1] - 776.4) < 1e-6",
"r1 = gear_ratio(0.32, 9500, 120)",
"assert abs(r1[0] - 9.55) < 1e-6",
"asse... |
theo-eng-code-L3-code-015775 | 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(23, 17, 0.75)",
"assert abs(r0 - 21.66) < 1e-6",
"r1 = rms_torque(43, 25, 0.25)",
"assert abs(r1 - 30.51) < 1e-6",
"r2 = rms_torque(72, 10, 0.75)",
"assert abs(r2 - 62.5... |
theo-eng-code-L2-code-000820 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.75) < 1e-6",
"assert abs(r0[1] - 45.0) < 1e-6",
"assert abs(r0[2] - 90.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_... |
theo-eng-code-L2-code-007938 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([75, 51, 40, 62])",
"assert r0[0] == 57",
"assert abs(r0[1] - 14.989) < 1e-6",
"r1 = summarise([56, 77, 15, 26, 10])",
"assert abs(r1[0] - 36.8) < 1e-6",
"assert... |
theo-eng-code-L3-code-015975 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.43, 4000, 180)",
"assert abs(r0[0] - 3.6) < 1e-6",
"assert abs(r0[1] - 1110.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-012439 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 30, 0.03, 0.06, 0.8, 0.7, 2)",
"assert abs(r0[0] - 0.0505) < 1e-6",
"assert abs(r0[1] - 0.7318) < 1e-6",
"assert abs(r0[2] - -0.0987) < 1e-6",
"r1 = com_zmp(15, 18, 0.05,... |
theo-eng-code-L2-code-006814 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-008322 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([490, 160, 210], 1)",
"assert abs(r0 - 0.2389) < 1e-6",
"r1 = rect_energy([90, 240, 160, 210, 390], 1)",
"assert abs(r1 - 0.3028) < 1e-6",
"r2 = rect_energy([340,... |
theo-eng-code-L3-code-006817 | 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.29, 5000, 150)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 1372.0) < 1e-6",
"r1 = gear_ratio(0.38, 6500, 180)",
"assert abs(r1[0] - 5.17) < 1e-6",
"asser... |
theo-eng-code-L2-code-012486 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.9, 0.54, 60, 5.0, 3.5)",
"assert abs(r0[0] - 36.47) < 1e-6",
"assert abs(r0[1] - 2.0315) < 1e-6",
"assert abs(r0[2] - 43.58) < 1e-6",
"r1 = joint_torque(3.5, 0.22, 3... |
theo-eng-code-L3-code-015893 | 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(35, 10, 0.25)",
"assert abs(r0 - 19.53) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L1-code-002458 | 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_slices",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-007932 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 20, 3.6, 10)",
"assert r0[0] == 111",
"assert r0[1] == 6",
"assert r0[2] == 666",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 23.976) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-005749 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(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_ti... |
theo-eng-code-L2-code-011366 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(83, 33, 0.5)",
"assert abs(r0 - 63.16) < 1e-6",
"r1 = rms_torque(7, 3, 0.5)",
"assert abs(r1 - 5.39) < 1e-6",
"r2 = rms_torque(13, 5, 0.25)",
"assert abs(r2 - 7.81) < ... |
theo-eng-code-L2-code-009666 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "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-006394 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 10, 3.2, 100)",
"assert r0[0] == 62",
"assert r0[1] == 1",
"assert r0[2] == 62",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 19.84) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-011461 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([40, 28, 10, 59, 45, 92])",
"assert abs(r0[0] - 45.667) < 1e-6",
"assert abs(r0[1] - 28.076) < 1e-6",
"r1 = summarise([46, 98, 79, 88, 77])",
"assert abs(r1[0] - 77.... |
theo-eng-code-L2-code-003605 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.31, 12000, 150)",
"assert abs(r0[0] - 9.35) < 1e-6",
"assert abs(r0[1] - 1283.5) < 1e-6",
"r1 = gear_ratio(0.35, 13500, 120)",
"assert abs(r1[0] - 14.84) < 1e-6",
"... |
theo-eng-code-L2-code-004449 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(77, 17, 0.5)",
"assert abs(r0 - 55.76) < 1e-6",
"r1 = rms_torque(33, 14, 0.5)",
"assert abs(r1 - 25.35) < 1e-6",
"r2 = rms_torque(93, 37, 0.5)",
"assert abs(r2 - 70.77... |
theo-eng-code-L1-code-007908 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_loop_sum",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-009152 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 29, 0.04, -0.04, 0.9, 0.7, 0)",
"assert abs(r0[0] - -0.0211) < 1e-6",
"assert abs(r0[1] - 0.7474) < 1e-6",
"assert abs(r0[2] - -0.0211) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L2-code-000096 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 80, 3.6, 2.5)",
"assert r0[0] == 56",
"assert r0[1] == 159",
"assert r0[2] == 8904",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 80.136) < 1e-6",
"r... |
theo-eng-code-L2-code-002991 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 10, -0.05, 0.0, 0.8, 0.6, 0)",
"assert abs(r0[0] - -0.0206) < 1e-6",
"assert abs(r0[1] - 0.6824) < 1e-6",
"assert abs(r0[2] - -0.0206) < 1e-6",
"r1 = com_zmp(17, 22, -0.04... |
theo-eng-code-L2-code-006209 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L3-code-004165 | 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(92, 33, 0.75)",
"assert abs(r0 - 81.36) < 1e-6",
"r1 = rms_torque(87, 28, 0.5)",
"assert abs(r1 - 64.63) < 1e-6",
"r2 = rms_torque(94, 15, 0.5)",
"assert abs(r2 - 67.31)... |
theo-eng-code-L2-code-007079 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 29, 0.05, -0.02, 0.4, 0.5, 1)",
"assert abs(r0[0] - 0.0077) < 1e-6",
"assert abs(r0[1] - 0.4604) < 1e-6",
"assert abs(r0[2] - -0.0392) < 1e-6",
"r1 = com_zmp(6, 11, -0.01... |
theo-eng-code-L2-code-008729 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(48, 2600, 60, 0.28, 2.3, 0.013, 1.1, 0.88, 0.95)",
"assert abs(r0[0] - 289.4) < 1e-6",
"assert abs(r0[1] - 15.76) < 1e-6",
"assert abs(r0[2] - 9.46) < 1e-6",
"r1 = erange(27... |
theo-eng-code-L2-code-003724 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 10, 3.2, 10)",
"assert r0[0] == 94",
"assert r0[1] == 4",
"assert r0[2] == 376",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 12.032) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-015226 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(27, 21, 0.75)",
"assert abs(r0 - 25.63) < 1e-6",
"r1 = rms_torque(42, 31, 0.5)",
"assert abs(r1 - 36.91) < 1e-6",
"r2 = rms_torque(46, 25, 0.25)",
"assert abs(r2 - 31.... |
theo-eng-code-L1-clarify-010926 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-001932 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([320, 180, 340, 120], 10)",
"assert abs(r0 - 2.6667) < 1e-6",
"r1 = rect_energy([400, 150, 150, 180], 2)",
"assert abs(r1 - 0.4889) < 1e-6",
"r2 = rect_energy([17... |
theo-eng-code-L3-code-006947 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 10500, 150)",
"assert abs(r0[0] - 7.65) < 1e-6",
"assert abs(r0[1] - 1372.0) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-012233 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(33, 23, 0.75)",
"assert abs(r0 - 30.81) < 1e-6",
"r1 = rms_torque(32, 5, 0.75)",
"assert abs(r1 - 27.83) < 1e-6",
"r2 = rms_torque(83, 32, 0.75)",
"assert abs(r2 - 73.64... |
theo-eng-code-L3-code-008178 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.38, 10500, 100)",
"assert abs(r0[0] - 15.04) < 1e-6",
"assert abs(r0[1] - 698.0) < 1e-6",
"r1 = gear_ratio(0.36, 10000, 100)",
"assert abs(r1[0] - 13.57) < 1e-6",
"as... |
theo-eng-code-L3-code-012664 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(99, 2420, 100, 0.23, 2.7, 0.01, 0.5, 0.92, 0.85)",
"assert abs(r0[0] - 509.1) < 1e-6",
"assert abs(r0[1] - 16.53) < 1e-6",
"assert abs(r0[2] - 16.53) < 1e-6",
"r1 = erange(40,... |
theo-eng-code-L2-code-001639 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 50, 0.1, 0.9)",
"assert abs(r0[0] - 0.8) < 1e-6",
"assert abs(r0[1] - 48.0) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L3-code-014793 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 10, 3.7, 10)",
"assert r0[0] == 216",
"assert r0[1] == 2",
"assert r0[2] == 432",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 15.984) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-010110 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([98, 18, 11, 67])",
"assert abs(r0[0] - 48.5) < 1e-6",
"assert abs(r0[1] - 41.348) < 1e-6",
"r1 = summarise([62, 85, 38, 46, 84, 95])",
"assert abs(r1[0] - 68.333) <... |
theo-eng-code-L2-code-010270 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([17, 52, 43, 21, 73, 22])",
"assert r0[0] == 38",
"assert abs(r0[1] - 22.054) < 1e-6",
"r1 = summarise([54, 97, 52, 79, 82])",
"assert abs(r1[0] - 72.8) < 1e-6",
... |
theo-eng-code-L2-code-014097 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 160, 170, 0.7)",
"assert abs(r0[0] - 163.0) < 1e-6",
"assert abs(r0[1] - 2.76) < 1e-6",
"assert abs(r0[2] - 165.6) < 1e-6",
"r1 = runtime(0.2, 290, 360, 0.7)",
"... |
theo-eng-code-L1-refuse-013967 | 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-012935 | 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.56, 30, 4.5, 0.0)",
"assert abs(r0[0] - 19.5) < 1e-6",
"assert abs(r0[1] - 1.9548) < 1e-6",
"assert abs(r0[2] - 19.5) < 1e-6",
"r1 = joint_torque(3.2, 0.28, 30, 2... |
theo-eng-code-L2-code-012949 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-003937 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 20, 3.2, 10)",
"assert r0[0] == 250",
"assert r0[1] == 3",
"assert r0[2] == 750",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 24.0) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-014621 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, 1470, 100, 0.23, 2.3, 0.012, 1.0, 0.9, 0.85)",
"assert abs(r0[0] - 302.3) < 1e-6",
"assert abs(r0[1] - 14.06) < 1e-6",
"assert abs(r0[2] - 14.06) < 1e-6",
"r1 = erange(2... |
theo-eng-code-L2-code-006327 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 27, 0.0, 0.12, 0.3, 0.5, 0.5)",
"assert abs(r0[0] - 0.0853) < 1e-6",
"assert abs(r0[1] - 0.4421) < 1e-6",
"assert abs(r0[2] - 0.0627) < 1e-6",
"r1 = com_zmp(10, 24, -0.08... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.