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
NetworkA page fetched, plainly or in a headless browser, or a web search.
Extraction modelopenai/gpt-6-luna reads one page and reports what it lists.
Curation modelanthropic/claude-sonnet-5.5 judges a batch of events.
CodeRules written as code. No model and no network.
By handA file a person edits, or a call a person makes.
The color on a step or a box says who does it. Every diagram below uses these five.

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.

Mon
Tue
Wed
Thu
Fri
Sat
Sun
Research
Weekly runReads every source, checks what it read, and judges the picks.
Midweek re-verificationReads no list and searches nothing: it reads again the pages of the next ten days' events, then judges and writes what changed.
Audit
Audit, after the runA second model reviews what the run added or changed. It changes nothing.
By hand
The audit's findingsread, with the run's report.
Any dayCorrections from readers looked into; edits to the rules, the source list and the venue table; a pick made or dropped by hand. Edits to the rules, the source list and the picks take effect at the next run.
Site
Nightly rebuildEvery page is built again as of the new day, so that "today" is today. A run also rebuilds the site within minutes, and so does an edit to the venue table.
All times are Central. Discovery, the search for events on sites the source list does not cover, runs with the first weekly run of each calendar month.

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

research.config.yamlThe horizon, the spend cap, the models, the area covered.
data/registry.yamlThe source list, kept by hand.
prompts/The three sets of written rules the models read by.
data/picks.yaml, data/venues.yamlHand picks, and the venue table.
data/events.jsonWhat the last run left.
run()

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

data/events.jsonEvery record: active, unverified and expired.
data/runs/The run's report, once for people and once for programs.
data/archive/Expired records more than eight weeks gone.
Every model call goes through one wrapper, which adds up the cost and stops calling at the cap. Every fetch goes through one policy: 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.

  1. Find: What do the pages list right now?
  2. 1

    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.

    Runs on MondayDoes not run on Thursday
  3. 2

    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.

    Runs on MondayDoes not run on Thursday
  4. 3

    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.

    On Monday, in the first run of the month onlyDoes not run on Thursday
  5. Reconcile: Which of these are already known?
  6. 4

    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.

    Runs on MondayDoes not run on Thursday
  7. 5

    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.

    Runs on MondayRuns on Thursday
  8. Check: Is everything nobody saw still there?
  9. 6

    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.

    Runs on MondayRuns on Thursday
  10. 7

    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.

    Runs on MondayDoes not run on Thursday
  11. Enrich: What did the list's line leave out?
  12. 8

    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.

    Runs on MondayDoes not run on Thursday
  13. 9

    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.

    Runs on MondayRuns on Thursday
  14. Judge: Which of these would a friend bring up?
  15. 10

    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).

    Runs on MondayRuns on Thursday
  16. 11

    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.

    Runs on MondayRuns on Thursday
  17. 12

    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.

    Runs on MondayDoes not run on Thursday
  18. Write
  19. 13

    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.

    Runs on MondayRuns on Thursday
  20. 14

    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.

    Runs on MondayRuns on Thursday
A half-filled mark is the first run of the month only. Steps 2, 3, 6, 8 and 12 read four pages at once and take the results up in page order, so that what a run writes never depends on which page answered first. Step 1 fetches its pages one at a time.

Where the money goes

  • Curation: $0.5114 calls to the curation model
  • Reading list pages: $0.20122 calls to the extraction model
  • Own pages: $0.0697 calls to the extraction model
  • Re-verification: under $0.011 call to the extraction model
$0.78 of the $5.00 cap, in the weekly run of November 23. The cap stops model calls in the middle of a run; a monthly limit on the model provider's key, set by hand, backstops a bug in the cap.

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 page as fetchedHTML from the venue's calendar, or JSON carrying HTML where a calendar loads its list by script.
The page as the model sees it
  • 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.
A candidate in the model's reply
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: 12
An 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

  1. 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.
    yes
    Skipped, and counted in the report.
    no
  2. Is it outside the area the list covers?The model's own flag, an away game, or a place the config names as outside.
    yes
    Dropped, and counted.
    no
  3. Is a field past its length limit?A runaway title or quote.
    yes
    Dropped, and counted.
    no
  4. Is its date one that does not exist, or its end before its start?
    yes
    Unverified: stored, never shown.
    no
  5. Is it missing a date, a venue, or either quote?
    yes
    Unverified. 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
  6. Is either quote not on the page?Compared without regard to case, spacing, curly quotes, dashes or the link numbers.
    yes
    Unverified, and the source's line in the report shows the quote that failed.
    no
  7. 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.
Each page is read twice because a model's quoting varies from one reading to the next: the second read often turns up listings the first one missed.

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.

  1. The same primary page and the same title
    match
    The base rule: an event is its page and its title, so its date can move.
    no match
  2. The same own page on the same calendar date
    match
    Two lists that link one ticket page mean one event.
    no match
  3. The same title and venue, starting within three daysThe venue under any of its names: a room or a program counts as its building.
    match
    The loose match: a venue's list and a promoter's list.
    no match
  4. The same title, venue and closing date
    match
    A limited run is named by when it closes. The stored start is kept.
    no match
  5. Sports: two games titled as matchups, at one venue at the same time
    match
    The team names are not compared: “Chiefs vs Cardinals” and “Arizona at Kansas City” are one game. Two different times are a doubleheader.
    no match
  6. Recurring: the same title at the same venue
    match
    Whatever words its schedule is given in.
    no match
  7. No venue on the sighting: a stored event with its title on its date
    match
    If two fit and neither is preferred, nothing is created.
    no match
  8. One dated month of a stored recurring event
    match
    Confirms the recurring event and changes nothing in it.
    no match
  9. 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 fromRefresh the readingCancel itClear its strikesHide it when a reading can cite nothing
The event's own primary pageYesYesYesYes
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.YesYesYesNo
Any other pageA discovery find on someone else's site.NoNoNoNo
A page with no say leaves the event exactly as it was. Re-verification then reads the event's own page, which decides. A cancellation claimed from elsewhere is only a line in the report.

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.

Candidateone reading of one pageActiveshown on the siteUnverifiedstored, never shownHeld for promotionunverified, and not read againExpiredkept in the dataset, with a reasonpast · two-strike · cancelledduplicate · index-page · stalepromotion · not-publicoutside-geographyArchiveone file for each yeardate and venue bothquoted from the pageanything lessa verifiedreading3 outages in a row, or itsown page read again withnothing to citeits last day passes · its own page sayscancelled · a second strike · a duplicate ·ruled off the listthe same ways, and as stale: neververified, unsighted for 4 weekly runs8 weeks after itslast day and itslast changea person adds its siteto the source list
A record is ruled off the list when it cites an index page, when it is a promotion or not open to the public, or when it is outside the area covered. An expired duplicate names the record it was folded into, so that a later sighting of the duplicate counts as a sighting of the survivor. Nothing reads the archive in order to run.

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.

  1. Is the page an excluded source's?The source was taken out of the run by hand.
    yes
    Counted as an outage, not fetched, and named in the report.
    no
  2. Did the page fail to load?The connection failed, the site refused or answered with an error, or the fetch policy refused it.
    yes
    Outage. The event is held as it was. The third in a row makes it unverified, until the page loads and lists it again.
    no
  3. Did it load and read as listing nothing, where three or more active events cite it?
    yes
    Outage for all of them. A page that came back empty, or one off reading by the model, is not news about each event.
    no
  4. Does the reading list the event?
    yes
    Verified: 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
  5. Was the page only partly read?A candidate was dropped at a length limit.
    yes
    Nothing. The event may be in what was lost.
    no
  6. Is the page gone (a 404 or a 410), or newly closed to the job by robots.txt?
    yes
    Strike.
    no
  7. Does the event start after the horizon, less two days?The model is asked only for events inside the eight weeks.
    yes
    Not struck. The reading was never going to include it.
    no
  8. Does it start after the latest start the page listed?A page of the next 20 shows, or one month's view.
    yes
    Not struck. The page's window stops short of it.
    no
  9. 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.
Thursday's pass applies the same ladder, so a cancellation or a moved date in the coming ten days shows before the weekend and not the Monday after.

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 prompt's own figure for picks is 25 to 35 across the eight-week horizon: a check on where the line sits, never a quota. Each judgment records a fingerprint of the prompt it was made under, so an edit to the prompt has every eligible event judged again, once, at the next run; and an edit lands together with a measurement of how many verdicts it flips.

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.

  1. 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.
  2. The site is built from the new dataA build refuses a dataset with fewer than 50 events to publish.
    If it failsNothing is committed.
  3. Checks run on that buildTests of what the build made of the new dataset.
    If they failNothing is committed.
  4. The run is committed and publishedFrom here the data is public history, and the site's host starts to build it.
  5. 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.
  6. 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.
  7. 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.
Everything above the double rule can fail without touching the site. If the machine that runs the job misses a week, the same run can be started by hand elsewhere.
  • 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.
A smaller failure costs only its own piece: one failed model call leaves its page or its batch as it was, and adds a line to the report.

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 wrongWhere it is fixed
A wrong date or venue, or a promotion listed as an eventThe extraction rules, or that source's own hints in the source list.
A wrong time, price or age limitThe event page rules.
A pick that reads as arbitrary, or a missThe curation prompt for a pattern; the hand picks file for one event.
A source that yields nothing, or failsThe source list: the source's address, how it is fetched, or its exclusion with a reason.
One event listed twiceA venue's other names in the config, or the matching rules.
An event in the wrong part of townThe venue's row in the venue table.
A venue or an organizer the list never seesThe source list: a new source, drafted from what discovery held for that site.
Events vanishing that are still onUsually 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.