← Back to document 504

AI review — page 7

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

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

Annotated page 7

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

{"items":[{"id":"p7.1","type":"title","box":[12,11,81,17],"text":"2. Gambling Behaviour and Participation in Great Britain (GSGB 2024–26)"},{"id":"p7.2","type":"text","box":[20,18,88,20],"text":"Source: Gambling Commission's Gambling Survey for Great Britain (GSGB)"},{"id":"p7.3","type":"text","box":[12,21,88,29],"text":"The Gambling Survey for Great Britain (GSGB) is now the official national dataset for population-level gambling statistics in Great Britain. It replaces previous Health Survey-based measures and uses a large, online-first, nationally representative sampling framework. Approximately 20,000 adults are surveyed annually."},{"id":"p7.4","type":"text","box":[12,30,39,31],"text":"The latest findings come from:"},{"id":"p7.5","type":"list","box":[15,33,78,37],"text":"","children":[{"id":"p7.5.1","type":"list_item","box":[15,33,78,34],"text":"• GSGB Annual Report Year 2 (2024) (Gambling Commission, 2025)"},{"id":"p7.5.2","type":"list_item","box":[15,35,68,37],"text":"• Wave 3 (Jul–Oct 2025) – (Gambling Commission, 2026)"}]},{"id":"p7.6","type":"heading","box":[12,42,50,44],"text":"2.1 Gambling Participation Trends"},{"id":"p7.7","type":"heading","box":[12,45,41,47],"text":"2.1.1 Overall Participation"},{"id":"p7.8","type":"list","box":[15,48,88,72],"text":"","children":[{"id":"p7.8.1","type":"list_item","box":[15,48,88,53],"text":"- Nearly half (48 percent) of survey participants aged 18 and over participated in any form of gambling in the past four weeks. Gambling participation was 28 percent when those who only participated in lottery draws were excluded."},{"id":"p7.8.2","type":"list_item","box":[15,55,87,63],"text":"Participants were more likely to gamble online than gamble in person (38 percent and 29 percent respectively), however, much of this difference was accounted for by people purchasing lottery tickets online. When lottery draws are removed, 18 percent of participants had gambled in person, compared with 16 percent online."},{"id":"p7.8.3","type":"list_item","box":[15,65,88,72],"text":"The mean number of activities for those who had participated in gambling in the past 4 weeks was 2.4 activities. The most commonly reported activities were the National Lottery (31 percent), buying tickets for other charity lotteries (16 percent), and buying scratchcards (13 percent)."}]},{"id":"p7.9","type":"text","box":[60,71,88,73],"text":"(Gambling Commission, 2025)"},{"id":"p7.10","type":"heading","box":[12,75,43,77],"text":"2.1.2 Demographic Patterns"},{"id":"p7.11","type":"text","box":[12,78,65,80],"text":"Participation varies noticeably across demographic groups:"},{"id":"p7.12","type":"list","box":[15,81,87,90],"text":"","children":[{"id":"p7.12.1","type":"list_item","box":[15,81,65,82],"text":"• Men continue to gamble at higher rates than women."},{"id":"p7.12.2","type":"list_item","box":[15,84,87,87],"text":"- When lotteries are included, the highest participation is among men aged 45–54."},{"id":"p7.12.3","type":"list_item","box":[15,88,83,90],"text":"- When excluding lotteries, highest participation shifts to men aged 35–44."}]},{"id":"p7.13","type":"footer","box":[49,93,51,94],"text":"6"}]}

Model response

{"items":[{"id":"p7.1","type":"title","box":[12,11,81,17],"text":"2. Gambling Behaviour and Participation in Great Britain (GSGB 2024–26)"},{"id":"p7.2","type":"text","box":[20,18,88,20],"text":"Source: Gambling Commission's Gambling Survey for Great Britain (GSGB)"},{"id":"p7.3","type":"text","box":[12,21,88,29],"text":"The Gambling Survey for Great Britain (GSGB) is now the official national dataset for population-level gambling statistics in Great Britain. It replaces previous Health Survey-based measures and uses a large, online-first, nationally representative sampling framework. Approximately 20,000 adults are surveyed annually."},{"id":"p7.4","type":"text","box":[12,30,39,31],"text":"The latest findings come from:"},{"id":"p7.5","type":"list","box":[15,33,78,37],"text":"","children":[{"id":"p7.5.1","type":"list_item","box":[15,33,78,34],"text":"• GSGB Annual Report Year 2 (2024) (Gambling Commission, 2025)"},{"id":"p7.5.2","type":"list_item","box":[15,35,68,37],"text":"• Wave 3 (Jul–Oct 2025) – (Gambling Commission, 2026)"}]},{"id":"p7.6","type":"heading","box":[12,42,50,44],"text":"2.1 Gambling Participation Trends"},{"id":"p7.7","type":"heading","box":[12,45,41,47],"text":"2.1.1 Overall Participation"},{"id":"p7.8","type":"list","box":[15,48,88,72],"text":"","children":[{"id":"p7.8.1","type":"list_item","box":[15,48,88,53],"text":"• Nearly half (48 percent) of survey participants aged 18 and over participated in any form of gambling in the past four weeks. Gambling participation was 28 percent when those who only participated in lottery draws were excluded."},{"id":"p7.8.2","type":"list_item","box":[15,55,87,63],"text":"• Participants were more likely to gamble online than gamble in person (38 percent and 29 percent respectively), however, much of this difference was accounted for by people purchasing lottery tickets online. When lottery draws are removed, 18 percent of participants had gambled in person, compared with 16 percent online."},{"id":"p7.8.3","type":"list_item","box":[15,65,88,72],"text":"• The mean number of activities for those who had participated in gambling in the past 4 weeks was 2.4 activities. The most commonly reported activities were the National Lottery (31 percent), buying tickets for other charity lotteries (16 percent), and buying scratchcards (13 percent)."}]},{"id":"p7.9","type":"text","box":[60,71,88,73],"text":"(Gambling Commission, 2025)"},{"id":"p7.10","type":"heading","box":[12,75,43,77],"text":"2.1.2 Demographic Patterns"},{"id":"p7.11","type":"text","box":[12,78,65,80],"text":"Participation varies noticeably across demographic groups:"},{"id":"p7.12","type":"list","box":[15,81,87,90],"text":"","children":[{"id":"p7.12.1","type":"list_item","box":[15,81,65,82],"text":"• Men continue to gamble at higher rates than women."},{"id":"p7.12.2","type":"list_item","box":[15,84,87,87],"text":"• When lotteries are included, the highest participation is among men aged 45–54."},{"id":"p7.12.3","type":"list_item","box":[15,88,83,90],"text":"• When excluding lotteries, highest participation shifts to men aged 35–44."}]},{"id":"p7.13","type":"footer","box":[49,93,51,94],"text":"6"}]}