← Back to document 507

AI review — page 4

claude-opus-4-8 · prompt v7 · 2026-09-04T15:13:02+00:00 · applied: yes · changed: yes

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

Annotated page 4

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 4 json data:

{"items":[{"id":"p4.1","type":"figure","box":[2,2,22,17],"text":""},{"id":"p4.2","type":"heading","box":[15,11,74,15],"text":"Annual report 2023-24"},{"id":"p4.3","type":"text","box":[14,17,92,22],"text":"Every year we produce a report which provides an overview of what we've been doing to make sure our housing service delivers good quality, affordable homes that support people to live independently."},{"id":"p4.4","type":"caption","box":[15,24,53,26],"text":"Value for money Affordable homes"},{"id":"p4.5","type":"table","box":[15,26,93,51],"text":"","children":[{"id":"p4.5.1","type":"table_cell","box":[18,28,33,29],"text":"Size of property"},{"id":"p4.5.2","type":"table_cell","box":[41,26,67,31],"text":"Norwich City Councilhome: average weeklyrent (based on 52 weekrent year)"},{"id":"p4.5.3","type":"table_cell","box":[67,26,93,31],"text":"Norwich privatesector home: averageweekly rent (based on52 week rent year)*"},{"id":"p4.5.4","type":"table_cell","box":[21,37,27,38],"text":"1 bed"},{"id":"p4.5.5","type":"table_cell","box":[47,37,54,38],"text":"£81.60"},{"id":"p4.5.6","type":"table_cell","box":[77,37,82,38],"text":"£164"},{"id":"p4.5.7","type":"table_cell","box":[21,41,27,42],"text":"2 bed"},{"id":"p4.5.8","type":"table_cell","box":[47,41,54,42],"text":"£87.53"},{"id":"p4.5.9","type":"table_cell","box":[77,41,82,42],"text":"£206"},{"id":"p4.5.10","type":"table_cell","box":[21,44,27,46],"text":"3 bed"},{"id":"p4.5.11","type":"table_cell","box":[47,44,54,46],"text":"£96.62"},{"id":"p4.5.12","type":"table_cell","box":[77,44,82,46],"text":"£242"},{"id":"p4.5.13","type":"table_cell","box":[21,48,27,50],"text":"4 bed"},{"id":"p4.5.14","type":"table_cell","box":[46,48,55,50],"text":"£104.43"},{"id":"p4.5.15","type":"table_cell","box":[77,48,82,50],"text":"£342"}]},{"id":"p4.6","type":"heading","box":[16,57,28,59],"text":"Expenditure"},{"id":"p4.7","type":"text","box":[14,62,37,73],"text":"Income for the Housing Revenue Account (HRA) is generated from rental from houses and garages, service charges and rechargeable repairs."},{"id":"p4.8","type":"text","box":[14,75,38,90],"text":"The Housing Revenue\nAccount records\nexpenditure and income\non running the council's\nhousing stock and closely\nrelated services or facilities,\nwhich are provided for the\nbenefit of council tenants."},{"id":"p4.9","type":"figure","box":[40,57,94,90],"text":""},{"id":"p4.10","type":"footnote","box":[15,52,39,53],"text":"*Source: ONS as at end November 2024"},{"id":"p4.11","type":"footer","box":[7,95,32,97],"text":"4 · TLC magazine · Spring 2025"}]}

Model response

{"items":[{"id":"p4.1","type":"figure","box":[2,2,22,17],"text":""},{"id":"p4.2","type":"heading","box":[15,11,74,15],"text":"Annual report 2023-24"},{"id":"p4.3","type":"text","box":[14,17,92,22],"text":"Every year we produce a report which provides an overview of what we've been doing to make sure our housing service delivers good quality, affordable homes that support people to live independently."},{"id":"p4.4","type":"caption","box":[15,24,53,26],"text":"Value for money Affordable homes"},{"id":"p4.5","type":"table","box":[15,26,93,51],"text":"","children":[{"id":"p4.5.1","type":"table_cell","box":[18,28,33,29],"text":"Size of property"},{"id":"p4.5.2","type":"table_cell","box":[41,26,67,31],"text":"Norwich City Councilhome: average weeklyrent (based on 52 weekrent year)"},{"id":"p4.5.3","type":"table_cell","box":[67,26,93,31],"text":"Norwich privatesector home: averageweekly rent (based on52 week rent year)*"},{"id":"p4.5.4","type":"table_cell","box":[21,37,27,38],"text":"1 bed"},{"id":"p4.5.5","type":"table_cell","box":[47,37,54,38],"text":"£81.60"},{"id":"p4.5.6","type":"table_cell","box":[77,37,82,38],"text":"£164"},{"id":"p4.5.7","type":"table_cell","box":[21,41,27,42],"text":"2 bed"},{"id":"p4.5.8","type":"table_cell","box":[47,41,54,42],"text":"£87.53"},{"id":"p4.5.9","type":"table_cell","box":[77,41,82,42],"text":"£206"},{"id":"p4.5.10","type":"table_cell","box":[21,44,27,46],"text":"3 bed"},{"id":"p4.5.11","type":"table_cell","box":[47,44,54,46],"text":"£96.62"},{"id":"p4.5.12","type":"table_cell","box":[77,44,82,46],"text":"£242"},{"id":"p4.5.13","type":"table_cell","box":[21,48,27,50],"text":"4 bed"},{"id":"p4.5.14","type":"table_cell","box":[46,48,55,50],"text":"£104.43"},{"id":"p4.5.15","type":"table_cell","box":[77,48,82,50],"text":"£342"}]},{"id":"p4.10","type":"footnote","box":[15,52,39,53],"text":"*Source: ONS as at end November 2024"},{"id":"p4.6","type":"heading","box":[16,57,28,59],"text":"Expenditure"},{"id":"p4.7","type":"text","box":[14,62,37,73],"text":"Income for the Housing Revenue Account (HRA) is generated from rental from houses and garages, service charges and rechargeable repairs."},{"id":"p4.8","type":"text","box":[14,75,38,90],"text":"The Housing Revenue\nAccount records\nexpenditure and income\non running the council's\nhousing stock and closely\nrelated services or facilities,\nwhich are provided for the\nbenefit of council tenants."},{"id":"p4.9","type":"figure","box":[40,57,94,90],"text":""},{"id":"p4.11","type":"footer","box":[7,95,32,97],"text":"4 · TLC magazine · Spring 2025"}]}