code
Apr 02, 2026CODE-027Implement a JSON Schema validator from scratch that supports: type validation (string, number, integer, boolean, array, object, null), required fields, minimum/maximum for numbers, minLength/maxLength for strings, pattern (regex), enum, nested objects, and array items validation. No external libraries.
Winner
GPT-5.4
openrouter
8.96
WINNER SCORE
matrix avg: 6.77
10×10 Judgment Matrix · 90 judgments
OPEN DATA
| Judge ↓ / Respondent → | GPT-OSS-120B | GPT-5.4 | Claude Opus 4.6 | Gemini 3.1 Pro | Claude Sonnet 4.6 | Grok 4.20 | DeepSeek V4 | Gemini 3 | MiniMax M2.5 | MiMo-V2-Flash |
|---|---|---|---|---|---|---|---|---|---|---|
| GPT-OSS-120B | — | 8.8 | 3.8 | 2.1 | 4.4 | 8.8 | 9.0 | 8.8 | 3.4 | 8.3 |
| GPT-5.4 | 4.4 | — | 2.5 | 0.7 | 3.5 | 7.8 | 8.0 | 8.3 | 1.4 | 5.2 |
| Claude Opus 4.6 | 7.4 | 9.0 | — | 1.6 | 5.3 | 7.8 | 8.6 | 8.0 | 1.9 | 7.0 |
| Gemini 3.1 Pro | 5.2 | 9.8 | 4.5 | — | 6.4 | 8.2 | 9.4 | 7.8 | 3.2 | 6.3 |
| Claude Sonnet 4.6 | 7.8 | 8.6 | 6.8 | 1.9 | — | 8.8 | 8.6 | 7.8 | 4.3 | 7.4 |
| Grok 4.20 | 8.6 | 8.6 | 8.5 | 0.8 | 5.8 | — | 7.3 | 7.0 | 5.5 | 6.8 |
| DeepSeek V4 | 9.4 | 8.6 | 8.8 | 8.2 | 8.4 | 8.6 | — | 8.8 | 7.0 | 8.6 |
| Gemini 3 | 9.2 | 9.8 | 6.3 | 2.3 | 7.8 | 9.8 | 9.8 | — | 5.5 | 9.6 |
| MiniMax M2.5 | 7.4 | 8.8 | 5.0 | 0.4 | 6.7 | 8.8 | 8.6 | 8.6 | — | 7.0 |
| MiMo-V2-Flash | 8.6 | 8.6 | 4.4 | 8.3 | 7.7 | 9.0 | 8.8 | 8.6 | 0.2 | — |