Skip to content

Commit

Permalink
Cleanup (#149)
Browse files Browse the repository at this point in the history
* model cleanup

* bump versions

* fix gsw games
  • Loading branch information
matsonj authored Mar 2, 2024
1 parent 160f3a3 commit c394533
Show file tree
Hide file tree
Showing 14 changed files with 125 additions and 141 deletions.
36 changes: 35 additions & 1 deletion data/nba/nba_results.csv
Original file line number Diff line number Diff line change
Expand Up @@ -859,4 +859,38 @@ Sun Feb 25 2024,9:30p,Sacramento Kings,123,Los Angeles Clippers,107,Box Score,,1
Mon Feb 26 2024,7:00p,Toronto Raptors,130,Indiana Pacers,122,Box Score,,16026,Gainbridge Fieldhouse,
Mon Feb 26 2024,7:30p,Detroit Pistons,111,New York Knicks,113,Box Score,,19303,Madison Square Garden (IV),
Mon Feb 26 2024,8:00p,Brooklyn Nets,111,Memphis Grizzlies,86,Box Score,,15417,FedEx Forum,
Mon Feb 26 2024,10:00p,Miami Heat,121,Sacramento Kings,110,Box Score,,17832,Golden 1 Center,
Mon Feb 26 2024,10:00p,Miami Heat,121,Sacramento Kings,110,Box Score,,17832,Golden 1 Center,
Tue Feb 27 2024,7:00p,Dallas Mavericks,119,Cleveland Cavaliers,121,Box Score,,19432,Rocket Mortgage Fieldhouse,
Tue Feb 27 2024,7:00p,Brooklyn Nets,81,Orlando Magic,108,Box Score,,17708,Amway Center,
Tue Feb 27 2024,7:00p,Golden State Warriors,123,Washington Wizards,112,Box Score,,20333,Capital One Arena,
Tue Feb 27 2024,7:30p,Utah Jazz,97,Atlanta Hawks,124,Box Score,,17129,State Farm Arena,
Tue Feb 27 2024,7:30p,Philadelphia 76ers,99,Boston Celtics,117,Box Score,,19156,TD Garden,
Tue Feb 27 2024,7:30p,New Orleans Pelicans,115,New York Knicks,92,Box Score,,19812,Madison Square Garden (IV),
Tue Feb 27 2024,8:00p,Detroit Pistons,105,Chicago Bulls,95,Box Score,,21089,United Center,
Tue Feb 27 2024,8:00p,Charlotte Hornets,85,Milwaukee Bucks,123,Box Score,,17607,Fiserv Forum,
Tue Feb 27 2024,8:00p,San Antonio Spurs,105,Minnesota Timberwolves,114,Box Score,,18024,Target Center,
Tue Feb 27 2024,10:00p,Houston Rockets,95,Oklahoma City Thunder,112,Box Score,,17164,Paycom Center,
Tue Feb 27 2024,10:00p,Miami Heat,106,Portland Trail Blazers,96,Box Score,,18143,Moda Center,
Wed Feb 28 2024,7:30p,New Orleans Pelicans,114,Indiana Pacers,123,Box Score,,16010,Gainbridge Fieldhouse,
Wed Feb 28 2024,7:30p,Dallas Mavericks,136,Toronto Raptors,125,Box Score,,19800,Scotiabank Arena,
Wed Feb 28 2024,8:00p,Cleveland Cavaliers,123,Chicago Bulls,132,Box Score,2OT,21700,United Center,
Wed Feb 28 2024,8:00p,Memphis Grizzlies,101,Minnesota Timberwolves,110,Box Score,,18024,Target Center,
Wed Feb 28 2024,9:00p,Sacramento Kings,96,Denver Nuggets,117,Box Score,,19628,Ball Arena,
Wed Feb 28 2024,10:00p,Los Angeles Lakers,116,Los Angeles Clippers,112,Box Score,,19370,Crypto.com Arena,
Thu Feb 29 2024,7:00p,Milwaukee Bucks,111,Charlotte Hornets,99,Box Score,,18463,Spectrum Center,
Thu Feb 29 2024,7:00p,Utah Jazz,107,Orlando Magic,115,Box Score,,17848,Amway Center,
Thu Feb 29 2024,7:30p,Atlanta Hawks,97,Brooklyn Nets,124,Box Score,,17284,Barclays Center,
Thu Feb 29 2024,7:30p,Golden State Warriors,110,New York Knicks,99,Box Score,,19812,Madison Square Garden (IV),
Thu Feb 29 2024,8:30p,Oklahoma City Thunder,118,San Antonio Spurs,132,Box Score,,18392,Frost Bank Center,
Thu Feb 29 2024,9:00p,Houston Rockets,105,Phoenix Suns,110,Box Score,,17071,Footprint Center,
Thu Feb 29 2024,10:00p,Miami Heat,97,Denver Nuggets,103,Box Score,,19634,Ball Arena,
Thu Feb 29 2024,10:30p,Washington Wizards,131,Los Angeles Lakers,134,Box Score,OT,18997,Crypto.com Arena,
Fri Mar 1 2024,7:00p,Cleveland Cavaliers,110,Detroit Pistons,100,Box Score,,19299,Little Caesars Arena,
Fri Mar 1 2024,7:00p,Charlotte Hornets,114,Philadelphia 76ers,121,Box Score,,19788,Wells Fargo Center,
Fri Mar 1 2024,7:30p,Dallas Mavericks,110,Boston Celtics,138,Box Score,,19156,TD Garden,
Fri Mar 1 2024,7:30p,Golden State Warriors,120,Toronto Raptors,105,Box Score,,19800,Scotiabank Arena,
Fri Mar 1 2024,8:00p,Portland Trail Blazers,122,Memphis Grizzlies,92,Box Score,,15493,FedEx Forum,
Fri Mar 1 2024,8:00p,Sacramento Kings,124,Minnesota Timberwolves,120,Box Score,OT,18024,Target Center,
Fri Mar 1 2024,8:00p,Indiana Pacers,102,New Orleans Pelicans,129,Box Score,,17898,Smoothie King Center,
Fri Mar 1 2024,10:00p,Milwaukee Bucks,113,Chicago Bulls,97,Box Score,,21249,United Center,
Fri Mar 1 2024,10:30p,Washington Wizards,115,Los Angeles Clippers,140,Box Score,,19370,Crypto.com Arena,
8 changes: 4 additions & 4 deletions data/nba/nba_schedule.csv
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ id,type,Day,Date,Year,Start (ET),Visitor/Neutral,PTS,Home/Neutral,PTS,Attend.,Ar
603,reg_season,Wed, Jan 17,2024,7:30p,Houston Rockets,,New York Knicks,,,Madison Square Garden (IV),,0
604,reg_season,Wed, Jan 17,2024,7:30p,Miami Heat,,Toronto Raptors,,,Scotiabank Arena,,0
605,reg_season,Wed, Jan 17,2024,8:00p,Charlotte Hornets,,New Orleans Pelicans,,,Smoothie King Center,,0
606,reg_season,Wed, Jan 17,2024,9:00p,Golden State Warriors,,Utah Jazz,,,Delta Center,,0
606,reg_season,Thu, Feb 15, 2024,9:00p,Golden State Warriors,,Utah Jazz,,,Delta Center,,0
607,reg_season,Wed, Jan 17,2024,10:00p,Dallas Mavericks,,Los Angeles Lakers,,,Crypto.com Arena,,0
608,reg_season,Wed, Jan 17,2024,10:00p,Brooklyn Nets,,Portland Trail Blazers,,,Moda Center,,0
609,reg_season,Thu, Jan 18,2024,7:30p,Washington Wizards,,New York Knicks,,,Madison Square Garden (IV),,0
Expand All @@ -617,7 +617,7 @@ id,type,Day,Date,Year,Start (ET),Visitor/Neutral,PTS,Home/Neutral,PTS,Attend.,Ar
616,reg_season,Fri, Jan 19,2024,7:30p,Denver Nuggets,,Boston Celtics,,,TD Garden,,0
617,reg_season,Fri, Jan 19,2024,8:00p,Atlanta Hawks,,Miami Heat,,,Kaseya Center,,0
618,reg_season,Fri, Jan 19,2024,8:00p,Phoenix Suns,,New Orleans Pelicans,,,Smoothie King Center,,0
619,reg_season,Fri, Jan 19,2024,10:00p,Dallas Mavericks,,Golden State Warriors,,,Chase Center,,0
619,reg_season,Fri, Apr 5, 2024,8:30p,Golden State Warriors,,Dallas Mavericks,,,Chase Center,,0
620,reg_season,Fri, Jan 19,2024,10:00p,Indiana Pacers,,Portland Trail Blazers,,,Moda Center,,0
621,reg_season,Fri, Jan 19,2024,10:30p,Brooklyn Nets,,Los Angeles Lakers,,,Crypto.com Arena,,0
622,reg_season,Sat, Jan 20,2024,3:00p,Milwaukee Bucks,,Detroit Pistons,,,Little Caesars Arena,,0
Expand Down Expand Up @@ -1124,7 +1124,7 @@ id,type,Day,Date,Year,Start (ET),Visitor/Neutral,PTS,Home/Neutral,PTS,Attend.,Ar
1123,reg_season,Tue, Apr 2,2024,7:00p,Oklahoma City Thunder,,Philadelphia 76ers,,,Wells Fargo Center,,0
1124,reg_season,Tue, Apr 2,2024,7:00p,Los Angeles Lakers,,Toronto Raptors,,,Scotiabank Arena,,0
1125,reg_season,Tue, Apr 2,2024,7:00p,Milwaukee Bucks,,Washington Wizards,,,Capital One Arena,,0
1126,reg_season,Tue, Apr 2,2024,7:30p,Golden State Warriors,,Dallas Mavericks,,,American Airlines Center,,0
1126,reg_season,Tue, Apr 2,2024,7:30p,Dallas Mavericks,,Golden State Warriors,,,American Airlines Center,,0
1127,reg_season,Tue, Apr 2,2024,7:30p,New York Knicks,,Miami Heat,,,Kaseya Center,,0
1128,reg_season,Tue, Apr 2,2024,8:00p,Houston Rockets,,Minnesota Timberwolves,,,Target Center,,0
1129,reg_season,Tue, Apr 2,2024,9:00p,San Antonio Spurs,,Denver Nuggets,,,Ball Arena,,0
Expand Down Expand Up @@ -1152,7 +1152,7 @@ id,type,Day,Date,Year,Start (ET),Visitor/Neutral,PTS,Home/Neutral,PTS,Attend.,Ar
1151,reg_season,Fri, Apr 5,2024,8:00p,Detroit Pistons,,Memphis Grizzlies,,,FedEx Forum,,0
1152,reg_season,Fri, Apr 5,2024,8:00p,Toronto Raptors,,Milwaukee Bucks,,,Fiserv Forum,,0
1153,reg_season,Fri, Apr 5,2024,8:00p,San Antonio Spurs,,New Orleans Pelicans,,,Smoothie King Center,,0
1154,reg_season,Fri, Apr 5,2024,8:30p,Atlanta Hawks,,Dallas Mavericks,,,American Airlines Center,,0
1154,reg_season,Fri, Apr 4,2024,7:30p,Atlanta Hawks,,Dallas Mavericks,,,American Airlines Center,,0
1155,reg_season,Fri, Apr 5,2024,10:00p,Minnesota Timberwolves,,Phoenix Suns,,,Footprint Center,,0
1156,reg_season,Fri, Apr 5,2024,10:30p,Utah Jazz,,Los Angeles Clippers,,,Crypto.com Arena,,0
1157,reg_season,Sat, Apr 6,2024,3:30p,Cleveland Cavaliers,,Los Angeles Lakers,,,Crypto.com Arena,,0
Expand Down
2 changes: 1 addition & 1 deletion docs/manifest.json

Large diffs are not rendered by default.

118 changes: 78 additions & 40 deletions evidence/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions evidence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"type": "module",
"dependencies": {
"@evidence-dev/bigquery": "^2.0.1",
"@evidence-dev/core-components": "^3.4.0",
"@evidence-dev/core-components": "^3.4.2",
"@evidence-dev/csv": "^1.0.2",
"@evidence-dev/databricks": "^1.0.1",
"@evidence-dev/duckdb": "^1.0.2",
"@evidence-dev/evidence": "^28.0.0",
"@evidence-dev/evidence": "^28.0.2",
"@evidence-dev/labs": "^0.0.13",
"@evidence-dev/mssql": "^1.0.1",
"@evidence-dev/mysql": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion evidence/pages/ncaaf/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ queries:
- thru_date: ncaaf/thru_date.sql
---

# NCAA College Football Monte Carlo Simulator
# NCAA College Football Monte Carlo Simulator - 2023 Season

## Conference Summaries

Expand Down
19 changes: 0 additions & 19 deletions evidence/pages/ncaaf/predictions.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,12 @@
---
queries:
- future_games: ncaaf/future_games.sql
- past_games: ncaaf/past_games.sql
- past_games_summary: ncaaf/past_games_summary.sql
- past_games_summary_by_team: ncaaf/past_games_summary_by_team.sql
---

# Predictions

## Future Predictions

_Historically, NCAA Football teams win 57.5% of their games at home, which explains why teams with lower elo ratings can be predicted to win._

<DataTable
data={future_games}
title='Predictions'
rows=25
rowShading="true"
rowLine="false"
search="true">
<Column id="visitor"/>
<Column id="home"/>
<Column id="home_win_pct2"/>
<Column id="odds" align="right"/>
<Column id="implied_line_num1" align="right"/>
</DataTable>

## Past Performance

<BigValue
Expand Down
Loading

0 comments on commit c394533

Please sign in to comment.