AI-assisted original teaching exercise. All nine inputs, including the conflict strings, are synthetic. No client data or live account result is used.
Check a conflict before forwarding an export sample
An export sample carries is_anonymized_query=true and also contains query text. Do not copy that text into a client slide merely because another column labels the row anonymous. First retain the original privately, review the extraction step and send a classification-only issue record. This exercise makes that small handover possible without printing the supplied query strings. It does not prove that the original data is anonymous.
Read the flag together with the query field
Google’s bulk-export reference identifies the anonymization boolean as a privacy marker for rare queries. The current query description says zero-length string, while the boolean description uses null. Preserve that wording difference rather than declaring one connector’s representation universal. Our local teaching policy accepts either explicit empty string or explicit null when the flag is true, and distinguishes a missing key. This policy is our review design, not a new Google schema guarantee.
Use the nine supplied teaching records
A has a false boolean and visible wording, so it is a visible-query-string row. B and C have true with empty string and null, so both remain marked anonymized. D has true plus the conspicuous synthetic conflict string; the output flags a conflict and never returns that string. E and H have false plus empty or whitespace-only text. They stay unresolved rather than becoming a known empty keyword or being silently relabelled anonymous.
Do not coerce missing evidence into a boolean
F omits the flag, G supplies the string true, and I omits the query field. F and G remain anonymization-unknown; I reports a missing query key, rather than treating absence as an explicit null. The helper does not guess from spelling, case or truthy values. An actual extractor may require a documented normalization step; retain that transformation separately and verify it against the real schema.
Count review records without inventing query identities
The filled output has nine records, including two marked-anonymized rows and one privacy-field conflict. Those are input record counts, not nine searches, nine people, two distinct hidden queries or one new content opportunity. The number of underlying distinct queries remains null. The tool deliberately returns only ordinal positions and classifications, so even visible query strings and arbitrary supplied case labels are not echoed.
Keep the review separate from arithmetic and report acceptance
For a real handover, keep property/table identity, report period, partition or extraction revision, raw-artifact reference and the exact transformation used. Investigate a conflict at the extractor before sharing its text. A successful export receipt establishes a different fact; valid aggregation needs its own grain and metric checks. This finite classification cannot authenticate those inputs, find personal information elsewhere, recover hidden queries, confirm complete coverage or certify privacy. It also measures no ranking, spontaneous AI recommendation or supported citation.
Filled field review
| Case | Supplied field relationship | Review classification |
|---|---|---|
| A | false + visible text | VISIBLE_QUERY_STRING |
| B / C | true + empty / explicit null | MARKED_ANONYMIZED |
| D | true + supplied text | PRIVACY_FIELD_CONFLICT |
| E / H | false + empty / whitespace | VISIBLE_QUERY_UNRESOLVED |
| F / G | absent / string flag | ANONYMIZATION_UNKNOWN |
| I | true + absent query key | QUERY_FIELD_MISSING |
Run and check the output
Save the five files together and use Python 3.10 or later. Run the eight test groups, then compare the printed result with actual-output.json. Inspect review.py: it reads at most 1 MiB of local input, performs no network or account action and writes no files. The output omits query values; it is not a replacement for a full privacy or security review. Do not paste real export data into an unrelated online tool to reproduce this example.
python3 -B -m unittest -v test_review.py
python3 -B review.py filled-review.jsonPrimary source and scope
Google: Table guidelines and reference. The query and is_anonymized_query passages were checked 6 November 2026. The schema-wording distinction is retained; classifications, fixture and output restriction are original review choices. No new Cloud setup, export, billing change or paid API is involved.
Aggregate supplied rows at one declared grain · Review export receipt coverage