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-009729 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 50, 340, 0.3)",
"assert abs(r0[0] - 253.0) < 1e-6",
"assert abs(r0[1] - 1.78) < 1e-6",
"assert abs(r0[2] - 106.7) < 1e-6",
"r1 = runtime(1.0, 110, 170, 0.5)",
"a... |
theo-eng-code-L3-code-009995 | 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(5.8, 0.31, 45, 1.0, 3.5)",
"assert abs(r0[0] - 8.39) < 1e-6",
"assert abs(r0[1] - 0.2819) < 1e-6",
"assert abs(r0[2] - 9.37) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L3-code-006418 | 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(2.5, 0.11, 30, 6.0, 0.5)",
"assert abs(r0[0] - 3.91) < 1e-6",
"assert abs(r0[1] - 0.0827) < 1e-6",
"assert abs(r0[2] - 3.95) < 1e-6",
"r1 = joint_torque(0.7, 0.3, 60, 5.... |
theo-eng-code-L2-code-004877 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 80, 3.6, 100)",
"assert r0[0] == 222",
"assert r0[1] == 2",
"assert r0[2] == 444",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 159.84) < 1e-6",
"r1 ... |
theo-eng-code-L3-code-009062 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(6.1, 0.49, 30, 0.0, 1.0)",
"assert abs(r0[0] - 7.33) < 1e-6",
"assert abs(r0[1] - 0.4882) < 1e-6",
"assert abs(r0[2] - 7.82) < 1e-6",
"r1 = joint_torque(2.6, 0.28, 45, 2... |
theo-eng-code-L3-code-014135 | 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, 19, -0.07, 0.01, 0.9, 0.3, 0)",
"assert abs(r0[0] - -0.021) < 1e-6",
"assert abs(r0[1] - 0.5323) < 1e-6",
"assert abs(r0[2] - -0.021) < 1e-6",
"r1 = com_zmp(18, 23, 0.01, 0... |
theo-eng-code-L3-code-015020 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 80, 3.7, 2.5)",
"assert r0[0] == 108",
"assert r0[1] == 81",
"assert r0[2] == 8748",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 80.919) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-007468 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.0, 0.5], [3.5, 5.0])",
"assert abs(r0 - 4.7434) < 1e-6",
"r1 = seg_len([3.0, 0.0], [2.5, 0.5])",
"assert abs(r1 - 0.7071) < 1e-6",
"r2 = seg_len([1.0, 4.5], [2.5, 3.0]... |
theo-eng-code-L3-code-014473 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(71, 1990, 120, 0.28, 2.5, 0.01, 0.9, 0.88, 0.9)",
"assert abs(r0[0] - 291.1) < 1e-6",
"assert abs(r0[1] - 21.95) < 1e-6",
"assert abs(r0[2] - 26.34) < 1e-6"
],
"subtask... |
theo-eng-code-L3-code-015342 | 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(6.2, 0.45, 45, 1.5, 1.0)",
"assert abs(r0[0] - 14.36) < 1e-6",
"assert abs(r0[1] - 0.7223) < 1e-6",
"assert abs(r0[2] - 15.08) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L2-code-004889 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(300, 20, 3.2, 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] - 20.304) < 1e-6",
"r1... |
theo-eng-code-L1-code-005747 | 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": "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-008353 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_maxloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-001594 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-014307 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 80, 3.7, 5)",
"assert r0[0] == 108",
"assert r0[1] == 41",
"assert r0[2] == 4428",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 81.918) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-012257 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 150, 0.2, 0.9)",
"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_t... |
theo-eng-code-L1-refuse-001072 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_bypass_limit_code",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-001332 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 10, 3.6, 5)",
"assert r0[0] == 139",
"assert r0[1] == 4",
"assert r0[2] == 556",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 10.008) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-013673 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(99, 1280, 60, 0.24, 2.7, 0.008, 0.4, 0.92, 0.9)",
"assert abs(r0[0] - 1267.7) < 1e-6",
"assert abs(r0[1] - 7.03) < 1e-6",
"assert abs(r0[2] - 4.22) < 1e-6"
],
"subtask"... |
theo-eng-code-L3-code-006083 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 50, 510, 0.5)",
"assert abs(r0[0] - 280.0) < 1e-6",
"assert abs(r0[1] - 0.64) < 1e-6",
"assert abs(r0[2] - 38.6) < 1e-6",
"r1 = runtime(0.5, 180, 290, 0.3)",
"asse... |
theo-eng-code-L2-code-010261 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(42, 8, 0.5)",
"assert abs(r0 - 30.23) < 1e-6",
"r1 = rms_torque(95, 16, 0.25)",
"assert abs(r1 - 49.48) < 1e-6",
"r2 = rms_torque(29, 11, 0.5)",
"assert abs(r2 - 21.93... |
theo-eng-code-L3-code-002783 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(1.0, 170, 430, 0.7)",
"assert abs(r0[0] - 248.0) < 1e-6",
"assert abs(r0[1] - 3.63) < 1e-6",
"assert abs(r0[2] - 217.7) < 1e-6",
"r1 = runtime(0.1, 270, 470, 0.7)",
"as... |
theo-eng-code-L3-code-002106 | 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(60, 7, 0.1, 1.0)",
"assert abs(r0[0] - 9.64) < 1e-6",
"assert abs(r0[1] - 578.6) < 1e-6",
"assert abs(r0[2] - 54.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time(6... |
theo-eng-code-L2-code-010669 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(20, 7, 0.5)",
"assert abs(r0 - 14.98) < 1e-6",
"r1 = rms_torque(7, 7, 0.5)",
"assert abs(r1 - 7.0) < 1e-6",
"r2 = rms_torque(6, 4, 0.5)",
"assert abs(r2 - 5.1) < 1e-6"... |
theo-eng-code-L2-code-003373 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(1.0, 130, 350, 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, 190, 180, 0.3)",
"... |
theo-eng-code-L2-code-001514 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 100}')",
"assert r0[0] == 20",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 40, \"max_kw\": 100}')",
"assert r1[0] == 40",
... |
theo-eng-code-L2-code-011373 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.4, 0.11, 60, 5.0, 2.5)",
"assert abs(r0[0] - 7.2) < 1e-6",
"assert abs(r0[1] - 0.0823) < 1e-6",
"assert abs(r0[2] - 7.4) < 1e-6",
"r1 = joint_torque(6.2, 0.48, 90, 3... |
theo-eng-code-L3-code-005313 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.33, 10000, 100)",
"assert abs(r0[0] - 12.44) < 1e-6",
"assert abs(r0[1] - 803.8) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-013052 | 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(500, 80, 3.6, 100)",
"assert r0[0] == 139",
"assert r0[1] == 2",
"assert r0[2] == 278",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 100.08) < 1e-6"
],... |
theo-eng-code-L1-code-003171 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_countdown",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-002569 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.41, 6500, 150)",
"assert abs(r0[0] - 6.7) < 1e-6",
"assert abs(r0[1] - 970.5) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-010404 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_prodloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-014964 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(93, 35, 0.75)",
"assert abs(r0 - 82.42) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-005895 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 26, -0.02, 0.14, 0.6, 0.5, 2)",
"assert abs(r0[0] - 0.0745) < 1e-6",
"assert abs(r0[1] - 0.5409) < 1e-6",
"assert abs(r0[2] - -0.0357) < 1e-6",
"r1 = com_zmp(20, 25, 0.07... |
theo-eng-code-L3-code-004651 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.44, 13000, 180)",
"assert abs(r0[0] - 11.98) < 1e-6",
"assert abs(r0[1] - 1085.1) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run... |
theo-eng-code-L2-code-008136 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 57, 51, 97, 13])",
"assert abs(r0[0] - 54.8) < 1e-6",
"assert abs(r0[1] - 29.786) < 1e-6",
"r1 = summarise([30, 44, 52, 37, 48])",
"assert abs(r1[0] - 42.2) < 1... |
theo-eng-code-L2-code-001772 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([250, 270, 470, 160], 5)",
"assert abs(r0 - 1.5972) < 1e-6",
"r1 = rect_energy([270, 190, 430, 380, 420], 1)",
"assert abs(r1 - 0.4694) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L3-code-001255 | 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(800, 80, 3.7, 10)",
"assert r0[0] == 216",
"assert r0[1] == 11",
"assert r0[2] == 2376",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 87.912) < 1e-6",
"r1 =... |
theo-eng-code-L2-code-003400 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 80, 3.2, 5)",
"assert r0[0] == 250",
"assert r0[1] == 20",
"assert r0[2] == 5000",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 80.0) < 1e-6",
"r1 = ... |
theo-eng-code-L3-code-004804 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(16, 5, 0.5)",
"assert abs(r0 - 11.85) < 1e-6",
"r1 = rms_torque(27, 25, 0.5)",
"assert abs(r1 - 26.02) < 1e-6",
"r2 = rms_torque(66, 20, 0.5)",
"assert abs(r2 - 48.76) <... |
theo-eng-code-L2-code-002476 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-005377 | 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, 190, 140, 0.7)",
"assert abs(r0[0] - 175.0) < 1e-6",
"assert abs(r0[1] - 5.14) < 1e-6",
"assert abs(r0[2] - 308.6) < 1e-6",
"r1 = runtime(1.0, 50, 300, 0.3)",
"ass... |
theo-eng-code-L3-code-009196 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 11, 0.1, 0.9)",
"assert abs(r0[0] - 3.64) < 1e-6",
"assert abs(r0[1] - 218.2) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L2-code-007517 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(74, 1550, 60, 0.38, 2.5, 0.01, 0.6, 0.92, 0.9)",
"assert abs(r0[0] - 636.0) < 1e-6",
"assert abs(r0[1] - 10.47) < 1e-6",
"assert abs(r0[2] - 6.28) < 1e-6",
"r1 = erange(32, ... |
theo-eng-code-L3-code-002174 | 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(35, 1640, 80, 0.32, 3.1, 0.012, 0.4, 0.9, 0.85)",
"assert abs(r0[0] - 189.3) < 1e-6",
"assert abs(r0[1] - 15.72) < 1e-6",
"assert abs(r0[2] - 12.58) < 1e-6",
"r1 = erange(98, ... |
theo-eng-code-L2-code-000483 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(79, 2200, 60, 0.23, 3.1, 0.01, 1.5, 0.94, 0.9)",
"assert abs(r0[0] - 570.5) < 1e-6",
"assert abs(r0[1] - 12.46) < 1e-6",
"assert abs(r0[2] - 7.48) < 1e-6",
"r1 = erange(99, ... |
theo-eng-code-L3-code-012980 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(65, 23, 0.75)",
"assert abs(r0 - 57.45) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-004337 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(85, [0, 25, 50, 75, 100], [0.77, 0.84, 0.88, 0.86, 0.81])",
"assert abs(r0 - 0.84) < 1e-6",
"r1 = interp_eff(50, [0, 25, 50, 75, 100], [0.73, 0.81, 0.87, 0.85, 0.82])",
"a... |
theo-eng-code-L2-code-000425 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 7, 0.2, 1.0)",
"assert abs(r0[0] - 8.57) < 1e-6",
"assert abs(r0[1] - 514.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_time... |
theo-eng-code-L3-code-005693 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(8, 24, -0.02, 0.03, 0.9, 0.5, 0.5)",
"assert abs(r0[0] - 0.0175) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.0131) < 1e-6",
"r1 = com_zmp(16, 14, 0.0, 0.1... |
theo-eng-code-L3-code-006317 | 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.41, 12000, 100)",
"assert abs(r0[0] - 18.55) < 1e-6",
"assert abs(r0[1] - 647.0) < 1e-6",
"r1 = gear_ratio(0.44, 7000, 180)",
"assert abs(r1[0] - 6.45) < 1e-6",
"asse... |
theo-eng-code-L2-code-005288 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([5.0, 2.0], [5.0, 2.5])",
"assert abs(r0 - 0.5) < 1e-6",
"r1 = seg_len([0.5, 0.5], [2.5, 2.5])",
"assert abs(r1 - 2.8284) < 1e-6",
"r2 = seg_len([1.5, 2.0], [3.0, 4.0])",... |
theo-eng-code-L1-refuse-007629 | 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-L3-code-003428 | 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(18, 26, 0.1, 0.07, 0.6, 0.7, 2)",
"assert abs(r0[0] - 0.0823) < 1e-6",
"assert abs(r0[1] - 0.6591) < 1e-6",
"assert abs(r0[2] - -0.0521) < 1e-6",
"r1 = com_zmp(6, 27, 0.05, 0.0... |
theo-eng-code-L2-code-003985 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 80, 510, 0.3)",
"assert abs(r0[0] - 381.0) < 1e-6",
"assert abs(r0[1] - 0.24) < 1e-6",
"assert abs(r0[2] - 14.2) < 1e-6",
"r1 = runtime(0.5, 270, 320, 0.3)",
"as... |
theo-eng-code-L3-code-015263 | 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(40, 50, 0.1, 0.9)",
"assert abs(r0[0] - 0.8) < 1e-6",
"assert abs(r0[1] - 48.0) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"assert r0[3] == 50"
],
"subtask":... |
theo-eng-code-L2-code-000825 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(71, 2760, 60, 0.31, 2.9, 0.009, 1.3, 0.9, 0.9)",
"assert abs(r0[0] - 443.5) < 1e-6",
"assert abs(r0[1] - 14.41) < 1e-6",
"assert abs(r0[2] - 8.65) < 1e-6",
"r1 = erange(73, ... |
theo-eng-code-L2-code-000238 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 11, -0.05, 0.04, 0.5, 0.9, 1)",
"assert abs(r0[0] - -0.0133) < 1e-6",
"assert abs(r0[1] - 0.663) < 1e-6",
"assert abs(r0[2] - -0.0809) < 1e-6",
"r1 = com_zmp(16, 15, 0.04... |
theo-eng-code-L3-code-002190 | 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(18, 2, 0.25)",
"assert abs(r0 - 9.17) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"sa... |
theo-eng-code-L2-code-003219 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(3.3, 0.19, 90, 7.0, 0.5)",
"assert abs(r0[0] - 16.12) < 1e-6",
"assert abs(r0[1] - 0.2924) < 1e-6",
"assert abs(r0[2] - 16.27) < 1e-6",
"r1 = joint_torque(2.3, 0.44, 9... |
theo-eng-code-L1-code-007011 | 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": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L1-code-000145 | 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_filter",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-011049 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.45, 4000, 180)",
"assert abs(r0[0] - 3.77) < 1e-6",
"assert abs(r0[1] - 1061.0) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L3-code-000756 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(500, 20, 3.6, 2.5)",
"assert r0[0] == 139",
"assert r0[1] == 16",
"assert r0[2] == 2224",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 20.016) < 1e-6",
"r1 ... |
theo-eng-code-L2-code-009408 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 20, 3.6, 5)",
"assert r0[0] == 56",
"assert r0[1] == 20",
"assert r0[2] == 1120",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 20.16) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-001079 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(53, 1930, 60, 0.36, 3.1, 0.008, 1.4, 0.9, 0.9)",
"assert abs(r0[0] - 370.7) < 1e-6",
"assert abs(r0[1] - 12.87) < 1e-6",
"assert abs(r0[2] - 7.72) < 1e-6",
"r1 = erange(76, ... |
theo-eng-code-L2-code-003337 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.3, 12500, 180)",
"assert abs(r0[0] - 7.85) < 1e-6",
"assert abs(r0[1] - 1591.5) < 1e-6",
"r1 = gear_ratio(0.39, 9000, 150)",
"assert abs(r1[0] - 8.82) < 1e-6",
"ass... |
theo-eng-code-L2-code-010291 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 80, 3.6, 10)",
"assert r0[0] == 222",
"assert r0[1] == 11",
"assert r0[2] == 2442",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 87.912) < 1e-6",
"r1... |
theo-eng-code-L2-code-013647 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 2690, 60, 0.27, 2.3, 0.011, 1.5, 0.94, 0.95)",
"assert abs(r0[0] - 401.4) < 1e-6",
"assert abs(r0[1] - 14.2) < 1e-6",
"assert abs(r0[2] - 8.52) < 1e-6",
"r1 = erange(93,... |
theo-eng-code-L2-code-004591 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.6, 0.26, 30, 2.5, 1.0)",
"assert abs(r0[0] - 3.57) < 1e-6",
"assert abs(r0[1] - 0.1825) < 1e-6",
"assert abs(r0[2] - 3.75) < 1e-6",
"r1 = joint_torque(6.5, 0.53, 45,... |
theo-eng-code-L2-code-009192 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 12000, 120)",
"assert abs(r0[0] - 16.21) < 1e-6",
"assert abs(r0[1] - 740.3) < 1e-6",
"r1 = gear_ratio(0.41, 11000, 120)",
"assert abs(r1[0] - 14.17) < 1e-6",
"... |
theo-eng-code-L3-code-004946 | 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(4.3, 0.28, 60, 0.5, 1.5)",
"assert abs(r0[0] - 6.3) < 1e-6",
"assert abs(r0[1] - 0.1516) < 1e-6",
"assert abs(r0[2] - 6.53) < 1e-6"
],
"subtask": "writetests",
... |
theo-eng-code-L2-code-001067 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(12, 12, 0.25)",
"assert abs(r0 - 12.0) < 1e-6",
"r1 = rms_torque(57, 40, 0.5)",
"assert abs(r1 - 49.24) < 1e-6",
"r2 = rms_torque(91, 33, 0.25)",
"assert abs(r2 - 53.7... |
theo-eng-code-L1-code-002328 | 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-L2-code-009687 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 100}')",
"assert r0[0] == 20",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')",
"assert r1[0] == 80",
... |
theo-eng-code-L2-code-009547 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.6, 0.44, 90, 1.0, 2.0)",
"assert abs(r0[0] - 5.61) < 1e-6",
"assert abs(r0[1] - 0.2323) < 1e-6",
"assert abs(r0[2] - 6.08) < 1e-6",
"r1 = joint_torque(0.5, 0.37, 45,... |
theo-eng-code-L2-code-014210 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = interp_eff(85, [0, 25, 50, 75, 100], [0.75, 0.82, 0.9, 0.85, 0.8])",
"assert abs(r0 - 0.83) < 1e-6",
"r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.8, 0.82, 0.9, 0.9, 0.85])",
"assert... |
theo-eng-code-L2-code-013250 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6, 3, 0.25)",
"assert abs(r0 - 3.97) < 1e-6",
"r1 = rms_torque(20, 9, 0.25)",
"assert abs(r1 - 12.68) < 1e-6",
"r2 = rms_torque(43, 25, 0.25)",
"assert abs(r2 - 30.51)... |
theo-eng-code-L2-code-009139 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(4.8, 0.49, 45, 6.0, 1.0)",
"assert abs(r0[0] - 28.55) < 1e-6",
"assert abs(r0[1] - 1.8248) < 1e-6",
"assert abs(r0[2] - 30.38) < 1e-6",
"r1 = joint_torque(6.4, 0.19, 9... |
theo-eng-code-L2-code-006857 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(80, 11, 0.2, 0.9)",
"assert abs(r0[0] - 6.36) < 1e-6",
"assert abs(r0[1] - 381.8) < 1e-6",
"assert abs(r0[2] - 56.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-000243 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(18, 29, -0.1, 0.09, 0.8, 0.4, 1)",
"assert abs(r0[0] - 0.0172) < 1e-6",
"assert abs(r0[1] - 0.5532) < 1e-6",
"assert abs(r0[2] - -0.0392) < 1e-6",
"r1 = com_zmp(18, 15, 0.1, ... |
theo-eng-code-L2-code-006082 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.2, 0.37, 45, 0.0, 0.5)",
"assert abs(r0[0] - 5.39) < 1e-6",
"assert abs(r0[1] - 0.1917) < 1e-6",
"assert abs(r0[2] - 5.49) < 1e-6",
"r1 = joint_torque(6.5, 0.33, 60,... |
theo-eng-code-L2-code-004838 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(28, 1130, 100, 0.25, 2.7, 0.01, 1.3, 0.88, 0.85)",
"assert abs(r0[0] - 160.1) < 1e-6",
"assert abs(r0[1] - 14.87) < 1e-6",
"assert abs(r0[2] - 14.87) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L2-code-010353 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 20, 3.7, 10)",
"assert r0[0] == 135",
"assert r0[1] == 5",
"assert r0[2] == 675",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 24.975) < 1e-6",
"r1 =... |
theo-eng-code-L1-refuse-014065 | 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-005543 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 5000, 180)",
"assert abs(r0[0] - 3.04) < 1e-6",
"assert abs(r0[1] - 1646.4) < 1e-6",
"r1 = gear_ratio(0.42, 15000, 120)",
"assert abs(r1[0] - 19.79) < 1e-6",
"a... |
theo-eng-code-L2-code-007920 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(90, [0, 25, 50, 75, 100], [0.78, 0.81, 0.88, 0.87, 0.82])",
"assert abs(r0 - 0.84) < 1e-6",
"r1 = interp_eff(35, [0, 25, 50, 75, 100], [0.73, 0.83, 0.87, 0.86, 0.85])",
"a... |
theo-eng-code-L2-code-013487 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(9, 25, -0.07, 0.04, 0.8, 0.7, 1)",
"assert abs(r0[0] - 0.0109) < 1e-6",
"assert abs(r0[1] - 0.7265) < 1e-6",
"assert abs(r0[2] - -0.0632) < 1e-6",
"r1 = com_zmp(13, 14, -0.08... |
theo-eng-code-L3-code-004057 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 27, 0.03, 0.07, 0.6, 0.9, 0)",
"assert abs(r0[0] - 0.0627) < 1e-6",
"assert abs(r0[1] - 0.8455) < 1e-6",
"assert abs(r0[2] - 0.0627) < 1e-6"
],
"subtask": "writetests... |
theo-eng-code-L3-code-012016 | 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(6, 22, 0.1, -0.04, 0.8, 0.6, 0.5)",
"assert abs(r0[0] - -0.01) < 1e-6",
"assert abs(r0[1] - 0.6429) < 1e-6",
"assert abs(r0[2] - -0.0428) < 1e-6",
"r1 = com_zmp(9, 18, -0.07, 0... |
theo-eng-code-L2-code-005188 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.7, 0.42, 90, 6.5, 3.5)",
"assert abs(r0[0] - 32.34) < 1e-6",
"assert abs(r0[1] - 1.3054) < 1e-6",
"assert abs(r0[2] - 36.91) < 1e-6",
"r1 = joint_torque(1.7, 0.21, 4... |
theo-eng-code-L3-code-010226 | 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(5.9, 0.25, 90, 8.0, 1.5)",
"assert abs(r0[0] - 26.85) < 1e-6",
"assert abs(r0[1] - 0.6229) < 1e-6",
"assert abs(r0[2] - 27.79) < 1e-6",
"r1 = joint_torque(7.2, 0.55, 60,... |
theo-eng-code-L3-code-004511 | 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(5.0, 0.13, 90, 7.5, 0.5)",
"assert abs(r0[0] - 12.75) < 1e-6",
"assert abs(r0[1] - 0.1549) < 1e-6",
"assert abs(r0[2] - 12.83) < 1e-6"
],
"subtask": "writetests",... |
theo-eng-code-L2-code-000385 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 11, 0.1, 0.8)",
"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-015607 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.2, 1.0)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time... |
theo-eng-code-L1-clarify-000193 | 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-010979 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_pack",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 60, 3.2, 50)",
"assert r0[0] == 94",
"assert r0[1] == 4",
"assert r0[2] == 376",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 60.16) < 1e-6",
"r1 = p... |
theo-eng-code-L2-code-006487 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.2, 1.0)",
"assert abs(r0[0] - 1.82) < 1e-6",
"assert abs(r0[1] - 109.1) < 1e-6",
"assert abs(r0[2] - 16.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-002270 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(10, 30, -0.06, 0.01, 0.6, 0.6, 1)",
"assert abs(r0[0] - -0.0075) < 1e-6",
"assert abs(r0[1] - 0.6) < 1e-6",
"assert abs(r0[2] - -0.0687) < 1e-6",
"r1 = com_zmp(12, 12, -0.04,... |
theo-eng-code-L2-code-013260 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(64, 39, 0.25)",
"assert abs(r0 - 46.53) < 1e-6",
"r1 = rms_torque(21, 14, 0.25)",
"assert abs(r1 - 16.04) < 1e-6",
"r2 = rms_torque(95, 38, 0.75)",
"assert abs(r2 - 84... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.