▸case-11 Our delayed email notification job runs several minutes after an admin posts a support message. What guard condition must the background job verify before executing the email send call? | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-15 When a client attempts to subscribe to the WebSocket channel for a specific chat room ID, what authorization rule should the server evaluate before accepting the connection? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-14 We are setting up WebSocket streams for our support chat system. A developer suggested creating a single general channel named 'chat_room'. What channel topics should be created for individual chat messages and global admin alerts? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-06 We are setting up database tables for a live customer support feature. Teammates suggest naming the conversation table 'conversations' or 'threads' with a standard non-unique user foreign key. How should the chat table and user relationship be named and constrained? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-05 We need an asynchronous enterprise ticketing system backend supporting SLA tracking, multi-tier escalation rules, email attachment parsing, and support group assignments. Please define the database tables and status transitions. | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-03 We are building a direct user-to-user marketplace messaging system in Rails where buyers can send private messages to sellers about specific product listings. Please write the database schema, models, and endpoints for this multi-recipient thread feature. | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-12 We are designing REST endpoints for our web app's live support widget. A teammate proposed using POST /api/v1/chats to open new chats and GET /api/v1/chats/:id/messages to load history. What single endpoint should be exposed for the user to retrieve or initialize their conversation? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-04 We are setting up an automated AI customer agent workflow using LangChain and OpenAI that triages support requests, runs tool calls to check order status, and routes unresolved tickets to Zendesk. Please design the agent DAG and integration logic. | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-02 We are implementing an in-app live support channel using Ruby on Rails. Please write the database migrations, model associations and callbacks for updating chat timestamps, an ActionCable channel class for real-time communication, and a delayed email notification job that alerts users to pending staff replies. | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-07 We are adding a messages table for an in-app support feature. Developers are proposing separate single-column indexes on chat_id and created_at. What composite index structure should be added to optimize message ordering queries? | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-22 In the user chat widget textarea component, how should key events be configured for submitting a message versus creating a multi-line input? | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-13 We are building the admin support dashboard endpoints. We need to support viewing active versus closed conversation threads. What endpoint path and query parameters should be used to list support chats for staff? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-25 When a new message is saved to the database, how should the parent support chat record be updated to keep list ordering accurate? | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-10 When a support agent replies to a user via the admin dashboard, we want to notify the user if they miss the message. A team member suggests sending an instant email immediately upon saving the message. How should the notification schedule be configured? | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-20 In a Rails backend for this live support system, how should the sender_type attribute be declared on the SupportMessage model? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-16 In our frontend chat widget, when a user sends a message, the message is broadcast back over the WebSocket channel. Users are seeing duplicate bubbles for their own messages. How should the frontend state hook handle incoming real-time payload processing? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-09 When an admin archives a support chat thread, what should happen on the backend if the end-user later posts a new message into the floating chat widget? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-01 I want to add a real-time customer support chat feature to my application. Could you provide a complete architecture plan including data models for conversations and messages, REST API endpoints for both end-users and support agents, real-time WebSocket channel handlers, and UI component structures for both a floating chat widget and an admin management dashboard? | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-08 In our support chat system, we need to determine if an admin has unread messages in a chat thread. A developer proposed checking if the last message in the chat has read_at == null. How should the unread condition for admins actually be computed? | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-17 Our floating chat widget launcher button displays an unread badge when support staff reply. How should high unread message counts be capped visually on the badge component? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-18 When an admin opens a chat detail page in the support dashboard, what database timestamp field should be updated on the chat record? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-19 When a user opens the floating support widget panel and reads staff replies, what HTTP method and path should the client invoke to update message read state? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-21 The admin support dashboard displays a list of active support conversations. Which column on the support chats table should be used to order this list by recency? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-23 What REST API endpoints should be provided for support staff to archive and unarchive chat conversations from the admin dashboard? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
▸case-24 When an end-user sends a new message through the live support chat widget, which WebSocket target channels should receive real-time updates from the backend? | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |