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-001887 | 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, 4000, 120)",
"assert abs(r0[0] - 5.53) < 1e-6",
"assert abs(r0[1] - 723.4) < 1e-6",
"r1 = gear_ratio(0.37, 10000, 100)",
"assert abs(r1[0] - 13.95) < 1e-6",
"asse... |
theo-eng-code-L3-code-000411 | 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.42, 15000, 100)",
"assert abs(r0[0] - 23.75) < 1e-6",
"assert abs(r0[1] - 631.6) < 1e-6",
"r1 = gear_ratio(0.27, 9000, 180)",
"assert abs(r1[0] - 5.09) < 1e-6",
"asse... |
theo-eng-code-L3-code-006438 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.5, 0.23, 30, 3.5, 3.0)",
"assert abs(r0[0] - 5.36) < 1e-6",
"assert abs(r0[1] - 0.2292) < 1e-6",
"assert abs(r0[2] - 6.05) < 1e-6",
"r1 = joint_torque(7.0, 0.46, 30, 3... |
theo-eng-code-L2-code-001971 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 30, 310, 0.5)",
"assert abs(r0[0] - 170.0) < 1e-6",
"assert abs(r0[1] - 0.53) < 1e-6",
"assert abs(r0[2] - 31.8) < 1e-6",
"r1 = runtime(1.0, 290, 290, 0.5)",
"as... |
theo-eng-code-L1-clarify-011941 | 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-L3-code-000389 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(93, 2750, 60, 0.31, 2.9, 0.01, 1.1, 0.92, 0.85)",
"assert abs(r0[0] - 541.6) < 1e-6",
"assert abs(r0[1] - 14.6) < 1e-6",
"assert abs(r0[2] - 8.76) < 1e-6"
],
"subtask":... |
theo-eng-code-L3-code-000060 | 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(44, 21, 0.75)",
"assert abs(r0 - 39.53) < 1e-6",
"r1 = rms_torque(77, 9, 0.5)",
"assert abs(r1 - 54.82) < 1e-6",
"r2 = rms_torque(78, 7, 0.75)",
"assert abs(r2 - 67.64) ... |
theo-eng-code-L1-code-011412 | 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": "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-006528 | 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(6.6, 0.45, 45, 1.0, 3.5)",
"assert abs(r0[0] - 13.42) < 1e-6",
"assert abs(r0[1] - 0.648) < 1e-6",
"assert abs(r0[2] - 15.69) < 1e-6",
"r1 = joint_torque(1.8, 0.36, 90, ... |
theo-eng-code-L1-clarify-010676 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-refuse-000061 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-code-006229 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_countdown",
"user_template": "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-004793 | 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(7, 24, 0.09, -0.04, 0.6, 0.3, 0.5)",
"assert abs(r0[0] - -0.0106) < 1e-6",
"assert abs(r0[1] - 0.3677) < 1e-6",
"assert abs(r0[2] - -0.0294) < 1e-6"
],
"subtask": "write... |
theo-eng-code-L2-code-001016 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.39, 5500, 150)",
"assert abs(r0[0] - 5.39) < 1e-6",
"assert abs(r0[1] - 1020.2) < 1e-6",
"r1 = gear_ratio(0.28, 13500, 180)",
"assert abs(r1[0] - 7.92) < 1e-6",
"as... |
theo-eng-code-L2-code-011559 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([350, 420, 80], 2)",
"assert abs(r0 - 0.4722) < 1e-6",
"r1 = rect_energy([380, 480, 110], 5)",
"assert abs(r1 - 1.3472) < 1e-6",
"r2 = rect_energy([430, 270, 230]... |
theo-eng-code-L2-code-013252 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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_evenloop",
"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-005772 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-011142 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 5500, 180)",
"assert abs(r0[0] - 4.15) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.34, 9000, 120)",
"assert abs(r1[0] - 9.61) < 1e-6",
"ass... |
theo-eng-code-L2-code-003972 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(95, 11, 0.75)",
"assert abs(r0 - 82.46) < 1e-6",
"r1 = rms_torque(91, 34, 0.25)",
"assert abs(r1 - 54.2) < 1e-6",
"r2 = rms_torque(56, 4, 0.5)",
"assert abs(r2 - 39.7)... |
theo-eng-code-L2-code-000433 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.3, 0.53, 90, 1.0, 4.0)",
"assert abs(r0[0] - 16.38) < 1e-6",
"assert abs(r0[1] - 0.6835) < 1e-6",
"assert abs(r0[2] - 19.11) < 1e-6",
"r1 = joint_torque(3.2, 0.23, 4... |
theo-eng-code-L3-code-009054 | 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(19, 20, -0.05, 0.04, 0.9, 0.8, 0)",
"assert abs(r0[0] - -0.0038) < 1e-6",
"assert abs(r0[1] - 0.8487) < 1e-6",
"assert abs(r0[2] - -0.0038) < 1e-6"
],
"subtask": "writet... |
theo-eng-code-L3-code-001273 | 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(94, 39, 0.25)",
"assert abs(r0 - 57.88) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-002969 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 50)",
"assert r0[0] == 125",
"assert r0[1] == 2",
"assert r0[2] == 250",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 = p... |
theo-eng-code-L1-code-001132 | 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": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-007935 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(100, 2450, 60, 0.37, 2.1, 0.013, 0.9, 0.94, 0.95)",
"assert abs(r0[0] - 648.9) < 1e-6",
"assert abs(r0[1] - 14.64) < 1e-6",
"assert abs(r0[2] - 8.78) < 1e-6"
],
"subtas... |
theo-eng-code-L2-code-012435 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 7, 0.2, 0.9)",
"assert abs(r0[0] - 10.0) < 1e-6",
"assert abs(r0[1] - 600.0) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-005029 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(44, 23, 0.75)",
"assert abs(r0 - 39.8) < 1e-6",
"r1 = rms_torque(40, 15, 0.25)",
"assert abs(r1 - 23.85) < 1e-6",
"r2 = rms_torque(36, 12, 0.25)",
"assert abs(r2 - 20.... |
theo-eng-code-L2-code-015009 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 7, 0.1, 1.0)",
"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... |
theo-eng-code-L2-code-002364 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(78, 1740, 80, 0.29, 3.1, 0.012, 1.3, 0.88, 0.85)",
"assert abs(r0[0] - 397.6) < 1e-6",
"assert abs(r0[1] - 16.67) < 1e-6",
"assert abs(r0[2] - 13.34) < 1e-6",
"r1 = erange(9... |
theo-eng-code-L1-clarify-005841 | 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": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-008351 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(43, 1950, 60, 0.35, 2.5, 0.01, 1.2, 0.9, 0.9)",
"assert abs(r0[0] - 309.6) < 1e-6",
"assert abs(r0[1] - 12.5) < 1e-6",
"assert abs(r0[2] - 7.5) < 1e-6",
"r1 = erange(92, 196... |
theo-eng-code-L3-code-000596 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.8, 0.31, 60, 5.0, 2.0)",
"assert abs(r0[0] - 15.54) < 1e-6",
"assert abs(r0[1] - 0.5382) < 1e-6",
"assert abs(r0[2] - 16.61) < 1e-6",
"r1 = joint_torque(1.0, 0.33, 90,... |
theo-eng-code-L1-clarify-006021 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-010596 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.2, 0.8)",
"assert abs(r0[0] - 0.68) < 1e-6",
"assert abs(r0[1] - 40.9) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L3-code-010836 | 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(80, 7, 0.2, 0.8)",
"assert abs(r0[0] - 8.57) < 1e-6",
"assert abs(r0[1] - 514.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 7"
],
"subtask":... |
theo-eng-code-L3-code-011070 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.26, 10500, 180)",
"assert abs(r0[0] - 5.72) < 1e-6",
"assert abs(r0[1] - 1836.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L2-code-007156 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(52, 10, 0.75)",
"assert abs(r0 - 45.31) < 1e-6",
"r1 = rms_torque(45, 18, 0.25)",
"assert abs(r1 - 27.37) < 1e-6",
"r2 = rms_torque(29, 7, 0.5)",
"assert abs(r2 - 21.1... |
theo-eng-code-L2-code-003796 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([250, 450, 60, 160], 2)",
"assert abs(r0 - 0.5111) < 1e-6",
"r1 = rect_energy([350, 180, 300], 2)",
"assert abs(r1 - 0.4611) < 1e-6",
"r2 = rect_energy([480, 230,... |
theo-eng-code-L2-code-015555 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 80, 3.7, 10)",
"assert r0[0] == 108",
"assert r0[1] == 21",
"assert r0[2] == 2268",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 83.916) < 1e-6",
"r1... |
theo-eng-code-L2-code-014016 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(24, 1170, 100, 0.35, 2.8, 0.007, 0.6, 0.88, 0.95)",
"assert abs(r0[0] - 128.4) < 1e-6",
"assert abs(r0[1] - 17.76) < 1e-6",
"assert abs(r0[2] - 17.76) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-006800 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(97, 2740, 80, 0.23, 3.0, 0.011, 0.4, 0.88, 0.85)",
"assert abs(r0[0] - 502.1) < 1e-6",
"assert abs(r0[1] - 16.42) < 1e-6",
"assert abs(r0[2] - 13.14) < 1e-6",
"r1 = erange(9... |
theo-eng-code-L2-code-000545 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.76, 0.84, 0.85, 0.87, 0.8])",
"assert abs(r0 - 0.856) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.72, 0.81, 0.86, 0.9, 0.81])",
"as... |
theo-eng-code-L2-code-015359 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(41, 1530, 120, 0.37, 2.3, 0.009, 0.4, 0.9, 0.9)",
"assert abs(r0[0] - 164.9) < 1e-6",
"assert abs(r0[1] - 22.38) < 1e-6",
"assert abs(r0[2] - 26.85) < 1e-6",
"r1 = erange(77... |
theo-eng-code-L2-code-015943 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 50, 0.1, 0.8)",
"assert abs(r0[0] - 0.35) < 1e-6",
"assert abs(r0[1] - 21.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L2-code-009372 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 8500, 120)",
"assert abs(r0[0] - 10.15) < 1e-6",
"assert abs(r0[1] - 837.7) < 1e-6",
"r1 = gear_ratio(0.42, 4500, 120)",
"assert abs(r1[0] - 5.94) < 1e-6",
"ass... |
theo-eng-code-L2-code-013816 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(26, 1270, 120, 0.37, 2.2, 0.011, 0.5, 0.92, 0.9)",
"assert abs(r0[0] - 110.0) < 1e-6",
"assert abs(r0[1] - 21.28) < 1e-6",
"assert abs(r0[2] - 25.54) < 1e-6",
"r1 = erange(7... |
theo-eng-code-L2-code-005365 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 40, 3.6, 100)",
"assert r0[0] == 56",
"assert r0[1] == 2",
"assert r0[2] == 112",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 40.32) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-012950 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 20, 3.2, 50)",
"assert r0[0] == 156",
"assert r0[1] == 1",
"assert r0[2] == 156",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 24.96) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-004777 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 30, 410, 0.3)",
"assert abs(r0[0] - 296.0) < 1e-6",
"assert abs(r0[1] - 0.3) < 1e-6",
"assert abs(r0[2] - 18.2) < 1e-6",
"r1 = runtime(0.1, 90, 480, 0.7)",
"asse... |
theo-eng-code-L1-clarify-011146 | 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-L3-code-009310 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(66, 2510, 60, 0.26, 2.1, 0.012, 0.5, 0.92, 0.95)",
"assert abs(r0[0] - 499.2) < 1e-6",
"assert abs(r0[1] - 12.56) < 1e-6",
"assert abs(r0[2] - 7.54) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-002471 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')",
"assert r0[0] == 60",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 250}')",
"assert r1[0] == 60",
"a... |
theo-eng-code-L3-code-013282 | 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": "4",
"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 = p... |
theo-eng-code-L1-clarify-006367 | 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-L3-code-010259 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.3, 8000, 180)",
"assert abs(r0[0] - 5.03) < 1e-6",
"assert abs(r0[1] - 1591.5) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-016008 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L1-code-015752 | 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": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-011850 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([150, 460, 380, 300], 5)",
"assert abs(r0 - 1.7917) < 1e-6",
"r1 = rect_energy([80, 280, 470, 480, 210], 5)",
"assert abs(r1 - 2.1111) < 1e-6",
"r2 = rect_energy(... |
theo-eng-code-L2-code-013089 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([80, 90, 97, 35])",
"assert abs(r0[0] - 75.5) < 1e-6",
"assert abs(r0[1] - 27.887) < 1e-6",
"r1 = summarise([53, 66, 67, 94])",
"assert r1[0] == 70",
"assert abs... |
theo-eng-code-L2-code-009802 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.6, 50)",
"assert r0[0] == 83",
"assert r0[1] == 1",
"assert r0[2] == 83",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 14.94) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-011423 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 29, -0.09, 0.13, 0.3, 0.8, 1)",
"assert abs(r0[0] - 0.055) < 1e-6",
"assert abs(r0[1] - 0.6295) < 1e-6",
"assert abs(r0[2] - -0.0092) < 1e-6",
"r1 = com_zmp(11, 29, 0.02, 0... |
theo-eng-code-L2-code-000018 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([380, 460, 420], 1)",
"assert abs(r0 - 0.35) < 1e-6",
"r1 = rect_energy([360, 290, 80], 5)",
"assert abs(r1 - 1.0139) < 1e-6",
"r2 = rect_energy([380, 460, 490, 3... |
theo-eng-code-L3-code-000944 | 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, 40, 3.6, 5)",
"assert r0[0] == 222",
"assert r0[1] == 11",
"assert r0[2] == 2442",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 43.956) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-005004 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 30, -0.1, 0.15, 0.4, 0.3, 1)",
"assert abs(r0[0] - 0.0829) < 1e-6",
"assert abs(r0[1] - 0.3268) < 1e-6",
"assert abs(r0[2] - 0.0496) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L2-code-013908 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-008374 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 11, -0.04, 0.13, 0.4, 0.6, 0)",
"assert abs(r0[0] - 0.0413) < 1e-6",
"assert abs(r0[1] - 0.4957) < 1e-6",
"assert abs(r0[2] - 0.0413) < 1e-6",
"r1 = com_zmp(17, 27, -0.03... |
theo-eng-code-L2-code-006251 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 300, 540, 0.5)",
"assert abs(r0[0] - 420.0) < 1e-6",
"assert abs(r0[1] - 1.07) < 1e-6",
"assert abs(r0[2] - 64.3) < 1e-6",
"r1 = runtime(0.1, 190, 360, 0.5)",
"a... |
theo-eng-code-L3-code-004535 | 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(17, 25, -0.01, 0.08, 0.8, 0.3, 0)",
"assert abs(r0[0] - 0.0436) < 1e-6",
"assert abs(r0[1] - 0.5024) < 1e-6",
"assert abs(r0[2] - 0.0436) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L3-code-004139 | 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.36, 4500, 120)",
"assert abs(r0[0] - 5.09) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.32, 6000, 180)",
"assert abs(r1[0] - 4.02) < 1e-6",
"assert... |
theo-eng-code-L3-code-005455 | 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(35, 20, 0.5)",
"assert abs(r0 - 28.5) < 1e-6",
"r1 = rms_torque(16, 12, 0.5)",
"assert abs(r1 - 14.14) < 1e-6",
"r2 = rms_torque(17, 17, 0.5)",
"assert abs(r2 - 17.0) < ... |
theo-eng-code-L2-code-003103 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(33, 1610, 80, 0.38, 1.9, 0.008, 1.4, 0.94, 0.95)",
"assert abs(r0[0] - 262.6) < 1e-6",
"assert abs(r0[1] - 11.94) < 1e-6",
"assert abs(r0[2] - 9.55) < 1e-6",
"r1 = erange(66... |
theo-eng-code-L1-clarify-013596 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-010012 | 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.2, 250, 60, 0.5)",
"assert abs(r0[0] - 155.0) < 1e-6",
"assert abs(r0[1] - 1.16) < 1e-6",
"assert abs(r0[2] - 69.7) < 1e-6",
"r1 = runtime(1.0, 300, 170, 0.5)",
"asse... |
theo-eng-code-L2-code-001152 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 4000, 180)",
"assert abs(r0[0] - 3.6) < 1e-6",
"assert abs(r0[1] - 1110.4) < 1e-6",
"r1 = gear_ratio(0.44, 14500, 100)",
"assert abs(r1[0] - 24.05) < 1e-6",
"as... |
theo-eng-code-L3-code-015619 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 60, 3.6, 10)",
"assert r0[0] == 222",
"assert r0[1] == 8",
"assert r0[2] == 1776",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 63.936) < 1e-6"
],... |
theo-eng-code-L2-code-012805 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([12, 20, 30, 49, 74])",
"assert r0[0] == 37",
"assert abs(r0[1] - 24.88) < 1e-6",
"r1 = summarise([42, 67, 64, 70, 15])",
"assert abs(r1[0] - 51.6) < 1e-6",
"ass... |
theo-eng-code-L2-code-002193 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(63, 19, 0.25)",
"assert abs(r0 - 35.54) < 1e-6",
"r1 = rms_torque(17, 13, 0.5)",
"assert abs(r1 - 15.13) < 1e-6",
"r2 = rms_torque(84, 6, 0.75)",
"assert abs(r2 - 72.8... |
theo-eng-code-L1-code-006966 | 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": "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-009735 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, [0, 25, 50, 75, 100], [0.73, 0.82, 0.85, 0.9, 0.83])",
"assert abs(r0 - 0.82) < 1e-6",
"r1 = interp_eff(80, [0, 25, 50, 75, 100], [0.72, 0.85, 0.85, 0.85, 0.83])",
"as... |
theo-eng-code-L2-code-009043 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 50, 0.2, 1.0)",
"assert abs(r0[0] - 1.6) < 1e-6",
"assert abs(r0[1] - 96.0) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L3-code-005449 | 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(200, 60, 3.7, 10)",
"assert r0[0] == 54",
"assert r0[1] == 31",
"assert r0[2] == 1674",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 61.938) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-008058 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.45, 5500, 120)",
"assert abs(r0[0] - 7.78) < 1e-6",
"assert abs(r0[1] - 707.4) < 1e-6",
"r1 = gear_ratio(0.26, 13000, 150)",
"assert abs(r1[0] - 8.49) < 1e-6",
"ass... |
theo-eng-code-L3-code-011446 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.6, 0.16, 90, 5.5, 0.0)",
"assert abs(r0[0] - 11.46) < 1e-6",
"assert abs(r0[1] - 0.1715) < 1e-6",
"assert abs(r0[2] - 11.46) < 1e-6",
"r1 = joint_torque(4.3, 0.41, 60,... |
theo-eng-code-L2-code-013947 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 60, 3.2, 2.5)",
"assert r0[0] == 250",
"assert r0[1] == 30",
"assert r0[2] == 7500",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 60.0) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-011342 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(41, 1840, 60, 0.33, 2.8, 0.008, 0.6, 0.94, 0.95)",
"assert abs(r0[0] - 392.9) < 1e-6",
"assert abs(r0[1] - 9.91) < 1e-6",
"assert abs(r0[2] - 5.95) < 1e-6",
"r1 = erange(71,... |
theo-eng-code-L1-code-012338 | 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": "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-011531 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 11, 0.1, 0.9)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 218.2) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-012156 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 11, 0.02, 0.09, 0.7, 0.8, 2)",
"assert abs(r0[0] - 0.0457) < 1e-6",
"assert abs(r0[1] - 0.7367) < 1e-6",
"assert abs(r0[2] - -0.1045) < 1e-6",
"r1 = com_zmp(11, 18, 0.0, ... |
theo-eng-code-L2-code-000580 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(48, 1320, 80, 0.23, 2.3, 0.007, 1.3, 0.94, 0.9)",
"assert abs(r0[0] - 478.3) < 1e-6",
"assert abs(r0[1] - 9.03) < 1e-6",
"assert abs(r0[2] - 7.23) < 1e-6",
"r1 = erange(70, ... |
theo-eng-code-L2-code-008741 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([210, 380, 160], 10)",
"assert abs(r0 - 2.0833) < 1e-6",
"r1 = rect_energy([390, 410, 270], 5)",
"assert abs(r1 - 1.4861) < 1e-6",
"r2 = rect_energy([320, 500, 37... |
theo-eng-code-L2-code-002188 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_prodloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-code-015889 | 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_minmax",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-009736 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 29, 0.04, -0.05, 0.3, 0.9, 1)",
"assert abs(r0[0] - -0.0237) < 1e-6",
"assert abs(r0[1] - 0.7244) < 1e-6",
"assert abs(r0[2] - -0.0975) < 1e-6",
"r1 = com_zmp(6, 23, -0.0... |
theo-eng-code-L3-code-008378 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 60, 3.7, 50)",
"assert r0[0] == 108",
"assert r0[1] == 4",
"assert r0[2] == 432",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6"
],
... |
theo-eng-code-L2-code-007641 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.1, 0.25, 30, 1.0, 1.0)",
"assert abs(r0[0] - 4.97) < 1e-6",
"assert abs(r0[1] - 0.1896) < 1e-6",
"assert abs(r0[2] - 5.16) < 1e-6",
"r1 = joint_torque(4.1, 0.15, 45,... |
theo-eng-code-L3-code-002860 | 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(41, 2770, 120, 0.25, 2.9, 0.013, 1.3, 0.92, 0.95)",
"assert abs(r0[0] - 146.2) < 1e-6",
"assert abs(r0[1] - 26.65) < 1e-6",
"assert abs(r0[2] - 31.98) < 1e-6"
],
"subta... |
theo-eng-code-L2-code-009369 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(59, 1520, 80, 0.25, 2.8, 0.007, 0.5, 0.92, 0.85)",
"assert abs(r0[0] - 493.2) < 1e-6",
"assert abs(r0[1] - 10.17) < 1e-6",
"assert abs(r0[2] - 8.14) < 1e-6",
"r1 = erange(78... |
theo-eng-code-L1-refuse-002900 | 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": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-005353 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "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-011966 | 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.32, 14000, 180)",
"assert abs(r0[0] - 9.38) < 1e-6",
"assert abs(r0[1] - 1492.1) < 1e-6",
"r1 = gear_ratio(0.38, 10500, 180)",
"assert abs(r1[0] - 8.36) < 1e-6",
"ass... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.