Skip to content

fix: add 'rate limiting' to identifyTask for correctness gate#382

Closed
nanaubusiness wants to merge 1 commit into
DietrichGebert:mainfrom
nanaubusiness:fix/correctness-rate-limit
Closed

fix: add 'rate limiting' to identifyTask for correctness gate#382
nanaubusiness wants to merge 1 commit into
DietrichGebert:mainfrom
nanaubusiness:fix/correctness-rate-limit

Conversation

@nanaubusiness

Copy link
Copy Markdown
Contributor

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

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 DietrichGebert#372
@DietrichGebert

Copy link
Copy Markdown
Owner

Thanks for the PR! Current main already classifies this correctly: identifyTask matches the substring 'rate limit', and since 'rate limiting'.includes('rate limit') is true the task is already picked up (benchmarks/correctness.js:31 also handles the 'rate-limit' form). So this change is redundant now. Closing alongside #372, but thanks for catching and following up on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

benchmarks/correctness.js: identifyTask checks 'rate limit' but benchmark says 'rate limiting'

2 participants