← EvaluationsEVAL-20260402-150119

Evaluation · Apr 02, 2026

code

CODE-028

Your Node.js API is responding with 502 errors under load. Here's the relevant code and infrastructure: - Express.js API behind an Nginx reverse proxy - Connection pool to PostgreSQL (max 20 connections) - Average response time: 50ms normally, 30s+ during incidents - Error logs show: "connect ETIMEDOUT" and "too many clients already" - The issue starts when traffic exceeds 200 req/s ```javascript app.get('/api/users/:id', async (req, res) => { const client = await pool.connect(); const result = await client.query('SELECT * FROM users WHERE id = $1', [req.params.id]); res.json(result.rows[0]); }); ``` What's wrong? Provide the fix and explain the connection pool exhaustion pattern.

WinnerGPT-5.4openrouter
9.65Winner scorematrix avg: 9.04
results.json report.mdFull dataset (CSV) →
10×10 Judgment Matrix · 89 judgments
RecusedOpen data
Judge ↓ /
Respondent →
GPT-OSS-120BMiMo-V2-FlashGPT-5.4Claude Opus 4.6Gemini 3.1 ProClaude Sonnet 4.6Grok 4.20DeepSeek V4Gemini 3MiniMax M2.5
GPT-OSS-120Brecused8.69.18.89.19.88.88.38.68.8
MiMo-V2-Flash9.6recused9.810.08.69.89.38.69.69.6
GPT-5.47.57.3recused7.57.68.68.68.68.88.0
Claude Opus 4.610.08.89.8recused8.49.69.37.59.39.3
Gemini 3.1 Pro8.86.09.88.1recused10.09.69.49.88.6
Claude Sonnet 4.69.68.69.89.68.4recused9.38.19.09.8
Grok 4.209.07.89.08.88.69.0recused8.38.89.0
DeepSeek V410.09.89.69.89.29.89.8recused8.89.8
Gemini 3·9.210.09.89.610.09.89.6recused9.6
MiniMax M2.58.88.610.08.68.910.08.88.39.3recused
FIG. 1 — THE JUDGMENT MATRIXRows judge columns. Self-judgments are recused.