|
| 1 | +[ |
| 2 | + { |
| 3 | + "id": "bug-1", |
| 4 | + "inputs": { |
| 5 | + "ISSUE_TITLE": "Application crashes on startup", |
| 6 | + "ISSUE_BODY": "When I launch the app, it immediately closes with a segfault.", |
| 7 | + "AVAILABLE_LABELS": "bug,enhancement,question,documentation,security,duplicate,wontfix" |
| 8 | + }, |
| 9 | + "expected": ["bug"], |
| 10 | + "reason": "Explicit mention of crash and segfault." |
| 11 | + }, |
| 12 | + { |
| 13 | + "id": "feature-1", |
| 14 | + "inputs": { |
| 15 | + "ISSUE_TITLE": "Add dark mode", |
| 16 | + "ISSUE_BODY": "It would be great to have a dark mode for better visibility at night.", |
| 17 | + "AVAILABLE_LABELS": "bug,enhancement,question,documentation,security,duplicate,wontfix" |
| 18 | + }, |
| 19 | + "expected": ["enhancement"], |
| 20 | + "reason": "Request for a new feature (dark mode)." |
| 21 | + }, |
| 22 | + { |
| 23 | + "id": "question-1", |
| 24 | + "inputs": { |
| 25 | + "ISSUE_TITLE": "How to run tests?", |
| 26 | + "ISSUE_BODY": "I cannot find instructions on running the unit tests.", |
| 27 | + "AVAILABLE_LABELS": "bug,enhancement,question,documentation,security,duplicate,wontfix" |
| 28 | + }, |
| 29 | + "expected": ["question", "documentation"], |
| 30 | + "reason": "Asking for information/instructions regarding documentation." |
| 31 | + }, |
| 32 | + { |
| 33 | + "id": "security-1", |
| 34 | + "inputs": { |
| 35 | + "ISSUE_TITLE": "SQL Injection vulnerability in login form", |
| 36 | + "ISSUE_BODY": "I found a way to bypass login using SQL injection on the username field.", |
| 37 | + "AVAILABLE_LABELS": "bug,enhancement,question,documentation,security,duplicate,wontfix" |
| 38 | + }, |
| 39 | + "expected": ["bug", "security"], |
| 40 | + "reason": "Specific security vulnerability mentioned." |
| 41 | + }, |
| 42 | + { |
| 43 | + "id": "empty-body", |
| 44 | + "inputs": { |
| 45 | + "ISSUE_TITLE": "Feature request: support pnpm", |
| 46 | + "ISSUE_BODY": "", |
| 47 | + "AVAILABLE_LABELS": "bug,enhancement,question,documentation,security,duplicate,wontfix" |
| 48 | + }, |
| 49 | + "expected": ["enhancement"], |
| 50 | + "reason": "Title clearly indicates a feature request despite empty body." |
| 51 | + }, |
| 52 | + { |
| 53 | + "id": "vague-bug", |
| 54 | + "inputs": { |
| 55 | + "ISSUE_TITLE": "It broke", |
| 56 | + "ISSUE_BODY": "I was using it and then it just stopped working. No error message.", |
| 57 | + "AVAILABLE_LABELS": "bug,enhancement,question,documentation,security,duplicate,wontfix" |
| 58 | + }, |
| 59 | + "expected": ["bug"], |
| 60 | + "reason": "Functional failure reported." |
| 61 | + }, |
| 62 | + { |
| 63 | + "id": "translation-req", |
| 64 | + "inputs": { |
| 65 | + "ISSUE_TITLE": "Traducción al español", |
| 66 | + "ISSUE_BODY": "Necesitamos traducir la documentación al español.", |
| 67 | + "AVAILABLE_LABELS": "bug,enhancement,question,documentation,security,duplicate,wontfix" |
| 68 | + }, |
| 69 | + "expected": ["documentation", "enhancement"], |
| 70 | + "reason": "Request for documentation work in another language." |
| 71 | + } |
| 72 | +] |
0 commit comments