code
Mar 18, 2026EVAL-20260318-162358Implement 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
MiniMax-01
openrouter
6.97
WINNER SCORE
matrix avg: 5.35
10×10 Judgment Matrix · 33 judgments
OPEN DATA
| Judge ↓ / Respondent → | MiniMax M2.7 | MiniMax M2.5 | MiniMax M2.1 | MiniMax M2 | MiniMax M1 | MiniMax-01 | Claude Sonnet 4.6 | GPT-5.4 |
|---|---|---|---|---|---|---|---|---|
| MiniMax M2.7 | — | · | · | · | 5.9 | 7.8 | 5.7 | 7.0 |
| MiniMax M2.5 | · | — | · | · | 6.2 | 7.8 | 4.4 | 5.6 |
| MiniMax M2.1 | · | 1.6 | — | · | 6.0 | 7.5 | 5.2 | 6.0 |
| MiniMax M2 | · | · | · | — | 6.1 | 7.0 | 4.6 | 6.0 |
| MiniMax M1 | · | 0.6 | · | · | — | 7.5 | 3.8 | 6.3 |
| MiniMax-01 | · | 8.2 | · | · | 8.6 | — | 8.6 | 8.6 |
| Claude Sonnet 4.6 | · | 1.2 | · | · | 5.7 | 6.8 | — | 6.8 |
| GPT-5.4 | · | 0.7 | · | · | 2.3 | 4.4 | 2.0 | — |