How it works
Once a week a research job reads about 50 venue and organizer calendars, checks every date and venue it read against the page it came from, decides which events are picks, and publishes the result. A shorter pass on Thursday checks the coming ten days again. This page shows how, step by step.
The weekly run of November 23
- Sources read
- 50
- Sources that failed
- 2
- Events sighted on their pages
- 336
- New records, shown or held back
- 59
- Model calls
- 234
- Spent on models, of a $5.00 cap
- $0.78
- Start to finish
- 18 min
openai/gpt-6-luna reads one page and reports what it lists.anthropic/claude-sonnet-5.5 judges a batch of events.The week
Two scheduled runs do the research. A third job rebuilds the site every night, so that the dates on its pages stay right. After Monday's run a second model audits what the run changed, and a person reads what it found.
A run, step by step
All of a run's logic is one function, run(). It reads and writes nothing itself: it is handed files that were already read and five ports to the outside world, and it hands back a new dataset and a report. That is why the tests can run a whole week of it, with stand-ins for the network and the models.
Reads
The same inputs, and the same answers from its ports, give the same dataset and report.
- model: OpenRouter
- search: Tavily
- fetcher: plain HTTP
- browser fetcher: headless Chromium
- clock
Writes
robots.txt at each redirect, public hosts only, 5 MB at most, and a pause between requests to one site.The steps, in the order the code runs them
The two marks on the right of a step say whether it runs on Monday, in the weekly run, and on Thursday, in the midweek pass.
- Find: What do the pages list right now?MonThu
- 1Runs on MondayDoes not run on Thursday
Registry laneNetwork
Every active source's listing pages are fetched: plainly by default, and through a headless browser where a script draws the list or the site turns a plain request away. A source that fails three runs in a row is named in the report. If no source at all can be fetched, the run stops here.
- 2Runs on MondayDoes not run on Thursday
ExtractionExtraction modelCode
Each page is read twice, side by side, under the extraction rules and the source's own hints. Every event the model reports is a candidate, which code then keeps as a sighting or drops (From a page to a listing). The second read confirms the first or covers what it missed.
- 3On Monday, in the first run of the month onlyDoes not run on Thursday
Discovery laneNetworkExtraction model
Monthly. One web search for each of the ten kinds of event the config names (the catch-all kind has none), five results each. A result on a listings site is read only for its links; any other is fetched plainly and read once, under the same rules as a source's page. Discovery finds and never admits: an event found on a site nobody has looked at is held in step 5.
- Reconcile: Which of these are already known?MonThu
- 4Runs on MondayDoes not run on Thursday
Merge sightingsCode
Each sighting is matched against the stored events (Matching). No match makes a new event. A match refreshes the stored event, cancels it or leaves it alone, depending on whether the sighting's page has a say over it.
- 5Runs on MondayRuns on Thursday
Clear out, fold, holdCode
A stored event in a place outside the covered area expires (in the weekly run, before the merge, so that no sighting refreshes it first). What is past expires too, and so does anything that cites an index page, a promotion, or an event that is not open to the public. Duplicates fold into the record seen first. Discovery's finds on sites no source covers are held until a person adds the site to the source list. All of this comes before re-verification, so that nothing is fetched to check a record that is already going.
- Check: Is everything nobody saw still there?MonThu
- 6Runs on MondayRuns on Thursday
Re-verificationNetworkExtraction modelCode
Every active event that no lane sighted in this run, and every one that was verified once and has been hidden since, has its primary page fetched and read once. The reading refreshes the event, strikes it, or counts an outage (Strike or outage). On Monday the registry lane has already seen nearly everything, so little is left. On Thursday this is the one step that reads pages: no list is read and nothing is searched, and it checks the events of the next ten days, those already on included.
- 7Runs on MondayDoes not run on Thursday
Aging the never-verifiedCode
A record that no reading ever verified is never re-verified, so only a sighting can say it is still listed. After four weekly runs without one, where a lane could have seen it, it expires as stale.
- Enrich: What did the list's line leave out?MonThu
- 8Runs on MondayDoes not run on Thursday
Own pagesNetworkExtraction model
Each upcoming event's own page (its details or tickets link) is fetched and read once under the event page rules: its time, price and age limit, a fuller description, the weekdays a run plays, and the venue when the list gave none. A run already on, whose list gives only its last day, is read too, for all but a time. Nearest start first, a run already on as today, at most 400 in a run. A page is read again only when the date its list gives or its own page changes.
- 9Runs on MondayRuns on Thursday
A second fold, then placesCode
If step 8 gave any record a venue, duplicates fold a second time. Then neighborhoods: a venue with a row in the venue table goes where the row says, the rest go where the page's reading put them, and anything not on the config's list lands in "Elsewhere in the metro" and is named in the report.
- Judge: Which of these would a friend bring up?MonThu
- 10Runs on MondayRuns on Thursday
CurationCuration model
Active one-offs and limited runs that are new, that have changed, or that were judged under an earlier version of the prompt go to the curation model in batches of 25, sorted by kind and then by date. Each is answered pick, close or no (Picks).
- 11Runs on MondayRuns on Thursday
Hand picksBy handCode
The entries in the hand picks file are applied over the model's verdicts, on every run, until they are taken out. The model's own judgment is kept beside each and comes back when the entry goes.
- 12Runs on MondayDoes not run on Thursday
The picks' own pagesNetworkExtraction model
A pick that step 8's ceiling passed over has its own page read now, so that the ceiling never leaves a pick with its list line alone.
- WriteMonThu
- 13Runs on MondayRuns on Thursday
Archive and reportCode
Expired records whose last day and last change are both more than eight weeks back leave the live file for the archive. The report is put together: counts, spend by stage, a line for each source, every pick and close call, and what changed since the last run. If model calls were made and none succeeded, the run fails here.
- 14Runs on MondayRuns on Thursday
Writing the filesCode
Outside
run(). The new dataset must pass its schema or nothing is written. Each file is written in full to a temporary copy beside it, and only then are they renamed into place, one after another, so that none is ever left half written.
Where the money goes
From a page to a listing
The model is never taken at its word. For every event it reports, it must quote the page for the date and for the venue, and code checks that both quotes are really there.
- The visible text only.
- Each link numbered, as
[12]. - The page's schema.org event data added, one line for each event.
- Cut at 70,000 characters, and the report says so.
title: "The Winter Concert" startDate: 2026-12-12 startTime: 19:30 venue: "Example Hall" dateEvidence: "Sat, Dec 12 · 7:30 PM" venueEvidence: "Example Hall" eventLink: 12An example. The two evidence fields are quotes from the page, and the link is the event's own page, by its number. A candidate also carries a kind, a neighborhood, a description and any notice the page gives.
Then code asks, in this order
- Is it a promotion, or not open to the public?A happy hour, a trivia night, a watch party, a gala, a graduation, an event held only online. The rules tell the model to leave these out, and code catches what it lets through, by the title or by a venue that is only online.yesSkipped, and counted in the report.no
- Is it outside the area the list covers?The model's own flag, an away game, or a place the config names as outside.yesDropped, and counted.no
- Is a field past its length limit?A runaway title or quote.yesDropped, and counted.no
- Is its date one that does not exist, or its end before its start?yesUnverified: stored, never shown.no
- Is it missing a date, a venue, or either quote?yesUnverified. There is one way out: a dated event with no venue can take one quoted from its own page on the same site, in step 8.no
- Is either quote not on the page?Compared without regard to case, spacing, curly quotes, dashes or the link numbers.yesUnverified, and the source's line in the report shows the quote that failed.no
- An active sighting. Its date and its venue were both read from the fetched page, and the two quotes are stored beside them as evidence.
Matching
An event is recorded once, however many pages list it and however its date moves. Each sighting goes down this ladder, and the first rule that matches a stored event wins. Where any rule but the no-venue one matches several, the nearest date wins, then the sighting's venue.
- The same primary page and the same titlematchThe base rule: an event is its page and its title, so its date can move.no match
- The same own page on the same calendar datematchTwo lists that link one ticket page mean one event.no match
- The same title and venue, starting within three daysThe venue under any of its names: a room or a program counts as its building.matchThe loose match: a venue's list and a promoter's list.no match
- The same title, venue and closing datematchA limited run is named by when it closes. The stored start is kept.no match
- Sports: two games titled as matchups, at one venue at the same timematchThe team names are not compared: “Chiefs vs Cardinals” and “Arizona at Kansas City” are one game. Two different times are a doubleheader.no match
- Recurring: the same title at the same venuematchWhatever words its schedule is given in.no match
- No venue on the sighting: a stored event with its title on its datematchIf two fit and neither is preferred, nothing is created.no match
- One dated month of a stored recurring eventmatchConfirms the recurring event and changes nothing in it.no match
- A new event, with an id of its own.
Whether that page has a say
A match says only that the sighting is about a known event. What it may do to that event depends on where it was read.
| The sighting was read from | Refresh the reading | Cancel it | Clear its strikes | Hide it when a reading can cite nothing |
|---|---|---|---|---|
| The event's own primary page | Yes | Yes | Yes | Yes |
| A page that speaks for itA source's page, or another page on the event's own site. It refreshes or cancels only when its reading is verified; one that is not only clears strikes. | Yes | Yes | Yes | No |
| Any other pageA discovery find on someone else's site. | No | No | No | No |
Life of a listing
The site publishes active events and nothing else. Every other record stays in the dataset, so that the job remembers what it has already seen and what it decided.
Strike or outage
An outage holds an event; only a reading strikes it. That is the rule re-verification works by: a page that could not be read says nothing about whether the show is still on. Most of this ladder exists to tell “the venue dropped it” from every other reason an event might be missing from a reading.
- Is the page an excluded source's?The source was taken out of the run by hand.yesCounted as an outage, not fetched, and named in the report.no
- Did the page fail to load?The connection failed, the site refused or answered with an error, or the fetch policy refused it.yesOutage. The event is held as it was. The third in a row makes it unverified, until the page loads and lists it again.no
- Did it load and read as listing nothing, where three or more active events cite it?yesOutage for all of them. A page that came back empty, or one off reading by the model, is not news about each event.no
- Does the reading list the event?yesVerified: refreshed, its strikes and outages cleared.
Says cancelled: expired.
Quote not on the page: kept on its stored citation if the stored quotes are still there and the day and venue agree, and unverified otherwise.no - Was the page only partly read?A candidate was dropped at a length limit.yesNothing. The event may be in what was lost.no
- Is the page gone (a 404 or a 410), or newly closed to the job by
robots.txt?yesStrike.no - Does the event start after the horizon, less two days?The model is asked only for events inside the eight weeks.yesNot struck. The reading was never going to include it.no
- Does it start after the latest start the page listed?A page of the next 20 shows, or one month's view.yesNot struck. The page's window stops short of it.no
- Strike. The page loaded, covered the event's date, and no longer lists it. One strike changes nothing a reader sees. The second in a row expires the event. Any listing in between clears the count.
Picks
Curation asks one question of each event: picture a mixed group of friends planning something to do; would one of them bring this up, and why? The answer is a verdict with a named reason, never a score. The question and the tests for each reason are the curation prompt.
Who is judged
- 337events are on the site today. Recurring ones are left out: they are never picks.
- 19of them are picks today.
- Of the rest, an event is judged when it is new, when it has changed since it was last judged (its title, date, venue or status, or a description its own page filled in), or when it was judged under another version of the prompt.
- Those go to the curation model in batches of 25, sorted by kind and then by date, each batch with the prompt.
One verdict for each event
- PickA clear yes under exactly one reason, with a why-line: one sentence, under 200 characters, that a reader could disagree with. Published, with its reason on a tag: Pick: Rare
- CloseA friend might bring it up, but no reason's test is clearly met. Stored with a note that names the reason it nearly met. Listed in the run's report, never published.
- NoThe default, and most events. Unsure between pick and close means close; unsure between close and no means no.
Then the hand picks file
- The hand picks file stands over the modelA pick or a drop in the file, by the event's id, is applied on every run until the entry is taken out, and the event is marked as picked by hand. An entry whose event is gone, folded into another or retitled is reported as stale and not applied.
The six reasons
- RareA chance that seldom comes to Kansas City.
- Big nameA name most people would recognize.
- OccasionA large event much of the city turns out for.
- TraditionOnce a year, with a season to it.
- UnusualUnlike anything else on the list.
- Major runA limited run worth planning around.
Safeguards
A run has to get through every one of these before a reader sees what it wrote. The first figure is the order of events around a run; the second is the guards by kind.
- The research runUnder a 90-minute timeout. It writes nothing unless everything is ready to be written.If it failsThe data stays as it was.
- The site is built from the new dataA build refuses a dataset with fewer than 50 events to publish.If it failsNothing is committed.
- Checks run on that buildTests of what the build made of the new dataset.If they failNothing is committed.
- The run is committed and publishedFrom here the data is public history, and the site's host starts to build it.
- The deploy is watchedFor up to 15 minutes.If it failsA failed run, with its data already published. The site goes on showing the last deploy that built.
- Search engines are told what changedThe pages the deploy added, removed or re-dated are sent to IndexNow, which Bing and a few others read, so an event's page can be found before the event is over.If it failsA line in the record. The run still counts as a success.
- The outcome is recordedOn a public issue in the repository: a line for a success, the end of the log for a failure. A failure raises an alert, and so does a Monday on which no run starts.
- Spend
- A cap of $5.00 on each run, checked before every model call.
- Past the cap, pages stay unread and events unjudged, and the report counts what was left.
- A monthly limit on the model provider's key, set by hand.
- Outages
- No source could be fetched: the run stops before any model call.
- Model calls were made and none succeeded: the run fails.
- Midweek, pages were fetched and none came back: the run stops before it writes.
- The write
- The hand picks file or the venue table does not parse: the run stops before any write.
- The new dataset fails its schema: nothing is written, and the refused records are set aside to be read.
- Every file is written in full before any is renamed into place, one after another.
- Before publishing
- The site must build from the new data, with 50 events or more.
- The checks of that build must pass.
- Either one failing: nothing is committed.
- On the site
- Only active events are published.
- The deploy is watched for 15 minutes.
- A banner on every page says so when the last good run is more than nine days old.
Corrections and fixes
Nothing in a run reviews itself beyond the safeguards above. The review is a loop around it, with three readers: the audit after Monday's run, the person who maintains the list, and the site's readers.
What a run leaves behind
- The run's reportCommitted with the data, in the repository: once for people and once for programs. The second lists every model call.
- The differenceWhat changed in the dataset since the last run, which the site's What changed page is built from.
- A health recordA line on a public issue for a success, or the end of the log for a failure.
Who reads it
- The auditA second model compares the dataset with the one of a week before. It checks every new record, every likely duplicate, every record whose title, date, venue, status or pick changed, and the problems the report names, against the written rules. It opens a page only on real doubt, and it changes nothing.
- The maintainerThe audit's findings, and the report's account of the picks: every pick and close call, what moved and why.
- ReadersThe form on every event's page, and on About, files a public report of a wrong listing.
Where a finding goes
- An edit by handA rule in one of the three rule documents, a source's address or its hints, a row of the venue table, a pick.
- A change to the codeTested against a whole run with stand-ins for the network and the models, and reviewed before it lands.
- NothingClosed with the reason, so that the same finding is recognized the next time.
The next run confirms it
- A fix that changes what a live page yields is not called done on its tests alone: the next run's report and dataset are read for it.
Where each kind of wrong is fixed
| What is wrong | Where it is fixed |
|---|---|
| A wrong date or venue, or a promotion listed as an event | The extraction rules, or that source's own hints in the source list. |
| A wrong time, price or age limit | The event page rules. |
| A pick that reads as arbitrary, or a miss | The curation prompt for a pattern; the hand picks file for one event. |
| A source that yields nothing, or fails | The source list: the source's address, how it is fetched, or its exclusion with a reason. |
| One event listed twice | A venue's other names in the config, or the matching rules. |
| An event in the wrong part of town | The venue's row in the venue table. |
| A venue or an organizer the list never sees | The source list: a new source, drafted from what discovery held for that site. |
| Events vanishing that are still on | Usually an outage taken for a reading: the ladder under Strike or outage. |
Drawn from the code in the repository as it stood when this page was built, on Tuesday, November 24; the run's figures are from its report. The terms used here are defined in the glossary, and the decisions behind them are recorded in the decision records.