Skip to content

Fix dashboard dates and stabilize model loading - #34

Open
deBrian07 wants to merge 5 commits into
NBA-Betting:mainfrom
deBrian07:fix-dashboard-eastern-dates
Open

Fix dashboard dates and stabilize model loading#34
deBrian07 wants to merge 5 commits into
NBA-Betting:mainfrom
deBrian07:fix-dashboard-eastern-dates

Conversation

@deBrian07

Copy link
Copy Markdown
Contributor

Summary

This PR fixes:

  • Display dashboard game dates in Eastern Time, matching the games calendar.
  • Add --port to start_app.py so the web app can run on a non-default port when 5000
    is occupied.
  • Fail at startup when DATABASE_PATH is missing or the configured database does not
    exist.
  • Replace the serialized Tree model with stable XGBoost JSON model files and load only the
    selected predictor, avoiding the PyTorch/XGBoost runtime conflict.
  • Make the API test select a game from the configured database rather than relying on a
    stale hardcoded game ID.
  • Ignore local database downloads, accidental placeholder databases, and local Neovim
    downloads.

Testing

python -m pytest -q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant