id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L2-code-015658 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 0.8)",
"assert abs(r0[0] - 10.71) < 1e-6",
"assert abs(r0[1] - 642.9) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_ti... |
theo-eng-code-L2-code-011123 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([60, 500, 370, 220, 80], 1)",
"assert abs(r0 - 0.3417) < 1e-6",
"r1 = rect_energy([130, 190, 340, 350], 5)",
"assert abs(r1 - 1.4028) < 1e-6",
"r2 = rect_energy([... |
theo-eng-code-L1-clarify-006643 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-009539 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 16, -0.04, 0.1, 0.7, 0.6, 2)",
"assert abs(r0[0] - 0.0372) < 1e-6",
"assert abs(r0[1] - 0.6448) < 1e-6",
"assert abs(r0[2] - -0.0942) < 1e-6",
"r1 = com_zmp(7, 26, -0.02, 0... |
theo-eng-code-L1-clarify-001579 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-003332 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.38) < 1e-6",
"assert abs(r0[1] - 22.5) < 1e-6",
"assert abs(r0[2] - 18.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6",
"r... |
theo-eng-code-L2-code-015548 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 15000, 120)",
"assert abs(r0[0] - 16.96) < 1e-6",
"assert abs(r0[1] - 884.2) < 1e-6",
"r1 = gear_ratio(0.27, 6500, 150)",
"assert abs(r1[0] - 4.41) < 1e-6",
"as... |
theo-eng-code-L2-code-000286 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-002313 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 50}')",
"assert r0[0] == 80",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')",
"assert r1[0] == 20",
"a... |
theo-eng-code-L3-code-005753 | 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(14, 6, 0.5)",
"assert abs(r0 - 10.77) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-002131 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L1-code-003067 | 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-003713 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 50, 0.2, 1.0)",
"assert abs(r0[0] - 1.2) < 1e-6",
"assert abs(r0[1] - 72.0) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(6... |
theo-eng-code-L2-code-008905 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, 1170, 60, 0.3, 2.1, 0.009, 0.3, 0.94, 0.9)",
"assert abs(r0[0] - 669.6) < 1e-6",
"assert abs(r0[1] - 6.72) < 1e-6",
"assert abs(r0[2] - 4.03) < 1e-6",
"r1 = erange(23, 1... |
theo-eng-code-L2-code-008634 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.35, 15000, 150)",
"assert abs(r0[0] - 13.19) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.25, 8000, 100)",
"assert abs(r1[0] - 7.54) < 1e-6",
"a... |
theo-eng-code-L2-code-015738 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.28, 14500, 120)",
"assert abs(r0[0] - 12.75) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.34, 10000, 120)",
"assert abs(r1[0] - 10.68) < 1e-6",
... |
theo-eng-code-L2-code-010069 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 17, 0.01, 0.15, 0.4, 0.5, 1)",
"assert abs(r0[0] - 0.095) < 1e-6",
"assert abs(r0[1] - 0.4607) < 1e-6",
"assert abs(r0[2] - 0.048) < 1e-6",
"r1 = com_zmp(16, 14, -0.09, -... |
theo-eng-code-L2-code-006579 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-007456 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([270, 400, 70, 60], 1)",
"assert abs(r0 - 0.2222) < 1e-6",
"r1 = rect_energy([80, 490, 430], 5)",
"assert abs(r1 - 1.3889) < 1e-6",
"r2 = rect_energy([90, 400, 37... |
theo-eng-code-L2-code-007058 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 3.7, 100)",
"assert r0[0] == 81",
"assert r0[1] == 2",
"assert r0[2] == 162",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 59.94) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-004581 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 13, 0.08, -0.03, 0.6, 0.8, 2)",
"assert abs(r0[0] - 0.025) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - -0.1177) < 1e-6"
],
"subtask": "writetests"... |
theo-eng-code-L3-code-007512 | 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, 180, 100, 0.5)",
"assert abs(r0[0] - 140.0) < 1e-6",
"assert abs(r0[1] - 1.29) < 1e-6",
"assert abs(r0[2] - 77.1) < 1e-6",
"r1 = runtime(0.5, 140, 290, 0.5)",
"ass... |
theo-eng-code-L2-code-005284 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(91, 2460, 120, 0.36, 2.9, 0.008, 0.6, 0.88, 0.95)",
"assert abs(r0[0] - 297.9) < 1e-6",
"assert abs(r0[1] - 29.02) < 1e-6",
"assert abs(r0[2] - 34.83) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-000223 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.6, 0.21, 90, 1.5, 0.5)",
"assert abs(r0[0] - 9.89) < 1e-6",
"assert abs(r0[1] - 0.1632) < 1e-6",
"assert abs(r0[2] - 9.97) < 1e-6",
"r1 = joint_torque(7.9, 0.34, 60,... |
theo-eng-code-L3-code-007798 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(7, 29, 0.0, -0.05, 0.3, 0.6, 0.5)",
"assert abs(r0[0] - -0.0403) < 1e-6",
"assert abs(r0[1] - 0.5417) < 1e-6",
"assert abs(r0[2] - -0.0679) < 1e-6",
"r1 = com_zmp(16, 12, 0.09,... |
theo-eng-code-L2-code-005062 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 190, 200, 0.7)",
"assert abs(r0[0] - 193.0) < 1e-6",
"assert abs(r0[1] - 4.66) < 1e-6",
"assert abs(r0[2] - 279.8) < 1e-6",
"r1 = runtime(1.0, 300, 530, 0.3)",
"... |
theo-eng-code-L2-code-015824 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(92, 29, 0.5)",
"assert abs(r0 - 68.21) < 1e-6",
"r1 = rms_torque(51, 14, 0.25)",
"assert abs(r1 - 28.24) < 1e-6",
"r2 = rms_torque(34, 34, 0.5)",
"assert abs(r2 - 34.0... |
theo-eng-code-L3-code-005729 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 280, 460, 0.3)",
"assert abs(r0[0] - 406.0) < 1e-6",
"assert abs(r0[1] - 2.22) < 1e-6",
"assert abs(r0[2] - 133.0) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L2-code-013677 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(33, 2300, 120, 0.35, 2.6, 0.011, 1.0, 0.88, 0.9)",
"assert abs(r0[0] - 105.3) < 1e-6",
"assert abs(r0[1] - 28.22) < 1e-6",
"assert abs(r0[2] - 33.86) < 1e-6",
"r1 = erange(6... |
theo-eng-code-L2-code-001244 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 4.5], [2.0, 0.0])",
"assert abs(r0 - 4.5) < 1e-6",
"r1 = seg_len([2.0, 4.0], [1.0, 4.0])",
"assert abs(r1 - 1.0) < 1e-6",
"r2 = seg_len([2.0, 2.0], [0.0, 2.0])",
... |
theo-eng-code-L1-clarify-008173 | 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": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-007371 | 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(7.2, 0.48, 60, 2.5, 4.0)",
"assert abs(r0[0] - 24.88) < 1e-6",
"assert abs(r0[1] - 1.129) < 1e-6",
"assert abs(r0[2] - 29.39) < 1e-6",
"r1 = joint_torque(0.9, 0.17, 90, ... |
theo-eng-code-L2-code-010623 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-013319 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-001822 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(85, [0, 25, 50, 75, 100], [0.73, 0.84, 0.87, 0.89, 0.8])",
"assert abs(r0 - 0.854) < 1e-6",
"r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.7, 0.81, 0.9, 0.85, 0.83])",
"ass... |
theo-eng-code-L2-code-010407 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-007344 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 22, 0.2, 0.8)",
"assert abs(r0[0] - 2.73) < 1e-6",
"assert abs(r0[1] - 163.6) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
theo-eng-code-L3-code-004851 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 10, 3.7, 10)",
"assert r0[0] == 135",
"assert r0[1] == 3",
"assert r0[2] == 405",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 14.985) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-005703 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 40, 3.2, 10)",
"assert r0[0] == 62",
"assert r0[1] == 21",
"assert r0[2] == 1302",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 41.664) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-006737 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-004876 | 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, 40, 3.7, 5)",
"assert r0[0] == 108",
"assert r0[1] == 21",
"assert r0[2] == 2268",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 41.958) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-000109 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.4, 0.46, 45, 1.0, 3.0)",
"assert abs(r0[0] - 10.21) < 1e-6",
"assert abs(r0[1] - 0.5219) < 1e-6",
"assert abs(r0[2] - 11.78) < 1e-6",
"r1 = joint_torque(2.8, 0.34, 9... |
theo-eng-code-L2-code-005416 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 7, 0.1, 0.8)",
"assert abs(r0[0] - 12.5) < 1e-6",
"assert abs(r0[1] - 750.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_tim... |
theo-eng-code-L3-code-007918 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 29, 0.0, 0.15, 0.6, 0.5, 1)",
"assert abs(r0[0] - 0.1036) < 1e-6",
"assert abs(r0[1] - 0.531) < 1e-6",
"assert abs(r0[2] - 0.0494) < 1e-6"
],
"subtask": "writetests"... |
theo-eng-code-L3-code-006369 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 10, 3.7, 5)",
"assert r0[0] == 81",
"assert r0[1] == 7",
"assert r0[2] == 567",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 10.489) < 1e-6"
],
... |
theo-eng-code-L1-code-015202 | 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_power",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-015071 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 22, 0.0, -0.01, 0.3, 0.4, 2)",
"assert abs(r0[0] - -0.0063) < 1e-6",
"assert abs(r0[1] - 0.3629) < 1e-6",
"assert abs(r0[2] - -0.0803) < 1e-6",
"r1 = com_zmp(6, 15, -0.03, ... |
theo-eng-code-L2-code-009389 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.32, 6000, 100)",
"assert abs(r0[0] - 7.24) < 1e-6",
"assert abs(r0[1] - 828.9) < 1e-6",
"r1 = gear_ratio(0.34, 10500, 100)",
"assert abs(r1[0] - 13.46) < 1e-6",
"as... |
theo-eng-code-L2-code-010150 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 50, 0.2, 0.8)",
"assert abs(r0[0] - 0.9) < 1e-6",
"assert abs(r0[1] - 54.0) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time... |
theo-eng-code-L2-code-011017 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-008968 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 60, 510, 0.7)",
"assert abs(r0[0] - 195.0) < 1e-6",
"assert abs(r0[1] - 0.46) < 1e-6",
"assert abs(r0[2] - 27.7) < 1e-6",
"r1 = runtime(0.1, 290, 70, 0.5)",
"ass... |
theo-eng-code-L2-code-002240 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.6, 0.13, 45, 8.0, 3.5)",
"assert abs(r0[0] - 9.74) < 1e-6",
"assert abs(r0[1] - 0.1667) < 1e-6",
"assert abs(r0[2] - 10.32) < 1e-6",
"r1 = joint_torque(2.4, 0.38, 45... |
theo-eng-code-L3-code-000270 | 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(4.4, 0.31, 30, 3.0, 2.5)",
"assert abs(r0[0] - 7.91) < 1e-6",
"assert abs(r0[1] - 0.4292) < 1e-6",
"assert abs(r0[2] - 8.98) < 1e-6",
"r1 = joint_torque(6.6, 0.6, 45, 2.... |
theo-eng-code-L2-code-004698 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(40, 29, 0.25)",
"assert abs(r0 - 32.11) < 1e-6",
"r1 = rms_torque(63, 34, 0.5)",
"assert abs(r1 - 50.62) < 1e-6",
"r2 = rms_torque(70, 32, 0.5)",
"assert abs(r2 - 54.4... |
theo-eng-code-L2-code-001625 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([250, 290, 60], 2)",
"assert abs(r0 - 0.3333) < 1e-6",
"r1 = rect_energy([170, 130, 160, 470, 180], 10)",
"assert abs(r1 - 3.0833) < 1e-6",
"r2 = rect_energy([480... |
theo-eng-code-L2-code-013341 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([500, 450, 170], 2)",
"assert abs(r0 - 0.6222) < 1e-6",
"r1 = rect_energy([470, 130, 280], 10)",
"assert abs(r1 - 2.4444) < 1e-6",
"r2 = rect_energy([340, 330, 40... |
theo-eng-code-L2-code-012186 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([81, 83, 88, 21])",
"assert abs(r0[0] - 68.25) < 1e-6",
"assert abs(r0[1] - 31.637) < 1e-6",
"r1 = summarise([87, 92, 77, 55, 99])",
"assert r1[0] == 82",
"asser... |
theo-eng-code-L2-code-009535 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-006894 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(46, 8, 0.5)",
"assert abs(r0 - 33.02) < 1e-6",
"r1 = rms_torque(47, 36, 0.75)",
"assert abs(r1 - 44.51) < 1e-6",
"r2 = rms_torque(97, 15, 0.25)",
"assert abs(r2 - 50.2... |
theo-eng-code-L1-clarify-005812 | 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-003982 | 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(0.5, 0.22, 45, 5.5, 2.5)",
"assert abs(r0[0] - 8.77) < 1e-6",
"assert abs(r0[1] - 0.2743) < 1e-6",
"assert abs(r0[2] - 9.46) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L1-clarify-011721 | 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": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-000412 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 22, 0.1, 0.9)",
"assert abs(r0[0] - 0.91) < 1e-6",
"assert abs(r0[1] - 54.5) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L2-code-006293 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 20, \"max_kw\": 100}')",
"assert r0[0] == 20",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 250}')",
"assert r1[0] == 20",
... |
theo-eng-code-L2-code-000749 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 25, 0.09, -0.04, 0.9, 0.8, 0.5)",
"assert abs(r0[0] - 0.0087) < 1e-6",
"assert abs(r0[1] - 0.8375) < 1e-6",
"assert abs(r0[2] - -0.0339) < 1e-6",
"r1 = com_zmp(17, 10, -0... |
theo-eng-code-L3-code-010636 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(35, 1330, 100, 0.31, 3.0, 0.011, 1.1, 0.9, 0.9)",
"assert abs(r0[0] - 165.0) < 1e-6",
"assert abs(r0[1] - 19.1) < 1e-6",
"assert abs(r0[2] - 19.1) < 1e-6",
"r1 = erange(29, 23... |
theo-eng-code-L2-code-008510 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([48, 44, 14, 55, 86, 43])",
"assert abs(r0[0] - 48.333) < 1e-6",
"assert abs(r0[1] - 23.192) < 1e-6",
"r1 = summarise([91, 96, 19, 71])",
"assert abs(r1[0] - 69.25) ... |
theo-eng-code-L2-code-014100 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 40, 3.2, 5)",
"assert r0[0] == 250",
"assert r0[1] == 10",
"assert r0[2] == 2500",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-008531 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(82, 1540, 80, 0.3, 2.5, 0.01, 0.4, 0.94, 0.95)",
"assert abs(r0[0] - 667.6) < 1e-6",
"assert abs(r0[1] - 11.67) < 1e-6",
"assert abs(r0[2] - 9.33) < 1e-6",
"r1 = erange(36, ... |
theo-eng-code-L1-clarify-010554 | 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": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-000455 | 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.44, 8500, 120)",
"assert abs(r0[0] - 11.75) < 1e-6",
"assert abs(r0[1] - 723.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-006602 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.31, 11500, 120)",
"assert abs(r0[0] - 11.2) < 1e-6",
"assert abs(r0[1] - 1026.8) < 1e-6",
"r1 = gear_ratio(0.44, 12500, 120)",
"assert abs(r1[0] - 17.28) < 1e-6",
"... |
theo-eng-code-L2-code-000811 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_sumloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-clarify-012332 | 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-004384 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(5.0, 0.36, 45, 1.0, 4.0)",
"assert abs(r0[0] - 8.74) < 1e-6",
"assert abs(r0[1] - 0.3456) < 1e-6",
"assert abs(r0[2] - 10.12) < 1e-6",
"r1 = joint_torque(2.2, 0.26, 90... |
theo-eng-code-L2-code-011361 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(30, 10, 0.75)",
"assert abs(r0 - 26.46) < 1e-6",
"r1 = rms_torque(83, 12, 0.75)",
"assert abs(r1 - 72.13) < 1e-6",
"r2 = rms_torque(86, 40, 0.25)",
"assert abs(r2 - 55... |
theo-eng-code-L2-code-010545 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([370, 230, 220, 430], 2)",
"assert abs(r0 - 0.6944) < 1e-6",
"r1 = rect_energy([110, 480, 80], 2)",
"assert abs(r1 - 0.3722) < 1e-6",
"r2 = rect_energy([70, 110, ... |
theo-eng-code-L2-code-006954 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 22, 0.1, 0.9)",
"assert abs(r0[0] - 0.91) < 1e-6",
"assert abs(r0[1] - 54.5) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L2-code-008925 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([43, 60, 82, 43, 37])",
"assert r0[0] == 53",
"assert abs(r0[1] - 18.344) < 1e-6",
"r1 = summarise([10, 44, 14, 45])",
"assert abs(r1[0] - 28.25) < 1e-6",
"asser... |
theo-eng-code-L3-code-015260 | 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(500, 40, 3.6, 50)",
"assert r0[0] == 139",
"assert r0[1] == 2",
"assert r0[2] == 278",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 50.04) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-009980 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 21, 0.05, -0.05, 0.6, 0.8, 1)",
"assert abs(r0[0] - -0.0156) < 1e-6",
"assert abs(r0[1] - 0.7312) < 1e-6",
"assert abs(r0[2] - -0.0902) < 1e-6",
"r1 = com_zmp(17, 17, -0.... |
theo-eng-code-L3-code-006742 | 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(8, 25, -0.05, 0.03, 0.8, 0.5, 2)",
"assert abs(r0[0] - 0.0106) < 1e-6",
"assert abs(r0[1] - 0.5727) < 1e-6",
"assert abs(r0[2] - -0.1062) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L2-code-015436 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50, 560, 0.3)",
"assert abs(r0[0] - 407.0) < 1e-6",
"assert abs(r0[1] - 1.11) < 1e-6",
"assert abs(r0[2] - 66.3) < 1e-6",
"r1 = runtime(1.0, 60, 570, 0.3)",
"ass... |
theo-eng-code-L2-code-013209 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 9000, 150)",
"assert abs(r0[0] - 9.05) < 1e-6",
"assert abs(r0[1] - 994.7) < 1e-6",
"r1 = gear_ratio(0.31, 9500, 180)",
"assert abs(r1[0] - 6.17) < 1e-6",
"asser... |
theo-eng-code-L1-refuse-013146 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_unlock_speed",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-015861 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-004988 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 220, 0.5)",
"assert abs(r0[0] - 130.0) < 1e-6",
"assert abs(r0[1] - 6.92) < 1e-6",
"assert abs(r0[2] - 415.4) < 1e-6",
"r1 = runtime(0.1, 280, 500, 0.3)",
"a... |
theo-eng-code-L3-code-003380 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 29, 0.1, 0.05, 0.9, 0.3, 0)",
"assert abs(r0[0] - 0.0698) < 1e-6",
"assert abs(r0[1] - 0.5375) < 1e-6",
"assert abs(r0[2] - 0.0698) < 1e-6",
"r1 = com_zmp(16, 19, -0.02, 0.... |
theo-eng-code-L2-code-003452 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-005361 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-013496 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.1, 1.0)",
"assert abs(r0[0] - 1.02) < 1e-6",
"assert abs(r0[1] - 61.4) < 1e-6",
"assert abs(r0[2] - 18.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L2-code-008547 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-code-010297 | 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_dictget",
"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-001545 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.3, 0.16, 45, 7.5, 0.0)",
"assert abs(r0[0] - 11.82) < 1e-6",
"assert abs(r0[1] - 0.2458) < 1e-6",
"assert abs(r0[2] - 11.82) < 1e-6",
"r1 = joint_torque(5.1, 0.42, 60,... |
theo-eng-code-L2-code-006601 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-004272 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([74, 26, 91, 79, 60])",
"assert r0[0] == 66",
"assert abs(r0[1] - 24.97) < 1e-6",
"r1 = summarise([53, 38, 20, 90, 18, 98])",
"assert abs(r1[0] - 52.833) < 1e-6",
... |
theo-eng-code-L2-code-000372 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 20, 3.2, 5)",
"assert r0[0] == 62",
"assert r0[1] == 21",
"assert r0[2] == 1302",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 20.832) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-012110 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_prodloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-002615 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.9, 0.12, 30, 5.0, 3.0)",
"assert abs(r0[0] - 3.8) < 1e-6",
"assert abs(r0[1] - 0.0859) < 1e-6",
"assert abs(r0[2] - 4.05) < 1e-6",
"r1 = joint_torque(5.3, 0.14, 90, 3.... |
theo-eng-code-L2-code-013757 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 4500, 120)",
"assert abs(r0[0] - 4.1) < 1e-6",
"assert abs(r0[1] - 1097.6) < 1e-6",
"r1 = gear_ratio(0.35, 9000, 120)",
"assert abs(r1[0] - 9.9) < 1e-6",
"asser... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.