id stringlengths 28 31 | type stringclasses 3
values | tier stringclasses 3
values | domain stringclasses 1
value | messages listlengths 3 3 | meta unknown |
|---|---|---|---|---|---|
theo-eng-code-L2-code-002103 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 180, 180, 0.7)",
"assert abs(r0[0] - 180.0) < 1e-6",
"assert abs(r0[1] - 2.5) < 1e-6",
"assert abs(r0[2] - 150.0) < 1e-6",
"r1 = runtime(0.1, 250, 450, 0.5)",
"a... |
theo-eng-code-L2-code-004852 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(27, 2, 0.75)",
"assert abs(r0 - 23.4) < 1e-6",
"r1 = rms_torque(15, 2, 0.25)",
"assert abs(r1 - 7.7) < 1e-6",
"r2 = rms_torque(75, 26, 0.75)",
"assert abs(r2 - 66.24) ... |
theo-eng-code-L2-code-002083 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.5, 290, 400, 0.3)",
"assert abs(r0[0] - 367.0) < 1e-6",
"assert abs(r0[1] - 1.23) < 1e-6",
"assert abs(r0[2] - 73.6) < 1e-6",
"r1 = runtime(1.0, 170, 550, 0.5)",
"a... |
theo-eng-code-L2-code-003828 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([94, 75, 35, 70])",
"assert abs(r0[0] - 68.5) < 1e-6",
"assert abs(r0[1] - 24.61) < 1e-6",
"r1 = summarise([58, 43, 25, 10, 47])",
"assert abs(r1[0] - 36.6) < 1e-6",... |
theo-eng-code-L2-code-004021 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([78, 18, 76, 82, 70])",
"assert abs(r0[0] - 64.8) < 1e-6",
"assert abs(r0[1] - 26.518) < 1e-6",
"r1 = summarise([21, 31, 44, 97, 26, 93])",
"assert r1[0] == 52",
... |
theo-eng-code-L2-code-008868 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 0.42, 30, 7.0, 4.0)",
"assert abs(r0[0] - 16.69) < 1e-6",
"assert abs(r0[1] - 1.3642) < 1e-6",
"assert abs(r0[2] - 22.14) < 1e-6",
"r1 = joint_torque(7.5, 0.19, 3... |
theo-eng-code-L3-code-004461 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.7, 0.18, 30, 7.0, 1.0)",
"assert abs(r0[0] - 7.37) < 1e-6",
"assert abs(r0[1] - 0.256) < 1e-6",
"assert abs(r0[2] - 7.63) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L3-code-000262 | 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, 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"
],
"subtask"... |
theo-eng-code-L1-code-002801 | 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_strmul",
"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-005311 | 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, 100, 500, 0.3)",
"assert abs(r0[0] - 380.0) < 1e-6",
"assert abs(r0[1] - 1.18) < 1e-6",
"assert abs(r0[2] - 71.1) < 1e-6",
"r1 = runtime(0.2, 170, 460, 0.7)",
"ass... |
theo-eng-code-L1-code-002823 | 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_squares",
"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-011372 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-010014 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.43, 13000, 120)",
"assert abs(r0[0] - 17.56) < 1e-6",
"assert abs(r0[1] - 740.3) < 1e-6",
"r1 = gear_ratio(0.25, 13500, 150)",
"assert abs(r1[0] - 8.48) < 1e-6",
"a... |
theo-eng-code-L2-code-011995 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')",
"assert r0[0] == 20",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')",
"assert r1[0] == 20",
... |
theo-eng-code-L2-code-013817 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.1, 0.26, 30, 8.0, 1.5)",
"assert abs(r0[0] - 14.09) < 1e-6",
"assert abs(r0[1] - 0.6783) < 1e-6",
"assert abs(r0[2] - 15.11) < 1e-6",
"r1 = joint_torque(4.3, 0.23, 6... |
theo-eng-code-L2-code-001140 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-006006 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(16, 10, 0.03, 0.06, 0.4, 0.8, 0)",
"assert abs(r0[0] - 0.0415) < 1e-6",
"assert abs(r0[1] - 0.5538) < 1e-6",
"assert abs(r0[2] - 0.0415) < 1e-6",
"r1 = com_zmp(14, 27, 0.05, ... |
theo-eng-code-L3-code-005704 | 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(59, 32, 0.75)",
"assert abs(r0 - 53.54) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L3-code-014955 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(17, 7, 0.5)",
"assert abs(r0 - 13.0) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"saf... |
theo-eng-code-L3-code-001032 | 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(20, 50, 0.2, 0.9)",
"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_time(... |
theo-eng-code-L1-clarify-011427 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-009301 | 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.41, 8000, 150)",
"assert abs(r0[0] - 8.24) < 1e-6",
"assert abs(r0[1] - 970.5) < 1e-6",
"r1 = gear_ratio(0.35, 10000, 150)",
"assert abs(r1[0] - 8.8) < 1e-6",
"assert... |
theo-eng-code-L2-code-015407 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, [0, 25, 50, 75, 100], [0.8, 0.82, 0.85, 0.85, 0.84])",
"assert abs(r0 - 0.812) < 1e-6",
"r1 = interp_eff(10, [0, 25, 50, 75, 100], [0.75, 0.85, 0.87, 0.86, 0.83])",
"a... |
theo-eng-code-L2-code-014302 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.6, 2.5)",
"assert r0[0] == 139",
"assert r0[1] == 64",
"assert r0[2] == 8896",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 80.064) < 1e-6",
"r... |
theo-eng-code-L3-code-010228 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(44, 11, 0.5)",
"assert abs(r0 - 32.07) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L2-code-005790 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([3.0, 5.0], [0.0, 1.0])",
"assert abs(r0 - 5.0) < 1e-6",
"r1 = seg_len([0.5, 2.0], [3.5, 0.0])",
"assert abs(r1 - 3.6056) < 1e-6",
"r2 = seg_len([4.5, 0.0], [2.5, 1.5])",... |
theo-eng-code-L3-code-014506 | 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(0.9, 0.27, 30, 1.5, 0.0)",
"assert abs(r0[0] - 2.58) < 1e-6",
"assert abs(r0[1] - 0.1312) < 1e-6",
"assert abs(r0[2] - 2.58) < 1e-6",
"r1 = joint_torque(5.9, 0.19, 90, 4... |
theo-eng-code-L2-code-003466 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.42, 7500, 180)",
"assert abs(r0[0] - 6.6) < 1e-6",
"assert abs(r0[1] - 1136.8) < 1e-6",
"r1 = gear_ratio(0.29, 11500, 100)",
"assert abs(r1[0] - 12.57) < 1e-6",
"as... |
theo-eng-code-L2-code-008113 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-009512 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 80, 460, 0.5)",
"assert abs(r0[0] - 270.0) < 1e-6",
"assert abs(r0[1] - 1.67) < 1e-6",
"assert abs(r0[2] - 100.0) < 1e-6",
"r1 = runtime(1.0, 70, 260, 0.7)",
"as... |
theo-eng-code-L2-code-013836 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 150, 0.2, 0.8)",
"assert abs(r0[0] - 0.25) < 1e-6",
"assert abs(r0[1] - 15.0) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert abs(r0[3] - 60.0) < 1e-6",
"r... |
theo-eng-code-L2-code-011695 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 80, 3.7, 50)",
"assert r0[0] == 216",
"assert r0[1] == 3",
"assert r0[2] == 648",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 119.88) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-005592 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')",
"assert r0[0] == 80",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')",
"assert r1[0] == 80",
... |
theo-eng-code-L2-code-008462 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 60, 3.7, 5)",
"assert r0[0] == 108",
"assert r0[1] == 31",
"assert r0[2] == 3348",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 61.938) < 1e-6",
"r1 ... |
theo-eng-code-L1-code-003883 | 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": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-003685 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.43, 4500, 150)",
"assert abs(r0[0] - 4.86) < 1e-6",
"assert abs(r0[1] - 925.3) < 1e-6",
"r1 = gear_ratio(0.26, 15000, 120)",
"assert abs(r1[0] - 12.25) < 1e-6",
"asse... |
theo-eng-code-L1-clarify-000258 | 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": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-000353 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(94, 2500, 80, 0.37, 1.9, 0.013, 0.5, 0.92, 0.95)",
"assert abs(r0[0] - 535.6) < 1e-6",
"assert abs(r0[1] - 16.67) < 1e-6",
"assert abs(r0[2] - 13.34) < 1e-6",
"r1 = erange(7... |
theo-eng-code-L2-code-001298 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7.1, 0.32, 45, 7.5, 2.5)",
"assert abs(r0[0] - 24.53) < 1e-6",
"assert abs(r0[1] - 1.0103) < 1e-6",
"assert abs(r0[2] - 27.05) < 1e-6",
"r1 = joint_torque(5.9, 0.23, 3... |
theo-eng-code-L2-code-003262 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(57, 34, 0.5)",
"assert abs(r0 - 46.93) < 1e-6",
"r1 = rms_torque(99, 34, 0.5)",
"assert abs(r1 - 74.02) < 1e-6",
"r2 = rms_torque(50, 36, 0.75)",
"assert abs(r2 - 46.8... |
theo-eng-code-L2-code-007294 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 11, 0.04, 0.06, 0.5, 0.9, 1)",
"assert abs(r0[0] - 0.0488) < 1e-6",
"assert abs(r0[1] - 0.676) < 1e-6",
"assert abs(r0[2] - -0.0201) < 1e-6",
"r1 = com_zmp(13, 19, -0.1, ... |
theo-eng-code-L1-code-001107 | 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-005769 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.1, 0.56, 90, 6.5, 1.0)",
"assert abs(r0[0] - 49.72) < 1e-6",
"assert abs(r0[1] - 2.5715) < 1e-6",
"assert abs(r0[2] - 52.29) < 1e-6",
"r1 = joint_torque(5.5, 0.17, 4... |
theo-eng-code-L3-code-015051 | 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(15, 4, 0.25)",
"assert abs(r0 - 8.26) < 1e-6",
"r1 = rms_torque(5, 2, 0.25)",
"assert abs(r1 - 3.04) < 1e-6",
"r2 = rms_torque(14, 9, 0.75)",
"assert abs(r2 - 12.93) < 1... |
theo-eng-code-L3-code-006747 | 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(80, 2630, 120, 0.36, 2.1, 0.009, 1.2, 0.92, 0.85)",
"assert abs(r0[0] - 288.8) < 1e-6",
"assert abs(r0[1] - 23.55) < 1e-6",
"assert abs(r0[2] - 28.25) < 1e-6",
"r1 = erange(94... |
theo-eng-code-L2-code-004038 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 80, 3.6, 10)",
"assert r0[0] == 111",
"assert r0[1] == 21",
"assert r0[2] == 2331",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 83.916) < 1e-6",
"r1... |
theo-eng-code-L2-code-006987 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(94, 6, 0.75)",
"assert abs(r0 - 81.46) < 1e-6",
"r1 = rms_torque(72, 32, 0.25)",
"assert abs(r1 - 45.43) < 1e-6",
"r2 = rms_torque(68, 8, 0.25)",
"assert abs(r2 - 34.7... |
theo-eng-code-L2-code-002281 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.41, 11500, 180)",
"assert abs(r0[0] - 9.88) < 1e-6",
"assert abs(r0[1] - 1164.5) < 1e-6",
"r1 = gear_ratio(0.4, 12000, 120)",
"assert abs(r1[0] - 15.08) < 1e-6",
"a... |
theo-eng-code-L2-code-007049 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 24, -0.07, 0.08, 0.8, 0.7, 2)",
"assert abs(r0[0] - 0.0137) < 1e-6",
"assert abs(r0[1] - 0.7442) < 1e-6",
"assert abs(r0[2] - -0.138) < 1e-6",
"r1 = com_zmp(16, 12, -0.02... |
theo-eng-code-L2-code-005990 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(57, 1840, 60, 0.29, 2.7, 0.008, 1.4, 0.9, 0.85)",
"assert abs(r0[0] - 444.4) < 1e-6",
"assert abs(r0[1] - 10.9) < 1e-6",
"assert abs(r0[2] - 6.54) < 1e-6",
"r1 = erange(77, ... |
theo-eng-code-L3-code-001406 | 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, 22, 0.2, 0.8)",
"assert abs(r0[0] - 1.36) < 1e-6",
"assert abs(r0[1] - 81.8) < 1e-6",
"assert abs(r0[2] - 24.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time(... |
theo-eng-code-L2-code-006212 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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-L2-code-000177 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 3.6, 2.5)",
"assert r0[0] == 56",
"assert r0[1] == 40",
"assert r0[2] == 2240",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 20.16) < 1e-6",
"r1 ... |
theo-eng-code-L1-code-003479 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_power",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-008792 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 50}')",
"assert r0[0] == 40",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 100}')",
"assert r1[0] == 60",
"a... |
theo-eng-code-L2-code-008800 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 10, 0.0, -0.05, 0.8, 0.6, 0)",
"assert abs(r0[0] - -0.0172) < 1e-6",
"assert abs(r0[1] - 0.731) < 1e-6",
"assert abs(r0[2] - -0.0172) < 1e-6",
"r1 = com_zmp(15, 12, -0.05... |
theo-eng-code-L2-code-002412 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([38, 92, 99, 86])",
"assert abs(r0[0] - 78.75) < 1e-6",
"assert abs(r0[1] - 27.681) < 1e-6",
"r1 = summarise([28, 25, 98, 27])",
"assert abs(r1[0] - 44.5) < 1e-6",
... |
theo-eng-code-L2-code-012910 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([69, 79, 95, 25, 17])",
"assert r0[0] == 57",
"assert abs(r0[1] - 34.264) < 1e-6",
"r1 = summarise([11, 51, 32, 10, 53, 43])",
"assert abs(r1[0] - 33.333) < 1e-6",
... |
theo-eng-code-L1-refuse-006829 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_kill_audit",
"user_template": "2",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-002370 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 20, -0.02, 0.13, 0.9, 0.5, 0.5)",
"assert abs(r0[0] - 0.0871) < 1e-6",
"assert abs(r0[1] - 0.6143) < 1e-6",
"assert abs(r0[2] - 0.0558) < 1e-6",
"r1 = com_zmp(6, 13, -0.05... |
theo-eng-code-L3-code-001141 | 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(12, 14, 0.08, 0.02, 0.9, 0.7, 0)",
"assert abs(r0[0] - 0.0477) < 1e-6",
"assert abs(r0[1] - 0.7923) < 1e-6",
"assert abs(r0[2] - 0.0477) < 1e-6",
"r1 = com_zmp(16, 18, 0.06, 0.... |
theo-eng-code-L3-code-013905 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(56, 1080, 100, 0.22, 2.2, 0.007, 0.8, 0.94, 0.85)",
"assert abs(r0[0] - 488.1) < 1e-6",
"assert abs(r0[1] - 9.75) < 1e-6",
"assert abs(r0[2] - 9.75) < 1e-6",
"r1 = erange(80, ... |
theo-eng-code-L2-code-007044 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 22, -0.08, 0.12, 0.6, 0.9, 0.5)",
"assert abs(r0[0] - 0.0771) < 1e-6",
"assert abs(r0[1] - 0.8357) < 1e-6",
"assert abs(r0[2] - 0.0345) < 1e-6",
"r1 = com_zmp(15, 20, -0.0... |
theo-eng-code-L1-code-011193 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_nested",
"user_template": "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-010361 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.1, 70, 600, 0.3)",
"assert abs(r0[0] - 441.0) < 1e-6",
"assert abs(r0[1] - 0.2) < 1e-6",
"assert abs(r0[2] - 12.2) < 1e-6",
"r1 = runtime(0.2, 140, 280, 0.3)",
"ass... |
theo-eng-code-L2-code-000257 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 40, 3.7, 10)",
"assert r0[0] == 81",
"assert r0[1] == 14",
"assert r0[2] == 1134",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 41.958) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-006886 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10500, 100)",
"assert abs(r0[0] - 15.04) < 1e-6",
"assert abs(r0[1] - 698.0) < 1e-6",
"r1 = gear_ratio(0.28, 7000, 150)",
"assert abs(r1[0] - 4.93) < 1e-6",
"as... |
theo-eng-code-L3-code-012340 | 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.35, 13000, 180)",
"assert abs(r0[0] - 9.53) < 1e-6",
"assert abs(r0[1] - 1364.2) < 1e-6",
"r1 = gear_ratio(0.3, 10000, 150)",
"assert abs(r1[0] - 7.54) < 1e-6",
"asse... |
theo-eng-code-L3-code-014899 | 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(80, 150, 0.1, 0.8)",
"assert abs(r0[0] - 0.47) < 1e-6",
"assert abs(r0[1] - 28.0) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_tim... |
theo-eng-code-L2-code-009200 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 60, 3.2, 2.5)",
"assert r0[0] == 156",
"assert r0[1] == 49",
"assert r0[2] == 7644",
"assert abs(r0[3] - 499.2) < 1e-6",
"assert abs(r0[4] - 61.152) < 1e-6",
"r... |
theo-eng-code-L3-code-015802 | 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(40, 22, 0.2, 1.0)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 22"
],
"subtask... |
theo-eng-code-L2-code-008880 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, 6, 0.5)",
"assert abs(r0 - 11.42) < 1e-6",
"r1 = rms_torque(68, 8, 0.25)",
"assert abs(r1 - 34.7) < 1e-6",
"r2 = rms_torque(59, 10, 0.25)",
"assert abs(r2 - 30.74)... |
theo-eng-code-L3-code-012196 | 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, 90, 560, 0.7)",
"assert abs(r0[0] - 231.0) < 1e-6",
"assert abs(r0[1] - 3.9) < 1e-6",
"assert abs(r0[2] - 233.8) < 1e-6",
"r1 = runtime(0.5, 210, 480, 0.3)",
"asse... |
theo-eng-code-L3-code-014628 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(73, 36, 0.75)",
"assert abs(r0 - 65.73) < 1e-6",
"r1 = rms_torque(25, 2, 0.25)",
"assert abs(r1 - 12.62) < 1e-6",
"r2 = rms_torque(22, 6, 0.75)",
"assert abs(r2 - 19.29)... |
theo-eng-code-L3-code-004131 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(26, 2460, 80, 0.26, 2.3, 0.01, 0.3, 0.9, 0.9)",
"assert abs(r0[0] - 174.5) < 1e-6",
"assert abs(r0[1] - 13.41) < 1e-6",
"assert abs(r0[2] - 10.72) < 1e-6",
"r1 = erange(36, 20... |
theo-eng-code-L3-code-002759 | 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(92, 2, 0.5)",
"assert abs(r0 - 65.07) < 1e-6",
"r1 = rms_torque(49, 22, 0.75)",
"assert abs(r1 - 43.84) < 1e-6",
"r2 = rms_torque(75, 30, 0.75)",
"assert abs(r2 - 66.66)... |
theo-eng-code-L3-code-000996 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 13, 0.09, 0.01, 0.9, 0.7, 1)",
"assert abs(r0[0] - 0.0353) < 1e-6",
"assert abs(r0[1] - 0.7632) < 1e-6",
"assert abs(r0[2] - -0.0425) < 1e-6",
"r1 = com_zmp(6, 30, -0.08, -0... |
theo-eng-code-L2-code-008296 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 150}')",
"assert r0[0] == 40",
"assert r0[1] == 150",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 50}')",
"assert r1[0] == 80",
"... |
theo-eng-code-L3-code-006238 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.45) < 1e-6",
"assert abs(r0[1] - 27.0) < 1e-6",
"assert abs(r0[2] - 54.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_tim... |
theo-eng-code-L3-code-011720 | 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.31, 5500, 180)",
"assert abs(r0[0] - 3.57) < 1e-6",
"assert abs(r0[1] - 1540.2) < 1e-6",
"r1 = gear_ratio(0.3, 10000, 150)",
"assert abs(r1[0] - 7.54) < 1e-6",
"asser... |
theo-eng-code-L2-code-005876 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 22, 0.2, 0.9)",
"assert abs(r0[0] - 3.18) < 1e-6",
"assert abs(r0[1] - 190.9) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L3-code-003191 | 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(20, 50, 0.2, 0.9)",
"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_time(... |
theo-eng-code-L3-code-003801 | 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(6.8, 0.32, 30, 8.0, 1.5)",
"assert abs(r0[0] - 17.89) < 1e-6",
"assert abs(r0[1] - 1.0513) < 1e-6",
"assert abs(r0[2] - 19.47) < 1e-6",
"r1 = joint_torque(1.7, 0.19, 60,... |
theo-eng-code-L3-code-003012 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(76, 19, 0.25)",
"assert abs(r0 - 41.41) < 1e-6",
"r1 = rms_torque(90, 40, 0.75)",
"assert abs(r1 - 80.47) < 1e-6",
"r2 = rms_torque(10, 8, 0.5)",
"assert abs(r2 - 9.06) ... |
theo-eng-code-L3-code-009836 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 80, 3.7, 10)",
"assert r0[0] == 54",
"assert r0[1] == 41",
"assert r0[2] == 2214",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 81.918) < 1e-6"
],... |
theo-eng-code-L2-code-007123 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 5)",
"assert r0[0] == 94",
"assert r0[1] == 27",
"assert r0[2] == 2538",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 40.608) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-008309 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 30, -0.01, 0.09, 0.9, 0.4, 1)",
"assert abs(r0[0] - 0.0733) < 1e-6",
"assert abs(r0[1] - 0.4833) < 1e-6",
"assert abs(r0[2] - 0.0241) < 1e-6",
"r1 = com_zmp(7, 17, 0.05, 0.0... |
theo-eng-code-L2-code-002032 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.1, 250, 240, 0.5)",
"assert abs(r0[0] - 245.0) < 1e-6",
"assert abs(r0[1] - 0.37) < 1e-6",
"assert abs(r0[2] - 22.0) < 1e-6",
"r1 = runtime(0.1, 290, 300, 0.3)",
"a... |
theo-eng-code-L2-code-012558 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([56, 38, 16, 48])",
"assert abs(r0[0] - 39.5) < 1e-6",
"assert abs(r0[1] - 17.311) < 1e-6",
"r1 = summarise([41, 80, 30, 64, 31, 79])",
"assert abs(r1[0] - 54.167) <... |
theo-eng-code-L2-code-005881 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(19, 24, 0.02, 0.15, 0.4, 0.9, 0.5)",
"assert abs(r0[0] - 0.0926) < 1e-6",
"assert abs(r0[1] - 0.6791) < 1e-6",
"assert abs(r0[2] - 0.0579) < 1e-6",
"r1 = com_zmp(16, 10, 0.04... |
theo-eng-code-L2-code-012947 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(22, 1950, 60, 0.22, 3.0, 0.008, 0.4, 0.92, 0.95)",
"assert abs(r0[0] - 240.8) < 1e-6",
"assert abs(r0[1] - 8.68) < 1e-6",
"assert abs(r0[2] - 5.21) < 1e-6",
"r1 = erange(26,... |
theo-eng-code-L2-code-008771 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(88, 10, 0.5)",
"assert abs(r0 - 62.63) < 1e-6",
"r1 = rms_torque(88, 12, 0.75)",
"assert abs(r1 - 76.45) < 1e-6",
"r2 = rms_torque(51, 18, 0.5)",
"assert abs(r2 - 38.2... |
theo-eng-code-L1-clarify-010335 | 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-011851 | 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(91, 2300, 100, 0.34, 3.1, 0.008, 1.1, 0.88, 0.9)",
"assert abs(r0[0] - 363.7) < 1e-6",
"assert abs(r0[1] - 22.52) < 1e-6",
"assert abs(r0[2] - 22.52) < 1e-6",
"r1 = erange(51,... |
theo-eng-code-L2-code-012726 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([420, 380, 300], 2)",
"assert abs(r0 - 0.6111) < 1e-6",
"r1 = rect_energy([280, 200, 440], 1)",
"assert abs(r1 - 0.2556) < 1e-6",
"r2 = rect_energy([500, 430, 430... |
theo-eng-code-L2-code-010709 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 21, -0.1, 0.1, 0.7, 0.8, 0.5)",
"assert abs(r0[0] - 0.0312) < 1e-6",
"assert abs(r0[1] - 0.7656) < 1e-6",
"assert abs(r0[2] - -0.0078) < 1e-6",
"r1 = com_zmp(6, 20, 0.03,... |
theo-eng-code-L2-code-009709 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.37, 8000, 100)",
"assert abs(r0[0] - 11.16) < 1e-6",
"assert abs(r0[1] - 716.9) < 1e-6",
"r1 = gear_ratio(0.26, 4000, 150)",
"assert abs(r1[0] - 2.61) < 1e-6",
"ass... |
theo-eng-code-L1-code-000515 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-000508 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 40, 170, 0.5)",
"assert abs(r0[0] - 105.0) < 1e-6",
"assert abs(r0[1] - 1.71) < 1e-6",
"assert abs(r0[2] - 102.9) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L2-code-015080 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.