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-009077 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 10, -0.09, 0.0, 0.3, 0.4, 2)",
"assert abs(r0[0] - -0.0371) < 1e-6",
"assert abs(r0[1] - 0.3588) < 1e-6",
"assert abs(r0[2] - -0.1102) < 1e-6",
"r1 = com_zmp(11, 14, -0.05... |
theo-eng-code-L3-code-009619 | 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.25, 4500, 180)",
"assert abs(r0[0] - 2.36) < 1e-6",
"assert abs(r0[1] - 1909.9) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-011744 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 11, -0.05, 0.14, 0.7, 0.6, 1)",
"assert abs(r0[0] - 0.06) < 1e-6",
"assert abs(r0[1] - 0.6421) < 1e-6",
"assert abs(r0[2] - -0.0055) < 1e-6",
"r1 = com_zmp(9, 14, 0.08, 0.... |
theo-eng-code-L2-code-011777 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-007188 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.2, 0.8)",
"assert abs(r0[0] - 2.73) < 1e-6",
"assert abs(r0[1] - 163.6) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-001513 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(60, [0, 25, 50, 75, 100], [0.72, 0.83, 0.86, 0.85, 0.84])",
"assert abs(r0 - 0.856) < 1e-6",
"r1 = interp_eff(55, [0, 25, 50, 75, 100], [0.7, 0.8, 0.9, 0.86, 0.8])",
"asse... |
theo-eng-code-L2-code-008596 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 190, 290, 0.5)",
"assert abs(r0[0] - 240.0) < 1e-6",
"assert abs(r0[1] - 3.75) < 1e-6",
"assert abs(r0[2] - 225.0) < 1e-6",
"r1 = runtime(0.5, 120, 380, 0.5)",
"... |
theo-eng-code-L2-code-008277 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 3.7, 2.5)",
"assert r0[0] == 108",
"assert r0[1] == 11",
"assert r0[2] == 1188",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 10.989) < 1e-6",
"r... |
theo-eng-code-L2-code-013135 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-003648 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(20, [0, 25, 50, 75, 100], [0.78, 0.85, 0.86, 0.89, 0.83])",
"assert abs(r0 - 0.836) < 1e-6",
"r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.71, 0.8, 0.9, 0.89, 0.8])",
"ass... |
theo-eng-code-L2-code-015413 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-003049 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.44, 7000, 150)",
"assert abs(r0[0] - 7.74) < 1e-6",
"assert abs(r0[1] - 904.3) < 1e-6",
"r1 = gear_ratio(0.39, 13000, 100)",
"assert abs(r1[0] - 19.11) < 1e-6",
"asse... |
theo-eng-code-L3-code-013861 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.0, 0.12, 45, 6.5, 3.5)",
"assert abs(r0[0] - 8.32) < 1e-6",
"assert abs(r0[1] - 0.1272) < 1e-6",
"assert abs(r0[2] - 8.77) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L2-code-007610 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(44, 10, 0.5)",
"assert abs(r0 - 31.91) < 1e-6",
"r1 = rms_torque(26, 14, 0.25)",
"assert abs(r1 - 17.78) < 1e-6",
"r2 = rms_torque(79, 36, 0.75)",
"assert abs(r2 - 70.... |
theo-eng-code-L2-code-007902 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L1-clarify-004830 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-012441 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.35, 14500, 120)",
"assert abs(r0[0] - 15.94) < 1e-6",
"assert abs(r0[1] - 909.5) < 1e-6",
"r1 = gear_ratio(0.37, 13000, 150)",
"assert abs(r1[0] - 12.09) < 1e-6",
"... |
theo-eng-code-L2-code-011397 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 5500, 150)",
"assert abs(r0[0] - 4.01) < 1e-6",
"assert abs(r0[1] - 1372.0) < 1e-6",
"r1 = gear_ratio(0.36, 6000, 120)",
"assert abs(r1[0] - 6.79) < 1e-6",
"ass... |
theo-eng-code-L2-code-004773 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(77, 2660, 80, 0.34, 2.0, 0.008, 1.3, 0.92, 0.9)",
"assert abs(r0[0] - 490.2) < 1e-6",
"assert abs(r0[1] - 14.14) < 1e-6",
"assert abs(r0[2] - 11.31) < 1e-6",
"r1 = erange(23... |
theo-eng-code-L3-code-001492 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 7500, 180)",
"assert abs(r0[0] - 5.65) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.43, 6000, 120)",
"assert abs(r1[0] - 8.11) < 1e-6",
"asser... |
theo-eng-code-L3-code-000506 | 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(7.6, 0.39, 45, 6.5, 1.5)",
"assert abs(r0[0] - 27.86) < 1e-6",
"assert abs(r0[1] - 1.374) < 1e-6",
"assert abs(r0[2] - 29.93) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L2-code-009217 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 23, -0.09, -0.04, 0.5, 0.7, 1)",
"assert abs(r0[0] - -0.0613) < 1e-6",
"assert abs(r0[1] - 0.615) < 1e-6",
"assert abs(r0[2] - -0.1239) < 1e-6",
"r1 = com_zmp(10, 17, 0.0... |
theo-eng-code-L2-code-001645 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.9, 0.1, 90, 3.5, 2.0)",
"assert abs(r0[0] - 5.84) < 1e-6",
"assert abs(r0[1] - 0.0513) < 1e-6",
"assert abs(r0[2] - 5.94) < 1e-6",
"r1 = joint_torque(5.7, 0.23, 90, ... |
theo-eng-code-L1-clarify-000606 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-005230 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 0.2, 1.0)",
"assert abs(r0[0] - 0.33) < 1e-6",
"assert abs(r0[1] - 20.0) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6",
"r... |
theo-eng-code-L3-code-013988 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(50, 2210, 120, 0.29, 2.8, 0.007, 0.5, 0.88, 0.9)",
"assert abs(r0[0] - 198.7) < 1e-6",
"assert abs(r0[1] - 22.65) < 1e-6",
"assert abs(r0[2] - 27.18) < 1e-6"
],
"subtas... |
theo-eng-code-L3-code-014243 | 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(15, 3, 0.5)",
"assert abs(r0 - 10.82) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-006078 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 120, 530, 0.3)",
"assert abs(r0[0] - 407.0) < 1e-6",
"assert abs(r0[1] - 0.44) < 1e-6",
"assert abs(r0[2] - 26.5) < 1e-6",
"r1 = runtime(1.0, 50, 490, 0.3)",
"as... |
theo-eng-code-L2-code-014304 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 0.41, 30, 0.0, 1.0)",
"assert abs(r0[0] - 3.32) < 1e-6",
"assert abs(r0[1] - 0.1849) < 1e-6",
"assert abs(r0[2] - 3.5) < 1e-6",
"r1 = joint_torque(3.9, 0.17, 45, ... |
theo-eng-code-L2-code-010920 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(49, 1320, 100, 0.28, 2.6, 0.007, 1.3, 0.92, 0.95)",
"assert abs(r0[0] - 322.7) < 1e-6",
"assert abs(r0[1] - 14.43) < 1e-6",
"assert abs(r0[2] - 14.43) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-008490 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(85, 1530, 60, 0.31, 2.3, 0.009, 1.5, 0.9, 0.9)",
"assert abs(r0[0] - 734.6) < 1e-6",
"assert abs(r0[1] - 10.41) < 1e-6",
"assert abs(r0[2] - 6.25) < 1e-6",
"r1 = erange(30, ... |
theo-eng-code-L2-code-009098 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.43, 7500, 100)",
"assert abs(r0[0] - 12.16) < 1e-6",
"assert abs(r0[1] - 616.9) < 1e-6",
"r1 = gear_ratio(0.25, 12500, 150)",
"assert abs(r1[0] - 7.85) < 1e-6",
"as... |
theo-eng-code-L2-code-014980 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(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-L3-code-008395 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.43, 13500, 180)",
"assert abs(r0[0] - 12.16) < 1e-6",
"assert abs(r0[1] - 1110.4) < 1e-6",
"r1 = gear_ratio(0.31, 9000, 180)",
"assert abs(r1[0] - 5.84) < 1e-6",
"ass... |
theo-eng-code-L2-code-013616 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(74, 1800, 120, 0.31, 3.1, 0.01, 1.2, 0.92, 0.95)",
"assert abs(r0[0] - 269.6) < 1e-6",
"assert abs(r0[1] - 26.08) < 1e-6",
"assert abs(r0[2] - 31.29) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L3-code-014604 | 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(46, 6, 0.75)",
"assert abs(r0 - 39.95) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-010492 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 15, 0.08, 0.11, 0.6, 0.6, 0.5)",
"assert abs(r0[0] - 0.095) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - 0.0644) < 1e-6",
"r1 = com_zmp(16, 28, 0.03, 0.... |
theo-eng-code-L3-code-003601 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 50, 100, 0.5)",
"assert abs(r0[0] - 75.0) < 1e-6",
"assert abs(r0[1] - 12.0) < 1e-6",
"assert abs(r0[2] - 720.0) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L2-code-001854 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(35, 1130, 120, 0.37, 2.6, 0.009, 1.2, 0.9, 0.95)",
"assert abs(r0[0] - 136.9) < 1e-6",
"assert abs(r0[1] - 24.29) < 1e-6",
"assert abs(r0[2] - 29.14) < 1e-6",
"r1 = erange(7... |
theo-eng-code-L3-code-007923 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.2, 0.8)",
"assert abs(r0[0] - 1.36) < 1e-6",
"assert abs(r0[1] - 81.8) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert r0[3] == 11"
],
"subtask"... |
theo-eng-code-L2-code-008188 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 50}')",
"assert r0[0] == 80",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')",
"assert r1[0] == 20",
"a... |
theo-eng-code-L2-code-005318 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(26, 9, 0.5)",
"assert abs(r0 - 19.46) < 1e-6",
"r1 = rms_torque(80, 15, 0.5)",
"assert abs(r1 - 57.55) < 1e-6",
"r2 = rms_torque(31, 31, 0.5)",
"assert abs(r2 - 31.0) ... |
theo-eng-code-L3-code-006820 | 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, 50, 0.2, 0.8)",
"assert abs(r0[0] - 0.9) < 1e-6",
"assert abs(r0[1] - 54.0) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(2... |
theo-eng-code-L2-code-014654 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 250}')",
"assert r0[0] == 40",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')",
"assert r1[0] == 80",
... |
theo-eng-code-L3-code-000594 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.31, 8000, 100)",
"assert abs(r0[0] - 9.35) < 1e-6",
"assert abs(r0[1] - 855.7) < 1e-6",
"r1 = gear_ratio(0.26, 9500, 150)",
"assert abs(r1[0] - 6.21) < 1e-6",
"assert... |
theo-eng-code-L3-code-003762 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 210, 530, 0.5)",
"assert abs(r0[0] - 370.0) < 1e-6",
"assert abs(r0[1] - 0.49) < 1e-6",
"assert abs(r0[2] - 29.2) < 1e-6",
"r1 = runtime(0.1, 80, 120, 0.5)",
"asse... |
theo-eng-code-L2-code-003763 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(43, 7, 0.25)",
"assert abs(r0 - 22.34) < 1e-6",
"r1 = rms_torque(79, 10, 0.5)",
"assert abs(r1 - 56.31) < 1e-6",
"r2 = rms_torque(30, 24, 0.5)",
"assert abs(r2 - 27.17... |
theo-eng-code-L1-code-011194 | 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_join",
"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-000432 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.41, 13000, 150)",
"assert abs(r0[0] - 13.4) < 1e-6",
"assert abs(r0[1] - 970.5) < 1e-6",
"r1 = gear_ratio(0.39, 13000, 100)",
"assert abs(r1[0] - 19.11) < 1e-6",
"ass... |
theo-eng-code-L1-code-007014 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_strmul",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-009335 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 3.6, 10)",
"assert r0[0] == 139",
"assert r0[1] == 4",
"assert r0[2] == 556",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 20.016) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-008655 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(38, 1200, 100, 0.32, 2.4, 0.009, 0.5, 0.94, 0.85)",
"assert abs(r0[0] - 225.0) < 1e-6",
"assert abs(r0[1] - 14.36) < 1e-6",
"assert abs(r0[2] - 14.36) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-006360 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')",
"assert r0[0] == 20",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')",
"assert r1[0] == 60",
... |
theo-eng-code-L3-code-007403 | 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(100, 2190, 60, 0.35, 2.6, 0.013, 0.7, 0.92, 0.85)",
"assert abs(r0[0] - 595.5) < 1e-6",
"assert abs(r0[1] - 14.27) < 1e-6",
"assert abs(r0[2] - 8.56) < 1e-6",
"r1 = erange(65,... |
theo-eng-code-L2-code-010667 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.28, 6000, 180)",
"assert abs(r0[0] - 3.52) < 1e-6",
"assert abs(r0[1] - 1705.2) < 1e-6",
"r1 = gear_ratio(0.33, 10000, 180)",
"assert abs(r1[0] - 6.91) < 1e-6",
"as... |
theo-eng-code-L2-code-010524 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.0, 3.0], [1.5, 2.5])",
"assert abs(r0 - 1.5811) < 1e-6",
"r1 = seg_len([4.5, 0.5], [3.5, 2.5])",
"assert abs(r1 - 2.2361) < 1e-6",
"r2 = seg_len([4.0, 4.5], [0.0, 2.0]... |
theo-eng-code-L3-code-003524 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 20, -0.05, 0.01, 0.9, 0.7, 2)",
"assert abs(r0[0] - -0.0184) < 1e-6",
"assert abs(r0[1] - 0.7947) < 1e-6",
"assert abs(r0[2] - -0.1804) < 1e-6"
],
"subtask": "writet... |
theo-eng-code-L2-code-005527 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.0, 2.0], [1.5, 0.0])",
"assert abs(r0 - 3.2016) < 1e-6",
"r1 = seg_len([2.5, 0.5], [5.0, 0.0])",
"assert abs(r1 - 2.5495) < 1e-6",
"r2 = seg_len([3.5, 2.5], [3.5, 2.0]... |
theo-eng-code-L2-code-005907 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.3, 0.1, 60, 0.5, 1.0)",
"assert abs(r0[0] - 3.53) < 1e-6",
"assert abs(r0[1] - 0.0293) < 1e-6",
"assert abs(r0[2] - 3.56) < 1e-6",
"r1 = joint_torque(7.6, 0.24, 45, ... |
theo-eng-code-L3-code-012351 | 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(33, 1320, 100, 0.26, 2.6, 0.012, 1.5, 0.9, 0.9)",
"assert abs(r0[0] - 183.8) < 1e-6",
"assert abs(r0[1] - 16.16) < 1e-6",
"assert abs(r0[2] - 16.16) < 1e-6"
],
"subtask... |
theo-eng-code-L1-clarify-006048 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-008609 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 100, 230, 0.5)",
"assert abs(r0[0] - 165.0) < 1e-6",
"assert abs(r0[1] - 0.55) < 1e-6",
"assert abs(r0[2] - 32.7) < 1e-6",
"r1 = runtime(0.2, 110, 500, 0.7)",
"a... |
theo-eng-code-L3-code-009579 | 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(84, 9, 0.25)",
"assert abs(r0 - 42.72) < 1e-6",
"r1 = rms_torque(57, 8, 0.25)",
"assert abs(r1 - 29.33) < 1e-6",
"r2 = rms_torque(62, 12, 0.5)",
"assert abs(r2 - 44.65) ... |
theo-eng-code-L2-code-003207 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([5.0, 1.5], [3.5, 0.0])",
"assert abs(r0 - 2.1213) < 1e-6",
"r1 = seg_len([3.0, 3.0], [3.0, 1.0])",
"assert abs(r1 - 2.0) < 1e-6",
"r2 = seg_len([0.5, 1.5], [4.5, 5.0])",... |
theo-eng-code-L2-code-005999 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(75, [0, 25, 50, 75, 100], [0.8, 0.84, 0.89, 0.88, 0.82])",
"assert abs(r0 - 0.88) < 1e-6",
"r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.72, 0.85, 0.89, 0.85, 0.8])",
"ass... |
theo-eng-code-L3-code-002968 | 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.38, 7500, 180)",
"assert abs(r0[0] - 5.97) < 1e-6",
"assert abs(r0[1] - 1256.5) < 1e-6",
"r1 = gear_ratio(0.39, 11000, 120)",
"assert abs(r1[0] - 13.48) < 1e-6",
"ass... |
theo-eng-code-L2-code-009362 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-002748 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(30, [0, 25, 50, 75, 100], [0.8, 0.81, 0.86, 0.9, 0.81])",
"assert abs(r0 - 0.82) < 1e-6",
"r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.78, 0.82, 0.86, 0.9, 0.84])",
"asse... |
theo-eng-code-L3-code-009305 | 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.27, 14500, 100)",
"assert abs(r0[0] - 14.76) < 1e-6",
"assert abs(r0[1] - 982.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L2-code-008392 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(95, 2090, 60, 0.22, 2.0, 0.009, 1.4, 0.88, 0.95)",
"assert abs(r0[0] - 857.8) < 1e-6",
"assert abs(r0[1] - 10.52) < 1e-6",
"assert abs(r0[2] - 6.31) < 1e-6",
"r1 = erange(76... |
theo-eng-code-L3-code-008184 | 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(79, 36, 0.25)",
"assert abs(r0 - 50.32) < 1e-6",
"r1 = rms_torque(42, 40, 0.25)",
"assert abs(r1 - 40.51) < 1e-6",
"r2 = rms_torque(78, 5, 0.75)",
"assert abs(r2 - 67.6)... |
theo-eng-code-L2-code-014706 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 270, 460, 0.3)",
"assert abs(r0[0] - 403.0) < 1e-6",
"assert abs(r0[1] - 0.22) < 1e-6",
"assert abs(r0[2] - 13.4) < 1e-6",
"r1 = runtime(1.0, 260, 190, 0.7)",
"a... |
theo-eng-code-L2-code-006596 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-012293 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 13, 0.06, 0.09, 0.4, 0.3, 0.5)",
"assert abs(r0[0] - 0.0777) < 1e-6",
"assert abs(r0[1] - 0.3409) < 1e-6",
"assert abs(r0[2] - 0.0604) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L2-code-013452 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8.0, 0.31, 90, 7.5, 2.0)",
"assert abs(r0[0] - 34.97) < 1e-6",
"assert abs(r0[1] - 0.977) < 1e-6",
"assert abs(r0[2] - 36.93) < 1e-6",
"r1 = joint_torque(1.7, 0.1, 90,... |
theo-eng-code-L2-code-004295 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 4000, 150)",
"assert abs(r0[0] - 3.62) < 1e-6",
"assert abs(r0[1] - 1105.2) < 1e-6",
"r1 = gear_ratio(0.4, 12500, 150)",
"assert abs(r1[0] - 12.57) < 1e-6",
"as... |
theo-eng-code-L3-code-012556 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 150, 0.1, 0.9)",
"assert abs(r0[0] - 0.33) < 1e-6",
"assert abs(r0[1] - 20.0) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert abs(r0[3] - 120.0) < 1e-6"
... |
theo-eng-code-L2-code-015670 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.39, 14000, 120)",
"assert abs(r0[0] - 17.15) < 1e-6",
"assert abs(r0[1] - 816.2) < 1e-6",
"r1 = gear_ratio(0.38, 6000, 180)",
"assert abs(r1[0] - 4.78) < 1e-6",
"as... |
theo-eng-code-L1-clarify-000524 | 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-L1-refuse-012067 | 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": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-002992 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, [0, 25, 50, 75, 100], [0.73, 0.8, 0.86, 0.88, 0.83])",
"assert abs(r0 - 0.87) < 1e-6",
"r1 = interp_eff(85, [0, 25, 50, 75, 100], [0.74, 0.85, 0.85, 0.85, 0.82])",
"as... |
theo-eng-code-L3-code-000898 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 29, 0.07, 0.02, 0.4, 0.5, 1)",
"assert abs(r0[0] - 0.0318) < 1e-6",
"assert abs(r0[1] - 0.4763) < 1e-6",
"assert abs(r0[2] - -0.0167) < 1e-6",
"r1 = com_zmp(20, 25, 0.09, 0.... |
theo-eng-code-L3-code-009260 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.32, 4500, 180)",
"assert abs(r0[0] - 3.02) < 1e-6",
"assert abs(r0[1] - 1492.1) < 1e-6",
"r1 = gear_ratio(0.37, 5000, 150)",
"assert abs(r1[0] - 4.65) < 1e-6",
"asser... |
theo-eng-code-L3-code-007442 | 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(5, 26, 0.05, -0.04, 0.9, 0.9, 0)",
"assert abs(r0[0] - -0.0255) < 1e-6",
"assert abs(r0[1] - 0.9) < 1e-6",
"assert abs(r0[2] - -0.0255) < 1e-6",
"r1 = com_zmp(11, 26, 0.05, 0.0... |
theo-eng-code-L2-code-002227 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.33, 13000, 150)",
"assert abs(r0[0] - 10.78) < 1e-6",
"assert abs(r0[1] - 1205.7) < 1e-6",
"r1 = gear_ratio(0.26, 4000, 100)",
"assert abs(r1[0] - 3.92) < 1e-6",
"a... |
theo-eng-code-L2-code-012724 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.9, 0.37, 60, 1.5, 1.5)",
"assert abs(r0[0] - 10.84) < 1e-6",
"assert abs(r0[1] - 0.3833) < 1e-6",
"assert abs(r0[2] - 11.42) < 1e-6",
"r1 = joint_torque(3.7, 0.36, 9... |
theo-eng-code-L3-code-012918 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 40, 3.6, 100)",
"assert r0[0] == 222",
"assert r0[1] == 1",
"assert r0[2] == 222",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-010932 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.42, 15000, 150)",
"assert abs(r0[0] - 15.83) < 1e-6",
"assert abs(r0[1] - 947.4) < 1e-6",
"r1 = gear_ratio(0.36, 11000, 120)",
"assert abs(r1[0] - 12.44) < 1e-6",
"as... |
theo-eng-code-L2-code-014078 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.0, 0.5], [4.5, 4.0])",
"assert abs(r0 - 4.9497) < 1e-6",
"r1 = seg_len([4.0, 5.0], [3.5, 3.5])",
"assert abs(r1 - 1.5811) < 1e-6",
"r2 = seg_len([3.5, 0.0], [2.0, 5.0]... |
theo-eng-code-L3-code-006720 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(63, 24, 0.25)",
"assert abs(r0 - 37.74) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-010360 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 60, 3.6, 100)",
"assert r0[0] == 222",
"assert r0[1] == 1",
"assert r0[2] == 222",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 =... |
theo-eng-code-L1-refuse-007389 | 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-007606 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.9, 0.33, 60, 4.5, 0.5)",
"assert abs(r0[0] - 16.68) < 1e-6",
"assert abs(r0[1] - 0.5953) < 1e-6",
"assert abs(r0[2] - 16.98) < 1e-6",
"r1 = joint_torque(1.6, 0.12, 9... |
theo-eng-code-L3-code-012695 | 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(15, 5, 0.5)",
"assert abs(r0 - 11.18) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-011311 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.5, 0.0], [0.5, 1.5])",
"assert abs(r0 - 1.5) < 1e-6",
"r1 = seg_len([4.0, 2.5], [0.5, 2.0])",
"assert abs(r1 - 3.5355) < 1e-6",
"r2 = seg_len([2.5, 1.5], [3.0, 2.5])",... |
theo-eng-code-L2-code-014211 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-003193 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 270, 110, 0.7)",
"assert abs(r0[0] - 222.0) < 1e-6",
"assert abs(r0[1] - 0.81) < 1e-6",
"assert abs(r0[2] - 48.6) < 1e-6",
"r1 = runtime(0.2, 40, 500, 0.5)",
"as... |
theo-eng-code-L2-code-011207 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(36, 8, 0.5)",
"assert abs(r0 - 26.08) < 1e-6",
"r1 = rms_torque(50, 26, 0.25)",
"assert abs(r1 - 33.65) < 1e-6",
"r2 = rms_torque(49, 14, 0.25)",
"assert abs(r2 - 27.3... |
theo-eng-code-L2-code-013675 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(48, 9, 0.5)",
"assert abs(r0 - 34.53) < 1e-6",
"r1 = rms_torque(90, 10, 0.25)",
"assert abs(r1 - 45.83) < 1e-6",
"r2 = rms_torque(95, 12, 0.5)",
"assert abs(r2 - 67.71... |
theo-eng-code-L3-code-000464 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 10, 3.7, 10)",
"assert r0[0] == 135",
"assert r0[1] == 3",
"assert r0[2] == 405",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 14.985) < 1e-6"
],
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.