WebSocket vs SSE vs polling, reconnection with backoff and jitter, heartbeats, backpressure, message ordering, connection state UI, auth on upgrade, graceful degradation
94
98%
Does it follow best practices?
Impact
90%
1.87xAverage score across 5 eval scenarios
Passed
No known issues
A team productivity app needs a shared todo list where multiple users can add, complete, and delete tasks in real time. When one user makes a change, all other users viewing the same list see the update instantly.
Build a Node.js/Express backend and React/TypeScript frontend:
Produce the following in a src/ directory:
Server:
src/server.ts -- Express server with real-time collaborationsrc/todos.ts -- Todo CRUD operations and storageClient:
src/components/TodoList.tsx -- The collaborative todo list viewsrc/components/TodoItem.tsx -- Single todo item componentsrc/hooks/useTodoList.ts -- Hook that manages the real-time connection for a specific todo listUse in-memory storage. Do not include test files or build configuration.
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
skills
realtime-web-patterns
verifiers