← Back to document 495

AI review — page 1

claude-opus-4-8 · prompt v7 · 2026-09-02T18:28:39+00:00 · applied: yes · changed: yes

Screenshot sent to the model (reading-order tags burned on)

Annotated page 1

Instructions (system prompt)

The screenshot has annotations burned onto it that are NOT part of the document:
- a small red numbered tag at the top-left corner of each item, showing that item's position in the OCR-determined reading order (the same order the items appear in the json data);
- a red-and-white dotted outline around each item, showing the area the OCR detected for that content block.
Use the tags and outlines to see the detected reading order and item boundaries directly on the page, and judge that sequence against how a human would naturally read it. Ignore the annotations when checking text fidelity — they overlay the content, they are not content.

For the given screenshot of a PDF's page and the attached json data, I want you to perform the following tasks in order...

Review the reading order set out in the json data and compare to what a natural reading order for that of a human would be by looking at the screenshot. Decide on any changes and re-arrange the items for the most logical reading order.
Look at all text for each item and correct any extraction errors like missing words, spelling mistakes etc.
Look at each item in the JSON and ensure that the OCR process has identified the item as the correct type: text, list item etc.
Look for any text that duplicates: if two items next to each other contain the exact same text but the text only appears once on the screenshot, one of them is an extraction error — keep the item whose box matches where the text is visible and flag the other for removal.
Make amendments as you proceed through the items and list of instructions.
Reading Order Advice: If there is columns with headings and text, I wouldnt expect the reading order to jump from one heading straight to another if there is text associated with that heading.

Return format: Give me the json data back only, with the amendments you make.

Mechanical notes (so your answer can be applied automatically):
- Each item has an `id` — keep every item and its `id` exactly as given; never invent, drop or duplicate ids. Re-arranging means changing the position of items (and their nesting) in the arrays.
- Never move text (or a type) from one item to another: each item's coordinates travel with its id, so to change reading order you must move the whole item object, and text amendments must be in-place corrections of that item's own text.
- To flag a duplicate item, keep it in the array and add `"remove": "duplicate"` to it — never just delete it (deleted items are restored automatically).
- ids are opaque labels, not sequence numbers: never renumber them. After a removal or re-arrangement, every remaining item keeps the exact id it came with, even if the ids no longer look sequential.
- Text may contain `[pN.M…]` placeholders marking where an inline formula belongs — treat them as part of the text and leave them exactly where they are.
- `box` is [left, top, right, bottom] as percentages of the page from the top-left corner; return it unchanged.
- Respond with raw JSON only: no code fences, no commentary, same shape as the input (`{"items": [...]}`).

User message (json data sent)

Page 1 json data:

{"items":[{"id":"p1.1","type":"figure","box":[5,4,27,8],"text":""},{"id":"p1.2","type":"title","box":[5,12,80,20],"text":"FX Conversion Rates\nWeekly conversion rates for your payment charges"},{"id":"p1.3","type":"figure","box":[6,23,94,39],"text":"","children":[{"id":"p1.3.1","type":"text","box":[65,35,68,39],"text":"2020"},{"id":"p1.3.2","type":"text","box":[69,36,87,39],"text":"##"}]},{"id":"p1.4","type":"text","box":[6,40,18,99],"text":"July 2024\nJune 2024\nMay 2024\nApril 2024\nMarch 2024\nFebruary 2024\nJanuary 2024\nDecember 2023\nNovember 2023\nOctober 2023\nSeptember 2023\nAugust 2023\nJuly 2023\nJune 2023\nMay 2023\nApril 2023\nMarch 2023\nFebruary 2023\nJanuary 2023\nDecember 2022\nNovember 2022\nOctober 2022\nSeptember 2022\nAugust 2022\nJuly 2022\nJune 2022\nMay 2022\nApril 2022\nMarch 2022\nFebruary 2022\nJanuary 2022\nDecember 2021"},{"id":"p1.5","type":"text","box":[92,40,94,99],"text":"2\n4\n12\n20\n30\n38\n46\n56\n64\n72\n82\n90\n98\n108\n116\n126\n134\n142\n150\n160\n168\n176\n186\n194\n204\n212\n220\n230\n238\n246\n254\n264"},{"id":"p1.6","type":"link","box":[6,42,94,43],"text":"June 2024 4"},{"id":"p1.7","type":"link","box":[6,44,94,45],"text":"May 2024 12"},{"id":"p1.8","type":"link","box":[6,45,94,47],"text":"April 2024 20"},{"id":"p1.9","type":"link","box":[10,47,94,49],"text":"2024 30"},{"id":"p1.10","type":"link","box":[6,49,94,50],"text":"February 2024 38"},{"id":"p1.11","type":"link","box":[6,51,94,52],"text":"January 2024 46"},{"id":"p1.12","type":"link","box":[13,53,93,54],"text":"2023"},{"id":"p1.13","type":"link","box":[13,55,94,56],"text":"2023 64"},{"id":"p1.14","type":"link","box":[12,56,94,58],"text":"2023 72"},{"id":"p1.15","type":"link","box":[6,58,94,60],"text":"September 2023 82"},{"id":"p1.16","type":"link","box":[6,60,94,62],"text":"August 2023 90"},{"id":"p1.17","type":"link","box":[6,62,94,63],"text":"July 2023 98"},{"id":"p1.18","type":"link","box":[6,64,94,65],"text":"June 2023 108"},{"id":"p1.19","type":"link","box":[6,66,94,67],"text":"May 2023 116"},{"id":"p1.20","type":"link","box":[6,68,94,69],"text":"April 2023 126"},{"id":"p1.21","type":"link","box":[6,69,94,71],"text":"March 2023 134"},{"id":"p1.22","type":"link","box":[6,71,94,73],"text":"February 2023 142"},{"id":"p1.23","type":"link","box":[6,73,94,75],"text":"January 2023 150"},{"id":"p1.24","type":"link","box":[6,75,94,76],"text":"December 2022 160"},{"id":"p1.25","type":"link","box":[6,77,94,78],"text":"November 2022 168"},{"id":"p1.26","type":"link","box":[6,79,94,80],"text":"October 2022 176"},{"id":"p1.27","type":"link","box":[6,81,94,82],"text":"September 2022 186"},{"id":"p1.28","type":"link","box":[6,82,92,84],"text":"August 2022"},{"id":"p1.29","type":"link","box":[6,84,92,86],"text":"July 2022"},{"id":"p1.30","type":"link","box":[6,86,92,87],"text":"June 2022"},{"id":"p1.31","type":"link","box":[6,88,92,89],"text":"May 2022"},{"id":"p1.32","type":"link","box":[6,90,92,91],"text":"April 2022"},{"id":"p1.33","type":"link","box":[6,92,92,93],"text":"March 2022"},{"id":"p1.34","type":"link","box":[6,93,92,95],"text":"February 2022"},{"id":"p1.35","type":"link","box":[6,95,92,97],"text":"January 2022"},{"id":"p1.36","type":"link","box":[6,97,92,99],"text":"December 2021"}]}

Model response

{"items":[{"id":"p1.1","type":"figure","box":[5,4,27,8],"text":""},{"id":"p1.2","type":"title","box":[5,12,80,20],"text":"FX Conversion Rates\nWeekly conversion rates for your payment charges"},{"id":"p1.3","type":"figure","box":[6,23,94,39],"text":"","children":[{"id":"p1.3.1","type":"text","box":[65,35,68,39],"text":"2020"},{"id":"p1.3.2","type":"text","box":[69,36,87,39],"text":"##"}]},{"id":"p1.4","type":"text","box":[6,40,18,99],"text":"July 2024\nJune 2024\nMay 2024\nApril 2024\nMarch 2024\nFebruary 2024\nJanuary 2024\nDecember 2023\nNovember 2023\nOctober 2023\nSeptember 2023\nAugust 2023\nJuly 2023\nJune 2023\nMay 2023\nApril 2023\nMarch 2023\nFebruary 2023\nJanuary 2023\nDecember 2022\nNovember 2022\nOctober 2022\nSeptember 2022\nAugust 2022\nJuly 2022\nJune 2022\nMay 2022\nApril 2022\nMarch 2022\nFebruary 2022\nJanuary 2022\nDecember 2021"},{"id":"p1.5","type":"text","box":[92,40,94,99],"text":"2\n4\n12\n20\n30\n38\n46\n56\n64\n72\n82\n90\n98\n108\n116\n126\n134\n142\n150\n160\n168\n176\n186\n194\n204\n212\n220\n230\n238\n246\n254\n264"},{"id":"p1.6","type":"link","box":[6,42,94,43],"text":"June 2024 4","remove":"duplicate"},{"id":"p1.7","type":"link","box":[6,44,94,45],"text":"May 2024 12","remove":"duplicate"},{"id":"p1.8","type":"link","box":[6,45,94,47],"text":"April 2024 20","remove":"duplicate"},{"id":"p1.9","type":"link","box":[10,47,94,49],"text":"2024 30","remove":"duplicate"},{"id":"p1.10","type":"link","box":[6,49,94,50],"text":"February 2024 38","remove":"duplicate"},{"id":"p1.11","type":"link","box":[6,51,94,52],"text":"January 2024 46","remove":"duplicate"},{"id":"p1.12","type":"link","box":[13,53,93,54],"text":"2023","remove":"duplicate"},{"id":"p1.13","type":"link","box":[13,55,94,56],"text":"2023 64","remove":"duplicate"},{"id":"p1.14","type":"link","box":[12,56,94,58],"text":"2023 72","remove":"duplicate"},{"id":"p1.15","type":"link","box":[6,58,94,60],"text":"September 2023 82","remove":"duplicate"},{"id":"p1.16","type":"link","box":[6,60,94,62],"text":"August 2023 90","remove":"duplicate"},{"id":"p1.17","type":"link","box":[6,62,94,63],"text":"July 2023 98","remove":"duplicate"},{"id":"p1.18","type":"link","box":[6,64,94,65],"text":"June 2023 108","remove":"duplicate"},{"id":"p1.19","type":"link","box":[6,66,94,67],"text":"May 2023 116","remove":"duplicate"},{"id":"p1.20","type":"link","box":[6,68,94,69],"text":"April 2023 126","remove":"duplicate"},{"id":"p1.21","type":"link","box":[6,69,94,71],"text":"March 2023 134","remove":"duplicate"},{"id":"p1.22","type":"link","box":[6,71,94,73],"text":"February 2023 142","remove":"duplicate"},{"id":"p1.23","type":"link","box":[6,73,94,75],"text":"January 2023 150","remove":"duplicate"},{"id":"p1.24","type":"link","box":[6,75,94,76],"text":"December 2022 160","remove":"duplicate"},{"id":"p1.25","type":"link","box":[6,77,94,78],"text":"November 2022 168","remove":"duplicate"},{"id":"p1.26","type":"link","box":[6,79,94,80],"text":"October 2022 176","remove":"duplicate"},{"id":"p1.27","type":"link","box":[6,81,94,82],"text":"September 2022 186","remove":"duplicate"},{"id":"p1.28","type":"link","box":[6,82,92,84],"text":"August 2022","remove":"duplicate"},{"id":"p1.29","type":"link","box":[6,84,92,86],"text":"July 2022","remove":"duplicate"},{"id":"p1.30","type":"link","box":[6,86,92,87],"text":"June 2022","remove":"duplicate"},{"id":"p1.31","type":"link","box":[6,88,92,89],"text":"May 2022","remove":"duplicate"},{"id":"p1.32","type":"link","box":[6,90,92,91],"text":"April 2022","remove":"duplicate"},{"id":"p1.33","type":"link","box":[6,92,92,93],"text":"March 2022","remove":"duplicate"},{"id":"p1.34","type":"link","box":[6,93,92,95],"text":"February 2022","remove":"duplicate"},{"id":"p1.35","type":"link","box":[6,95,92,97],"text":"January 2022","remove":"duplicate"},{"id":"p1.36","type":"link","box":[6,97,92,99],"text":"December 2021","remove":"duplicate"}]}