From 24cfed9d76bb664ef94943eb04e808372a04be6b Mon Sep 17 00:00:00 2001 From: Admin Date: Sat, 27 Jun 2026 20:06:56 +0300 Subject: [PATCH] fix: add 'rate limiting' to identifyTask for correctness gate The benchmark prompt uses 'rate limiting' (with ING) but identifyTask only checked 'rate limit' and 'rate-limit'. The correctness gate was silently skipped for rate limit tasks. Closes #372 --- benchmarks/correctness.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/correctness.js b/benchmarks/correctness.js index fc566114..ed2ca25e 100644 --- a/benchmarks/correctness.js +++ b/benchmarks/correctness.js @@ -28,7 +28,7 @@ function identifyTask(task) { if (t.includes('debounce')) return 'debounce'; if (t.includes('csv') && t.includes('sum')) return 'csv'; if (t.includes('countdown') && t.includes('react')) return 'countdown'; - if (t.includes('rate limit') || t.includes('rate-limit')) return 'ratelimit'; + if (t.includes('rate limit') || t.includes('rate-limit') || t.includes('rate limiting')) return 'ratelimit'; return null; }