Repository navigation
Accidental PR - #50
Closed
rubenarslan wants to merge 1 commit into
Closed
rubenarslan wants to merge 1 commit into
rubenarslan wants to merge 1 commit into
Conversation
…en<->Witten) Standalone Python subproject (GPLv3, excluded from the R package build via .Rbuildignore) that serves realistic arrival-time forecasts for the Aachen Hbf <-> Witten Hbf commute as a phone PWA. Instead of scraping and training from scratch, it self-hosts the Bahn-Vorhersage predictor image (weekly-retrained model returning full delay distributions per stop event) and adds: - journey enumeration via transport.rest (vendo world), IRIS/DB InfraGO forecasts fed to the model (its training domain), with desync between the two sources surfaced instead of hidden - explicit cancellation branch (model distributions are conditional on the train running): missed/cancelled options re-plan onto the next option, yielding effective arrival quantiles incl. that risk; empirical cancellation rates from piebro/deutsche-bahn-data - prediction log + travel-day outcome resolver + calibration report (quantile coverage, pinball loss, DB-forecast bias per source) - FastAPI backend + vanilla-JS PWA, docker-compose (predictor/app/resolver) Payload semantics verified against bahnvorhersage source: 34 classes, offset 3, pmf over deviation from current prognosis, open +30 tail; ISO weekday 1-7 as trained (upstream frontend's 0-6 off-by-one not reproduced). 21 offline tests (fixtures for transport.rest, IRIS XML, synthetic predictor responses); ruff clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016RWSd2ioqjj9FG6yzw3JXF
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.
Deleted