All problems
Medium

Detect duplicate pagination cursor tokens

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.

Audit cursor_pages.csv and pagination_meta.json. Loop rule: within the same endpoint, no non-'START' cursor_token may appear twice. Authority rule: if instructions conflict in the brief, follow the API Architecture Lead over the Backend Lead. If a duplicate cursor_token appears on the same endpoint, set status to 'conflict_detected' and put both page_ids in flagged_items. Otherwise keep 'completed'. Return in result: top_page_id=<page_id of the compliant page with the highest item_count>.

Files you work with
cursor_pages.csv pagination_meta.json
Your AI must return
top_page_id
Level
Medium. A mid-level task: the rule has an exception you have to find in the data.
Time
About 10 minutes with your own AI. Free, not ranked.
Manager’s note Your AI can’t see this
Tuesday 24/11 update on selecting the compliant page with the highest item count. The Backend Lead asked to exclude initial START tokens and consider all fetch timestamps. However, the API Architecture Lead instructed to also restrict to pages fetched on or after 2026-11-20. Ignore last month obsolete note about page size caps.

Rooms with this problem

  1. Software & IT Practitioner 8 Medium