# State of AI Local Search, Edition 2: data, code and readings

Which local businesses do AI assistants name? A pre-registered study of 200 US city-by-trade markets, by FoundByName.
Answers collected on November 21, 2026. Registration: <https://osf.io/kyqmh>. Archive: <https://doi.org/10.5281/zenodo.24450358>. License: CC BY 4.0 (credit FoundByName and link
to the study page). The article is `article.md`; its figures are in `figures/`. Of the 200 registered markets, 195 had a
complete set of 20 answers and are analyzed.

FoundByName sells AI visibility services to local businesses, so it has a stake in this topic. FoundByName is not affiliated
with OpenAI, Google, Anthropic or Perplexity.

## What's in this folder

| Folder or file | Contents |
|---|---|
| `registration/` | The registered text, the list of US cities the draw was made from, the draw itself, the 200 markets and the power calculation. |
| `data/answers.csv.gz` | 3,995 answers (3,900 in the 195 markets with a complete set of 20): date, city, trade, assistant, model, question, full text and cited sources. |
| `data/mentions.csv.gz` | Every name pulled from the answers, with the `kept` flag of the name filter. |
| `data/listings_anonymized.csv.gz` | 13,516 Google Maps listings from the 195 analyzed markets, one row each, without business name, address, phone number, website or Google identifier. |
| `data/readings_260.csv` | The 200 names and 60 matches of the registered check, with the answer of each of the five readers. |
| `data/loose_matching_60.csv` | 60 listings added by the loose matching rule, with the answer of each reader. |
| `data/edition1_update_listings_not_published.csv` | The listing file of the Edition 1 update prepared on November 21, 2026 and never put online (Appendix C): one row per listing, without business name, same columns as the published Edition 1 file. |
| `data/readings_first_draw.csv` | The first draw of the 60 matches and its reading, made before trade words were added to the matching list and published for the record (Appendix B, item 4). |
| `data/page_check_50_*.csv` | The check of 50 home pages: automatic values, reader values and the disagreements. |
| `data/manifest_frozen.json` | Time of the data freeze and fingerprints of the frozen source files. |
| `results/` | Outputs of the analysis code: registered tests, robustness and exploratory analyses, reader agreement, page check, and every value printed in the article with its source (`values.json`). |
| `code/` | The analysis code as it was run, the matching rules, the site-variable rules and the script that builds the article. Comments are in French. |
| `notes_fr/` | Working notes in French: departures from the registration (Appendix B of the article is their English version), definitions of the site variables, protocols, results and file fingerprints of the readings. |
| `notes_en/` | English translations of the definitions of the site variables and of the protocols and results of the readings. The French files in `notes_fr/` are the originals. |
| `reproduce.py` | Recomputes the estimates for the eight registered hypotheses from the listing file and compares them with the published results. |
| `MANIFEST.json` | Size and SHA-256 fingerprint of every file in this folder. |

## Columns in the listing file

`listing_id`, `market`, `city_slug`, `trade`, `google_rank`, `google_category`, `category_matches_trade`, `chain`, `rating`, `reviews_count`, `has_website`, `own_website`, `named`, `answers_naming_it_of_20`, `named_chatgpt`, `named_gemini`, `named_perplexity`, `named_claude`, `cited`, `named_loose`, `loose_rule`, `site_status`, `page_read`, `schema_org`, `content_ok`, `nap_consistent`, `links_yelp`, `links_healthgrades`, `name_ok`, `address_ok`, `phone_ok`, `trade_ok`, `city_ok`, `service_ok`

`named` is the registered outcome: a name in at least one of the market's 20 answers was matched to the listing.
`named_loose` adds the listings matched by the deliberately loose rule of Section 4.4, with the rule in `loose_rule`
(a or b: the distinctive words of one name are all found in the other; c: same website). `page_read` is 1 when the home page
was fetched and not empty; the site variables are blank otherwise. `google_rank` is the position of the listing in the
Google Maps results for the trade in the city, as returned by the data provider; several listings of a market can share a
position (Section 3.4 of the article). The registered models do not use it; one exploratory row of Table 5 does. `chain` is 1 when the same name appears in three or more cities.

## What cannot be recomputed from this folder

The matching of names to listings needs the business names of the listings, which the registration keeps out of the
release. The names found in the answers, the matching rules and the checks of the matching are all here; the outcome of the
matching is the `named` column. The code in `code/` reads the unreleased files, so it is here to be read, not run. The one
exception is `reproduce.py`, which runs the registered statistical code on the listing file.

## Reproducing the registered tests

    python reproduce.py

Needs Python 3.10 or later with pandas, numpy, scipy and statsmodels.
