← Back to document 507

AI review โ€” page 12

claude-opus-4-8 ยท prompt v7 ยท 2026-09-04T15:13:28+00:00 ยท applied: yes ยท changed: yes

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

Annotated page 12

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

{"items":[{"id":"p12.1","type":"figure","box":[38,1,56,9],"text":""},{"id":"p12.2","type":"title","box":[3,3,33,14],"text":"Contacting Norwich City Council"},{"id":"p12.3","type":"title","box":[39,10,88,17],"text":"NIDAS Norfolk Integrated Domestic Abuse Service"},{"id":"p12.4","type":"text","box":[3,19,28,26],"text":"ONLINE You can report repairs, access council services and make online payments."},{"id":"p12.5","type":"text","box":[3,27,31,29],"text":"www.norwich.gov.uk"},{"id":"p12.6","type":"text","box":[3,33,32,44],"text":"Register for 'My Account' to check your rent and council tax balance. Take a look at 'My Norwich' to see what services are available in your area."},{"id":"p12.7","type":"text","box":[2,49,32,53],"text":"POST Norwich City Council, City Hall, Norwich NR2 1NH."},{"id":"p12.8","type":"text","box":[2,55,29,59],"text":"Out of hours emergencies: 01603 412180."},{"id":"p12.9","type":"text","box":[2,61,34,65],"text":"Free phone payment hotline: 0800 021 7784 (a 24/7 service)."},{"id":"p12.10","type":"text","box":[2,67,32,74],"text":"Money advisers: 0344 980 3333 or email budgetingandmoneyadvice@norwich.gov.uk"},{"id":"p12.11","type":"text","box":[2,76,25,83],"text":"Text relay users only:\n18001 01603 212587\n(9am to 4pm, Monday to Friday)."},{"id":"p12.12","type":"text","box":[2,85,31,96],"text":"Leaseholders:\nFor help and advice on your rights and responsibilities, email the home ownership team on HomeOwnership@norwich.gov.uk"},{"id":"p12.13","type":"heading","box":[39,18,59,21],"text":"At NIDAS we:"},{"id":"p12.14","type":"list","box":[39,21,86,34],"text":"","children":[{"id":"p12.14.1","type":"list_item","box":[39,21,83,25],"text":"Support victims of domestic abuse who are at high or medium risk of harm"},{"id":"p12.14.2","type":"list_item","box":[39,26,86,29],"text":"Support children and young people whose parents are being supported"},{"id":"p12.14.3","type":"list_item","box":[39,30,85,32],"text":"Provide a range of recovery programmes"},{"id":"p12.14.4","type":"list_item","box":[39,32,63,34],"text":"Offer court support"}]},{"id":"p12.15","type":"text","box":[39,34,89,42],"text":"Have a specialist team of Independent Domestic Abuse Advisors (IDVA) who also offer support to men, the LGBTQ+ community, diverse communities and older people"},{"id":"p12.16","type":"text","box":[39,42,87,44],"text":"Have a Domestic Abuse Champion Network"},{"id":"p12.17","type":"heading","box":[39,47,62,49],"text":"Core opening hours"},{"id":"p12.18","type":"list","box":[39,49,86,57],"text":"","children":[{"id":"p12.18.1","type":"list_item","box":[39,49,86,50],"text":"Weekdays: 9am โ€“ 6:30pm Weekends: 9am โ€“ 3pm"},{"id":"p12.18.2","type":"list_item","box":[39,51,62,53],"text":"Call: 0300 561 0555"},{"id":"p12.18.3","type":"list_item","box":[39,53,73,55],"text":"Out of hours: 0808 2000 247"},{"id":"p12.18.4","type":"list_item","box":[39,55,73,57],"text":"Visit: www.nidasnorfolk.co.uk"}]},{"id":"p12.19","type":"heading","box":[39,58,63,60],"text":"Supported in partnership by:"},{"id":"p12.20","type":"figure","box":[40,61,50,65],"text":"","children":[{"id":"p12.20.1","type":"text","box":[43,62,50,65],"text":"POLICE & CRIME COMMISSIONER\nFOR JUSTICE, FOR SAFETY, FOR NORFOLK\nNorfolk County Council"}]},{"id":"p12.21","type":"figure","box":[40,66,51,68],"text":""},{"id":"p12.22","type":"figure","box":[53,62,66,65],"text":""},{"id":"p12.23","type":"figure","box":[68,61,79,65],"text":"","children":[{"id":"p12.23.1","type":"text","box":[68,63,79,65],"text":"Community at heart"}]},{"id":"p12.24","type":"figure","box":[53,65,66,69],"text":"","children":[{"id":"p12.24.1","type":"text","box":[57,66,66,68],"text":"NORWICH City Council\nCommunity at heart"}]},{"id":"p12.25","type":"figure","box":[92,35,100,69],"text":""},{"id":"p12.26","type":"text","box":[39,71,65,73],"text":"Loss of gas or electricity?"},{"id":"p12.27","type":"text","box":[39,73,93,77],"text":"If you have lost your gas or electricity supply you should contact your energy supplier directly in the first instance."},{"id":"p12.28","type":"text","box":[39,81,95,87],"text":"Ever thought of renting a garage or space for your car?"},{"id":"p12.29","type":"text","box":[39,88,95,94],"text":"Norwich City Council offers a range of garages and lockable parking posts for rent across the city at competitive prices. These spaces are available to both residents and non-residents."},{"id":"p12.30","type":"text","box":[39,95,92,97],"text":"For more information, visit www.norwich.gov.uk/garages"}]}

Model response

{"items":[{"id":"p12.1","type":"figure","box":[38,1,56,9],"text":""},{"id":"p12.2","type":"title","box":[3,3,33,14],"text":"Contacting Norwich City Council"},{"id":"p12.4","type":"text","box":[3,19,28,26],"text":"ONLINE You can report repairs, access council services and make online payments."},{"id":"p12.5","type":"text","box":[3,27,31,29],"text":"www.norwich.gov.uk"},{"id":"p12.6","type":"text","box":[3,33,32,44],"text":"Register for 'My Account' to check your rent and council tax balance. Take a look at 'My Norwich' to see what services are available in your area."},{"id":"p12.7","type":"text","box":[2,49,32,53],"text":"POST Norwich City Council, City Hall, Norwich NR2 1NH."},{"id":"p12.8","type":"text","box":[2,55,29,59],"text":"Out of hours emergencies: 01603 412180."},{"id":"p12.9","type":"text","box":[2,61,34,65],"text":"Free phone payment hotline: 0800 021 7784 (a 24/7 service)."},{"id":"p12.10","type":"text","box":[2,67,32,74],"text":"Money advisers: 0344 980 3333 or email budgetingandmoneyadvice@norwich.gov.uk"},{"id":"p12.11","type":"text","box":[2,76,25,83],"text":"Text relay users only:\n18001 01603 212587\n(9am to 4pm, Monday to Friday)."},{"id":"p12.12","type":"text","box":[2,85,31,96],"text":"Leaseholders:\nFor help and advice on your rights and responsibilities, email the home ownership team on HomeOwnership@norwich.gov.uk"},{"id":"p12.3","type":"title","box":[39,10,88,17],"text":"NIDAS Norfolk Integrated Domestic Abuse Service"},{"id":"p12.13","type":"heading","box":[39,18,59,21],"text":"At NIDAS we:"},{"id":"p12.14","type":"list","box":[39,21,86,34],"text":"","children":[{"id":"p12.14.1","type":"list_item","box":[39,21,83,25],"text":"Support victims of domestic abuse who are at high or medium risk of harm"},{"id":"p12.14.2","type":"list_item","box":[39,26,86,29],"text":"Support children and young people whose parents are being supported"},{"id":"p12.14.3","type":"list_item","box":[39,30,85,32],"text":"Provide a range of recovery programmes"},{"id":"p12.14.4","type":"list_item","box":[39,32,63,34],"text":"Offer court support"}]},{"id":"p12.15","type":"text","box":[39,34,89,42],"text":"Have a specialist team of Independent Domestic Abuse Advisors (IDVA) who also offer support to men, the LGBTQ+ community, diverse communities and older people"},{"id":"p12.16","type":"text","box":[39,42,87,44],"text":"Have a Domestic Abuse Champion Network"},{"id":"p12.17","type":"heading","box":[39,47,62,49],"text":"Core opening hours"},{"id":"p12.18","type":"list","box":[39,49,86,57],"text":"","children":[{"id":"p12.18.1","type":"list_item","box":[39,49,86,50],"text":"Weekdays: 9am โ€“ 6:30pm Weekends: 9am โ€“ 3pm"},{"id":"p12.18.2","type":"list_item","box":[39,51,62,53],"text":"Call: 0300 561 0555"},{"id":"p12.18.3","type":"list_item","box":[39,53,73,55],"text":"Out of hours: 0808 2000 247"},{"id":"p12.18.4","type":"list_item","box":[39,55,73,57],"text":"Visit: www.nidasnorfolk.co.uk"}]},{"id":"p12.19","type":"heading","box":[39,58,63,60],"text":"Supported in partnership by:"},{"id":"p12.20","type":"figure","box":[40,61,50,65],"text":"","children":[{"id":"p12.20.1","type":"text","box":[43,62,50,65],"text":"POLICE & CRIME COMMISSIONER\nFOR JUSTICE, FOR SAFETY, FOR NORFOLK\nNorfolk County Council"}]},{"id":"p12.21","type":"figure","box":[40,66,51,68],"text":""},{"id":"p12.22","type":"figure","box":[53,62,66,65],"text":""},{"id":"p12.23","type":"figure","box":[68,61,79,65],"text":"","children":[{"id":"p12.23.1","type":"text","box":[68,63,79,65],"text":"Community at heart"}]},{"id":"p12.24","type":"figure","box":[53,65,66,69],"text":"","children":[{"id":"p12.24.1","type":"text","box":[57,66,66,68],"text":"NORWICH City Council\nCommunity at heart"}]},{"id":"p12.25","type":"figure","box":[92,35,100,69],"text":""},{"id":"p12.26","type":"text","box":[39,71,65,73],"text":"Loss of gas or electricity?"},{"id":"p12.27","type":"text","box":[39,73,93,77],"text":"If you have lost your gas or electricity supply you should contact your energy supplier directly in the first instance."},{"id":"p12.28","type":"text","box":[39,81,95,87],"text":"Ever thought of renting a garage or space for your car?"},{"id":"p12.29","type":"text","box":[39,88,95,94],"text":"Norwich City Council offers a range of garages and lockable parking posts for rent across the city at competitive prices. These spaces are available to both residents and non-residents."},{"id":"p12.30","type":"text","box":[39,95,92,97],"text":"For more information, visit www.norwich.gov.uk/garages"}]}