▸case-01 I need a system design document for a new user notification system. Please outline the core modules, how messages will be processed asynchronously, and the caching approach to handle high traffic. Provide the final output as a markdown file with dedicated sections for components, data movement, and scaling strategies. | fail→fail | 21,332 | 18,694 | -12% | 1 | 1 | 0% | 3,763 | 3,844 | +2% | 0 | 0 | — |
▸case-02 Please review the recent pull request for our e-commerce checkout module. Generate a bulleted review report that evaluates the class coupling, dependency injection usage, and overall state handling. Suggest specific refactoring steps to improve module cohesion. | fail→fail | 11,659 | 12,456 | +7% | 1 | 1 | 0% | 1,962 | 2,240 | +14% | 0 | 0 | — |
▸case-03 We are building a new GraphQL endpoint for the user profile feature. Generate the necessary code snippets for the resolvers and explain how errors should propagate from the database layer up to the client. Format your response with the code blocks first, followed by a short explanatory paragraph. | fail→fail | 10,983 | 10,645 | -3% | 1 | 1 | 0% | 1,780 | 2,460 | +38% | 0 | 0 | — |
▸case-04 Our Node.js application is experiencing slow database queries. I want to implement caching. Please write the code to integrate Redis into our existing user fetch service, including the connection setup and the cache check logic. | fail→fail | 11,954 | 8,821 | -26% | 1 | 1 | 0% | 2,569 | 1,818 | -29% | 0 | 0 | — |
▸case-05 We need to scale our monolithic application. Draft a migration plan to extract the billing and invoicing modules into their own standalone microservices, detailing the communication protocols between them. | fail→fail | 20,845 | 14,548 | -30% | 1 | 1 | 0% | 3,953 | 2,779 | -30% | 0 | 0 | — |
▸case-06 To improve internal communication speed, we are migrating our inventory service API from REST to gRPC. Provide the Protobuf definitions and the updated server initialization code in Go. | fail→fail | 14,803 | 14,393 | -3% | 1 | 1 | 0% | 3,303 | 3,219 | -3% | 0 | 0 | — |
▸case-07 The order processing workflow is currently synchronous and blocking. Rewrite the order submission function in Python to publish an event to a Kafka topic instead of calling the inventory service directly. | fail→fail | 11,451 | 14,449 | +26% | 1 | 1 | 0% | 2,472 | 2,724 | +10% | 0 | 0 | — |
▸case-08 We need a new feature to allow users to delete their accounts. Add a new DELETE endpoint to our Express.js router for the user service and provide the corresponding controller logic. | fail→fail | 10,358 | 11,032 | +7% | 1 | 1 | 0% | 2,169 | 2,489 | +15% | 0 | 0 | — |
▸case-09 Implement a background job processor for sending emails. Write a Spring Boot configuration class that sets up a RabbitMQ connection factory and a listener queue. | fail→fail | 15,136 | 11,224 | -26% | 1 | 1 | 0% | 3,130 | 2,653 | -15% | 0 | 0 | — |
▸case-10 Our React application's prop drilling is getting out of hand. Refactor the main dashboard component to use Redux for state management instead of local component state. Provide the slice definition and the updated component. | fail→fail | 12,889 | 11,480 | -11% | 1 | 1 | 0% | 2,860 | 2,762 | -3% | 0 | 0 | — |
▸case-11 The authentication logic is currently tightly coupled with the main web server. Write a proposal to move all JWT generation and validation into a separate authentication service. | fail→pass | 18,121 | 12,276 | -32% | 1 | 1 | 0% | 3,246 | 2,361 | -27% | 0 | 0 | — |
▸case-12 Update our GraphQL schema to include a new mutation for updating a user's shipping address. Provide the schema definition language (SDL) additions and the corresponding resolver function. | fail→fail | 10,674 | 8,244 | -23% | 1 | 1 | 0% | 2,384 | 1,970 | -17% | 0 | 0 | — |
▸case-13 We need to process nightly analytics data. Write an Apache Airflow DAG script in Python that extracts data from our operational database, transforms it, and loads it into our data warehouse. | fail→fail | 17,048 | 13,899 | -18% | 1 | 1 | 0% | 3,888 | 3,124 | -20% | 0 | 0 | — |
▸case-14 We are changing our product catalog storage from PostgreSQL to MongoDB to better handle unstructured data. Write the new Mongoose schema and the updated data access layer methods. | fail→fail | 19,565 | 14,937 | -24% | 1 | 1 | 0% | 4,043 | 3,614 | -11% | 0 | 0 | — |
▸case-15 The chat application currently polls the server every 5 seconds for new messages. Refactor the client-side JavaScript and the Node.js server to use WebSockets for real-time message delivery. | fail→fail | 13,514 | 4,220 | -69% | 1 | 1 | 0% | 2,781 | 370 | -87% | 0 | 0 | — |
▸case-16 We are moving from a single server to a multi-node setup. Provide an HAProxy configuration file that distributes incoming HTTP traffic across three backend application servers using round-robin. | fail→fail | 10,318 | 11,136 | +8% | 1 | 1 | 0% | 2,099 | 2,381 | +13% | 0 | 0 | — |
▸case-17 Rewrite our banking ledger module to use an Event Sourcing pattern instead of updating account balances in place. Provide the command handlers and the event store append logic. | fail→fail | 19,007 | 17,075 | -10% | 1 | 1 | 0% | 4,012 | 4,151 | +3% | 0 | 0 | — |
▸case-18 Design an API Gateway layer using Kong to sit in front of our existing microservices. Provide the configuration steps and explain how it will route traffic to the underlying services. | fail→fail | 17,793 | 16,003 | -10% | 1 | 1 | 0% | 3,619 | 3,686 | +2% | 0 | 0 | — |
▸case-19 We need to optimize the mobile app's data usage. Update the JSON response payload of the `/api/v1/feed` endpoint to remove the verbose metadata fields and flatten the nested user object. | fail→pass | 9,171 | 6,820 | -26% | 1 | 1 | 0% | 1,953 | 1,522 | -22% | 0 | 0 | — |
▸case-20 The `calculateInvoiceTotal` method in our `BillingService` class is too long and complex. I plan to refactor it by extracting the tax calculation and discount application into private helper methods within the same class. Do not change the method signature. Do I need to request architectural approval for this change? | pass→pass | 8,470 | 3,819 | -55% | 1 | 1 | 0% | 1,391 | 841 | -40% | 0 | 0 | — |
▸case-21 Our PostgreSQL query for fetching active users is slow. I want to rewrite the SQL query to use a JOIN instead of a subquery and add an index for the `last_login` column. Does this database-level change require architectural approval before I proceed? | pass→pass | 10,108 | 4,172 | -59% | 1 | 1 | 0% | 1,693 | 979 | -42% | 0 | 0 | — |
▸case-22 There is a bug in our data transformation pipeline where null values in the 'price' field cause a crash. I will update the Python function `clean_product_data` to safely handle nulls by defaulting them to 0.0. Should I request architectural approval before making this bug fix? | fail→pass | 9,463 | 3,712 | -61% | 1 | 1 | 0% | 1,586 | 821 | -48% | 0 | 0 | — |
▸case-23 We already use Redis for caching user sessions. I want to update the `setSession` function in our auth module to change the cache TTL from 24 hours to 12 hours. Does modifying this cache configuration require architectural approval? | pass→pass | 10,092 | 4,830 | -52% | 1 | 1 | 0% | 1,585 | 1,047 | -34% | 0 | 0 | — |