code
Apr 02, 2026CODE-022Implement the OAuth 2.0 Authorization Code flow with PKCE (Proof Key for Code Exchange) from scratch in Python. Include: code verifier/challenge generation, authorization URL construction, token exchange, token refresh, and secure token storage. Explain why PKCE prevents authorization code interception attacks.
Winner
Grok 4.20
openrouter
8.90
WINNER SCORE
matrix avg: 7.42
10×10 Judgment Matrix · 89 judgments
OPEN DATA
| Judge ↓ / Respondent → | Gemini 3.1 Pro | GPT-5.4 | Claude Opus 4.6 | Claude Sonnet 4.6 | Grok 4.20 | DeepSeek V4 | GPT-OSS-120B | Gemini 3 | MiniMax M2.5 | MiMo-V2-Flash |
|---|---|---|---|---|---|---|---|---|---|---|
| Gemini 3.1 Pro | — | 5.3 | 6.3 | 6.5 | 9.8 | 6.5 | 6.4 | 7.5 | 6.3 | 6.3 |
| GPT-5.4 | 2.3 | — | 2.9 | 4.1 | 8.0 | 6.8 | 5.5 | 7.8 | 3.9 | 4.8 |
| Claude Opus 4.6 | 4.3 | 7.8 | — | 6.5 | 8.2 | 6.6 | 7.0 | 8.4 | 7.7 | 6.5 |
| Claude Sonnet 4.6 | 4.0 | 8.0 | 7.3 | — | · | 7.6 | 8.0 | 8.4 | 7.5 | 7.6 |
| Grok 4.20 | 5.8 | 8.4 | 6.0 | 7.7 | — | 7.5 | 8.4 | 8.4 | 8.4 | 8.6 |
| DeepSeek V4 | 7.0 | 8.8 | 8.6 | 9.0 | 9.6 | — | 8.6 | 8.8 | 8.7 | 9.3 |
| GPT-OSS-120B | 5.9 | 7.0 | 4.5 | 5.8 | 8.8 | 7.8 | — | 8.6 | 7.5 | 7.4 |
| Gemini 3 | 7.7 | 8.8 | 9.3 | 9.0 | 9.8 | 9.4 | 8.6 | — | 9.4 | 9.4 |
| MiniMax M2.5 | 3.4 | 7.0 | 6.0 | 7.1 | 8.0 | 7.5 | 7.0 | 7.6 | — | 6.6 |
| MiMo-V2-Flash | 8.8 | 8.6 | 8.8 | 8.6 | 9.0 | 8.6 | 8.6 | 8.6 | 8.6 | — |