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-000471 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(0.6, 0.31, 60, 5.0, 1.5)",
"assert abs(r0[0] - 13.96) < 1e-6",
"assert abs(r0[1] - 0.4997) < 1e-6",
"assert abs(r0[2] - 14.71) < 1e-6",
"r1 = joint_torque(5.3, 0.17, 9... |
theo-eng-code-L2-code-002933 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(14, 25, -0.05, 0.01, 0.3, 0.6, 1)",
"assert abs(r0[0] - -0.0115) < 1e-6",
"assert abs(r0[1] - 0.4923) < 1e-6",
"assert abs(r0[2] - -0.0617) < 1e-6",
"r1 = com_zmp(11, 18, 0.1... |
theo-eng-code-L2-code-012384 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(68, 1560, 100, 0.28, 2.7, 0.013, 1.2, 0.9, 0.95)",
"assert abs(r0[0] - 351.7) < 1e-6",
"assert abs(r0[1] - 18.37) < 1e-6",
"assert abs(r0[2] - 18.37) < 1e-6",
"r1 = erange(5... |
theo-eng-code-L2-code-000676 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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, 2.0], [0.5, 2.5])",
"assert abs(r0 - 1.5811) < 1e-6",
"r1 = seg_len([3.5, 0.5], [0.5, 5.0])",
"assert abs(r1 - 5.4083) < 1e-6",
"r2 = seg_len([5.0, 3.0], [2.5, 3.0]... |
theo-eng-code-L1-code-012382 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_minmax",
"user_template": "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-011159 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-015634 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([140, 430, 120], 2)",
"assert abs(r0 - 0.3833) < 1e-6",
"r1 = rect_energy([420, 490, 350, 180, 210], 1)",
"assert abs(r1 - 0.4583) < 1e-6",
"r2 = rect_energy([360... |
theo-eng-code-L2-code-012150 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(88, 1100, 120, 0.25, 2.1, 0.012, 1.4, 0.9, 0.95)",
"assert abs(r0[0] - 516.3) < 1e-6",
"assert abs(r0[1] - 16.19) < 1e-6",
"assert abs(r0[2] - 19.43) < 1e-6",
"r1 = erange(8... |
theo-eng-code-L3-code-015601 | 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(10, 25, 0.08, -0.05, 0.9, 0.4, 0.5)",
"assert abs(r0[0] - -0.0129) < 1e-6",
"assert abs(r0[1] - 0.5429) < 1e-6",
"assert abs(r0[2] - -0.0405) < 1e-6",
"r1 = com_zmp(18, 23, -0.... |
theo-eng-code-L3-code-014231 | 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(16, 28, -0.08, -0.04, 0.8, 0.6, 0)",
"assert abs(r0[0] - -0.0545) < 1e-6",
"assert abs(r0[1] - 0.6727) < 1e-6",
"assert abs(r0[2] - -0.0545) < 1e-6",
"r1 = com_zmp(19, 29, 0.04... |
theo-eng-code-L1-code-013982 | 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": "5",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-003625 | 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(60, 22, 0.2, 0.8)",
"assert abs(r0[0] - 2.05) < 1e-6",
"assert abs(r0[1] - 122.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 22"
],
"subtask... |
theo-eng-code-L3-code-011738 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(800, 10, 3.2, 10)",
"assert r0[0] == 250",
"assert r0[1] == 2",
"assert r0[2] == 500",
"assert abs(r0[3] - 800.0) < 1e-6",
"assert abs(r0[4] - 16.0) < 1e-6"
],
... |
theo-eng-code-L3-code-009102 | 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.26, 8000, 120)",
"assert abs(r0[0] - 6.53) < 1e-6",
"assert abs(r0[1] - 1224.3) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run",... |
theo-eng-code-L2-code-002582 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 210, 110, 0.7)",
"assert abs(r0[0] - 180.0) < 1e-6",
"assert abs(r0[1] - 1.0) < 1e-6",
"assert abs(r0[2] - 60.0) < 1e-6",
"r1 = runtime(1.0, 230, 480, 0.7)",
"as... |
theo-eng-code-L2-code-012424 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.41, 6500, 100)",
"assert abs(r0[0] - 10.05) < 1e-6",
"assert abs(r0[1] - 647.0) < 1e-6",
"r1 = gear_ratio(0.26, 9000, 180)",
"assert abs(r1[0] - 4.9) < 1e-6",
"asse... |
theo-eng-code-L2-code-008225 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.1, 80, 260, 0.5)",
"assert abs(r0[0] - 170.0) < 1e-6",
"assert abs(r0[1] - 0.53) < 1e-6",
"assert abs(r0[2] - 31.8) < 1e-6",
"r1 = runtime(0.2, 210, 350, 0.5)",
"as... |
theo-eng-code-L2-code-000978 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_jsoncfg",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = read_cfg('{\"pack_kwh\": 80, \"max_kw\": 100}')",
"assert r0[0] == 80",
"assert r0[1] == 100",
"r1 = read_cfg('{\"pack_kwh\": 20, \"max_kw\": 150}')",
"assert r1[0] == 20",
... |
theo-eng-code-L2-code-001303 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 170, 460, 0.3)",
"assert abs(r0[0] - 373.0) < 1e-6",
"assert abs(r0[1] - 0.48) < 1e-6",
"assert abs(r0[2] - 29.0) < 1e-6",
"r1 = runtime(1.0, 240, 50, 0.7)",
"as... |
theo-eng-code-L2-code-001031 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_minloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-003637 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_pack",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 20, 3.2, 5)",
"assert r0[0] == 94",
"assert r0[1] == 14",
"assert r0[2] == 1316",
"assert abs(r0[3] - 300.8) < 1e-6",
"assert abs(r0[4] - 21.056) < 1e-6"
],
... |
theo-eng-code-L2-code-006060 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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\": 40, \"max_kw\": 150}')",
"assert r1[0] == 40",
... |
theo-eng-code-L2-code-011191 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(93, 1620, 120, 0.32, 2.8, 0.007, 0.4, 0.94, 0.95)",
"assert abs(r0[0] - 408.3) < 1e-6",
"assert abs(r0[1] - 21.64) < 1e-6",
"assert abs(r0[2] - 25.97) < 1e-6",
"r1 = erange(... |
theo-eng-code-L3-code-009047 | 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.6, 5)",
"assert r0[0] == 111",
"assert r0[1] == 41",
"assert r0[2] == 4551",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 81.918) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-001310 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([240, 410, 250, 140], 10)",
"assert abs(r0 - 2.8889) < 1e-6",
"r1 = rect_energy([90, 170, 450, 130], 1)",
"assert abs(r1 - 0.2333) < 1e-6",
"r2 = rect_energy([100... |
theo-eng-code-L1-refuse-008645 | 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-L2-code-005608 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(99, 2560, 100, 0.36, 2.6, 0.009, 1.1, 0.94, 0.95)",
"assert abs(r0[0] - 451.1) < 1e-6",
"assert abs(r0[1] - 20.85) < 1e-6",
"assert abs(r0[2] - 20.85) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-005166 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(68, 14, 0.25)",
"assert abs(r0 - 36.1) < 1e-6",
"r1 = rms_torque(50, 12, 0.25)",
"assert abs(r1 - 27.07) < 1e-6",
"r2 = rms_torque(42, 4, 0.75)",
"assert abs(r2 - 36.4... |
theo-eng-code-L1-refuse-012415 | 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-L1-clarify-005966 | 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": "3",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-011026 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(400, 20, 3.7, 100)",
"assert r0[0] == 108",
"assert r0[1] == 1",
"assert r0[2] == 108",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 39.96) < 1e-6",
"r1 =... |
theo-eng-code-L1-code-009350 | 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-L3-code-007126 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(80, 11, 0.1, 0.8)",
"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_time... |
theo-eng-code-L1-code-001776 | code | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_explain_average",
"user_template": "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-014437 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_catloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L1-refuse-007567 | 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": "0",
"style": "refusal",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"refusal",
"dedup"
]
} |
theo-eng-code-L2-code-005574 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(93, 1710, 100, 0.23, 2.5, 0.013, 0.8, 0.92, 0.85)",
"assert abs(r0[0] - 507.1) < 1e-6",
"assert abs(r0[1] - 15.59) < 1e-6",
"assert abs(r0[2] - 15.59) < 1e-6",
"r1 = erange(... |
theo-eng-code-L2-code-008783 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 100, 170, 0.5)",
"assert abs(r0[0] - 135.0) < 1e-6",
"assert abs(r0[1] - 3.33) < 1e-6",
"assert abs(r0[2] - 200.0) < 1e-6",
"r1 = runtime(0.5, 130, 530, 0.5)",
"... |
theo-eng-code-L3-code-010342 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_range",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(62, 1460, 80, 0.25, 2.9, 0.007, 0.7, 0.88, 0.95)",
"assert abs(r0[0] - 537.3) < 1e-6",
"assert abs(r0[1] - 10.96) < 1e-6",
"assert abs(r0[2] - 8.77) < 1e-6",
"r1 = erange(61, ... |
theo-eng-code-L2-code-008617 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(24, 21, 0.5)",
"assert abs(r0 - 22.55) < 1e-6",
"r1 = rms_torque(85, 28, 0.5)",
"assert abs(r1 - 63.28) < 1e-6",
"r2 = rms_torque(18, 11, 0.25)",
"assert abs(r2 - 13.1... |
theo-eng-code-L3-code-007953 | 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(400, 20, 3.6, 5)",
"assert r0[0] == 111",
"assert r0[1] == 11",
"assert r0[2] == 1221",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 21.978) < 1e-6",
"r1 = ... |
theo-eng-code-L2-code-003770 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([96, 58, 80, 27, 14, 98])",
"assert abs(r0[0] - 62.167) < 1e-6",
"assert abs(r0[1] - 35.555) < 1e-6",
"r1 = summarise([31, 53, 94, 62, 49])",
"assert abs(r1[0] - 57.... |
theo-eng-code-L3-code-009172 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_rms",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = rms_torque(64, 11, 0.5)",
"assert abs(r0 - 45.92) < 1e-6",
"r1 = rms_torque(43, 27, 0.25)",
"assert abs(r1 - 31.76) < 1e-6",
"r2 = rms_torque(48, 27, 0.5)",
"assert abs(r2 - 38.94)... |
theo-eng-code-L1-clarify-006866 | 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-L3-code-009952 | 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.6, 50)",
"assert r0[0] == 56",
"assert r0[1] == 6",
"assert r0[2] == 336",
"assert abs(r0[3] - 201.6) < 1e-6",
"assert abs(r0[4] - 60.48) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-006115 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(6.9, 0.57, 45, 5.5, 2.5)",
"assert abs(r0[0] - 35.39) < 1e-6",
"assert abs(r0[1] - 2.5342) < 1e-6",
"assert abs(r0[2] - 41.72) < 1e-6",
"r1 = joint_torque(5.1, 0.6, 90... |
theo-eng-code-L3-code-015075 | 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(500, 60, 3.7, 100)",
"assert r0[0] == 135",
"assert r0[1] == 2",
"assert r0[2] == 270",
"assert abs(r0[3] - 499.5) < 1e-6",
"assert abs(r0[4] - 99.9) < 1e-6",
"r1 = pa... |
theo-eng-code-L2-code-001587 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(86, 27, 0.75)",
"assert abs(r0 - 75.69) < 1e-6",
"r1 = rms_torque(62, 10, 0.75)",
"assert abs(r1 - 53.93) < 1e-6",
"r2 = rms_torque(11, 10, 0.5)",
"assert abs(r2 - 10.... |
theo-eng-code-L3-code-007013 | 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(500, 20, 3.6, 50)",
"assert r0[0] == 139",
"assert r0[1] == 1",
"assert r0[2] == 139",
"assert abs(r0[3] - 500.4) < 1e-6",
"assert abs(r0[4] - 25.02) < 1e-6"
],
... |
theo-eng-code-L3-code-000289 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(20, 11, 0.2, 0.8)",
"assert abs(r0[0] - 1.36) < 1e-6",
"assert abs(r0[1] - 81.8) < 1e-6",
"assert abs(r0[2] - 12.0) < 1e-6",
"assert r0[3] == 11",
"r1 = charge_time(... |
theo-eng-code-L3-code-003968 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(400, 40, 3.6, 10)",
"assert r0[0] == 111",
"assert r0[1] == 11",
"assert r0[2] == 1221",
"assert abs(r0[3] - 399.6) < 1e-6",
"assert abs(r0[4] - 43.956) < 1e-6"
]... |
theo-eng-code-L2-code-014174 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L2-code-001472 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_gear",
"user_template": "6",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.36, 10500, 150)",
"assert abs(r0[0] - 9.5) < 1e-6",
"assert abs(r0[1] - 1105.2) < 1e-6",
"r1 = gear_ratio(0.41, 5000, 150)",
"assert abs(r1[0] - 5.15) < 1e-6",
"ass... |
theo-eng-code-L2-code-000791 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(200, 80, 3.7, 5)",
"assert r0[0] == 54",
"assert r0[1] == 81",
"assert r0[2] == 4374",
"assert abs(r0[3] - 199.8) < 1e-6",
"assert abs(r0[4] - 80.919) < 1e-6",
"r1 =... |
theo-eng-code-L3-code-010719 | 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.27, 11000, 150)",
"assert abs(r0[0] - 7.46) < 1e-6",
"assert abs(r0[1] - 1473.7) < 1e-6",
"r1 = gear_ratio(0.42, 5500, 150)",
"assert abs(r1[0] - 5.81) < 1e-6",
"asse... |
theo-eng-code-L2-code-006847 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(15, [0, 25, 50, 75, 100], [0.71, 0.8, 0.86, 0.87, 0.81])",
"assert abs(r0 - 0.764) < 1e-6",
"r1 = interp_eff(70, [0, 25, 50, 75, 100], [0.78, 0.85, 0.87, 0.87, 0.83])",
"a... |
theo-eng-code-L2-code-008267 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.2, 90, 250, 0.3)",
"assert abs(r0[0] - 202.0) < 1e-6",
"assert abs(r0[1] - 0.89) < 1e-6",
"assert abs(r0[2] - 53.5) < 1e-6",
"r1 = runtime(1.0, 40, 160, 0.5)",
"ass... |
theo-eng-code-L2-code-000409 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([31, 58, 82, 53])",
"assert r0[0] == 56",
"assert abs(r0[1] - 20.928) < 1e-6",
"r1 = summarise([48, 25, 43, 36, 30, 20])",
"assert abs(r1[0] - 33.667) < 1e-6",
"... |
theo-eng-code-L2-code-010436 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([0.0, 1.5], [0.0, 0.5])",
"assert abs(r0 - 1.0) < 1e-6",
"r1 = seg_len([1.0, 2.0], [3.0, 4.5])",
"assert abs(r1 - 3.2016) < 1e-6",
"r2 = seg_len([4.5, 1.0], [1.5, 1.5])",... |
theo-eng-code-L2-code-001623 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([32, 90, 31, 40, 14])",
"assert abs(r0[0] - 41.4) < 1e-6",
"assert abs(r0[1] - 28.772) < 1e-6",
"r1 = summarise([89, 45, 88, 92, 56])",
"assert r1[0] == 74",
"as... |
theo-eng-code-L3-code-005195 | 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(56, 1070, 120, 0.34, 2.9, 0.009, 0.6, 0.88, 0.85)",
"assert abs(r0[0] - 193.0) < 1e-6",
"assert abs(r0[1] - 24.66) < 1e-6",
"assert abs(r0[2] - 29.6) < 1e-6",
"r1 = erange(47,... |
theo-eng-code-L2-code-015425 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([94, 14, 10, 42, 90, 21])",
"assert abs(r0[0] - 45.167) < 1e-6",
"assert abs(r0[1] - 37.939) < 1e-6",
"r1 = summarise([92, 90, 82, 67, 77])",
"assert abs(r1[0] - 81.... |
theo-eng-code-L2-code-000824 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([97, 48, 10, 15])",
"assert abs(r0[0] - 42.5) < 1e-6",
"assert abs(r0[1] - 40.054) < 1e-6",
"r1 = summarise([96, 48, 62, 27])",
"assert abs(r1[0] - 58.25) < 1e-6",
... |
theo-eng-code-L2-code-011905 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(55, [0, 25, 50, 75, 100], [0.77, 0.83, 0.86, 0.9, 0.8])",
"assert abs(r0 - 0.868) < 1e-6",
"r1 = interp_eff(30, [0, 25, 50, 75, 100], [0.72, 0.81, 0.89, 0.88, 0.8])",
"ass... |
theo-eng-code-L2-code-006009 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([20, 82, 18, 85, 51])",
"assert abs(r0[0] - 51.2) < 1e-6",
"assert abs(r0[1] - 32.275) < 1e-6",
"r1 = summarise([36, 24, 48, 13])",
"assert abs(r1[0] - 30.25) < 1e-6... |
theo-eng-code-L2-code-010601 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(13, 22, 0.07, 0.1, 0.5, 0.9, 2)",
"assert abs(r0[0] - 0.0889) < 1e-6",
"assert abs(r0[1] - 0.7514) < 1e-6",
"assert abs(r0[2] - -0.0643) < 1e-6",
"r1 = com_zmp(13, 14, 0.03, ... |
theo-eng-code-L2-code-000246 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 240, 200, 0.5)",
"assert abs(r0[0] - 220.0) < 1e-6",
"assert abs(r0[1] - 2.05) < 1e-6",
"assert abs(r0[2] - 122.7) < 1e-6",
"r1 = runtime(0.2, 300, 370, 0.5)",
"... |
theo-eng-code-L3-code-004951 | 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": "5",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 230, 100, 0.7)",
"assert abs(r0[0] - 191.0) < 1e-6",
"assert abs(r0[1] - 0.94) < 1e-6",
"assert abs(r0[2] - 56.5) < 1e-6",
"r1 = runtime(0.2, 30, 370, 0.5)",
"asse... |
theo-eng-code-L2-code-010156 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(47, 1650, 120, 0.3, 2.9, 0.012, 0.6, 0.9, 0.85)",
"assert abs(r0[0] - 161.3) < 1e-6",
"assert abs(r0[1] - 24.77) < 1e-6",
"assert abs(r0[2] - 29.72) < 1e-6",
"r1 = erange(32... |
theo-eng-code-L2-code-014734 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_meanstats",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = summarise([78, 57, 62, 34, 18, 34])",
"assert abs(r0[0] - 47.167) < 1e-6",
"assert abs(r0[1] - 22.203) < 1e-6",
"r1 = summarise([23, 51, 37, 19, 30])",
"assert r1[0] == 32",
... |
theo-eng-code-L2-code-009868 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_evenloop",
"user_template": "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-003445 | 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(80, 50, 0.2, 1.0)",
"assert abs(r0[0] - 1.6) < 1e-6",
"assert abs(r0[1] - 96.0) < 1e-6",
"assert abs(r0[2] - 64.0) < 1e-6",
"assert r0[3] == 50",
"r1 = charge_time(1... |
theo-eng-code-L2-code-011315 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "7",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(97, 1480, 60, 0.28, 2.2, 0.013, 1.3, 0.88, 0.85)",
"assert abs(r0[0] - 721.2) < 1e-6",
"assert abs(r0[1] - 11.43) < 1e-6",
"assert abs(r0[2] - 6.86) < 1e-6",
"r1 = erange(88... |
theo-eng-code-L2-code-009551 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_charge",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 150, 0.1, 0.8)",
"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-L2-code-013567 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.5, 2.0], [2.5, 3.0])",
"assert abs(r0 - 2.2361) < 1e-6",
"r1 = seg_len([0.0, 4.0], [2.0, 4.0])",
"assert abs(r1 - 2.0) < 1e-6",
"r2 = seg_len([2.0, 0.0], [3.0, 5.0])",... |
theo-eng-code-L3-code-015155 | 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.9, 0.14, 90, 3.0, 2.5)",
"assert abs(r0[0] - 6.11) < 1e-6",
"assert abs(r0[1] - 0.0777) < 1e-6",
"assert abs(r0[2] - 6.31) < 1e-6",
"r1 = joint_torque(7.9, 0.41, 45, 5... |
theo-eng-code-L1-clarify-001753 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_write",
"user_template": "0",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-013532 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_gear",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = gear_ratio(0.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-009627 | 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, 190, 330, 0.7)",
"assert abs(r0[0] - 232.0) < 1e-6",
"assert abs(r0[1] - 0.78) < 1e-6",
"assert abs(r0[2] - 46.6) < 1e-6",
"r1 = runtime(0.1, 140, 150, 0.5)",
"ass... |
theo-eng-code-L2-code-004185 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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([430, 220, 170, 440, 120], 2)",
"assert abs(r0 - 0.7667) < 1e-6",
"r1 = rect_energy([490, 480, 420, 280], 2)",
"assert abs(r1 - 0.9278) < 1e-6",
"r2 = rect_energy... |
theo-eng-code-L2-code-012976 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(70, 2710, 80, 0.26, 2.0, 0.009, 0.8, 0.9, 0.9)",
"assert abs(r0[0] - 475.9) < 1e-6",
"assert abs(r0[1] - 13.24) < 1e-6",
"assert abs(r0[2] - 10.59) < 1e-6",
"r1 = erange(62,... |
theo-eng-code-L1-code-015165 | 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": "2",
"style": "code",
"source": "template",
"tests": [],
"subtask": "explain",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
]
} |
theo-eng-code-L3-code-011766 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_runtime",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 290, 480, 0.5)",
"assert abs(r0[0] - 385.0) < 1e-6",
"assert abs(r0[1] - 1.17) < 1e-6",
"assert abs(r0[2] - 70.1) < 1e-6",
"r1 = runtime(1.0, 270, 400, 0.5)",
"ass... |
theo-eng-code-L2-code-007870 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(3.5, 0.29, 45, 2.5, 1.0)",
"assert abs(r0[0] - 8.55) < 1e-6",
"assert abs(r0[1] - 0.3084) < 1e-6",
"assert abs(r0[2] - 8.86) < 1e-6",
"r1 = joint_torque(4.4, 0.2, 90, ... |
theo-eng-code-L2-code-015737 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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": "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-L3-code-009660 | 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.41, 10500, 120)",
"assert abs(r0[0] - 13.52) < 1e-6",
"assert abs(r0[1] - 776.4) < 1e-6"
],
"subtask": "writetests",
"verified_by": [
"structure",
"code_run"... |
theo-eng-code-L3-code-012330 | 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(14, 24, -0.05, -0.03, 0.5, 0.9, 2)",
"assert abs(r0[0] - -0.0374) < 1e-6",
"assert abs(r0[1] - 0.7526) < 1e-6",
"assert abs(r0[2] - -0.1908) < 1e-6",
"r1 = com_zmp(8, 20, 0.06,... |
theo-eng-code-L1-clarify-001284 | 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": "4",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L3-code-012122 | 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": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = pack_sp(300, 80, 3.6, 50)",
"assert r0[0] == 83",
"assert r0[1] == 6",
"assert r0[2] == 498",
"assert abs(r0[3] - 298.8) < 1e-6",
"assert abs(r0[4] - 89.64) < 1e-6",
"r1 = pac... |
theo-eng-code-L2-code-000163 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_refactor_countloop",
"user_template": "3",
"style": "code",
"source": "template",
"tests": [],
"subtask": "refactor",
"verified_by": [
"structure",
"code_run",
"number_match",
"unit_presence",
"safety_scan",
"dedup"
],
"check": "stdout-match"
} |
theo-eng-code-L3-code-007817 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_writetests_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.2, 50, 70, 0.3)",
"assert abs(r0[0] - 64.0) < 1e-6",
"assert abs(r0[1] - 2.81) < 1e-6",
"assert abs(r0[2] - 168.8) < 1e-6"
],
"subtask": "writetests",
"verified_... |
theo-eng-code-L2-code-014562 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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.5, 220, 340, 0.3)",
"assert abs(r0[0] - 304.0) < 1e-6",
"assert abs(r0[1] - 1.48) < 1e-6",
"assert abs(r0[2] - 88.8) < 1e-6",
"r1 = runtime(0.2, 140, 530, 0.3)",
"a... |
theo-eng-code-L2-code-010002 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_runtime",
"user_template": "1",
"style": "code",
"source": "template",
"tests": [
"r0 = runtime(0.5, 230, 120, 0.3)",
"assert abs(r0[0] - 153.0) < 1e-6",
"assert abs(r0[1] - 2.94) < 1e-6",
"assert abs(r0[2] - 176.5) < 1e-6",
"r1 = runtime(0.5, 110, 490, 0.5)",
"... |
theo-eng-code-L3-code-014825 | code | L3 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_fix_charge",
"user_template": "4",
"style": "code",
"source": "template",
"tests": [
"r0 = charge_time(40, 22, 0.1, 1.0)",
"assert abs(r0[0] - 2.05) < 1e-6",
"assert abs(r0[1] - 122.7) < 1e-6",
"assert abs(r0[2] - 36.0) < 1e-6",
"assert r0[3] == 22",
"r1 = charge_time... |
theo-eng-code-L2-code-010112 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(60, 150, 0.2, 0.9)",
"assert abs(r0[0] - 0.35) < 1e-6",
"assert abs(r0[1] - 21.0) < 1e-6",
"assert abs(r0[2] - 42.0) < 1e-6",
"assert r0[3] == 150",
"r1 = charge_t... |
theo-eng-code-L2-code-008391 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_write_range",
"user_template": "0",
"style": "code",
"source": "template",
"tests": [
"r0 = erange(82, 2130, 60, 0.31, 2.0, 0.013, 1.0, 0.94, 0.9)",
"assert abs(r0[0] - 576.1) < 1e-6",
"assert abs(r0[1] - 12.81) < 1e-6",
"assert abs(r0[2] - 7.69) < 1e-6",
"r1 = erange(23,... |
theo-eng-code-L2-code-010276 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(45, 21, 0.75)",
"assert abs(r0 - 40.36) < 1e-6",
"r1 = rms_torque(26, 16, 0.25)",
"assert abs(r1 - 19.0) < 1e-6",
"r2 = rms_torque(87, 40, 0.5)",
"assert abs(r2 - 67.7... |
theo-eng-code-L2-code-013307 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_libuse_dist2d",
"user_template": "2",
"style": "code",
"source": "template",
"tests": [
"r0 = seg_len([4.0, 1.5], [1.0, 0.0])",
"assert abs(r0 - 3.3541) < 1e-6",
"r1 = seg_len([1.0, 1.0], [3.5, 1.5])",
"assert abs(r1 - 2.5495) < 1e-6",
"r2 = seg_len([2.5, 5.0], [1.5, 4.5]... |
theo-eng-code-L1-clarify-014965 | clarify | L1 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage design of electric vehicles and robots: sizing, estimates, simulation set-up, scripts and design documents.\n\nHow you work\n- Calculations com... | {
"family": "code_clarify_fix",
"user_template": "1",
"style": "code",
"source": "template",
"verified_by": [
"structure",
"number_match",
"unit_presence",
"clarify",
"dedup"
]
} |
theo-eng-code-L2-code-008700 | code | L2 | code | [
{
"role": "system",
"content": "You are Theo, an open engineering assistant from Openwist (openwist.com). You help engineers, students and builders with early-stage 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(8, 20, 0.02, 0.14, 0.7, 0.4, 2)",
"assert abs(r0[0] - 0.1057) < 1e-6",
"assert abs(r0[1] - 0.4857) < 1e-6",
"assert abs(r0[2] - 0.0067) < 1e-6",
"r1 = com_zmp(18, 15, -0.06, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.