feat: live Queue-Times waits + multi-park crowd coverage - #4
Draft
jssturm wants to merge 2 commits into
Draft
Conversation
The banner showed "Predicted crowd: 7/10 — Busy" for Walt Disney World because a multiplicative heuristic (base 6 × summer 1.3 × weekday) almost always landed on 7 in July — and ignored trip date / live data. Prefer Queue-Times.com open-ride wait averages for today when the venue maps to a known park; recalibrate the fallback as an additive estimate; pass trip_date; label live vs calendar estimate in the UI (with Queue-Times attribution). Also fix CI Test to install requirements-dev. Co-authored-by: jssturm <jssturm@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Expand park coverage (Disney, Universal incl. Epic/Volcano Bay, SeaWorld/Busch, Six Flags, Cedar Fair, Legoland, etc.). Match attraction labels like "Magic Kingdom: Space Mountain, …" to live ride waits and set wait_time_min from the highest matched line. UI badges mark live waits; fall back to heuristic when unmatched or for future trip dates. Co-authored-by: jssturm <jssturm@users.noreply.github.com>
jssturm
force-pushed
the
cursor/fix-crowd-prediction-72c3
branch
from
July 31, 2026 17:50
7a12823 to
9a480c9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Production showed Predicted crowd: 7/10 — Busy for Walt Disney World from a coarse heuristic. Per-stop wait badges (
22 min wait) were also synthetic (random.randint), not live park data.Fix
Crowd banner
trip_dateLive waits on schedule stops (new)
Magic Kingdom: Space Mountain, Seven Dwarfs Mine Trainand matches rides across the right park(s)wait_time_minfrom the highest matched live wait (plan for the worst line){n} min wait (live)when sourced from Queue-TimesTest plan
pytest test_crowd.py test_travel.py(33 passed)