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-000101 | 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.32, 8500, 120)",
"assert abs(r0[0] - 8.55) < 1e-6",
"assert abs(r0[1] - 994.7) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L1-refuse-008100 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-006187 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(16, 22, 0.09, 0.14, 0.5, 0.6, 0.5)",
"assert abs(r0[0] - 0.1189) < 1e-6",
"assert abs(r0[1] - 0.5579) < 1e-6",
"assert abs(r0[2] - 0.0905) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L2-code-004236 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 7, 0.1, 0.9)",
"assert abs(r0[0] - 8.57) < 1e-6",
"assert abs(r0[1] - 514.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L1-code-011517 | 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_filter",
"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-004379 | 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(63, 2400, 60, 0.23, 2.6, 0.007, 1.2, 0.9, 0.9)",
"assert abs(r0[0] - 554.4) < 1e-6",
"assert abs(r0[1] - 10.23) < 1e-6",
"assert abs(r0[2] - 6.14) < 1e-6"
],
"subtask":... |
theo-eng-code-L2-code-013954 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(20, [0, 25, 50, 75, 100], [0.76, 0.8, 0.86, 0.9, 0.81])",
"assert abs(r0 - 0.792) < 1e-6",
"r1 = interp_eff(40, [0, 25, 50, 75, 100], [0.78, 0.84, 0.87, 0.85, 0.8])",
"ass... |
theo-eng-code-L2-code-009968 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.3, 0.27, 45, 3.0, 0.0)",
"assert abs(r0[0] - 10.58) < 1e-6",
"assert abs(r0[1] - 0.3475) < 1e-6",
"assert abs(r0[2] - 10.58) < 1e-6",
"r1 = joint_torque(7.1, 0.6, 90... |
theo-eng-code-L3-code-011793 | 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(10, 12, -0.01, 0.0, 0.5, 0.3, 0)",
"assert abs(r0[0] - -0.0045) < 1e-6",
"assert abs(r0[1] - 0.3909) < 1e-6",
"assert abs(r0[2] - -0.0045) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L2-code-002076 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(64, 3, 0.25)",
"assert abs(r0 - 32.11) < 1e-6",
"r1 = rms_torque(32, 5, 0.5)",
"assert abs(r1 - 22.9) < 1e-6",
"r2 = rms_torque(12, 10, 0.25)",
"assert abs(r2 - 10.54)... |
theo-eng-code-L2-code-015483 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-015952 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 50, 170, 0.5)",
"assert abs(r0[0] - 110.0) < 1e-6",
"assert abs(r0[1] - 4.09) < 1e-6",
"assert abs(r0[2] - 245.5) < 1e-6",
"r1 = runtime(0.1, 40, 150, 0.5)",
"as... |
theo-eng-code-L2-code-014616 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.25, 14500, 150)",
"assert abs(r0[0] - 9.11) < 1e-6",
"assert abs(r0[1] - 1591.5) < 1e-6",
"r1 = gear_ratio(0.34, 12000, 150)",
"assert abs(r1[0] - 10.25) < 1e-6",
"... |
theo-eng-code-L1-code-014374 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_countdown",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-006759 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 300, 150, 0.7)",
"assert abs(r0[0] - 255.0) < 1e-6",
"assert abs(r0[1] - 1.76) < 1e-6",
"assert abs(r0[2] - 105.9) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L3-code-015900 | 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(400, 10, 3.2, 10)",
"assert r0[0] == 125",
"assert r0[1] == 3",
"assert r0[2] == 375",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 12.0) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-009703 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.44, 5500, 180)",
"assert abs(r0[0] - 5.07) < 1e-6",
"assert abs(r0[1] - 1085.1) < 1e-6",
"r1 = gear_ratio(0.32, 4500, 120)",
"assert abs(r1[0] - 4.52) < 1e-6",
"ass... |
theo-eng-code-L2-code-007524 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-002725 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.27, 4500, 180)",
"assert abs(r0[0] - 2.54) < 1e-6",
"assert abs(r0[1] - 1768.4) < 1e-6",
"r1 = gear_ratio(0.34, 14000, 120)",
"assert abs(r1[0] - 14.95) < 1e-6",
"a... |
theo-eng-code-L1-code-005131 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_slices",
"user_template": "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-013656 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([5.0, 1.0], [1.0, 0.0])",
"assert abs(r0 - 4.1231) < 1e-6",
"r1 = seg_len([3.5, 4.5], [4.0, 5.0])",
"assert abs(r1 - 0.7071) < 1e-6",
"r2 = seg_len([1.0, 2.5], [3.0, 5.0]... |
theo-eng-code-L2-code-002670 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(85, 2380, 80, 0.35, 2.8, 0.012, 0.3, 0.92, 0.95)",
"assert abs(r0[0] - 454.1) < 1e-6",
"assert abs(r0[1] - 17.78) < 1e-6",
"assert abs(r0[2] - 14.23) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L2-code-013764 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 22, 0.2, 0.9)",
"assert abs(r0[0] - 3.18) < 1e-6",
"assert abs(r0[1] - 190.9) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L2-code-007497 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 60, 3.7, 100)",
"assert r0[0] == 81",
"assert r0[1] == 3",
"assert r0[2] == 243",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 89.91) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-001598 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([460, 60, 210, 50, 200], 5)",
"assert abs(r0 - 1.3611) < 1e-6",
"r1 = rect_energy([140, 390, 60], 2)",
"assert abs(r1 - 0.3278) < 1e-6",
"r2 = rect_energy([380, 3... |
theo-eng-code-L2-code-006107 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([420, 140, 390, 310], 10)",
"assert abs(r0 - 3.5) < 1e-6",
"r1 = rect_energy([180, 460, 120], 2)",
"assert abs(r1 - 0.4222) < 1e-6",
"r2 = rect_energy([210, 440, ... |
theo-eng-code-L3-code-006666 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 280, 490, 0.7)",
"assert abs(r0[0] - 343.0) < 1e-6",
"assert abs(r0[1] - 0.52) < 1e-6",
"assert abs(r0[2] - 31.5) < 1e-6",
"r1 = runtime(0.1, 200, 300, 0.3)",
"ass... |
theo-eng-code-L1-code-015702 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_fstring",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-refuse-002881 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-005702 | 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(20, 25, 0.04, 0.11, 0.3, 0.7, 2)",
"assert abs(r0[0] - 0.0789) < 1e-6",
"assert abs(r0[1] - 0.5222) < 1e-6",
"assert abs(r0[2] - -0.0276) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L3-code-012800 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(33, 2260, 120, 0.37, 2.1, 0.007, 0.9, 0.94, 0.9)",
"assert abs(r0[0] - 141.7) < 1e-6",
"assert abs(r0[1] - 20.96) < 1e-6",
"assert abs(r0[2] - 25.15) < 1e-6"
],
"subtas... |
theo-eng-code-L3-code-005935 | 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(92, 18, 0.5)",
"assert abs(r0 - 66.29) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-011037 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 300, 170, 0.5)",
"assert abs(r0[0] - 235.0) < 1e-6",
"assert abs(r0[1] - 3.83) < 1e-6",
"assert abs(r0[2] - 229.8) < 1e-6",
"r1 = runtime(0.1, 270, 450, 0.7)",
"... |
theo-eng-code-L2-code-007499 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(84, 9, 0.75)",
"assert abs(r0 - 72.89) < 1e-6",
"r1 = rms_torque(21, 7, 0.25)",
"assert abs(r1 - 12.12) < 1e-6",
"r2 = rms_torque(14, 12, 0.25)",
"assert abs(r2 - 12.5... |
theo-eng-code-L2-code-014765 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(91, 23, 0.5)",
"assert abs(r0 - 66.37) < 1e-6",
"r1 = rms_torque(100, 14, 0.25)",
"assert abs(r1 - 51.45) < 1e-6",
"r2 = rms_torque(19, 3, 0.75)",
"assert abs(r2 - 16.... |
theo-eng-code-L2-code-015646 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.5, 4.5], [2.0, 2.5])",
"assert abs(r0 - 3.2016) < 1e-6",
"r1 = seg_len([1.0, 2.0], [0.0, 5.0])",
"assert abs(r1 - 3.1623) < 1e-6",
"r2 = seg_len([4.0, 1.0], [3.0, 4.0]... |
theo-eng-code-L2-code-010123 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([83, 46, 81, 10])",
"assert r0[0] == 55",
"assert abs(r0[1] - 34.477) < 1e-6",
"r1 = summarise([92, 29, 47, 15, 59, 26])",
"assert abs(r1[0] - 44.667) < 1e-6",
"... |
theo-eng-code-L2-code-007292 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(49, 1870, 80, 0.25, 2.1, 0.008, 0.4, 0.88, 0.85)",
"assert abs(r0[0] - 410.5) < 1e-6",
"assert abs(r0[1] - 10.15) < 1e-6",
"assert abs(r0[2] - 8.12) < 1e-6",
"r1 = erange(80... |
theo-eng-code-L3-code-013435 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(58, 2680, 60, 0.27, 2.5, 0.008, 0.6, 0.9, 0.95)",
"assert abs(r0[0] - 499.3) < 1e-6",
"assert abs(r0[1] - 11.04) < 1e-6",
"assert abs(r0[2] - 6.62) < 1e-6",
"r1 = erange(34, 1... |
theo-eng-code-L2-code-004514 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.1, 0.14, 60, 0.5, 0.0)",
"assert abs(r0[0] - 4.82) < 1e-6",
"assert abs(r0[1] - 0.0562) < 1e-6",
"assert abs(r0[2] - 4.82) < 1e-6",
"r1 = joint_torque(6.8, 0.15, 30,... |
theo-eng-code-L2-code-000551 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.36, 10500, 180)",
"assert abs(r0[0] - 7.92) < 1e-6",
"assert abs(r0[1] - 1326.3) < 1e-6",
"r1 = gear_ratio(0.32, 5000, 120)",
"assert abs(r1[0] - 5.03) < 1e-6",
"as... |
theo-eng-code-L3-code-007085 | 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(2.0, 0.17, 60, 6.0, 3.5)",
"assert abs(r0[0] - 10.11) < 1e-6",
"assert abs(r0[1] - 0.1927) < 1e-6",
"assert abs(r0[2] - 10.78) < 1e-6",
"r1 = joint_torque(1.7, 0.21, 60,... |
theo-eng-code-L1-code-010409 | 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_nested",
"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-008210 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([31, 14, 79, 13])",
"assert abs(r0[0] - 34.25) < 1e-6",
"assert abs(r0[1] - 30.956) < 1e-6",
"r1 = summarise([22, 20, 54, 57])",
"assert abs(r1[0] - 38.25) < 1e-6",
... |
theo-eng-code-L3-code-010391 | 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.3, 0.24, 45, 5.5, 1.0)",
"assert abs(r0[0] - 15.23) < 1e-6",
"assert abs(r0[1] - 0.457) < 1e-6",
"assert abs(r0[2] - 15.69) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L2-code-005271 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.0, 1.0], [2.0, 5.0])",
"assert abs(r0 - 4.4721) < 1e-6",
"r1 = seg_len([2.5, 3.5], [1.0, 2.5])",
"assert abs(r1 - 1.8028) < 1e-6",
"r2 = seg_len([0.0, 1.5], [1.0, 3.0]... |
theo-eng-code-L2-code-014916 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 10, 3.7, 50)",
"assert r0[0] == 81",
"assert r0[1] == 1",
"assert r0[2] == 81",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 14.985) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-014185 | 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(43, 32, 0.75)",
"assert abs(r0 - 40.53) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-003450 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(92, 12, 0.25)",
"assert abs(r0 - 47.16) < 1e-6",
"r1 = rms_torque(73, 37, 0.25)",
"assert abs(r1 - 48.57) < 1e-6",
"r2 = rms_torque(21, 9, 0.5)",
"assert abs(r2 - 16.1... |
theo-eng-code-L2-code-014019 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([63, 83, 91, 84, 86, 73])",
"assert r0[0] == 80",
"assert abs(r0[1] - 10.198) < 1e-6",
"r1 = summarise([40, 84, 25, 71])",
"assert r1[0] == 55",
"assert abs(r1[1... |
theo-eng-code-L3-code-004769 | 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.1, 190, 250, 0.7)",
"assert abs(r0[0] - 208.0) < 1e-6",
"assert abs(r0[1] - 0.43) < 1e-6",
"assert abs(r0[2] - 26.0) < 1e-6",
"r1 = runtime(1.0, 90, 370, 0.7)",
"asse... |
theo-eng-code-L3-code-007365 | 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(500, 20, 3.2, 5)",
"assert r0[0] == 156",
"assert r0[1] == 9",
"assert r0[2] == 1404",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 22.464) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-002340 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 29, 0.09, 0.15, 0.8, 0.4, 0.5)",
"assert abs(r0[0] - 0.1287) < 1e-6",
"assert abs(r0[1] - 0.5422) < 1e-6",
"assert abs(r0[2] - 0.101) < 1e-6",
"r1 = com_zmp(19, 18, -0.06... |
theo-eng-code-L2-code-012656 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 13, 0.1, 0.07, 0.6, 0.5, 0)",
"assert abs(r0[0] - 0.0795) < 1e-6",
"assert abs(r0[1] - 0.5316) < 1e-6",
"assert abs(r0[2] - 0.0795) < 1e-6",
"r1 = com_zmp(16, 16, 0.0, -0.... |
theo-eng-code-L2-code-013663 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 30, 0.5)",
"assert abs(r0[0] - 90.0) < 1e-6",
"assert abs(r0[1] - 1.0) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"r1 = runtime(0.5, 220, 550, 0.7)",
"asse... |
theo-eng-code-L2-code-014261 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 30, 60, 0.3)",
"assert abs(r0[0] - 51.0) < 1e-6",
"assert abs(r0[1] - 17.65) < 1e-6",
"assert abs(r0[2] - 1058.8) < 1e-6",
"r1 = runtime(0.2, 70, 150, 0.3)",
"as... |
theo-eng-code-L2-code-001946 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 11, 0.02, 0.06, 0.9, 0.7, 0.5)",
"assert abs(r0[0] - 0.0352) < 1e-6",
"assert abs(r0[1] - 0.8241) < 1e-6",
"assert abs(r0[2] - -0.0068) < 1e-6",
"r1 = com_zmp(12, 16, -0.... |
theo-eng-code-L2-code-008067 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 160, 140, 0.5)",
"assert abs(r0[0] - 150.0) < 1e-6",
"assert abs(r0[1] - 3.0) < 1e-6",
"assert abs(r0[2] - 180.0) < 1e-6",
"r1 = runtime(0.5, 220, 150, 0.3)",
"a... |
theo-eng-code-L2-code-007949 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 7, 0.1, 0.9)",
"assert abs(r0[0] - 14.29) < 1e-6",
"assert abs(r0[1] - 857.1) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_ti... |
theo-eng-code-L2-code-014068 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 10, 3.6, 2.5)",
"assert r0[0] == 139",
"assert r0[1] == 8",
"assert r0[2] == 1112",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 10.008) < 1e-6",
"r1... |
theo-eng-code-L2-code-009018 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 27, 0.04, 0.06, 0.3, 0.8, 1)",
"assert abs(r0[0] - 0.055) < 1e-6",
"assert abs(r0[1] - 0.675) < 1e-6",
"assert abs(r0[2] - -0.0138) < 1e-6",
"r1 = com_zmp(17, 25, -0.08, -... |
theo-eng-code-L1-clarify-005205 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-004855 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 11500, 100)",
"assert abs(r0[0] - 17.34) < 1e-6",
"assert abs(r0[1] - 663.1) < 1e-6",
"r1 = gear_ratio(0.26, 4000, 120)",
"assert abs(r1[0] - 3.27) < 1e-6",
"ass... |
theo-eng-code-L1-clarify-004218 | 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-002737 | 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(47, 2110, 80, 0.36, 1.9, 0.013, 1.0, 0.88, 0.9)",
"assert abs(r0[0] - 259.9) < 1e-6",
"assert abs(r0[1] - 16.27) < 1e-6",
"assert abs(r0[2] - 13.02) < 1e-6",
"r1 = erange(24, ... |
theo-eng-code-L2-code-000938 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([54, 38, 94, 14, 62, 69])",
"assert abs(r0[0] - 55.167) < 1e-6",
"assert abs(r0[1] - 27.338) < 1e-6",
"r1 = summarise([68, 31, 42, 50, 67, 41])",
"assert abs(r1[0] -... |
theo-eng-code-L2-code-004789 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.5, 2.0], [3.5, 0.5])",
"assert abs(r0 - 1.8028) < 1e-6",
"r1 = seg_len([3.5, 1.0], [4.5, 0.0])",
"assert abs(r1 - 1.4142) < 1e-6",
"r2 = seg_len([2.0, 2.0], [3.5, 0.5]... |
theo-eng-code-L2-code-004296 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-005267 | 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(73, 29, 0.75)",
"assert abs(r0 - 64.86) < 1e-6",
"r1 = rms_torque(54, 11, 0.75)",
"assert abs(r1 - 47.09) < 1e-6",
"r2 = rms_torque(56, 5, 0.5)",
"assert abs(r2 - 39.76)... |
theo-eng-code-L2-code-014017 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(98, 1250, 80, 0.31, 2.7, 0.013, 1.0, 0.88, 0.95)",
"assert abs(r0[0] - 652.3) < 1e-6",
"assert abs(r0[1] - 14.27) < 1e-6",
"assert abs(r0[2] - 11.42) < 1e-6",
"r1 = erange(4... |
theo-eng-code-L1-code-010113 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_slices",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-013991 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.5, 0.53, 45, 7.0, 1.5)",
"assert abs(r0[0] - 35.85) < 1e-6",
"assert abs(r0[1] - 2.4813) < 1e-6",
"assert abs(r0[2] - 39.57) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L3-code-014949 | 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(67, 30, 0.25)",
"assert abs(r0 - 42.39) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L1-code-005863 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_chain",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-002510 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 20, -0.08, 0.01, 0.8, 0.4, 0.5)",
"assert abs(r0[0] - -0.0255) < 1e-6",
"assert abs(r0[1] - 0.5576) < 1e-6",
"assert abs(r0[2] - -0.0539) < 1e-6"
],
"subtask": "writ... |
theo-eng-code-L2-code-000819 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 20, 3.6, 50)",
"assert r0[0] == 56",
"assert r0[1] == 2",
"assert r0[2] == 112",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 20.16) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-005075 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 24, 0.07, 0.02, 0.6, 0.7, 0)",
"assert abs(r0[0] - 0.0367) < 1e-6",
"assert abs(r0[1] - 0.6667) < 1e-6",
"assert abs(r0[2] - 0.0367) < 1e-6",
"r1 = com_zmp(6, 25, -0.07, ... |
theo-eng-code-L2-code-014329 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.26, 7000, 150)",
"assert abs(r0[0] - 4.57) < 1e-6",
"assert abs(r0[1] - 1530.3) < 1e-6",
"r1 = gear_ratio(0.41, 11500, 180)",
"assert abs(r1[0] - 9.88) < 1e-6",
"as... |
theo-eng-code-L3-code-014149 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(41, 1440, 100, 0.31, 1.9, 0.009, 0.9, 0.9, 0.95)",
"assert abs(r0[0] - 290.3) < 1e-6",
"assert abs(r0[1] - 13.42) < 1e-6",
"assert abs(r0[2] - 13.42) < 1e-6"
],
"subtas... |
theo-eng-code-L1-clarify-008373 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-006509 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.5, 5.0], [0.5, 4.5])",
"assert abs(r0 - 2.0616) < 1e-6",
"r1 = seg_len([4.0, 1.5], [1.0, 0.0])",
"assert abs(r1 - 3.3541) < 1e-6",
"r2 = seg_len([0.5, 0.0], [1.0, 1.0]... |
theo-eng-code-L3-code-001414 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 60, 3.2, 5)",
"assert r0[0] == 250",
"assert r0[1] == 15",
"assert r0[2] == 3750",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 60.0) < 1e-6",
"r1 = pa... |
theo-eng-code-L3-code-010294 | 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.32, 6000, 100)",
"assert abs(r0[0] - 7.24) < 1e-6",
"assert abs(r0[1] - 828.9) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-014713 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(58, 1680, 100, 0.28, 2.0, 0.013, 1.3, 0.9, 0.85)",
"assert abs(r0[0] - 306.6) < 1e-6",
"assert abs(r0[1] - 16.08) < 1e-6",
"assert abs(r0[2] - 16.08) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L3-code-015415 | 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.33, 8500, 120)",
"assert abs(r0[0] - 8.81) < 1e-6",
"assert abs(r0[1] - 964.6) < 1e-6",
"r1 = gear_ratio(0.44, 9500, 120)",
"assert abs(r1[0] - 13.13) < 1e-6",
"asser... |
theo-eng-code-L2-code-015688 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 9500, 120)",
"assert abs(r0[0] - 11.04) < 1e-6",
"assert abs(r0[1] - 860.3) < 1e-6",
"r1 = gear_ratio(0.33, 14500, 120)",
"assert abs(r1[0] - 15.03) < 1e-6",
"a... |
theo-eng-code-L3-code-008959 | 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(87, 1900, 120, 0.22, 2.3, 0.012, 0.6, 0.9, 0.95)",
"assert abs(r0[0] - 458.4) < 1e-6",
"assert abs(r0[1] - 18.03) < 1e-6",
"assert abs(r0[2] - 21.64) < 1e-6"
],
"subtas... |
theo-eng-code-L2-code-001356 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(64, 14, 0.5)",
"assert abs(r0 - 46.32) < 1e-6",
"r1 = rms_torque(58, 33, 0.75)",
"assert abs(r1 - 52.87) < 1e-6",
"r2 = rms_torque(66, 23, 0.25)",
"assert abs(r2 - 38.... |
theo-eng-code-L3-code-007254 | 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(500, 80, 3.6, 50)",
"assert r0[0] == 139",
"assert r0[1] == 4",
"assert r0[2] == 556",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 100.08) < 1e-6"
],
... |
theo-eng-code-L3-code-007816 | 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(70, 27, 0.25)",
"assert abs(r0 - 42.09) < 1e-6",
"r1 = rms_torque(100, 28, 0.75)",
"assert abs(r1 - 87.73) < 1e-6",
"r2 = rms_torque(17, 12, 0.25)",
"assert abs(r2 - 13.... |
theo-eng-code-L2-code-007084 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(98, 19, 0.75)",
"assert abs(r0 - 85.4) < 1e-6",
"r1 = rms_torque(22, 21, 0.5)",
"assert abs(r1 - 21.51) < 1e-6",
"r2 = rms_torque(63, 20, 0.25)",
"assert abs(r2 - 35.9... |
theo-eng-code-L1-refuse-011667 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-005919 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([86, 92, 64, 39, 22, 76])",
"assert abs(r0[0] - 63.167) < 1e-6",
"assert abs(r0[1] - 27.557) < 1e-6",
"r1 = summarise([30, 54, 47, 53])",
"assert r1[0] == 46",
"... |
theo-eng-code-L2-code-008618 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([54, 16, 71, 50, 29])",
"assert r0[0] == 44",
"assert abs(r0[1] - 21.645) < 1e-6",
"r1 = summarise([19, 58, 12, 60, 61, 82])",
"assert abs(r1[0] - 48.667) < 1e-6",
... |
theo-eng-code-L2-code-011975 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.0, 2.5], [4.0, 0.0])",
"assert abs(r0 - 3.9051) < 1e-6",
"r1 = seg_len([5.0, 3.0], [3.0, 1.0])",
"assert abs(r1 - 2.8284) < 1e-6",
"r2 = seg_len([0.0, 2.0], [2.0, 5.0]... |
theo-eng-code-L2-code-011681 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-003969 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.33, 7000, 120)",
"assert abs(r0[0] - 7.26) < 1e-6",
"assert abs(r0[1] - 964.6) < 1e-6",
"r1 = gear_ratio(0.28, 13500, 120)",
"assert abs(r1[0] - 11.88) < 1e-6",
"as... |
theo-eng-code-L2-code-001900 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L2-code-005108 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 11, 0.1, 1.0)",
"assert abs(r0[0] - 8.18) < 1e-6",
"assert abs(r0[1] - 490.9) < 1e-6",
"assert abs(r0[2] - 72.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-011107 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(14, 30, -0.02, 0.01, 0.8, 0.5, 0.5)",
"assert abs(r0[0] - 0.0005) < 1e-6",
"assert abs(r0[1] - 0.5955) < 1e-6",
"assert abs(r0[2] - -0.0299) < 1e-6",
"r1 = com_zmp(19, 22, 0.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.