Spaces:
Sleeping
Sleeping
File size: 9,122 Bytes
75ca235 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | """Task metadata and fixture data for bug_triage_easy."""
from __future__ import annotations
TASK_ID = "bug_triage_easy"
DIFFICULTY = "easy"
DESCRIPTION = "8 clear tickets, minimal duplicates"
TASK_DATA = {'task_id': 'bug_triage_easy',
'step_budget': 50,
'available_teams': ['backend-api',
'frontend-web',
'mobile-ios',
'mobile-android',
'infrastructure',
'data-platform'],
'available_components': ['api-gateway',
'auth-service',
'user-service',
'payment-service',
'web-app',
'ios-app',
'android-app',
'database',
'cache',
'cdn'],
'tickets': [{'ticket_id': 'BUG-1001',
'title': 'Login button not responding on mobile',
'description': 'When users tap the login button on iOS app, nothing happens. The '
'button animation plays but no login attempt is made. Issue reported '
'by multiple users on iOS 17.',
'reporter_type': 'user',
'service': 'mobile-app',
'component_candidates': ['ios-app', 'auth-service'],
'created_at': '2024-01-15T10:30:00',
'customer_tier': 'pro',
'repro_steps_present': True,
'logs_present': True,
'attachments_count': 2,
'suspected_duplicate_ids': []},
{'ticket_id': 'BUG-1002',
'title': 'Payment processing timeout',
'description': 'Payment submissions are timing out after 30 seconds during checkout. '
'Error logs show connection timeout to payment gateway. Affecting '
'enterprise customers.',
'reporter_type': 'monitoring',
'service': 'payments',
'component_candidates': ['payment-service', 'api-gateway'],
'created_at': '2024-01-15T14:22:00',
'customer_tier': 'enterprise',
'repro_steps_present': False,
'logs_present': True,
'attachments_count': 1,
'suspected_duplicate_ids': []},
{'ticket_id': 'BUG-1003',
'title': 'Dashboard loads slowly',
'description': 'User dashboard takes 10+ seconds to load. Database queries appear '
'slow based on performance monitoring. Free tier users reporting this '
'frequently.',
'reporter_type': 'qa',
'service': 'web-app',
'component_candidates': ['web-app', 'database', 'cache'],
'created_at': '2024-01-15T16:45:00',
'customer_tier': 'free',
'repro_steps_present': True,
'logs_present': False,
'attachments_count': 0,
'suspected_duplicate_ids': []},
{'ticket_id': 'BUG-1004',
'title': 'Mobile login issue',
'description': 'Login not working on iOS devices. When I tap login nothing happens.',
'reporter_type': 'user',
'service': 'mobile-app',
'component_candidates': ['ios-app'],
'created_at': '2024-01-15T11:00:00',
'customer_tier': 'pro',
'repro_steps_present': False,
'logs_present': False,
'attachments_count': 0,
'suspected_duplicate_ids': ['BUG-1001']},
{'ticket_id': 'BUG-1005',
'title': 'API returning 500 errors',
'description': 'GET /api/v1/users endpoint returning 500 Internal Server Error. '
'Stack trace shows null pointer exception in user service. Multiple '
'monitoring alerts triggered.',
'reporter_type': 'monitoring',
'service': 'api',
'component_candidates': ['api-gateway', 'user-service'],
'created_at': '2024-01-16T02:15:00',
'customer_tier': 'enterprise',
'repro_steps_present': True,
'logs_present': True,
'attachments_count': 3,
'suspected_duplicate_ids': []},
{'ticket_id': 'BUG-1006',
'title': 'CDN images not loading',
'description': 'Product images on web app showing broken image icons. CDN health '
'check failing. Users cannot see product photos during shopping.',
'reporter_type': 'qa',
'service': 'web-app',
'component_candidates': ['cdn', 'web-app'],
'created_at': '2024-01-16T09:30:00',
'customer_tier': 'pro',
'repro_steps_present': True,
'logs_present': True,
'attachments_count': 5,
'suspected_duplicate_ids': []},
{'ticket_id': 'BUG-1007',
'title': 'Incorrect tax calculation',
'description': 'Tax calculations for orders in California showing wrong values. '
'Expected 9.5% but getting 7.25%. Math error in tax service logic.',
'reporter_type': 'qa',
'service': 'payments',
'component_candidates': ['payment-service'],
'created_at': '2024-01-16T13:00:00',
'customer_tier': 'enterprise',
'repro_steps_present': True,
'logs_present': True,
'attachments_count': 2,
'suspected_duplicate_ids': []},
{'ticket_id': 'BUG-1008',
'title': 'Android app crashes on startup',
'description': 'App crashes immediately after launch on Android 14. Crash logs show '
'activity lifecycle error. Reported by QA during testing.',
'reporter_type': 'qa',
'service': 'mobile-app',
'component_candidates': ['android-app'],
'created_at': '2024-01-16T15:45:00',
'customer_tier': 'free',
'repro_steps_present': True,
'logs_present': True,
'attachments_count': 1,
'suspected_duplicate_ids': []}],
'ground_truths': [{'ticket_id': 'BUG-1001',
'true_severity': 'sev2',
'true_priority': 'p2',
'true_component': 'ios-app',
'true_assignee_team': 'mobile-ios',
'duplicate_of': None,
'needs_more_info': False},
{'ticket_id': 'BUG-1002',
'true_severity': 'sev1',
'true_priority': 'p1',
'true_component': 'payment-service',
'true_assignee_team': 'backend-api',
'duplicate_of': None,
'needs_more_info': False},
{'ticket_id': 'BUG-1003',
'true_severity': 'sev3',
'true_priority': 'p3',
'true_component': 'database',
'true_assignee_team': 'data-platform',
'duplicate_of': None,
'needs_more_info': True},
{'ticket_id': 'BUG-1004',
'true_severity': 'sev2',
'true_priority': 'p2',
'true_component': 'ios-app',
'true_assignee_team': 'mobile-ios',
'duplicate_of': 'BUG-1001',
'needs_more_info': False},
{'ticket_id': 'BUG-1005',
'true_severity': 'sev0',
'true_priority': 'p0',
'true_component': 'user-service',
'true_assignee_team': 'backend-api',
'duplicate_of': None,
'needs_more_info': False},
{'ticket_id': 'BUG-1006',
'true_severity': 'sev2',
'true_priority': 'p1',
'true_component': 'cdn',
'true_assignee_team': 'infrastructure',
'duplicate_of': None,
'needs_more_info': False},
{'ticket_id': 'BUG-1007',
'true_severity': 'sev1',
'true_priority': 'p1',
'true_component': 'payment-service',
'true_assignee_team': 'backend-api',
'duplicate_of': None,
'needs_more_info': False},
{'ticket_id': 'BUG-1008',
'true_severity': 'sev2',
'true_priority': 'p2',
'true_component': 'android-app',
'true_assignee_team': 'mobile-android',
'duplicate_of': None,
'needs_more_info': False}]}
|