code
Apr 02, 2026CODE-015Build a production-ready WebSocket chat server in Python using asyncio. Requirements: support multiple rooms, handle disconnections gracefully, implement message history (last 100 messages per room), rate limiting (5 messages/second per user), and heartbeat/keepalive. Include error handling for malformed messages.
Winner
Grok 4.20
openrouter
8.49
WINNER SCORE
matrix avg: 7.07
10×10 Judgment Matrix · 88 judgments
OPEN DATA
| Judge ↓ / Respondent → | MiMo-V2-Flash | GPT-OSS-120B | Gemini 3 | GPT-5.4 | Claude Opus 4.6 | Gemini 3.1 Pro | Claude Sonnet 4.6 | Grok 4.20 | DeepSeek V4 | MiniMax M2.5 |
|---|---|---|---|---|---|---|---|---|---|---|
| MiMo-V2-Flash | — | 9.3 | 8.8 | 8.0 | 8.6 | 7.0 | 8.2 | 8.6 | 8.6 | 5.7 |
| GPT-OSS-120B | 8.1 | — | 8.6 | · | 5.8 | 4.7 | 6.1 | 8.8 | 8.2 | 3.4 |
| Gemini 3 | 9.2 | 8.8 | — | 8.8 | 8.3 | 5.5 | 8.3 | 9.6 | 9.0 | 8.8 |
| GPT-5.4 | 5.8 | 4.5 | 6.8 | — | 4.7 | 1.6 | 5.0 | 7.2 | 7.0 | 2.0 |
| Claude Opus 4.6 | 7.2 | 6.3 | 7.8 | 6.8 | — | 2.9 | 5.3 | 7.5 | 7.2 | 4.0 |
| Gemini 3.1 Pro | 5.4 | 7.2 | 9.6 | 6.0 | 5.7 | — | 5.5 | 8.6 | 6.3 | 4.2 |
| Claude Sonnet 4.6 | 7.2 | 8.2 | 8.6 | 7.4 | 7.7 | 3.5 | — | 8.2 | 7.8 | 5.8 |
| Grok 4.20 | 7.8 | 8.3 | 8.6 | 6.4 | · | 3.6 | 7.9 | — | 7.6 | 4.6 |
| DeepSeek V4 | 8.6 | 9.3 | 9.0 | 8.6 | 9.0 | 8.6 | 9.0 | 9.6 | — | 8.6 |
| MiniMax M2.5 | 7.5 | 7.0 | 8.6 | 7.3 | 5.8 | 3.8 | 5.4 | 8.6 | 7.8 | — |