"""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}]}