id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L3-code-005849 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(28, 1020, 100, 0.25, 2.6, 0.008, 0.6, 0.94, 0.85)",
"assert abs(r0[0] - 197.6) < 1e-6",
"assert abs(r0[1] - 12.04) < 1e-6",
"assert abs(r0[2] - 12.04) < 1e-6"
],
"subta... |
theo-eng-code-L2-code-007785 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([45, 67, 17, 29, 86])",
"assert abs(r0[0] - 48.8) < 1e-6",
"assert abs(r0[1] - 27.986) < 1e-6",
"r1 = summarise([24, 81, 19, 86, 29, 59])",
"assert abs(r1[0] - 49.66... |
theo-eng-code-L1-clarify-006496 | 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-L3-code-010910 | 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.33, 4500, 180)",
"assert abs(r0[0] - 3.11) < 1e-6",
"assert abs(r0[1] - 1446.9) < 1e-6",
"r1 = gear_ratio(0.32, 14500, 100)",
"assert abs(r1[0] - 17.49) < 1e-6",
"ass... |
theo-eng-code-L2-code-004806 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 260, 560, 0.7)",
"assert abs(r0[0] - 350.0) < 1e-6",
"assert abs(r0[1] - 0.51) < 1e-6",
"assert abs(r0[2] - 30.9) < 1e-6",
"r1 = runtime(0.2, 140, 460, 0.3)",
"a... |
theo-eng-code-L3-code-002596 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 250, 150, 0.7)",
"assert abs(r0[0] - 220.0) < 1e-6",
"assert abs(r0[1] - 2.05) < 1e-6",
"assert abs(r0[2] - 122.7) < 1e-6",
"r1 = runtime(0.2, 160, 300, 0.7)",
"as... |
theo-eng-code-L2-code-014043 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 13500, 150)",
"assert abs(r0[0] - 8.82) < 1e-6",
"assert abs(r0[1] - 1530.3) < 1e-6",
"r1 = gear_ratio(0.41, 15000, 150)",
"assert abs(r1[0] - 15.46) < 1e-6",
"... |
theo-eng-code-L2-code-008668 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L3-code-001105 | 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(1.4, 0.37, 60, 2.0, 0.5)",
"assert abs(r0[0] - 8.49) < 1e-6",
"assert abs(r0[1] - 0.3377) < 1e-6",
"assert abs(r0[2] - 8.66) < 1e-6",
"r1 = joint_torque(3.3, 0.56, 60, 4... |
theo-eng-code-L2-code-002014 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 230, 170, 0.7)",
"assert abs(r0[0] - 212.0) < 1e-6",
"assert abs(r0[1] - 2.12) < 1e-6",
"assert abs(r0[2] - 127.4) < 1e-6",
"r1 = runtime(1.0, 80, 130, 0.3)",
"a... |
theo-eng-code-L3-code-011181 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 300, 600, 0.5)",
"assert abs(r0[0] - 450.0) < 1e-6",
"assert abs(r0[1] - 0.2) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6"
],
"subtask": "writetests",
"verified... |
theo-eng-code-L1-refuse-006199 | 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_bypass_limit_code",
"user_template": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-004613 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.35, 9500, 120)",
"assert abs(r0[0] - 10.45) < 1e-6",
"assert abs(r0[1] - 909.5) < 1e-6",
"r1 = gear_ratio(0.35, 4000, 100)",
"assert abs(r1[0] - 5.28) < 1e-6",
"asser... |
theo-eng-code-L2-code-015350 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.25, 6000, 150)",
"assert abs(r0[0] - 3.77) < 1e-6",
"assert abs(r0[1] - 1591.5) < 1e-6",
"r1 = gear_ratio(0.28, 12500, 180)",
"assert abs(r1[0] - 7.33) < 1e-6",
"as... |
theo-eng-code-L2-code-001076 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.26, 11000, 150)",
"assert abs(r0[0] - 7.19) < 1e-6",
"assert abs(r0[1] - 1530.3) < 1e-6",
"r1 = gear_ratio(0.45, 7000, 150)",
"assert abs(r1[0] - 7.92) < 1e-6",
"as... |
theo-eng-code-L2-code-015734 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(43, 2650, 60, 0.24, 2.8, 0.009, 0.8, 0.88, 0.85)",
"assert abs(r0[0] - 296.5) < 1e-6",
"assert abs(r0[1] - 12.33) < 1e-6",
"assert abs(r0[2] - 7.4) < 1e-6",
"r1 = erange(25,... |
theo-eng-code-L2-code-001085 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([60, 460, 200, 120, 290], 5)",
"assert abs(r0 - 1.5694) < 1e-6",
"r1 = rect_energy([210, 160, 270], 2)",
"assert abs(r1 - 0.3556) < 1e-6",
"r2 = rect_energy([60, ... |
theo-eng-code-L1-code-014973 | 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": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-008314 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([52, 30, 32, 15, 24, 44])",
"assert abs(r0[0] - 32.833) < 1e-6",
"assert abs(r0[1] - 13.393) < 1e-6",
"r1 = summarise([91, 19, 98, 10])",
"assert abs(r1[0] - 54.5) <... |
theo-eng-code-L3-code-009331 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(93, 9, 0.5)",
"assert abs(r0 - 66.07) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-014770 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([300, 420, 320, 280, 360], 5)",
"assert abs(r0 - 2.3333) < 1e-6",
"r1 = rect_energy([420, 170, 80], 1)",
"assert abs(r1 - 0.1861) < 1e-6",
"r2 = rect_energy([270,... |
theo-eng-code-L3-code-000225 | 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.36, 6500, 150)",
"assert abs(r0[0] - 5.88) < 1e-6",
"assert abs(r0[1] - 1105.2) < 1e-6",
"r1 = gear_ratio(0.27, 6500, 180)",
"assert abs(r1[0] - 3.68) < 1e-6",
"asser... |
theo-eng-code-L2-code-004860 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 22, 0.2, 0.8)",
"assert abs(r0[0] - 0.68) < 1e-6",
"assert abs(r0[1] - 40.9) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_tim... |
theo-eng-code-L2-code-010071 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([4.5, 5.0], [2.0, 4.5])",
"assert abs(r0 - 2.5495) < 1e-6",
"r1 = seg_len([1.5, 3.0], [2.5, 2.5])",
"assert abs(r1 - 1.118) < 1e-6",
"r2 = seg_len([2.5, 3.5], [1.0, 3.0])... |
theo-eng-code-L2-code-001248 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([82, 96, 44, 15, 87, 99])",
"assert abs(r0[0] - 70.5) < 1e-6",
"assert abs(r0[1] - 33.614) < 1e-6",
"r1 = summarise([60, 79, 40, 17, 87, 18])",
"assert abs(r1[0] - 5... |
theo-eng-code-L3-code-014375 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(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"
... |
theo-eng-code-L2-code-001081 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([55, 36, 16, 75])",
"assert abs(r0[0] - 45.5) < 1e-6",
"assert abs(r0[1] - 25.305) < 1e-6",
"r1 = summarise([23, 16, 27, 14])",
"assert r1[0] == 20",
"assert abs... |
theo-eng-code-L2-code-001795 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, -0.02, -0.01, 0.7, 0.5, 0.5)",
"assert abs(r0[0] - -0.015) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.0456) < 1e-6",
"r1 = com_zmp(13, 13, 0.03... |
theo-eng-code-L3-code-008638 | 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.5, 200, 540, 0.3)",
"assert abs(r0[0] - 438.0) < 1e-6",
"assert abs(r0[1] - 1.03) < 1e-6",
"assert abs(r0[2] - 61.6) < 1e-6",
"r1 = runtime(0.2, 130, 220, 0.7)",
"ass... |
theo-eng-code-L3-code-013925 | 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(7, 14, -0.08, 0.07, 0.7, 0.5, 0.5)",
"assert abs(r0[0] - 0.02) < 1e-6",
"assert abs(r0[1] - 0.5667) < 1e-6",
"assert abs(r0[2] - -0.0089) < 1e-6"
],
"subtask": "writetes... |
theo-eng-code-L2-code-001580 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-002839 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 11, 0.2, 1.0)",
"assert abs(r0[0] - 7.27) < 1e-6",
"assert abs(r0[1] - 436.4) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 11"
],
"subtask... |
theo-eng-code-L2-code-006265 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(67, 18, 0.75)",
"assert abs(r0 - 58.72) < 1e-6",
"r1 = rms_torque(25, 18, 0.75)",
"assert abs(r1 - 23.45) < 1e-6",
"r2 = rms_torque(92, 12, 0.25)",
"assert abs(r2 - 47... |
theo-eng-code-L2-code-002897 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 50, 0.1, 0.8)",
"assert abs(r0[0] - 0.35) < 1e-6",
"assert abs(r0[1] - 21.0) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L2-code-008235 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 40, 3.6, 5)",
"assert r0[0] == 83",
"assert r0[1] == 27",
"assert r0[2] == 2241",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 40.338) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-002963 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(41, 2720, 80, 0.31, 2.6, 0.008, 1.5, 0.88, 0.85)",
"assert abs(r0[0] - 213.7) < 1e-6",
"assert abs(r0[1] - 16.31) < 1e-6",
"assert abs(r0[2] - 13.05) < 1e-6",
"r1 = erange(44,... |
theo-eng-code-L3-code-013695 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(80, 36, 0.75)",
"assert abs(r0 - 71.58) < 1e-6",
"r1 = rms_torque(71, 40, 0.25)",
"assert abs(r1 - 49.6) < 1e-6",
"r2 = rms_torque(70, 8, 0.25)",
"assert abs(r2 - 35.68)... |
theo-eng-code-L2-code-014717 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 150}')",
"assert r0[0] == 80",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 150}')",
"assert r1[0] == 60",
... |
theo-eng-code-L3-code-004258 | 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, 180, 480, 0.7)",
"assert abs(r0[0] - 270.0) < 1e-6",
"assert abs(r0[1] - 3.33) < 1e-6",
"assert abs(r0[2] - 200.0) < 1e-6",
"r1 = runtime(1.0, 110, 360, 0.5)",
"as... |
theo-eng-code-L3-code-010646 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(5, 14, 0.02, 0.04, 0.7, 0.7, 1)",
"assert abs(r0[0] - 0.0347) < 1e-6",
"assert abs(r0[1] - 0.7) < 1e-6",
"assert abs(r0[2] - -0.0366) < 1e-6",
"r1 = com_zmp(8, 17, -0.08, -0.02... |
theo-eng-code-L1-code-014532 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-010426 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(37, 1270, 80, 0.27, 2.8, 0.01, 0.8, 0.88, 0.95)",
"assert abs(r0[0] - 289.3) < 1e-6",
"assert abs(r0[1] - 12.15) < 1e-6",
"assert abs(r0[2] - 9.72) < 1e-6",
"r1 = erange(49,... |
theo-eng-code-L3-code-002280 | 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, 160, 100, 0.7)",
"assert abs(r0[0] - 142.0) < 1e-6",
"assert abs(r0[1] - 6.34) < 1e-6",
"assert abs(r0[2] - 380.3) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L2-code-015460 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(86, 1540, 100, 0.34, 3.0, 0.007, 0.9, 0.92, 0.95)",
"assert abs(r0[0] - 438.1) < 1e-6",
"assert abs(r0[1] - 18.65) < 1e-6",
"assert abs(r0[2] - 18.65) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-007195 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 11, 0.2, 0.9)",
"assert abs(r0[0] - 3.18) < 1e-6",
"assert abs(r0[1] - 190.9) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L3-code-005923 | 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.6, 0.35, 30, 1.5, 3.0)",
"assert abs(r0[0] - 6.52) < 1e-6",
"assert abs(r0[1] - 0.3716) < 1e-6",
"assert abs(r0[2] - 7.64) < 1e-6",
"r1 = joint_torque(2.0, 0.6, 60, 4.... |
theo-eng-code-L2-code-002264 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.9, 0.4, 45, 5.0, 3.5)",
"assert abs(r0[0] - 17.9) < 1e-6",
"assert abs(r0[1] - 0.9547) < 1e-6",
"assert abs(r0[2] - 21.24) < 1e-6",
"r1 = joint_torque(8.0, 0.11, 45,... |
theo-eng-code-L2-code-002129 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(49, 4, 0.5)",
"assert abs(r0 - 34.76) < 1e-6",
"r1 = rms_torque(97, 5, 0.75)",
"assert abs(r1 - 84.04) < 1e-6",
"r2 = rms_torque(84, 34, 0.75)",
"assert abs(r2 - 74.71... |
theo-eng-code-L2-code-002031 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(33, 32, 0.5)",
"assert abs(r0 - 32.5) < 1e-6",
"r1 = rms_torque(19, 2, 0.75)",
"assert abs(r1 - 16.48) < 1e-6",
"r2 = rms_torque(60, 40, 0.5)",
"assert abs(r2 - 50.99)... |
theo-eng-code-L3-code-008992 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.34, 15000, 100)",
"assert abs(r0[0] - 19.23) < 1e-6",
"assert abs(r0[1] - 780.2) < 1e-6",
"r1 = gear_ratio(0.3, 6500, 150)",
"assert abs(r1[0] - 4.9) < 1e-6",
"assert... |
theo-eng-code-L1-refuse-011481 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-014492 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 150, 0.1, 0.8)",
"assert abs(r0[0] - 0.58) < 1e-6",
"assert abs(r0[1] - 35.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 150"
],
"subta... |
theo-eng-code-L2-code-001167 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-010896 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(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 =... |
theo-eng-code-L2-code-001676 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 60, 3.7, 5)",
"assert r0[0] == 81",
"assert r0[1] == 41",
"assert r0[2] == 3321",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 61.438) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-002333 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-005605 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.9, 0.41, 45, 2.0, 2.5)",
"assert abs(r0[0] - 12.66) < 1e-6",
"assert abs(r0[1] - 0.6108) < 1e-6",
"assert abs(r0[2] - 14.18) < 1e-6",
"r1 = joint_torque(2.6, 0.34, 9... |
theo-eng-code-L3-code-004560 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 19, 0.1, 0.06, 0.8, 0.8, 1)",
"assert abs(r0[0] - 0.0755) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - -0.0061) < 1e-6",
"r1 = com_zmp(18, 25, 0.07, 0.07,... |
theo-eng-code-L2-code-001398 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 30, 80, 0.5)",
"assert abs(r0[0] - 55.0) < 1e-6",
"assert abs(r0[1] - 1.64) < 1e-6",
"assert abs(r0[2] - 98.2) < 1e-6",
"r1 = runtime(1.0, 130, 400, 0.7)",
"asse... |
theo-eng-code-L2-code-014944 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 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-011529 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([78, 13, 80, 15])",
"assert abs(r0[0] - 46.5) < 1e-6",
"assert abs(r0[1] - 37.546) < 1e-6",
"r1 = summarise([78, 15, 28, 92])",
"assert abs(r1[0] - 53.25) < 1e-6",
... |
theo-eng-code-L3-code-006900 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 100, 120, 0.5)",
"assert abs(r0[0] - 110.0) < 1e-6",
"assert abs(r0[1] - 4.09) < 1e-6",
"assert abs(r0[2] - 245.5) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L2-code-013239 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([64, 46, 80, 87, 84, 13])",
"assert abs(r0[0] - 62.333) < 1e-6",
"assert abs(r0[1] - 28.612) < 1e-6",
"r1 = summarise([21, 12, 86, 30, 86])",
"assert r1[0] == 47",
... |
theo-eng-code-L3-code-009586 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(16, 5, 0.5)",
"assert abs(r0 - 11.85) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-009662 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(11, 27, 0.04, 0.02, 0.4, 0.5, 0.5)",
"assert abs(r0[0] - 0.0258) < 1e-6",
"assert abs(r0[1] - 0.4711) < 1e-6",
"assert abs(r0[2] - 0.0018) < 1e-6",
"r1 = com_zmp(9, 14, -0.04... |
theo-eng-code-L3-code-013013 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 150, 0.1, 0.8)",
"assert abs(r0[0] - 0.35) < 1e-6",
"assert abs(r0[1] - 21.0) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 150"
],
"subtas... |
theo-eng-code-L3-code-009641 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(47, 6, 0.5)",
"assert abs(r0 - 33.5) < 1e-6",
"r1 = rms_torque(42, 15, 0.25)",
"assert abs(r1 - 24.69) < 1e-6",
"r2 = rms_torque(22, 22, 0.25)",
"assert abs(r2 - 22.0) <... |
theo-eng-code-L2-code-010565 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 23, 0.07, 0.13, 0.8, 0.8, 2)",
"assert abs(r0[0] - 0.1045) < 1e-6",
"assert abs(r0[1] - 0.8) < 1e-6",
"assert abs(r0[2] - -0.0586) < 1e-6",
"r1 = com_zmp(17, 13, -0.01, 0... |
theo-eng-code-L2-code-012733 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([120, 60, 340], 10)",
"assert abs(r0 - 1.4444) < 1e-6",
"r1 = rect_energy([430, 450, 250, 160], 1)",
"assert abs(r1 - 0.3583) < 1e-6",
"r2 = rect_energy([500, 310... |
theo-eng-code-L3-code-009457 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(62, 2550, 120, 0.24, 1.9, 0.013, 0.4, 0.94, 0.85)",
"assert abs(r0[0] - 275.7) < 1e-6",
"assert abs(r0[1] - 19.11) < 1e-6",
"assert abs(r0[2] - 22.94) < 1e-6",
"r1 = erange(42... |
theo-eng-code-L2-code-014037 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 14500, 120)",
"assert abs(r0[0] - 13.21) < 1e-6",
"assert abs(r0[1] - 1097.6) < 1e-6",
"r1 = gear_ratio(0.36, 12500, 150)",
"assert abs(r1[0] - 11.31) < 1e-6",
... |
theo-eng-code-L3-code-003768 | 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, 90, 570, 0.3)",
"assert abs(r0[0] - 426.0) < 1e-6",
"assert abs(r0[1] - 0.42) < 1e-6",
"assert abs(r0[2] - 25.4) < 1e-6",
"r1 = runtime(1.0, 260, 300, 0.5)",
"asse... |
theo-eng-code-L2-code-009918 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(68, 37, 0.5)",
"assert abs(r0 - 54.74) < 1e-6",
"r1 = rms_torque(18, 16, 0.5)",
"assert abs(r1 - 17.03) < 1e-6",
"r2 = rms_torque(87, 3, 0.75)",
"assert abs(r2 - 75.36... |
theo-eng-code-L3-code-000265 | 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(16, 15, -0.03, -0.01, 0.4, 0.5, 0.5)",
"assert abs(r0[0] - -0.0203) < 1e-6",
"assert abs(r0[1] - 0.4484) < 1e-6",
"assert abs(r0[2] - -0.0432) < 1e-6"
],
"subtask": "wri... |
theo-eng-code-L3-code-008252 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(20, 5, 0.5)",
"assert abs(r0 - 14.58) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-003238 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 12, 0.1, -0.03, 0.4, 0.4, 2)",
"assert abs(r0[0] - 0.0179) < 1e-6",
"assert abs(r0[1] - 0.4) < 1e-6",
"assert abs(r0[2] - -0.0637) < 1e-6",
"r1 = com_zmp(10, 24, 0.09, 0.0... |
theo-eng-code-L3-code-014402 | 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(27, 20, 0.25)",
"assert abs(r0 - 21.96) < 1e-6",
"r1 = rms_torque(12, 6, 0.75)",
"assert abs(r1 - 10.82) < 1e-6",
"r2 = rms_torque(98, 29, 0.5)",
"assert abs(r2 - 72.27)... |
theo-eng-code-L2-code-013521 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([20, 25, 21, 74, 35, 42])",
"assert abs(r0[0] - 36.167) < 1e-6",
"assert abs(r0[1] - 20.41) < 1e-6",
"r1 = summarise([96, 50, 81, 42, 60, 62])",
"assert abs(r1[0] - ... |
theo-eng-code-L2-code-010244 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 110, 150, 0.3)",
"assert abs(r0[0] - 138.0) < 1e-6",
"assert abs(r0[1] - 1.3) < 1e-6",
"assert abs(r0[2] - 78.3) < 1e-6",
"r1 = runtime(0.5, 130, 470, 0.5)",
"as... |
theo-eng-code-L2-code-001057 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([400, 190, 190, 220], 2)",
"assert abs(r0 - 0.5556) < 1e-6",
"r1 = rect_energy([360, 280, 330, 280], 1)",
"assert abs(r1 - 0.3472) < 1e-6",
"r2 = rect_energy([50,... |
theo-eng-code-L2-code-004184 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 11, 0.1, 0.9)",
"assert abs(r0[0] - 7.27) < 1e-6",
"assert abs(r0[1] - 436.4) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-011920 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 60, 140, 0.7)",
"assert abs(r0[0] - 84.0) < 1e-6",
"assert abs(r0[1] - 1.07) < 1e-6",
"assert abs(r0[2] - 64.3) < 1e-6",
"r1 = runtime(0.5, 180, 600, 0.3)",
"ass... |
theo-eng-code-L2-code-007886 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(17, 16, 0.01, 0.13, 0.3, 0.5, 0)",
"assert abs(r0[0] - 0.0682) < 1e-6",
"assert abs(r0[1] - 0.397) < 1e-6",
"assert abs(r0[2] - 0.0682) < 1e-6",
"r1 = com_zmp(20, 30, -0.02, ... |
theo-eng-code-L2-code-000214 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(12, 24, 0.06, 0.13, 0.9, 0.5, 0.5)",
"assert abs(r0[0] - 0.1067) < 1e-6",
"assert abs(r0[1] - 0.6333) < 1e-6",
"assert abs(r0[2] - 0.0744) < 1e-6",
"r1 = com_zmp(19, 24, 0.04... |
theo-eng-code-L3-code-000274 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 7, 0.2, 0.8)",
"assert abs(r0[0] - 2.14) < 1e-6",
"assert abs(r0[1] - 128.6) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert r0[3] == 7"
],
"subtask":... |
theo-eng-code-L3-code-013864 | 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(300, 20, 3.7, 50)",
"assert r0[0] == 81",
"assert r0[1] == 2",
"assert r0[2] == 162",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 29.97) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-013654 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.4, 0.52, 45, 6.5, 1.5)",
"assert abs(r0[0] - 31.38) < 1e-6",
"assert abs(r0[1] - 2.1542) < 1e-6",
"assert abs(r0[2] - 34.61) < 1e-6",
"r1 = joint_torque(2.7, 0.22, 9... |
theo-eng-code-L2-code-011746 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 11, 0.2, 0.9)",
"assert abs(r0[0] - 4.77) < 1e-6",
"assert abs(r0[1] - 286.4) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-009860 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(19, 8, 0.75)",
"assert abs(r0 - 16.93) < 1e-6",
"r1 = rms_torque(52, 38, 0.5)",
"assert abs(r1 - 45.54) < 1e-6",
"r2 = rms_torque(20, 12, 0.75)",
"assert abs(r2 - 18.3... |
theo-eng-code-L2-code-002462 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(38, 2570, 120, 0.35, 3.1, 0.013, 1.3, 0.94, 0.95)",
"assert abs(r0[0] - 110.8) < 1e-6",
"assert abs(r0[1] - 32.59) < 1e-6",
"assert abs(r0[2] - 39.11) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-000911 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-012106 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([110, 470, 180], 1)",
"assert abs(r0 - 0.2111) < 1e-6",
"r1 = rect_energy([50, 400, 270], 2)",
"assert abs(r1 - 0.4) < 1e-6",
"r2 = rect_energy([220, 410, 130, 15... |
theo-eng-code-L2-code-005417 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(34, 26, 0.5)",
"assert abs(r0 - 30.27) < 1e-6",
"r1 = rms_torque(52, 24, 0.25)",
"assert abs(r1 - 33.29) < 1e-6",
"r2 = rms_torque(55, 34, 0.5)",
"assert abs(r2 - 45.7... |
theo-eng-code-L2-code-003295 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-code-010202 | 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": "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-013415 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(83, 12, 0.75)",
"assert abs(r0 - 72.13) < 1e-6",
"r1 = rms_torque(46, 19, 0.75)",
"assert abs(r1 - 40.95) < 1e-6",
"r2 = rms_torque(88, 39, 0.5)",
"assert abs(r2 - 68.06... |
theo-eng-code-L2-code-002491 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.0, 0.23, 30, 3.5, 3.0)",
"assert abs(r0[0] - 5.64) < 1e-6",
"assert abs(r0[1] - 0.2381) < 1e-6",
"assert abs(r0[2] - 6.35) < 1e-6",
"r1 = joint_torque(1.2, 0.5, 90, ... |
theo-eng-code-L3-code-010665 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 29, 0.04, -0.03, 0.5, 0.5, 1)",
"assert abs(r0[0] - -0.0061) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - -0.0571) < 1e-6",
"r1 = com_zmp(5, 30, 0.08, 0.0... |
theo-eng-code-L1-clarify-013213 | 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-000625 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(14, 9, 0.25)",
"assert abs(r0 - 10.48) < 1e-6",
"r1 = rms_torque(100, 10, 0.25)",
"assert abs(r1 - 50.74) < 1e-6",
"r2 = rms_torque(75, 7, 0.25)",
"assert abs(r2 - 37.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.