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-007678 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(62, 2150, 120, 0.33, 2.9, 0.012, 1.2, 0.92, 0.95)",
"assert abs(r0[0] - 208.1) < 1e-6",
"assert abs(r0[1] - 28.31) < 1e-6",
"assert abs(r0[2] - 33.97) < 1e-6",
"r1 = erange(... |
theo-eng-code-L3-code-012093 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.38, 9000, 120)",
"assert abs(r0[0] - 10.74) < 1e-6",
"assert abs(r0[1] - 837.7) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-009019 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.7, 0.24, 90, 6.5, 0.5)",
"assert abs(r0[0] - 19.66) < 1e-6",
"assert abs(r0[1] - 0.4454) < 1e-6",
"assert abs(r0[2] - 19.88) < 1e-6",
"r1 = joint_torque(1.5, 0.13, 9... |
theo-eng-code-L3-code-001828 | 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(300, 80, 3.2, 100)",
"assert r0[0] == 94",
"assert r0[1] == 3",
"assert r0[2] == 282",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 90.24) < 1e-6",
"r1 = pa... |
theo-eng-code-L1-clarify-000485 | 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": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-004968 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 23, 0.03, 0.03, 0.9, 0.7, 1)",
"assert abs(r0[0] - 0.03) < 1e-6",
"assert abs(r0[1] - 0.7562) < 1e-6",
"assert abs(r0[2] - -0.0471) < 1e-6",
"r1 = com_zmp(15, 25, -0.05, 0... |
theo-eng-code-L2-code-000255 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_prodloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-007066 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.1, 0.26, 90, 2.0, 1.0)",
"assert abs(r0[0] - 6.5) < 1e-6",
"assert abs(r0[1] - 0.16) < 1e-6",
"assert abs(r0[2] - 6.66) < 1e-6",
"r1 = joint_torque(7.5, 0.26, 60, 2.... |
theo-eng-code-L2-code-010196 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 22, 0.1, 0.9)",
"assert abs(r0[0] - 4.55) < 1e-6",
"assert abs(r0[1] - 272.7) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_t... |
theo-eng-code-L1-clarify-011244 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-016023 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 22, 0.1, 0.8)",
"assert abs(r0[0] - 3.98) < 1e-6",
"assert abs(r0[1] - 238.6) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_t... |
theo-eng-code-L3-code-002526 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(40, 23, 0.5)",
"assert abs(r0 - 32.63) < 1e-6",
"r1 = rms_torque(62, 4, 0.75)",
"assert abs(r1 - 53.73) < 1e-6",
"r2 = rms_torque(14, 9, 0.5)",
"assert abs(r2 - 11.77) <... |
theo-eng-code-L2-code-012141 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.5, 0.0], [0.5, 5.0])",
"assert abs(r0 - 5.099) < 1e-6",
"r1 = seg_len([0.0, 1.0], [4.0, 0.0])",
"assert abs(r1 - 4.1231) < 1e-6",
"r2 = seg_len([0.0, 3.0], [1.5, 3.5])... |
theo-eng-code-L2-code-005791 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(25, 14, 0.5)",
"assert abs(r0 - 20.26) < 1e-6",
"r1 = rms_torque(66, 29, 0.25)",
"assert abs(r1 - 41.47) < 1e-6",
"r2 = rms_torque(79, 38, 0.75)",
"assert abs(r2 - 71.... |
theo-eng-code-L2-code-009510 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 10, 3.6, 2.5)",
"assert r0[0] == 111",
"assert r0[1] == 11",
"assert r0[2] == 1221",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 10.989) < 1e-6",
"r... |
theo-eng-code-L1-code-008383 | 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": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-007390 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 14000, 100)",
"assert abs(r0[0] - 21.11) < 1e-6",
"assert abs(r0[1] - 663.1) < 1e-6",
"r1 = gear_ratio(0.33, 7000, 100)",
"assert abs(r1[0] - 8.71) < 1e-6",
"ass... |
theo-eng-code-L2-code-005609 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-000527 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')",
"assert r0[0] == 20",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 250}')",
"assert r1[0] == 80",
... |
theo-eng-code-L2-code-005331 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.26, 12500, 150)",
"assert abs(r0[0] - 8.17) < 1e-6",
"assert abs(r0[1] - 1530.3) < 1e-6",
"r1 = gear_ratio(0.4, 9500, 120)",
"assert abs(r1[0] - 11.94) < 1e-6",
"as... |
theo-eng-code-L2-code-011688 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 1900, 80, 0.25, 2.0, 0.013, 1.0, 0.9, 0.9)",
"assert abs(r0[0] - 268.7) < 1e-6",
"assert abs(r0[1] - 13.4) < 1e-6",
"assert abs(r0[2] - 10.72) < 1e-6",
"r1 = erange(57, ... |
theo-eng-code-L2-code-000091 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, 26, 0.0, 0.07, 0.7, 0.6, 1)",
"assert abs(r0[0] - 0.0506) < 1e-6",
"assert abs(r0[1] - 0.6278) < 1e-6",
"assert abs(r0[2] - -0.0134) < 1e-6",
"r1 = com_zmp(19, 18, -0.05,... |
theo-eng-code-L2-code-016014 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-006347 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5, 19, 0.07, 0.04, 0.9, 0.8, 1)",
"assert abs(r0[0] - 0.0463) < 1e-6",
"assert abs(r0[1] - 0.8208) < 1e-6",
"assert abs(r0[2] - -0.0374) < 1e-6",
"r1 = com_zmp(13, 19, 0.08, ... |
theo-eng-code-L2-code-007485 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.0, 5.0], [1.5, 0.5])",
"assert abs(r0 - 4.7434) < 1e-6",
"r1 = seg_len([3.5, 3.0], [2.5, 4.0])",
"assert abs(r1 - 1.4142) < 1e-6",
"r2 = seg_len([2.0, 3.0], [2.0, 1.5]... |
theo-eng-code-L2-code-010164 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([74, 29, 80, 73])",
"assert r0[0] == 64",
"assert abs(r0[1] - 23.537) < 1e-6",
"r1 = summarise([83, 31, 42, 84, 57, 49])",
"assert abs(r1[0] - 57.667) < 1e-6",
"... |
theo-eng-code-L3-code-005645 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 23, 0.1, 0.04, 0.9, 0.6, 2)",
"assert abs(r0[0] - 0.0555) < 1e-6",
"assert abs(r0[1] - 0.6774) < 1e-6",
"assert abs(r0[2] - -0.0826) < 1e-6",
"r1 = com_zmp(5, 14, 0.05, 0.04... |
theo-eng-code-L3-code-012991 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.25, 12000, 120)",
"assert abs(r0[0] - 9.42) < 1e-6",
"assert abs(r0[1] - 1273.2) < 1e-6",
"r1 = gear_ratio(0.35, 11000, 180)",
"assert abs(r1[0] - 8.06) < 1e-6",
"ass... |
theo-eng-code-L2-code-008732 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 40, 3.7, 50)",
"assert r0[0] == 216",
"assert r0[1] == 2",
"assert r0[2] == 432",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 = ... |
theo-eng-code-L1-clarify-005561 | 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": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-011114 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([80, 210, 120, 410, 240], 2)",
"assert abs(r0 - 0.5889) < 1e-6",
"r1 = rect_energy([460, 470, 190, 170], 1)",
"assert abs(r1 - 0.3583) < 1e-6",
"r2 = rect_energy(... |
theo-eng-code-L3-code-005503 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(25, 2290, 100, 0.25, 2.8, 0.008, 1.4, 0.9, 0.9)",
"assert abs(r0[0] - 131.1) < 1e-6",
"assert abs(r0[1] - 17.16) < 1e-6",
"assert abs(r0[2] - 17.16) < 1e-6"
],
"subtask... |
theo-eng-code-L2-code-006785 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 14, -0.06, 0.07, 0.8, 0.7, 2)",
"assert abs(r0[0] - 0.0128) < 1e-6",
"assert abs(r0[1] - 0.744) < 1e-6",
"assert abs(r0[2] - -0.1389) < 1e-6",
"r1 = com_zmp(5, 11, 0.1, -... |
theo-eng-code-L2-code-013335 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 27, -0.01, 0.02, 0.7, 0.7, 0)",
"assert abs(r0[0] - 0.0076) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - 0.0076) < 1e-6",
"r1 = com_zmp(11, 26, 0.07, 0.... |
theo-eng-code-L2-code-002444 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 7500, 150)",
"assert abs(r0[0] - 6.97) < 1e-6",
"assert abs(r0[1] - 1075.4) < 1e-6",
"r1 = gear_ratio(0.27, 11500, 100)",
"assert abs(r1[0] - 11.71) < 1e-6",
"a... |
theo-eng-code-L2-code-010140 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(7.2, 0.14, 90, 1.5, 0.0)",
"assert abs(r0[0] - 7.0) < 1e-6",
"assert abs(r0[1] - 0.0764) < 1e-6",
"assert abs(r0[2] - 7.0) < 1e-6",
"r1 = joint_torque(6.9, 0.59, 45, 4... |
theo-eng-code-L3-code-010655 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 90, 230, 0.5)",
"assert abs(r0[0] - 160.0) < 1e-6",
"assert abs(r0[1] - 2.81) < 1e-6",
"assert abs(r0[2] - 168.8) < 1e-6",
"r1 = runtime(0.5, 180, 200, 0.7)",
"ass... |
theo-eng-code-L2-code-014711 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 18, 0.04, 0.1, 0.8, 0.9, 1)",
"assert abs(r0[0] - 0.085) < 1e-6",
"assert abs(r0[1] - 0.875) < 1e-6",
"assert abs(r0[2] - -0.0042) < 1e-6",
"r1 = com_zmp(17, 24, -0.03, 0.... |
theo-eng-code-L3-code-000590 | 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(8, 20, 0.09, 0.03, 0.5, 0.9, 0.5)",
"assert abs(r0[0] - 0.0471) < 1e-6",
"assert abs(r0[1] - 0.7857) < 1e-6",
"assert abs(r0[2] - 0.0071) < 1e-6",
"r1 = com_zmp(11, 10, -0.01, ... |
theo-eng-code-L2-code-011913 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([18, 29, 41, 45, 10, 74])",
"assert abs(r0[0] - 36.167) < 1e-6",
"assert abs(r0[1] - 22.798) < 1e-6",
"r1 = summarise([96, 44, 24, 92])",
"assert r1[0] == 64",
"... |
theo-eng-code-L2-code-000426 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 50, 330, 0.7)",
"assert abs(r0[0] - 134.0) < 1e-6",
"assert abs(r0[1] - 0.67) < 1e-6",
"assert abs(r0[2] - 40.3) < 1e-6",
"r1 = runtime(0.2, 130, 380, 0.3)",
"as... |
theo-eng-code-L1-clarify-007694 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-014814 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(80, 1000, 100, 0.24, 2.6, 0.013, 0.9, 0.9, 0.85)",
"assert abs(r0[0] - 487.9) < 1e-6",
"assert abs(r0[1] - 13.94) < 1e-6",
"assert abs(r0[2] - 13.94) < 1e-6"
],
"subtas... |
theo-eng-code-L1-clarify-007762 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "2",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L1-refuse-003229 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-clarify-010188 | 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-L2-code-014554 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 20, -0.05, 0.07, 0.7, 0.3, 1)",
"assert abs(r0[0] - 0.0115) < 1e-6",
"assert abs(r0[1] - 0.4949) < 1e-6",
"assert abs(r0[2] - -0.0389) < 1e-6",
"r1 = com_zmp(11, 23, 0.09... |
theo-eng-code-L2-code-011502 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_rectenergy",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([90, 390, 100, 350], 5)",
"assert abs(r0 - 1.2917) < 1e-6",
"r1 = rect_energy([130, 450, 260, 200, 220], 5)",
"assert abs(r1 - 1.75) < 1e-6",
"r2 = rect_energy([8... |
theo-eng-code-L2-code-002601 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 17, -0.08, 0.08, 0.6, 0.4, 0)",
"assert abs(r0[0] - -0.0023) < 1e-6",
"assert abs(r0[1] - 0.5029) < 1e-6",
"assert abs(r0[2] - -0.0023) < 1e-6",
"r1 = com_zmp(7, 19, 0.02... |
theo-eng-code-L2-code-008223 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 3.0], [4.0, 4.5])",
"assert abs(r0 - 2.9155) < 1e-6",
"r1 = seg_len([0.0, 5.0], [5.0, 1.5])",
"assert abs(r1 - 6.1033) < 1e-6",
"r2 = seg_len([4.0, 1.5], [2.0, 2.0]... |
theo-eng-code-L3-code-012043 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.35, 5500, 100)",
"assert abs(r0[0] - 7.26) < 1e-6",
"assert abs(r0[1] - 757.9) < 1e-6",
"r1 = gear_ratio(0.4, 13500, 100)",
"assert abs(r1[0] - 20.36) < 1e-6",
"asser... |
theo-eng-code-L2-code-005778 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([86, 76, 24, 66])",
"assert r0[0] == 63",
"assert abs(r0[1] - 27.252) < 1e-6",
"r1 = summarise([38, 43, 67, 20])",
"assert r1[0] == 42",
"assert abs(r1[1] - 19.3... |
theo-eng-code-L3-code-008231 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 10, 3.7, 5)",
"assert r0[0] == 54",
"assert r0[1] == 11",
"assert r0[2] == 594",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 10.989) < 1e-6"
],
... |
theo-eng-code-L2-code-001758 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 40, 3.6, 100)",
"assert r0[0] == 222",
"assert r0[1] == 1",
"assert r0[2] == 222",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 79.92) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-013580 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 60, 3.6, 2.5)",
"assert r0[0] == 139",
"assert r0[1] == 48",
"assert r0[2] == 6672",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 60.048) < 1e-6",
"r1 ... |
theo-eng-code-L3-code-011745 | 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(25, 1380, 60, 0.22, 2.3, 0.008, 0.3, 0.9, 0.9)",
"assert abs(r0[0] - 346.2) < 1e-6",
"assert abs(r0[1] - 6.5) < 1e-6",
"assert abs(r0[2] - 3.9) < 1e-6",
"r1 = erange(56, 2280,... |
theo-eng-code-L2-code-001909 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-009931 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.9, 0.51, 30, 6.0, 1.5)",
"assert abs(r0[0] - 21.14) < 1e-6",
"assert abs(r0[1] - 1.9854) < 1e-6",
"assert abs(r0[2] - 24.12) < 1e-6",
"r1 = joint_torque(2.8, 0.2, 30... |
theo-eng-code-L2-code-000220 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L1-code-010331 | 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_average",
"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-004268 | 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(85, 32, 0.5)",
"assert abs(r0 - 64.22) < 1e-6",
"r1 = rms_torque(91, 40, 0.75)",
"assert abs(r1 - 81.31) < 1e-6",
"r2 = rms_torque(26, 3, 0.75)",
"assert abs(r2 - 22.57)... |
theo-eng-code-L1-clarify-002378 | 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-013283 | 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(300, 40, 3.6, 100)",
"assert r0[0] == 83",
"assert r0[1] == 2",
"assert r0[2] == 166",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 59.76) < 1e-6",
"r1 = pa... |
theo-eng-code-L1-refuse-006867 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-011552 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(5, 10, -0.08, -0.04, 0.9, 0.5, 1)",
"assert abs(r0[0] - -0.0533) < 1e-6",
"assert abs(r0[1] - 0.6333) < 1e-6",
"assert abs(r0[2] - -0.1179) < 1e-6",
"r1 = com_zmp(12, 18, -0.... |
theo-eng-code-L2-code-006869 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 20, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 17",
"assert r0[2] == 2652",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 21.216) < 1e-6",
"r... |
theo-eng-code-L2-code-007113 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(80, [0, 25, 50, 75, 100], [0.71, 0.8, 0.85, 0.9, 0.81])",
"assert abs(r0 - 0.882) < 1e-6",
"r1 = interp_eff(50, [0, 25, 50, 75, 100], [0.7, 0.85, 0.9, 0.9, 0.85])",
"asser... |
theo-eng-code-L1-code-010501 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_countdown",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-code-012869 | 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": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-002959 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 3, 0.25)",
"assert abs(r0 - 7.94) < 1e-6",
"r1 = rms_torque(53, 28, 0.25)",
"assert abs(r1 - 35.92) < 1e-6",
"r2 = rms_torque(29, 16, 0.5)",
"assert abs(r2 - 23.42... |
theo-eng-code-L2-code-006149 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(1.0, 0.42, 90, 3.5, 2.5)",
"assert abs(r0[0] - 16.48) < 1e-6",
"assert abs(r0[1] - 0.6762) < 1e-6",
"assert abs(r0[2] - 18.17) < 1e-6",
"r1 = joint_torque(6.6, 0.51, 4... |
theo-eng-code-L2-code-004170 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')",
"assert r0[0] == 60",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')",
"assert r1[0] == 60",
... |
theo-eng-code-L3-code-003932 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.34, 5500, 180)",
"assert abs(r0[0] - 3.92) < 1e-6",
"assert abs(r0[1] - 1404.3) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L3-code-003861 | 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(43, 28, 0.5)",
"assert abs(r0 - 36.28) < 1e-6",
"r1 = rms_torque(63, 7, 0.25)",
"assert abs(r1 - 32.08) < 1e-6",
"r2 = rms_torque(99, 32, 0.75)",
"assert abs(r2 - 87.22)... |
theo-eng-code-L2-code-005754 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([26, 22, 82, 90, 85])",
"assert r0[0] == 61",
"assert abs(r0[1] - 33.926) < 1e-6",
"r1 = summarise([38, 44, 76, 30, 57])",
"assert r1[0] == 49",
"assert abs(r1[1... |
theo-eng-code-L1-clarify-015792 | 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": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-013731 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 7, 0.2, 0.8)",
"assert abs(r0[0] - 4.29) < 1e-6",
"assert abs(r0[1] - 257.1) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L2-code-007096 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(78, 1410, 100, 0.23, 3.1, 0.008, 1.3, 0.92, 0.9)",
"assert abs(r0[0] - 473.8) < 1e-6",
"assert abs(r0[1] - 14.82) < 1e-6",
"assert abs(r0[2] - 14.82) < 1e-6",
"r1 = erange(4... |
theo-eng-code-L3-code-000085 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.38, 12000, 180)",
"assert abs(r0[0] - 9.55) < 1e-6",
"assert abs(r0[1] - 1256.5) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-000730 | 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(15, 28, 0.0, 0.12, 0.7, 0.9, 0)",
"assert abs(r0[0] - 0.0781) < 1e-6",
"assert abs(r0[1] - 0.8302) < 1e-6",
"assert abs(r0[2] - 0.0781) < 1e-6",
"r1 = com_zmp(5, 25, -0.06, 0.0... |
theo-eng-code-L2-code-015858 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 4.0], [0.0, 0.5])",
"assert abs(r0 - 5.3151) < 1e-6",
"r1 = seg_len([0.0, 4.5], [1.0, 5.0])",
"assert abs(r1 - 1.118) < 1e-6",
"r2 = seg_len([2.5, 5.0], [0.0, 0.0])... |
theo-eng-code-L2-code-013354 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-010660 | 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(1.0, 50, 440, 0.5)",
"assert abs(r0[0] - 245.0) < 1e-6",
"assert abs(r0[1] - 3.67) < 1e-6",
"assert abs(r0[2] - 220.4) < 1e-6",
"r1 = runtime(1.0, 40, 140, 0.5)",
"asse... |
theo-eng-code-L3-code-012904 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 13500, 180)",
"assert abs(r0[0] - 7.63) < 1e-6",
"assert abs(r0[1] - 1768.4) < 1e-6",
"r1 = gear_ratio(0.31, 15000, 150)",
"assert abs(r1[0] - 11.69) < 1e-6",
"as... |
theo-eng-code-L2-code-015488 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(20, 11, 0.1, 0.9)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-008938 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.3, 0.55, 90, 7.5, 3.0)",
"assert abs(r0[0] - 46.67) < 1e-6",
"assert abs(r0[1] - 2.5007) < 1e-6",
"assert abs(r0[2] - 54.17) < 1e-6",
"r1 = joint_torque(3.9, 0.19, 3... |
theo-eng-code-L3-code-010780 | 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.27, 11500, 180)",
"assert abs(r0[0] - 6.5) < 1e-6",
"assert abs(r0[1] - 1768.4) < 1e-6",
"r1 = gear_ratio(0.27, 7500, 180)",
"assert abs(r1[0] - 4.24) < 1e-6",
"asser... |
theo-eng-code-L3-code-008461 | 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(400, 20, 3.6, 10)",
"assert r0[0] == 111",
"assert r0[1] == 6",
"assert r0[2] == 666",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 23.976) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-002275 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.27, 9000, 150)",
"assert abs(r0[0] - 6.11) < 1e-6",
"assert abs(r0[1] - 1473.7) < 1e-6",
"r1 = gear_ratio(0.29, 14500, 150)",
"assert abs(r1[0] - 10.57) < 1e-6",
"a... |
theo-eng-code-L2-code-000761 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-013503 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(29, 1370, 100, 0.31, 2.1, 0.013, 0.9, 0.88, 0.85)",
"assert abs(r0[0] - 152.9) < 1e-6",
"assert abs(r0[1] - 16.13) < 1e-6",
"assert abs(r0[2] - 16.13) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-005183 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 80, 3.7, 5)",
"assert r0[0] == 216",
"assert r0[1] == 21",
"assert r0[2] == 4536",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 83.916) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-012882 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-006865 | 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": "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-000982 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.2, 100)",
"assert r0[0] == 62",
"assert r0[1] == 4",
"assert r0[2] == 248",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 79.36) < 1e-6"
],
... |
theo-eng-code-L3-code-009781 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 20, 3.2, 2.5)",
"assert r0[0] == 62",
"assert r0[1] == 41",
"assert r0[2] == 2542",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 20.336) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-012309 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 90, 2.0, 4.0)",
"assert abs(r0[0] - 18.25) < 1e-6",
"assert abs(r0[1] - 0.6027) < 1e-6",
"assert abs(r0[2] - 20.66) < 1e-6",
"r1 = joint_torque(4.7, 0.2, 45,... |
theo-eng-code-L3-code-004364 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(32, 28, 0.5)",
"assert abs(r0 - 30.07) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L1-code-000456 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_join",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-015692 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 80, \"max_kw\": 100}')",
"assert r0[0] == 80",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')",
"assert r1[0] == 80",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.