← Back to document 504
AI review โ page 4
claude-opus-4-8 ยท prompt v7 ยท 2026-09-04T15:08:33+00:00 ยท applied: yes ยท changed: yes
Screenshot sent to the model (reading-order tags burned on)
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":"text","box":[13,11,88,91],"text":"1.1 Licensing Objectives ..... 5\n1.2 Requirement for a Statement of Principles ..... 5\n2.1 Gambling Participation Trends ..... 6\n2.1.1 Overall Participation ..... 6\n2.1.2 Demographic Patterns ..... 6\n2.2 Popular Gambling Activities ..... 7\n2.3 Motivations for Gambling ..... 7\n2.4 Gambling-Related Risks and Harm ..... 7\n2.4.1 Problem Gambling Severity Index (PGSI) Scores ..... 7\n2.4.2 Risks by Product Type ..... 8\n2.5 Conclusions โ National Gambling Context ..... 8\n3.1 Location and Administrative Context ..... 9\nFigure 3.1a โ Map showing the ward boundaries in the City of Norwich ..... 10\n3.2 Population Overview ..... 10\n3.4 Age Structure ..... 10\n3.5 Ethnicity ..... 11\n3.6 Religion ..... 11\n3.7 Households and Housing ..... 11\n3.8 Economic and Demographic Trends (Norwich City Council, 2024; CT Data Haven, 2025) ..... 12\n3.9 Norwich Summary ..... 12\n4.1 Young People ..... 12\n4.1.1 Local Context ..... 13\n4.2 People from Ethnic Minority Backgrounds ..... 13\n4.2.1 Local Context ..... 13\n4.3 People Living in Deprived Areas ..... 14\n4.3.1 Local Context ..... 14\n4.4 Crime, Disorder and Gambling ..... 14\n4.4.1 Local Context ..... 14\n4.4.2 What Applicants Are Expected to Demonstrate ..... Error! Bookmark not defined.\n4.5 People with Substance Use Issues ..... 14","children":[{"id":"p4.1.1","type":"link","box":[14,11,88,13],"text":"1.1 Licensing Objectives ...................................................................................... 5"},{"id":"p4.1.2","type":"link","box":[14,13,88,16],"text":"1.2 Requirement for a Statement of Principles ................................................... 5"},{"id":"p4.1.3","type":"link","box":[14,16,88,18],"text":"2.1 Gambling Participation Trends ...................................................................... 6"},{"id":"p4.1.4","type":"link","box":[14,18,88,21],"text":"2.1.1 Overall Participation .................................................................................... 6"},{"id":"p4.1.5","type":"link","box":[14,21,88,24],"text":"2.1.2 Demographic Patterns ................................................................................. 6"},{"id":"p4.1.6","type":"link","box":[14,24,88,26],"text":"2.2 Popular Gambling Activities .......................................................................... 7"},{"id":"p4.1.7","type":"link","box":[14,26,88,29],"text":"2.3 Motivations for Gambling ............................................................................... 7"},{"id":"p4.1.8","type":"link","box":[14,29,88,31],"text":"2.4 Gambling-Related Risks and Harm ............................................................... 7"},{"id":"p4.1.9","type":"link","box":[14,31,88,34],"text":"2.4.1 Problem Gambling Severity Index (PGSI) Scores ..................................... 7"},{"id":"p4.1.10","type":"link","box":[14,34,88,36],"text":"2.4.2 Risks by Product Type ................................................................................ 8"},{"id":"p4.1.11","type":"link","box":[14,36,88,39],"text":"โ 2.5 Conclusions National Gambling Context ................................................... 8"},{"id":"p4.1.12","type":"link","box":[14,39,88,42],"text":"3.1 Location and Administrative Context ............................................................ 9"},{"id":"p4.1.13","type":"link","box":[14,42,88,44],"text":"โ Figure 3.1a Map showing the ward boundaries in the City of Norwich ....... 10"},{"id":"p4.1.14","type":"link","box":[14,44,88,47],"text":"3.2 Population Overview..................................................................................... 10"},{"id":"p4.1.15","type":"link","box":[14,47,88,49],"text":"3.4 Age Structure ................................................................................................ 10"},{"id":"p4.1.16","type":"link","box":[14,49,88,52],"text":"3.5 Ethnicity ......................................................................................................... 11"},{"id":"p4.1.17","type":"link","box":[14,52,88,55],"text":"3.6 Religion .......................................................................................................... 11"},{"id":"p4.1.18","type":"link","box":[14,55,88,57],"text":"3.7 Households and Housing ............................................................................. 11"},{"id":"p4.1.19","type":"link","box":[14,57,89,59],"text":"3.8 Economic and Demographic Trends (Norwich City Council, 2024; CT Data"},{"id":"p4.1.20","type":"link","box":[12,59,88,61],"text":"Haven, 2025). ....................................................................................................... 12"},{"id":"p4.1.21","type":"link","box":[14,61,88,64],"text":"3.9 Norwich Summary ........................................................................................ 12"},{"id":"p4.1.22","type":"link","box":[14,64,88,67],"text":"4.1 Young People ................................................................................................ 12"},{"id":"p4.1.23","type":"link","box":[14,67,88,69],"text":"4.1.1 Local Context ............................................................................................. 13"},{"id":"p4.1.24","type":"link","box":[14,69,88,72],"text":"4.2 People from Ethnic Minority Backgrounds ................................................. 13"},{"id":"p4.1.25","type":"link","box":[14,72,88,74],"text":"4.2.1 Local Context ............................................................................................. 13"},{"id":"p4.1.26","type":"link","box":[14,74,88,77],"text":"4.3 People Living in Deprived Areas ................................................................. 14"},{"id":"p4.1.27","type":"link","box":[14,77,88,80],"text":"4.3.1 Local Context ............................................................................................. 14"},{"id":"p4.1.28","type":"link","box":[14,80,88,82],"text":"4.4 Crime, Disorder and Gambling .................................................................... 14"},{"id":"p4.1.29","type":"link","box":[14,82,88,85],"text":"4.4.1 Local Context ............................................................................................. 14"},{"id":"p4.1.30","type":"link","box":[14,89,88,92],"text":"4.5 People with Substance Use Issues ............................................................. 14"}]},{"id":"p4.2","type":"footer","box":[49,93,51,94],"text":"3"}]}
Model response
{"items":[{"id":"p4.1","type":"text","box":[13,11,88,91],"text":"1.1 Licensing Objectives ..... 5\n1.2 Requirement for a Statement of Principles ..... 5\n2.1 Gambling Participation Trends ..... 6\n2.1.1 Overall Participation ..... 6\n2.1.2 Demographic Patterns ..... 6\n2.2 Popular Gambling Activities ..... 7\n2.3 Motivations for Gambling ..... 7\n2.4 Gambling-Related Risks and Harm ..... 7\n2.4.1 Problem Gambling Severity Index (PGSI) Scores ..... 7\n2.4.2 Risks by Product Type ..... 8\n2.5 Conclusions โ National Gambling Context ..... 8\n3.1 Location and Administrative Context ..... 9\nFigure 3.1a โ Map showing the ward boundaries in the City of Norwich ..... 10\n3.2 Population Overview ..... 10\n3.4 Age Structure ..... 10\n3.5 Ethnicity ..... 11\n3.6 Religion ..... 11\n3.7 Households and Housing ..... 11\n3.8 Economic and Demographic Trends (Norwich City Council, 2024; CT Data Haven, 2025) ..... 12\n3.9 Norwich Summary ..... 12\n4.1 Young People ..... 12\n4.1.1 Local Context ..... 13\n4.2 People from Ethnic Minority Backgrounds ..... 13\n4.2.1 Local Context ..... 13\n4.3 People Living in Deprived Areas ..... 14\n4.3.1 Local Context ..... 14\n4.4 Crime, Disorder and Gambling ..... 14\n4.4.1 Local Context ..... 14\n4.4.2 What Applicants Are Expected to Demonstrate ..... Error! Bookmark not defined.\n4.5 People with Substance Use Issues ..... 14","children":[{"id":"p4.1.1","type":"link","box":[14,11,88,13],"text":"1.1 Licensing Objectives ...................................................................................... 5"},{"id":"p4.1.2","type":"link","box":[14,13,88,16],"text":"1.2 Requirement for a Statement of Principles ................................................... 5"},{"id":"p4.1.3","type":"link","box":[14,16,88,18],"text":"2.1 Gambling Participation Trends ...................................................................... 6"},{"id":"p4.1.4","type":"link","box":[14,18,88,21],"text":"2.1.1 Overall Participation .................................................................................... 6"},{"id":"p4.1.5","type":"link","box":[14,21,88,24],"text":"2.1.2 Demographic Patterns ................................................................................. 6"},{"id":"p4.1.6","type":"link","box":[14,24,88,26],"text":"2.2 Popular Gambling Activities .......................................................................... 7"},{"id":"p4.1.7","type":"link","box":[14,26,88,29],"text":"2.3 Motivations for Gambling ............................................................................... 7"},{"id":"p4.1.8","type":"link","box":[14,29,88,31],"text":"2.4 Gambling-Related Risks and Harm ............................................................... 7"},{"id":"p4.1.9","type":"link","box":[14,31,88,34],"text":"2.4.1 Problem Gambling Severity Index (PGSI) Scores ..................................... 7"},{"id":"p4.1.10","type":"link","box":[14,34,88,36],"text":"2.4.2 Risks by Product Type ................................................................................ 8"},{"id":"p4.1.11","type":"link","box":[14,36,88,39],"text":"2.5 Conclusions โ National Gambling Context ................................................... 8"},{"id":"p4.1.12","type":"link","box":[14,39,88,42],"text":"3.1 Location and Administrative Context ............................................................ 9"},{"id":"p4.1.13","type":"link","box":[14,42,88,44],"text":"Figure 3.1a โ Map showing the ward boundaries in the City of Norwich ....... 10"},{"id":"p4.1.14","type":"link","box":[14,44,88,47],"text":"3.2 Population Overview..................................................................................... 10"},{"id":"p4.1.15","type":"link","box":[14,47,88,49],"text":"3.4 Age Structure ................................................................................................ 10"},{"id":"p4.1.16","type":"link","box":[14,49,88,52],"text":"3.5 Ethnicity ......................................................................................................... 11"},{"id":"p4.1.17","type":"link","box":[14,52,88,55],"text":"3.6 Religion .......................................................................................................... 11"},{"id":"p4.1.18","type":"link","box":[14,55,88,57],"text":"3.7 Households and Housing ............................................................................. 11"},{"id":"p4.1.19","type":"link","box":[14,57,89,59],"text":"3.8 Economic and Demographic Trends (Norwich City Council, 2024; CT Data"},{"id":"p4.1.20","type":"link","box":[12,59,88,61],"text":"Haven, 2025). ....................................................................................................... 12"},{"id":"p4.1.21","type":"link","box":[14,61,88,64],"text":"3.9 Norwich Summary ........................................................................................ 12"},{"id":"p4.1.22","type":"link","box":[14,64,88,67],"text":"4.1 Young People ................................................................................................ 12"},{"id":"p4.1.23","type":"link","box":[14,67,88,69],"text":"4.1.1 Local Context ............................................................................................. 13"},{"id":"p4.1.24","type":"link","box":[14,69,88,72],"text":"4.2 People from Ethnic Minority Backgrounds ................................................. 13"},{"id":"p4.1.25","type":"link","box":[14,72,88,74],"text":"4.2.1 Local Context ............................................................................................. 13"},{"id":"p4.1.26","type":"link","box":[14,74,88,77],"text":"4.3 People Living in Deprived Areas ................................................................. 14"},{"id":"p4.1.27","type":"link","box":[14,77,88,80],"text":"4.3.1 Local Context ............................................................................................. 14"},{"id":"p4.1.28","type":"link","box":[14,80,88,82],"text":"4.4 Crime, Disorder and Gambling .................................................................... 14"},{"id":"p4.1.29","type":"link","box":[14,82,88,85],"text":"4.4.1 Local Context ............................................................................................. 14"},{"id":"p4.1.30","type":"link","box":[14,89,88,92],"text":"4.5 People with Substance Use Issues ............................................................. 14"}]},{"id":"p4.2","type":"footer","box":[49,93,51,94],"text":"3"}]}