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-004408 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 30, 260, 0.3)",
"assert abs(r0[0] - 191.0) < 1e-6",
"assert abs(r0[1] - 0.47) < 1e-6",
"assert abs(r0[2] - 28.3) < 1e-6",
"r1 = runtime(1.0, 240, 380, 0.5)",
"asse... |
theo-eng-code-L3-code-001267 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 20, 3.6, 50)",
"assert r0[0] == 222",
"assert r0[1] == 1",
"assert r0[2] == 222",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 39.96) < 1e-6"
],
... |
theo-eng-code-L2-code-008562 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 0.9)",
"assert abs(r0[0] - 0.8) < 1e-6",
"assert abs(r0[1] - 47.7) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
theo-eng-code-L3-code-014735 | 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, 30, 420, 0.7)",
"assert abs(r0[0] - 147.0) < 1e-6",
"assert abs(r0[1] - 3.06) < 1e-6",
"assert abs(r0[2] - 183.7) < 1e-6",
"r1 = runtime(0.2, 250, 500, 0.3)",
"ass... |
theo-eng-code-L2-code-009120 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 19, 0.07, -0.05, 0.6, 0.6, 0)",
"assert abs(r0[0] - -0.0012) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.0012) < 1e-6",
"r1 = com_zmp(6, 21, -0.04, ... |
theo-eng-code-L2-code-006537 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 10, 3.2, 10)",
"assert r0[0] == 156",
"assert r0[1] == 3",
"assert r0[2] == 468",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 14.976) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-009171 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.3, 0.23, 90, 2.0, 4.0)",
"assert abs(r0[0] - 8.24) < 1e-6",
"assert abs(r0[1] - 0.164) < 1e-6",
"assert abs(r0[2] - 8.89) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L2-code-007006 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([41, 43, 85, 48, 46, 72])",
"assert abs(r0[0] - 55.833) < 1e-6",
"assert abs(r0[1] - 18.192) < 1e-6",
"r1 = summarise([57, 67, 53, 77, 86, 69])",
"assert abs(r1[0] -... |
theo-eng-code-L2-code-009117 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 7, 0.1, 0.8)",
"assert abs(r0[0] - 5.0) < 1e-6",
"assert abs(r0[1] - 300.0) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(... |
theo-eng-code-L2-code-001940 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([110, 460, 490], 2)",
"assert abs(r0 - 0.5889) < 1e-6",
"r1 = rect_energy([460, 130, 340, 100, 280], 10)",
"assert abs(r1 - 3.6389) < 1e-6",
"r2 = rect_energy([60... |
theo-eng-code-L3-code-005896 | 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, 160, 480, 0.3)",
"assert abs(r0[0] - 384.0) < 1e-6",
"assert abs(r0[1] - 0.47) < 1e-6",
"assert abs(r0[2] - 28.1) < 1e-6",
"r1 = runtime(0.2, 130, 190, 0.7)",
"ass... |
theo-eng-code-L3-code-014608 | 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(1.0, 120, 560, 0.5)",
"assert abs(r0[0] - 340.0) < 1e-6",
"assert abs(r0[1] - 2.65) < 1e-6",
"assert abs(r0[2] - 158.8) < 1e-6",
"r1 = runtime(0.5, 300, 350, 0.7)",
"as... |
theo-eng-code-L3-code-014162 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 40, 3.6, 50)",
"assert r0[0] == 139",
"assert r0[1] == 2",
"assert r0[2] == 278",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 50.04) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-006311 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.29, 4000, 150)",
"assert abs(r0[0] - 2.92) < 1e-6",
"assert abs(r0[1] - 1372.0) < 1e-6",
"r1 = gear_ratio(0.29, 8500, 100)",
"assert abs(r1[0] - 9.29) < 1e-6",
"ass... |
theo-eng-code-L2-code-011874 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 1740, 120, 0.37, 2.7, 0.009, 0.3, 0.88, 0.95)",
"assert abs(r0[0] - 307.6) < 1e-6",
"assert abs(r0[1] - 26.56) < 1e-6",
"assert abs(r0[2] - 31.87) < 1e-6",
"r1 = erange(... |
theo-eng-code-L1-code-008906 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_chain",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-005532 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 23, 0.02, 0.12, 0.7, 0.6, 0)",
"assert abs(r0[0] - 0.0897) < 1e-6",
"assert abs(r0[1] - 0.6303) < 1e-6",
"assert abs(r0[2] - 0.0897) < 1e-6",
"r1 = com_zmp(15, 26, -0.07,... |
theo-eng-code-L1-code-004149 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_slices",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-clarify-004047 | 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-005413 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(30, [0, 25, 50, 75, 100], [0.74, 0.83, 0.85, 0.85, 0.82])",
"assert abs(r0 - 0.834) < 1e-6",
"r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.71, 0.83, 0.85, 0.85, 0.83])",
"... |
theo-eng-code-L2-code-000871 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([490, 90, 280, 240], 10)",
"assert abs(r0 - 3.0556) < 1e-6",
"r1 = rect_energy([200, 140, 260, 190, 470], 5)",
"assert abs(r1 - 1.75) < 1e-6",
"r2 = rect_energy([... |
theo-eng-code-L2-code-001340 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(77, 11, 0.25)",
"assert abs(r0 - 39.66) < 1e-6",
"r1 = rms_torque(8, 2, 0.75)",
"assert abs(r1 - 7.0) < 1e-6",
"r2 = rms_torque(48, 7, 0.5)",
"assert abs(r2 - 34.3) < ... |
theo-eng-code-L2-code-004691 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-001727 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([23, 40, 36, 39, 63])",
"assert abs(r0[0] - 40.2) < 1e-6",
"assert abs(r0[1] - 14.446) < 1e-6",
"r1 = summarise([47, 97, 73, 99, 56, 13])",
"assert abs(r1[0] - 64.16... |
theo-eng-code-L2-code-014919 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.2, 0.9)",
"assert abs(r0[0] - 1.59) < 1e-6",
"assert abs(r0[1] - 95.5) < 1e-6",
"assert abs(r0[2] - 14.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_tim... |
theo-eng-code-L3-code-014014 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.8, 0.56, 45, 2.5, 3.5)",
"assert abs(r0[0] - 22.92) < 1e-6",
"assert abs(r0[1] - 1.4948) < 1e-6",
"assert abs(r0[2] - 28.15) < 1e-6",
"r1 = joint_torque(7.4, 0.16, 45,... |
theo-eng-code-L2-code-007828 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([5.0, 4.5], [1.5, 2.5])",
"assert abs(r0 - 4.0311) < 1e-6",
"r1 = seg_len([4.5, 2.5], [1.0, 2.5])",
"assert abs(r1 - 3.5) < 1e-6",
"r2 = seg_len([3.0, 1.5], [4.0, 0.0])",... |
theo-eng-code-L2-code-007184 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(500, 80, 3.7, 10)",
"assert r0[0] == 135",
"assert r0[1] == 17",
"assert r0[2] == 2295",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 84.915) < 1e-6",
"r1... |
theo-eng-code-L2-code-008764 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-clarify-002022 | 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-009388 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.38, 6500, 120)",
"assert abs(r0[0] - 7.76) < 1e-6",
"assert abs(r0[1] - 837.7) < 1e-6",
"r1 = gear_ratio(0.37, 4500, 150)",
"assert abs(r1[0] - 4.18) < 1e-6",
"asse... |
theo-eng-code-L3-code-012216 | 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(1.0, 290, 570, 0.5)",
"assert abs(r0[0] - 430.0) < 1e-6",
"assert abs(r0[1] - 2.09) < 1e-6",
"assert abs(r0[2] - 125.6) < 1e-6",
"r1 = runtime(0.2, 110, 360, 0.5)",
"as... |
theo-eng-code-L3-code-009645 | 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(60, 2800, 120, 0.37, 2.1, 0.009, 1.4, 0.9, 0.95)",
"assert abs(r0[0] - 226.9) < 1e-6",
"assert abs(r0[1] - 25.12) < 1e-6",
"assert abs(r0[2] - 30.14) < 1e-6"
],
"subtas... |
theo-eng-code-L2-code-009411 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 250}')",
"assert r0[0] == 20",
"assert r0[1] == 250",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 50}')",
"assert r1[0] == 40",
"... |
theo-eng-code-L2-code-007167 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 17, -0.07, 0.08, 0.3, 0.5, 0)",
"assert abs(r0[0] - 0.005) < 1e-6",
"assert abs(r0[1] - 0.4) < 1e-6",
"assert abs(r0[2] - 0.005) < 1e-6",
"r1 = com_zmp(13, 24, -0.03, 0.1... |
theo-eng-code-L2-code-001915 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(83, 2670, 120, 0.32, 3.0, 0.01, 1.2, 0.88, 0.85)",
"assert abs(r0[0] - 236.0) < 1e-6",
"assert abs(r0[1] - 29.89) < 1e-6",
"assert abs(r0[2] - 35.87) < 1e-6",
"r1 = erange(5... |
theo-eng-code-L2-code-003343 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.0, 0.5], [0.0, 1.0])",
"assert abs(r0 - 2.0616) < 1e-6",
"r1 = seg_len([1.0, 3.0], [4.5, 2.5])",
"assert abs(r1 - 3.5355) < 1e-6",
"r2 = seg_len([4.5, 4.5], [1.5, 4.5]... |
theo-eng-code-L3-code-009147 | 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(1.0, 150, 330, 0.5)",
"assert abs(r0[0] - 240.0) < 1e-6",
"assert abs(r0[1] - 3.75) < 1e-6",
"assert abs(r0[2] - 225.0) < 1e-6",
"r1 = runtime(0.2, 270, 590, 0.3)",
"as... |
theo-eng-code-L2-code-001125 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.0, 5.0], [0.0, 2.5])",
"assert abs(r0 - 4.717) < 1e-6",
"r1 = seg_len([4.0, 4.5], [4.0, 0.0])",
"assert abs(r1 - 4.5) < 1e-6",
"r2 = seg_len([1.0, 5.0], [2.0, 1.5])",
... |
theo-eng-code-L1-refuse-012572 | 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-L2-code-014777 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(88, 1960, 100, 0.23, 3.0, 0.009, 0.8, 0.88, 0.95)",
"assert abs(r0[0] - 505.0) < 1e-6",
"assert abs(r0[1] - 16.56) < 1e-6",
"assert abs(r0[2] - 16.56) < 1e-6",
"r1 = erange(... |
theo-eng-code-L1-code-003659 | 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": "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-002922 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(2.2, 0.46, 60, 5.0, 2.5)",
"assert abs(r0[0] - 23.84) < 1e-6",
"assert abs(r0[1] - 1.2132) < 1e-6",
"assert abs(r0[2] - 26.87) < 1e-6",
"r1 = joint_torque(7.7, 0.5, 90... |
theo-eng-code-L2-code-008937 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.4, 6000, 100)",
"assert abs(r0[0] - 9.05) < 1e-6",
"assert abs(r0[1] - 663.1) < 1e-6",
"r1 = gear_ratio(0.32, 6000, 100)",
"assert abs(r1[0] - 7.24) < 1e-6",
"asser... |
theo-eng-code-L3-code-004018 | 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 50, 0.2, 1.0)",
"assert abs(r0[0] - 1.6) < 1e-6",
"assert abs(r0[1] - 96.0) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 50"
],
"subtask":... |
theo-eng-code-L3-code-005643 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 120, 390, 0.5)",
"assert abs(r0[0] - 255.0) < 1e-6",
"assert abs(r0[1] - 0.35) < 1e-6",
"assert abs(r0[2] - 21.2) < 1e-6",
"r1 = runtime(1.0, 210, 540, 0.3)",
"ass... |
theo-eng-code-L3-code-009999 | 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(14, 10, -0.03, 0.05, 0.5, 0.4, 0.5)",
"assert abs(r0[0] - 0.0033) < 1e-6",
"assert abs(r0[1] - 0.4583) < 1e-6",
"assert abs(r0[2] - -0.02) < 1e-6",
"r1 = com_zmp(12, 15, -0.05,... |
theo-eng-code-L1-clarify-013577 | 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": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-009020 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 60, 3.7, 10)",
"assert r0[0] == 54",
"assert r0[1] == 31",
"assert r0[2] == 1674",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 61.938) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-010698 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([2.5, 5.0], [1.5, 1.0])",
"assert abs(r0 - 4.1231) < 1e-6",
"r1 = seg_len([0.5, 1.5], [0.5, 4.5])",
"assert abs(r1 - 3.0) < 1e-6",
"r2 = seg_len([3.5, 1.5], [1.0, 3.0])",... |
theo-eng-code-L2-code-013479 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 60, 3.2, 5)",
"assert r0[0] == 250",
"assert r0[1] == 15",
"assert r0[2] == 3750",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 60.0) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-002291 | 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, 60, 3.2, 100)",
"assert r0[0] == 94",
"assert r0[1] == 2",
"assert r0[2] == 188",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 60.16) < 1e-6",
"r1 = pa... |
theo-eng-code-L1-clarify-014241 | 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-L2-code-003776 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.4, 4000, 180)",
"assert abs(r0[0] - 3.35) < 1e-6",
"assert abs(r0[1] - 1193.7) < 1e-6",
"r1 = gear_ratio(0.28, 5000, 150)",
"assert abs(r1[0] - 3.52) < 1e-6",
"asse... |
theo-eng-code-L2-code-003093 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 22, 0.2, 0.9)",
"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-L2-code-001425 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 50, 0.1, 1.0)",
"assert abs(r0[0] - 0.45) < 1e-6",
"assert abs(r0[1] - 27.0) < 1e-6",
"assert abs(r0[2] - 18.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L2-code-006218 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_interp",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(25, [0, 25, 50, 75, 100], [0.77, 0.84, 0.86, 0.86, 0.85])",
"assert abs(r0 - 0.84) < 1e-6",
"r1 = interp_eff(10, [0, 25, 50, 75, 100], [0.74, 0.85, 0.89, 0.85, 0.81])",
"a... |
theo-eng-code-L2-code-008607 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 10, 3.2, 2.5)",
"assert r0[0] == 250",
"assert r0[1] == 5",
"assert r0[2] == 1250",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 10.0) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-010037 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 20, 3.7, 100)",
"assert r0[0] == 135",
"assert r0[1] == 1",
"assert r0[2] == 135",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 49.95) < 1e-6"
],
... |
theo-eng-code-L2-code-007165 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.9, 0.22, 90, 2.5, 1.5)",
"assert abs(r0[0] - 6.37) < 1e-6",
"assert abs(r0[1] - 0.1355) < 1e-6",
"assert abs(r0[2] - 6.57) < 1e-6",
"r1 = joint_torque(3.9, 0.18, 30,... |
theo-eng-code-L2-code-004628 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-001187 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 60, 60, 0.7)",
"assert abs(r0[0] - 60.0) < 1e-6",
"assert abs(r0[1] - 7.5) < 1e-6",
"assert abs(r0[2] - 450.0) < 1e-6",
"r1 = runtime(1.0, 210, 400, 0.3)",
"asse... |
theo-eng-code-L2-code-000500 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-012302 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 130, 210, 0.3)",
"assert abs(r0[0] - 186.0) < 1e-6",
"assert abs(r0[1] - 4.84) < 1e-6",
"assert abs(r0[2] - 290.3) < 1e-6",
"r1 = runtime(1.0, 280, 490, 0.3)",
"... |
theo-eng-code-L2-code-003328 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 10, 3.6, 50)",
"assert r0[0] == 83",
"assert r0[1] == 1",
"assert r0[2] == 83",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 14.94) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-002226 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(40, 7, 0.2, 1.0)",
"assert abs(r0[0] - 5.71) < 1e-6",
"assert abs(r0[1] - 342.9) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L3-code-007509 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 11, 0.2, 0.8)",
"assert abs(r0[0] - 6.82) < 1e-6",
"assert abs(r0[1] - 409.1) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_tim... |
theo-eng-code-L3-code-004603 | 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.33, 9000, 100)",
"assert abs(r0[0] - 11.2) < 1e-6",
"assert abs(r0[1] - 803.8) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L3-code-011900 | 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(18, 26, 0.08, -0.05, 0.3, 0.3, 0.5)",
"assert abs(r0[0] - 0.0032) < 1e-6",
"assert abs(r0[1] - 0.3) < 1e-6",
"assert abs(r0[2] - -0.0121) < 1e-6",
"r1 = com_zmp(5, 22, 0.05, -0... |
theo-eng-code-L2-code-004671 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 0.12, 90, 2.0, 3.0)",
"assert abs(r0[0] - 3.06) < 1e-6",
"assert abs(r0[1] - 0.0346) < 1e-6",
"assert abs(r0[2] - 3.16) < 1e-6",
"r1 = joint_torque(3.7, 0.37, 45,... |
theo-eng-code-L2-code-012335 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([84, 13, 62, 50])",
"assert abs(r0[0] - 52.25) < 1e-6",
"assert abs(r0[1] - 29.714) < 1e-6",
"r1 = summarise([19, 20, 75, 56, 34, 50])",
"assert abs(r1[0] - 42.333) ... |
theo-eng-code-L2-code-011741 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.6, 0.58, 45, 8.0, 0.5)",
"assert abs(r0[0] - 35.41) < 1e-6",
"assert abs(r0[1] - 2.8706) < 1e-6",
"assert abs(r0[2] - 36.84) < 1e-6",
"r1 = joint_torque(5.1, 0.58, 4... |
theo-eng-code-L2-code-005672 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10)",
"assert r0[0] == 83",
"assert r0[1] == 14",
"assert r0[2] == 1162",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 41.832) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-010855 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8.0, 0.19, 45, 2.0, 4.0)",
"assert abs(r0[0] - 7.91) < 1e-6",
"assert abs(r0[1] - 0.1685) < 1e-6",
"assert abs(r0[2] - 8.58) < 1e-6",
"r1 = joint_torque(5.9, 0.34, 60,... |
theo-eng-code-L2-code-002034 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 250, 330, 0.3)",
"assert abs(r0[0] - 306.0) < 1e-6",
"assert abs(r0[1] - 0.29) < 1e-6",
"assert abs(r0[2] - 17.6) < 1e-6",
"r1 = runtime(0.1, 160, 90, 0.7)",
"as... |
theo-eng-code-L2-code-002245 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-009358 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-011563 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 150, 0.2, 0.9)",
"assert abs(r0[0] - 0.29) < 1e-6",
"assert abs(r0[1] - 17.5) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert abs(r0[3] - 120.0) < 1e-6",
"r1... |
theo-eng-code-L1-clarify-010350 | 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-L3-code-007718 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(62, 920, 120, 0.38, 2.4, 0.012, 0.4, 0.94, 0.85)",
"assert abs(r0[0] - 240.9) < 1e-6",
"assert abs(r0[1] - 21.87) < 1e-6",
"assert abs(r0[2] - 26.25) < 1e-6",
"r1 = erange(48,... |
theo-eng-code-L2-code-001001 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-code-012076 | 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": "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-002237 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(65, [0, 25, 50, 75, 100], [0.75, 0.81, 0.85, 0.88, 0.81])",
"assert abs(r0 - 0.868) < 1e-6",
"r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.74, 0.83, 0.89, 0.85, 0.82])",
"... |
theo-eng-code-L2-code-000854 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.2, 0.58, 90, 4.5, 3.5)",
"assert abs(r0[0] - 29.02) < 1e-6",
"assert abs(r0[1] - 1.6484) < 1e-6",
"assert abs(r0[2] - 34.79) < 1e-6",
"r1 = joint_torque(4.7, 0.46, 6... |
theo-eng-code-L3-code-009108 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 80, 3.7, 2.5)",
"assert r0[0] == 216",
"assert r0[1] == 41",
"assert r0[2] == 8856",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 81.918) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-003248 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 23, 0.06, 0.0, 0.4, 0.7, 0.5)",
"assert abs(r0[0] - 0.0237) < 1e-6",
"assert abs(r0[1] - 0.5816) < 1e-6",
"assert abs(r0[2] - -0.006) < 1e-6",
"r1 = com_zmp(17, 17, 0.06,... |
theo-eng-code-L2-code-009421 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_squareloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-014755 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([150, 460, 500, 90, 120], 10)",
"assert abs(r0 - 3.6667) < 1e-6",
"r1 = rect_energy([180, 220, 270, 360, 390], 1)",
"assert abs(r1 - 0.3944) < 1e-6",
"r2 = rect_e... |
theo-eng-code-L3-code-011025 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 60, 3.2, 10)",
"assert r0[0] == 94",
"assert r0[1] == 20",
"assert r0[2] == 1880",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 60.16) < 1e-6",
"r1 = p... |
theo-eng-code-L1-clarify-007359 | 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-010508 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.6, 0.49, 30, 1.0, 1.0)",
"assert abs(r0[0] - 10.33) < 1e-6",
"assert abs(r0[1] - 0.7683) < 1e-6",
"assert abs(r0[2] - 11.1) < 1e-6",
"r1 = joint_torque(6.2, 0.13, 90, ... |
theo-eng-code-L1-clarify-004902 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-003454 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.5, 5.0], [2.5, 4.0])",
"assert abs(r0 - 1.4142) < 1e-6",
"r1 = seg_len([3.5, 4.0], [0.5, 0.5])",
"assert abs(r1 - 4.6098) < 1e-6",
"r2 = seg_len([5.0, 1.5], [0.5, 2.0]... |
theo-eng-code-L3-code-011054 | 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.32, 10500, 180)",
"assert abs(r0[0] - 7.04) < 1e-6",
"assert abs(r0[1] - 1492.1) < 1e-6",
"r1 = gear_ratio(0.27, 6000, 120)",
"assert abs(r1[0] - 5.09) < 1e-6",
"asse... |
theo-eng-code-L1-refuse-014077 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L1-code-002726 | 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-008457 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([1.0, 2.5], [0.5, 0.5])",
"assert abs(r0 - 2.0616) < 1e-6",
"r1 = seg_len([0.5, 2.0], [2.5, 0.0])",
"assert abs(r1 - 2.8284) < 1e-6",
"r2 = seg_len([2.5, 4.5], [2.0, 4.5]... |
theo-eng-code-L1-code-010717 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_minmax",
"user_template": "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-010635 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 360, 90], 10)",
"assert abs(r0 - 2.6944) < 1e-6",
"r1 = rect_energy([420, 100, 310, 180], 2)",
"assert abs(r1 - 0.5611) < 1e-6",
"r2 = rect_energy([100,... |
theo-eng-code-L2-code-000621 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2.5], [4.5, 0.0])",
"assert abs(r0 - 3.9051) < 1e-6",
"r1 = seg_len([0.0, 5.0], [1.5, 0.0])",
"assert abs(r1 - 5.2202) < 1e-6",
"r2 = seg_len([4.0, 0.0], [2.0, 2.0]... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.