All problems
Hard

Audit pagination page_size limits

Software & IT

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.py page_limits.yaml cursor_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

  1. Software & IT Expert 5 Hard