Hard
Audit pagination page_size limits
The task
This is the brief your AI gets. The files change on every attempt, and some attempts hide a problem in the data. Which ones is not revealed.
Check paginator.py, page_limits.yaml, and cursor_requests.log. Rule: every request must have page_size <= max_page_size (100). If any request exceeds 100, set status to 'conflict_detected' and put its req_id in flagged_items. Otherwise keep 'completed'. Return in result: has_next_pct=<rounded integer percentage of compliant requests with has_next=true>.
- Files you work with
paginator.pypage_limits.yamlcursor_requests.log- Your AI must return
has_next_pct- Level
- Hard. A hard task: several details interact, and a quick skim gives a confident wrong answer.
- Time
- About 10 minutes with your own AI. Free, not ranked.
Manager’s note
Your AI can’t see this
Wednesday 25/11 update on the percentage of compliant requests with a next page. When computing the percentage, leave the export endpoint out of both numerator and denominator. Someone asked whether to drop staging requests too; I said no, keep them in. Still validate page size limits across all log lines.
Rooms with this problem
More Software & IT problems
- Validate webhook URLs against SSRF Hard
- Find command injection in CI workflows Hard
- Check API changes for breaking changes Hard
- Check cron jobs against the off-peak window Hard
- Check JWT verification settings Hard
All Software & IT problems → · Using TraceGrade for Software & IT hiring