# How Thenleaf reads a guidance on a date

1. FDA publishes its guidance search table as one JSON file (https://www.fda.gov/files/api/datatables/static/search-for-guidance.json). It shows only the current state: when a draft becomes final, the row keeps the final's issue date and the draft date is gone; when FDA drops a row, it vanishes.
2. Thenleaf holds 285 dated copies of that file: one Internet Archive capture per week from 2019-09-03 (the first capture with new content that week), and a copy from fda.gov on every refresh from 2026-11-14.
3. Each guidance is keyed by its FDA page path, which FDA keeps when it edits a row. Consecutive copies with the same title, status, issue date, comment close date, docket, type, center and PDF links are one version. A change is dated by the two copies it fell between.
4. Status on a date is read from the last copy on or before that date. Before 2019-09-03 there is no copy: if the earliest copy shows an issue date on or before the date, the status is inferred from it; otherwise the latest Federal Register notice for the docket is used; otherwise the answer is unknown. Every answer states its basis.
5. A removed row gets a successor candidate when a new row appeared within 45 days before and 120 days after its last sighting with the same docket or most of the same title words. It is a candidate, never a fact.
6. Federal Register notices of availability, comment periods and withdrawals are matched by docket; when a docket is shared by more than three guidances, the notice's title must match too.
7. EMA: dates from EMA's scientific guidelines report; per-document status from each guideline's page where Thenleaf has read it, within EMA's rate limit.

## Limits
- Nothing before 2019-09-03 is observed.
- A change that happened and reverted between two copies is invisible.
- No guidance text is served, only status, dates, dockets and links.

Automated and unreviewed. Thenleaf reads FDA's guidance table, dated copies of it and the Federal Register automatically, and no person checks each answer. Data can be incomplete, late or wrong. Verify against the FDA page and the dated document linked here before you act. Not legal or regulatory advice.
