code
Apr 02, 2026CODE-018Implement a minimal but correct event sourcing system in Python. Include: an Event base class, an EventStore (in-memory is fine), an Aggregate base class that rebuilds state from events, a BankAccount aggregate with deposit/withdraw/transfer commands, and snapshot support for performance. Demonstrate eventual consistency between two projections.
Winner
Grok 4.20
openrouter
7.72
WINNER SCORE
matrix avg: 6.26
10×10 Judgment Matrix · 90 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 | — | 4.8 | 4.1 | 5.0 | 2.4 | 7.2 | 4.9 | 7.5 | 3.2 | 5.5 |
| GPT-5.4 | 3.5 | — | 3.6 | 3.3 | 0.8 | 6.4 | 4.2 | 6.2 | 1.9 | 2.0 |
| Claude Opus 4.6 | 5.8 | 6.8 | — | 6.3 | 0.8 | 6.8 | 5.4 | 6.5 | 1.9 | 5.3 |
| Claude Sonnet 4.6 | 8.0 | 7.2 | 8.8 | — | 1.9 | 8.0 | 5.8 | 7.8 | 3.0 | 7.0 |
| Gemini 3.1 Pro | 5.5 | 4.6 | 5.9 | 6.0 | — | 6.7 | 5.5 | 6.0 | 1.6 | 5.2 |
| Grok 4.20 | 8.6 | 6.4 | 8.4 | 7.9 | 3.3 | — | 6.0 | 6.6 | 3.6 | 6.2 |
| DeepSeek V4 | 9.4 | 8.6 | 9.6 | 8.6 | 8.1 | 9.4 | — | 9.6 | 7.8 | 9.6 |
| Gemini 3 | 8.6 | 8.4 | 9.6 | 9.6 | 2.3 | 9.0 | 8.6 | — | 5.0 | 8.6 |
| MiniMax M2.5 | 7.9 | 6.1 | 6.2 | 5.6 | 1.0 | 7.6 | 7.3 | 7.5 | — | 5.8 |
| MiMo-V2-Flash | 8.6 | 8.6 | 8.8 | 8.6 | 8.8 | 8.3 | 8.0 | 9.0 | 5.8 | — |