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-L1-clarify-009452 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-009227 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([1.0, 0.0], [2.0, 0.5])",
"assert abs(r0 - 1.118) < 1e-6",
"r1 = seg_len([3.0, 2.5], [1.5, 0.0])",
"assert abs(r1 - 2.9155) < 1e-6",
"r2 = seg_len([2.5, 1.5], [3.5, 5.0])... |
theo-eng-code-L2-code-003146 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(19, 10, -0.07, -0.01, 0.6, 0.4, 0.5)",
"assert abs(r0[0] - -0.0493) < 1e-6",
"assert abs(r0[1] - 0.531) < 1e-6",
"assert abs(r0[2] - -0.0764) < 1e-6",
"r1 = com_zmp(20, 10, 0... |
theo-eng-code-L2-code-013192 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 30, -0.1, -0.01, 0.5, 0.5, 0.5)",
"assert abs(r0[0] - -0.025) < 1e-6",
"assert abs(r0[1] - 0.5) < 1e-6",
"assert abs(r0[2] - -0.0505) < 1e-6",
"r1 = com_zmp(8, 22, -0.06, ... |
theo-eng-code-L2-code-006491 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(70, [0, 25, 50, 75, 100], [0.75, 0.81, 0.88, 0.89, 0.8])",
"assert abs(r0 - 0.888) < 1e-6",
"r1 = interp_eff(15, [0, 25, 50, 75, 100], [0.8, 0.83, 0.87, 0.89, 0.84])",
"as... |
theo-eng-code-L2-code-011414 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_joint",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(4.0, 0.29, 30, 2.0, 1.5)",
"assert abs(r0[0] - 5.69) < 1e-6",
"assert abs(r0[1] - 0.2803) < 1e-6",
"assert abs(r0[2] - 6.11) < 1e-6",
"r1 = joint_torque(1.4, 0.39, 45,... |
theo-eng-code-L3-code-010962 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(22, 2100, 60, 0.34, 2.2, 0.012, 0.9, 0.92, 0.85)",
"assert abs(r0[0] - 146.0) < 1e-6",
"assert abs(r0[1] - 12.81) < 1e-6",
"assert abs(r0[2] - 7.68) < 1e-6",
"r1 = erange(91, ... |
theo-eng-code-L1-code-005687 | 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_modulo",
"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-007814 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(16, 22, 0.07, 0.14, 0.4, 0.4, 1)",
"assert abs(r0[0] - 0.1105) < 1e-6",
"assert abs(r0[1] - 0.4) < 1e-6",
"assert abs(r0[2] - 0.0698) < 1e-6",
"r1 = com_zmp(10, 18, -0.06, 0.... |
theo-eng-code-L1-code-012798 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_fstring",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-012618 | 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(29, 2, 0.25)",
"assert abs(r0 - 14.6) < 1e-6",
"r1 = rms_torque(54, 38, 0.5)",
"assert abs(r1 - 46.69) < 1e-6",
"r2 = rms_torque(80, 11, 0.25)",
"assert abs(r2 - 41.12) ... |
theo-eng-code-L2-code-001621 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([37, 42, 49, 50, 88, 60])",
"assert abs(r0[0] - 54.333) < 1e-6",
"assert abs(r0[1] - 18.25) < 1e-6",
"r1 = summarise([14, 97, 82, 98])",
"assert abs(r1[0] - 72.75) <... |
theo-eng-code-L3-code-013368 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.31, 10500, 150)",
"assert abs(r0[0] - 8.18) < 1e-6",
"assert abs(r0[1] - 1283.5) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L1-clarify-015533 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_libuse",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-007414 | 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(94, 31, 0.75)",
"assert abs(r0 - 82.87) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"... |
theo-eng-code-L2-code-011981 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(10, [0, 25, 50, 75, 100], [0.78, 0.81, 0.88, 0.85, 0.83])",
"assert abs(r0 - 0.792) < 1e-6",
"r1 = interp_eff(90, [0, 25, 50, 75, 100], [0.77, 0.84, 0.89, 0.89, 0.83])",
"... |
theo-eng-code-L2-code-007609 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([10, 36, 37, 74])",
"assert abs(r0[0] - 39.25) < 1e-6",
"assert abs(r0[1] - 26.323) < 1e-6",
"r1 = summarise([47, 67, 64, 57, 97, 43])",
"assert abs(r1[0] - 62.5) < ... |
theo-eng-code-L2-code-000330 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 11, 0.1, 0.8)",
"assert abs(r0[0] - 4.77) < 1e-6",
"assert abs(r0[1] - 286.4) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L3-code-001833 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_joint",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = joint_torque(2.7, 0.15, 90, 4.0, 1.5)",
"assert abs(r0[0] - 7.87) < 1e-6",
"assert abs(r0[1] - 0.1103) < 1e-6",
"assert abs(r0[2] - 8.04) < 1e-6",
"r1 = joint_torque(3.9, 0.5, 60, 4.... |
theo-eng-code-L3-code-009963 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 19, -0.08, 0.0, 0.4, 0.3, 0)",
"assert abs(r0[0] - -0.0325) < 1e-6",
"assert abs(r0[1] - 0.3406) < 1e-6",
"assert abs(r0[2] - -0.0325) < 1e-6"
],
"subtask": "writete... |
theo-eng-code-L2-code-007681 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(17, 16, 0.01, 0.03, 0.7, 0.3, 2)",
"assert abs(r0[0] - 0.0197) < 1e-6",
"assert abs(r0[1] - 0.5061) < 1e-6",
"assert abs(r0[2] - -0.0835) < 1e-6",
"r1 = com_zmp(13, 13, 0.06,... |
theo-eng-code-L2-code-014798 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 60, \"max_kw\": 50}')",
"assert r0[0] == 60",
"assert r0[1] == 50",
"r1 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 150}')",
"assert r1[0] == 80",
"a... |
theo-eng-code-L2-code-009241 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(41, 2140, 100, 0.36, 2.4, 0.009, 0.9, 0.94, 0.95)",
"assert abs(r0[0] - 210.0) < 1e-6",
"assert abs(r0[1] - 18.55) < 1e-6",
"assert abs(r0[2] - 18.55) < 1e-6",
"r1 = erange(... |
theo-eng-code-L3-code-005386 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(15, 19, 0.05, -0.03, 0.9, 0.4, 1)",
"assert abs(r0[0] - 0.0053) < 1e-6",
"assert abs(r0[1] - 0.6206) < 1e-6",
"assert abs(r0[2] - -0.058) < 1e-6",
"r1 = com_zmp(13, 21, 0.05, -... |
theo-eng-code-L2-code-005147 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 7, 0.1, 0.9)",
"assert abs(r0[0] - 14.29) < 1e-6",
"assert abs(r0[1] - 857.1) < 1e-6",
"assert abs(r0[2] - 80.0) < 1e-6",
"assert r0[3] == 7",
"r1 = charge_ti... |
theo-eng-code-L3-code-010004 | 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, 220, 430, 0.5)",
"assert abs(r0[0] - 325.0) < 1e-6",
"assert abs(r0[1] - 0.55) < 1e-6",
"assert abs(r0[2] - 33.2) < 1e-6"
],
"subtask": "writetests",
"verifie... |
theo-eng-code-L3-code-008712 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.4, 9000, 100)",
"assert abs(r0[0] - 13.57) < 1e-6",
"assert abs(r0[1] - 663.1) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-015234 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(800, 60, 3.7, 5)",
"assert r0[0] == 216",
"assert r0[1] == 16",
"assert r0[2] == 3456",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 63.936) < 1e-6",
"r1 ... |
theo-eng-code-L1-refuse-015181 | 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-L3-code-001216 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(9, 26, 0.04, 0.03, 0.9, 0.6, 2)",
"assert abs(r0[0] - 0.0326) < 1e-6",
"assert abs(r0[1] - 0.6771) < 1e-6",
"assert abs(r0[2] - -0.1055) < 1e-6",
"r1 = com_zmp(15, 25, 0.05, 0.... |
theo-eng-code-L2-code-002906 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-000952 | 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(44, 13, 0.5)",
"assert abs(r0 - 32.44) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"s... |
theo-eng-code-L3-code-011519 | 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(300, 10, 3.7, 100)",
"assert r0[0] == 81",
"assert r0[1] == 1",
"assert r0[2] == 81",
"assert abs(r0[3] - 299.7) < 1e-6",
"assert abs(r0[4] - 29.97) < 1e-6"
],
... |
theo-eng-code-L2-code-007127 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(100, 50, 0.2, 0.9)",
"assert abs(r0[0] - 1.75) < 1e-6",
"assert abs(r0[1] - 105.0) < 1e-6",
"assert abs(r0[2] - 70.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_t... |
theo-eng-code-L2-code-002388 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, [0, 25, 50, 75, 100], [0.76, 0.82, 0.86, 0.86, 0.81])",
"assert abs(r0 - 0.86) < 1e-6",
"r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.78, 0.84, 0.86, 0.89, 0.82])",
"a... |
theo-eng-code-L1-clarify-015056 | 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-014209 | 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, 180)",
"assert abs(r0[0] - 10.3) < 1e-6",
"assert abs(r0[1] - 1164.5) < 1e-6",
"r1 = gear_ratio(0.27, 4500, 100)",
"assert abs(r1[0] - 4.58) < 1e-6",
"asse... |
theo-eng-code-L2-code-015812 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([70, 170, 280, 160], 5)",
"assert abs(r0 - 0.9444) < 1e-6",
"r1 = rect_energy([410, 180, 470, 440, 210], 1)",
"assert abs(r1 - 0.475) < 1e-6",
"r2 = rect_energy([... |
theo-eng-code-L1-code-012783 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_join",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-010870 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.8, 0.36, 60, 1.0, 3.5)",
"assert abs(r0[0] - 8.87) < 1e-6",
"assert abs(r0[1] - 0.2938) < 1e-6",
"assert abs(r0[2] - 9.9) < 1e-6",
"r1 = joint_torque(5.1, 0.5, 30, 1... |
theo-eng-code-L3-code-001665 | 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(8, 29, 0.07, 0.01, 0.7, 0.4, 2)",
"assert abs(r0[0] - 0.023) < 1e-6",
"assert abs(r0[1] - 0.4649) < 1e-6",
"assert abs(r0[2] - -0.0718) < 1e-6"
],
"subtask": "writetests... |
theo-eng-code-L2-code-012367 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 50, 0.2, 0.8)",
"assert abs(r0[0] - 1.5) < 1e-6",
"assert abs(r0[1] - 90.0) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_tim... |
theo-eng-code-L3-code-000413 | 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.38, 12000, 180)",
"assert abs(r0[0] - 9.55) < 1e-6",
"assert abs(r0[1] - 1256.5) < 1e-6",
"r1 = gear_ratio(0.3, 7000, 150)",
"assert abs(r1[0] - 5.28) < 1e-6",
"asser... |
theo-eng-code-L1-clarify-014357 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "5",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-002546 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 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-L3-code-008858 | 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(48, 2, 0.25)",
"assert abs(r0 - 24.06) < 1e-6",
"r1 = rms_torque(8, 2, 0.25)",
"assert abs(r1 - 4.36) < 1e-6",
"r2 = rms_torque(19, 4, 0.25)",
"assert abs(r2 - 10.11) < ... |
theo-eng-code-L3-code-008158 | 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(59, 27, 0.25)",
"assert abs(r0 - 37.64) < 1e-6",
"r1 = rms_torque(98, 10, 0.5)",
"assert abs(r1 - 69.66) < 1e-6",
"r2 = rms_torque(41, 35, 0.25)",
"assert abs(r2 - 36.59... |
theo-eng-code-L1-code-014527 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_fstring",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-006028 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, 2480, 100, 0.35, 2.8, 0.01, 1.4, 0.94, 0.95)",
"assert abs(r0[0] - 213.2) < 1e-6",
"assert abs(r0[1] - 22.28) < 1e-6",
"assert abs(r0[2] - 22.28) < 1e-6",
"r1 = erange(5... |
theo-eng-code-L2-code-008070 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(71, 1840, 60, 0.26, 2.5, 0.008, 1.5, 0.92, 0.9)",
"assert abs(r0[0] - 626.5) < 1e-6",
"assert abs(r0[1] - 10.2) < 1e-6",
"assert abs(r0[2] - 6.12) < 1e-6",
"r1 = erange(55, ... |
theo-eng-code-L2-code-012718 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(7, 24, -0.01, 0.12, 0.5, 0.7, 0.5)",
"assert abs(r0[0] - 0.0906) < 1e-6",
"assert abs(r0[1] - 0.6548) < 1e-6",
"assert abs(r0[2] - 0.0573) < 1e-6",
"r1 = com_zmp(10, 27, 0.0,... |
theo-eng-code-L3-code-012978 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 50, 0.2, 1.0)",
"assert abs(r0[0] - 1.2) < 1e-6",
"assert abs(r0[1] - 72.0) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 50"
],
"subtask":... |
theo-eng-code-L2-code-015494 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(66, 32, 0.5)",
"assert abs(r0 - 51.87) < 1e-6",
"r1 = rms_torque(45, 10, 0.75)",
"assert abs(r1 - 39.29) < 1e-6",
"r2 = rms_torque(99, 33, 0.5)",
"assert abs(r2 - 73.7... |
theo-eng-code-L2-code-001219 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(53, 17, 0.75)",
"assert abs(r0 - 46.68) < 1e-6",
"r1 = rms_torque(81, 10, 0.25)",
"assert abs(r1 - 41.42) < 1e-6",
"r2 = rms_torque(52, 28, 0.5)",
"assert abs(r2 - 41.... |
theo-eng-code-L2-code-007461 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 150, 0.2, 0.9)",
"assert abs(r0[0] - 0.29) < 1e-6",
"assert abs(r0[1] - 17.5) < 1e-6",
"assert abs(r0[2] - 28.0) < 1e-6",
"assert abs(r0[3] - 120.0) < 1e-6",
"... |
theo-eng-code-L3-code-009638 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 220, 200, 0.3)",
"assert abs(r0[0] - 206.0) < 1e-6",
"assert abs(r0[1] - 2.18) < 1e-6",
"assert abs(r0[2] - 131.1) < 1e-6"
],
"subtask": "writetests",
"verifi... |
theo-eng-code-L2-code-001793 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = rect_energy([150, 490, 260], 1)",
"assert abs(r0 - 0.25) < 1e-6",
"r1 = rect_energy([160, 150, 100], 1)",
"assert abs(r1 - 0.1139) < 1e-6",
"r2 = rect_energy([160, 430, 140, ... |
theo-eng-code-L2-code-015946 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([61, 77, 60, 30])",
"assert r0[0] == 57",
"assert abs(r0[1] - 19.613) < 1e-6",
"r1 = summarise([71, 77, 80, 75, 81])",
"assert abs(r1[0] - 76.8) < 1e-6",
"assert... |
theo-eng-code-L2-code-015595 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 3, 0.5)",
"assert abs(r0 - 10.12) < 1e-6",
"r1 = rms_torque(70, 24, 0.75)",
"assert abs(r1 - 61.8) < 1e-6",
"r2 = rms_torque(83, 38, 0.75)",
"assert abs(r2 - 74.35... |
theo-eng-code-L3-code-014414 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_pack",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(200, 60, 3.2, 10)",
"assert r0[0] == 62",
"assert r0[1] == 31",
"assert r0[2] == 1922",
"assert abs(r0[3] - 198.4) < 1e-6",
"assert abs(r0[4] - 61.504) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-009537 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 40, 3.2, 50)",
"assert r0[0] == 250",
"assert r0[1] == 1",
"assert r0[2] == 250",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 = p... |
theo-eng-code-L1-code-003521 | 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": "4",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L2-code-010914 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(54, 24, 0.25)",
"assert abs(r0 - 34.07) < 1e-6",
"r1 = rms_torque(33, 25, 0.75)",
"assert abs(r1 - 31.19) < 1e-6",
"r2 = rms_torque(36, 32, 0.5)",
"assert abs(r2 - 34.... |
theo-eng-code-L3-code-004194 | 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(57, 39, 0.25)",
"assert abs(r0 - 44.19) < 1e-6",
"r1 = rms_torque(38, 20, 0.5)",
"assert abs(r1 - 30.36) < 1e-6",
"r2 = rms_torque(99, 19, 0.25)",
"assert abs(r2 - 52.16... |
theo-eng-code-L2-code-015078 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 25, -0.05, 0.01, 0.5, 0.8, 1)",
"assert abs(r0[0] - -0.0134) < 1e-6",
"assert abs(r0[1] - 0.6829) < 1e-6",
"assert abs(r0[2] - -0.083) < 1e-6",
"r1 = com_zmp(7, 16, 0.09,... |
theo-eng-code-L3-code-014370 | 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(200, 20, 3.7, 50)",
"assert r0[0] == 54",
"assert r0[1] == 3",
"assert r0[2] == 162",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 29.97) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-008787 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.4, 0.26, 45, 2.5, 1.0)",
"assert abs(r0[0] - 7.57) < 1e-6",
"assert abs(r0[1] - 0.2456) < 1e-6",
"assert abs(r0[2] - 7.82) < 1e-6",
"r1 = joint_torque(3.1, 0.36, 60,... |
theo-eng-code-L2-code-014803 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 50)",
"assert r0[0] == 222",
"assert r0[1] == 3",
"assert r0[2] == 666",
"assert abs(r0[3] - 799.2) < 1e-6",
"assert abs(r0[4] - 119.88) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-011861 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(13, 26, 0.05, 0.13, 0.9, 0.8, 1)",
"assert abs(r0[0] - 0.1033) < 1e-6",
"assert abs(r0[1] - 0.8333) < 1e-6",
"assert abs(r0[2] - 0.0184) < 1e-6",
"r1 = com_zmp(18, 22, 0.09, 0.... |
theo-eng-code-L2-code-006661 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(50, [0, 25, 50, 75, 100], [0.78, 0.85, 0.85, 0.86, 0.82])",
"assert abs(r0 - 0.85) < 1e-6",
"r1 = interp_eff(65, [0, 25, 50, 75, 100], [0.7, 0.82, 0.87, 0.87, 0.82])",
"as... |
theo-eng-code-L3-code-001921 | 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(71, 2310, 100, 0.31, 3.0, 0.011, 1.1, 0.92, 0.9)",
"assert abs(r0[0] - 291.8) < 1e-6",
"assert abs(r0[1] - 21.9) < 1e-6",
"assert abs(r0[2] - 21.9) < 1e-6",
"r1 = erange(94, 2... |
theo-eng-code-L2-code-002689 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([61, 95, 87, 99, 66])",
"assert abs(r0[0] - 81.6) < 1e-6",
"assert abs(r0[1] - 17.17) < 1e-6",
"r1 = summarise([42, 93, 56, 39])",
"assert abs(r1[0] - 57.5) < 1e-6",... |
theo-eng-code-L2-code-003989 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 130, 30, 0.5)",
"assert abs(r0[0] - 80.0) < 1e-6",
"assert abs(r0[1] - 2.25) < 1e-6",
"assert abs(r0[2] - 135.0) < 1e-6",
"r1 = runtime(0.2, 50, 230, 0.7)",
"ass... |
theo-eng-code-L2-code-006999 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.1, 190, 120, 0.7)",
"assert abs(r0[0] - 169.0) < 1e-6",
"assert abs(r0[1] - 0.53) < 1e-6",
"assert abs(r0[2] - 32.0) < 1e-6",
"r1 = runtime(0.1, 70, 310, 0.3)",
"as... |
theo-eng-code-L3-code-006632 | 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(8... |
theo-eng-code-L3-code-004836 | 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": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(6, 23, 0.03, 0.04, 0.9, 0.8, 1)",
"assert abs(r0[0] - 0.0379) < 1e-6",
"assert abs(r0[1] - 0.8207) < 1e-6",
"assert abs(r0[2] - -0.0457) < 1e-6"
],
"subtask": "writetest... |
theo-eng-code-L2-code-001096 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-004791 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(5.9, 0.6, 90, 5.5, 0.5)",
"assert abs(r0[0] - 49.74) < 1e-6",
"assert abs(r0[1] - 2.688) < 1e-6",
"assert abs(r0[2] - 51.08) < 1e-6",
"r1 = joint_torque(1.9, 0.4, 90, ... |
theo-eng-code-L2-code-014249 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.29, 6000, 150)",
"assert abs(r0[0] - 4.37) < 1e-6",
"assert abs(r0[1] - 1372.0) < 1e-6",
"r1 = gear_ratio(0.38, 7500, 120)",
"assert abs(r1[0] - 8.95) < 1e-6",
"ass... |
theo-eng-code-L1-refuse-003595 | 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_unlock_speed",
"user_template": "1",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-008528 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_com",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(18, 21, -0.03, 0.03, 0.5, 0.8, 2)",
"assert abs(r0[0] - 0.0023) < 1e-6",
"assert abs(r0[1] - 0.6615) < 1e-6",
"assert abs(r0[2] - -0.1326) < 1e-6",
"r1 = com_zmp(18, 11, -0.04,... |
theo-eng-code-L2-code-006709 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(100, 150, 0.1, 1.0)",
"assert abs(r0[0] - 0.75) < 1e-6",
"assert abs(r0[1] - 45.0) < 1e-6",
"assert abs(r0[2] - 90.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_... |
theo-eng-code-L1-refuse-015851 | 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_unlock_speed",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-011454 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(12, 19, -0.01, 0.1, 0.3, 0.9, 2)",
"assert abs(r0[0] - 0.0574) < 1e-6",
"assert abs(r0[1] - 0.6677) < 1e-6",
"assert abs(r0[2] - -0.0787) < 1e-6",
"r1 = com_zmp(16, 11, 0.03,... |
theo-eng-code-L2-code-001114 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 40, 3.2, 50)",
"assert r0[0] == 125",
"assert r0[1] == 2",
"assert r0[2] == 250",
"assert abs(r0[3] - 400.0) < 1e-6",
"assert abs(r0[4] - 40.0) < 1e-6",
"r1 = p... |
theo-eng-code-L3-code-008564 | 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": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 20, -0.08, -0.01, 0.7, 0.4, 2)",
"assert abs(r0[0] - -0.0348) < 1e-6",
"assert abs(r0[1] - 0.5065) < 1e-6",
"assert abs(r0[2] - -0.1381) < 1e-6"
],
"subtask": "write... |
theo-eng-code-L2-code-014784 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.9, 0.59, 90, 8.0, 3.5)",
"assert abs(r0[0] - 57.59) < 1e-6",
"assert abs(r0[1] - 3.2373) < 1e-6",
"assert abs(r0[2] - 68.92) < 1e-6",
"r1 = joint_torque(4.2, 0.39, 3... |
theo-eng-code-L2-code-012576 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([2.5, 2.5], [2.5, 3.0])",
"assert abs(r0 - 0.5) < 1e-6",
"r1 = seg_len([3.5, 2.0], [0.5, 0.5])",
"assert abs(r1 - 3.3541) < 1e-6",
"r2 = seg_len([1.0, 1.0], [4.0, 2.0])",... |
theo-eng-code-L2-code-010725 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(41, 11, 0.25)",
"assert abs(r0 - 22.61) < 1e-6",
"r1 = rms_torque(47, 10, 0.75)",
"assert abs(r1 - 41.01) < 1e-6",
"r2 = rms_torque(95, 2, 0.75)",
"assert abs(r2 - 82.... |
theo-eng-code-L2-code-012281 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 11, 0.1, 0.9)",
"assert abs(r0[0] - 5.45) < 1e-6",
"assert abs(r0[1] - 327.3) < 1e-6",
"assert abs(r0[2] - 48.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_ti... |
theo-eng-code-L2-code-002074 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 190, 540, 0.5)",
"assert abs(r0[0] - 365.0) < 1e-6",
"assert abs(r0[1] - 1.23) < 1e-6",
"assert abs(r0[2] - 74.0) < 1e-6",
"r1 = runtime(1.0, 110, 330, 0.5)",
"a... |
theo-eng-code-L2-code-007543 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 3.0], [1.5, 5.0])",
"assert abs(r0 - 4.0311) < 1e-6",
"r1 = seg_len([0.0, 4.5], [2.5, 1.5])",
"assert abs(r1 - 3.9051) < 1e-6",
"r2 = seg_len([3.5, 3.0], [4.5, 2.0]... |
theo-eng-code-L1-refuse-010213 | refuse | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refuse_fake_sensors",
"user_template": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L3-code-013343 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_com",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = com_zmp(11, 17, -0.04, 0.01, 0.5, 0.4, 1)",
"assert abs(r0[0] - -0.0096) < 1e-6",
"assert abs(r0[1] - 0.4393) < 1e-6",
"assert abs(r0[2] - -0.0544) < 1e-6"
],
"subtask": "writet... |
theo-eng-code-L2-code-009093 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(44, 4, 0.75)",
"assert abs(r0 - 38.16) < 1e-6",
"r1 = rms_torque(57, 17, 0.25)",
"assert abs(r1 - 32.08) < 1e-6",
"r2 = rms_torque(39, 5, 0.5)",
"assert abs(r2 - 27.8)... |
theo-eng-code-L3-code-007603 | 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(7.5, 0.42, 90, 3.5, 2.0)",
"assert abs(r0[0] - 29.87) < 1e-6",
"assert abs(r0[1] - 1.0584) < 1e-6",
"assert abs(r0[2] - 31.99) < 1e-6",
"r1 = joint_torque(4.0, 0.24, 90,... |
theo-eng-code-L2-code-005625 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(60, 22, 0.2, 0.9)",
"assert abs(r0[0] - 2.39) < 1e-6",
"assert abs(r0[1] - 143.2) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_ti... |
theo-eng-code-L3-code-002469 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.28, 8500, 100)",
"assert abs(r0[0] - 8.97) < 1e-6",
"assert abs(r0[1] - 947.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",
... |
theo-eng-code-L2-code-014704 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(17, 17, 0.75)",
"assert abs(r0 - 17.0) < 1e-6",
"r1 = rms_torque(37, 5, 0.25)",
"assert abs(r1 - 19.0) < 1e-6",
"r2 = rms_torque(98, 26, 0.75)",
"assert abs(r2 - 85.86... |
theo-eng-code-L1-clarify-005026 | 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": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.