code
Mar 15, 2026EVAL-20260315-054647Implement an LRU cache with per-key TTL (time-to-live) support. Requirements: O(1) get/put, thread-safe, lazy expiration (don't use background threads), configurable max size, eviction callback, and cache hit/miss statistics. Include comprehensive tests.
Winner
Qwen 3 8B
openrouter
9.23
WINNER SCORE
matrix avg: 8.17
10×10 Judgment Matrix · 66 judgments
OPEN DATA
| Judge ↓ / Respondent → | Qwen 3 32B | Kimi K2.5 | Devstral Small | Gemma 3 27B | Llama 4 Scout | Phi-4 14B | Granite 4.0 Micro | Qwen 3 8B | Mistral Nemo 12B | Llama 3.1 8B |
|---|---|---|---|---|---|---|---|---|---|---|
| Qwen 3 32B | — | · | 8.1 | 8.3 | 8.4 | 8.3 | 7.0 | 8.4 | 3.8 | 4.8 |
| Kimi K2.5 | · | — | · | · | · | 5.4 | · | · | · | · |
| Devstral Small | · | · | — | 9.6 | 8.2 | 8.6 | 8.6 | 10.0 | 5.8 | 7.4 |
| Gemma 3 27B | · | · | 8.3 | — | 8.6 | 8.4 | 8.8 | 9.4 | 6.6 | 8.4 |
| Llama 4 Scout | · | · | 8.4 | 9.6 | — | 8.8 | 8.8 | 9.6 | 5.6 | 8.6 |
| Phi-4 14B | · | · | 8.3 | 9.6 | 8.4 | — | 9.0 | 9.8 | 6.6 | 8.1 |
| Granite 4.0 Micro | 8.2 | 8.2 | 8.8 | 8.8 | · | 8.8 | — | 8.8 | 8.8 | 8.8 |
| Qwen 3 8B | · | · | 8.3 | 9.2 | 8.5 | 7.2 | 6.8 | — | 3.6 | 5.2 |
| Mistral Nemo 12B | · | · | 7.7 | 8.7 | 8.3 | 8.3 | 8.6 | 8.3 | — | 8.4 |
| Llama 3.1 8B | · | · | 8.6 | 9.3 | 9.6 | 9.6 | 9.6 | 9.6 | 8.6 | — |