# Synthetic SQLite debugging fixture All rows, labels and amounts are invented. No customer records, credentials, external connection strings or API calls are included. Question: why does adding order shipping after a join overcount the first customer? The optional verifier uses only Python’s standard sqlite3 module and an in-memory database. Run verify_fixture.py from this extracted pack to check the unchanged SQL, both expected query outputs and two constraints. It does not open an existing database or use a network. Changed SQL is rejected by hash. Review fixture.sql, overcounting-query.sql and correct-query.sql with the expected CSV files. If you choose to share the example with an approved AI client, share only these synthetic files and the question. Treat a suggested query as something to validate locally, not a verified production fix. ## Guide and sources Canonical guide: https://aona.ai/resources/guides/database-fixtures-ai-debugging/ Source review: 2026-09-21 - SQLite: Foreign Key Support: https://www.sqlite.org/foreignkeys.html - SQLite: SELECT: https://www.sqlite.org/lang_select.html - OAIC: Use of commercially available AI products: https://www.oaic.gov.au/privacy/privacy-guidance-for-organisations-and-government-agencies/guidance-on-privacy-and-the-use-of-commercially-available-ai-products