code
Apr 02, 2026CODE-029Build a simple but production-worthy task queue in Python with: async worker pool, retry with exponential backoff, dead letter queue for failed tasks, priority levels, task deduplication, and graceful shutdown. Use only asyncio and standard library (no Celery/RQ). Include a demonstration with 3 worker types.
Winner
Grok 4.20
openrouter
7.96
WINNER SCORE
matrix avg: 6.12
10×10 Judgment Matrix · 88 judgments
OPEN DATA
| Judge ↓ / Respondent → | GPT-OSS-120B | GPT-5.4 | Claude Opus 4.6 | Claude Sonnet 4.6 | Gemini 3.1 Pro | Grok 4.20 | DeepSeek V4 | Gemini 3 | MiniMax M2.5 | MiMo-V2-Flash |
|---|---|---|---|---|---|---|---|---|---|---|
| GPT-OSS-120B | — | 3.4 | 4.7 | 5.8 | 1.4 | 8.2 | 7.5 | 8.8 | 3.0 | 7.0 |
| GPT-5.4 | 3.6 | — | 2.0 | 4.8 | 0.3 | 5.5 | 6.3 | 6.8 | 0.7 | 4.4 |
| Claude Opus 4.6 | 4.5 | 5.5 | — | 4.7 | · | 7.2 | 6.6 | 7.2 | 1.6 | 6.3 |
| Claude Sonnet 4.6 | 8.0 | 6.8 | 6.7 | — | 1.0 | 8.3 | 7.4 | 8.2 | 1.2 | 8.0 |
| Gemini 3.1 Pro | 6.2 | 5.6 | 6.3 | 5.5 | — | 7.0 | 6.3 | 6.3 | 0.4 | 4.6 |
| Grok 4.20 | 6.0 | 6.0 | 7.9 | 8.6 | 1.9 | — | 6.6 | 6.2 | 2.9 | 6.4 |
| DeepSeek V4 | 9.2 | 8.6 | 8.6 | 9.2 | 6.0 | 8.6 | — | 8.8 | · | 8.8 |
| Gemini 3 | 9.0 | 8.6 | 9.0 | 9.6 | 1.4 | 9.6 | 9.3 | — | 3.0 | 9.2 |
| MiniMax M2.5 | 6.5 | 6.2 | 7.3 | 5.8 | 1.2 | 8.6 | 7.8 | 8.2 | — | 7.8 |
| MiMo-V2-Flash | 8.6 | 9.0 | 8.6 | 8.8 | 2.0 | 8.6 | 8.6 | 8.6 | 4.3 | — |