Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…Matrix, dcxG, dcSample, todayDC, remainderSeasonDC, playoffDC) (issue #12) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…(issue #12) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…o feature/xg-improvement-combined # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit. Co-authored-by: pbulsink <5419974+pbulsink@users.noreply.github.com>
…t-combined Co-authored-by: pbulsink <5419974+pbulsink@users.noreply.github.com>
…ement-combined Co-authored-by: pbulsink <5419974+pbulsink@users.noreply.github.com>
Co-authored-by: pbulsink <5419974+pbulsink@users.noreply.github.com>
|
|
||
| if ( | ||
| system2( | ||
| "grep", |
There was a problem hiding this comment.
You're still not doing a grep review of the file before reading it in with read.csv. This has been shown in testing to be a huge speed-up and is mandatory to keep it in line.
There was a problem hiding this comment.
Implemented in 409b0aa: load_or_get_nst() now does a grep prefilter by gid and only parses the matched lines plus header with read.csv(text=...), instead of loading the full CSV first.
| expected_mean = NULL, | ||
| season_percent = NULL, | ||
| include_xG = FALSE, | ||
| use_xg = FALSE, |
There was a problem hiding this comment.
Add use_xg to params documented for this function
There was a problem hiding this comment.
Addressed in 409b0aa: I added @param use_xg documentation for todayDC() and updated the params-list docs to include optional xg_weight.
| currentDate = Sys.Date(), | ||
| save_data = TRUE | ||
| save_data = TRUE, | ||
| min_games_for_xg_weight = 30 |
There was a problem hiding this comment.
Updated in 409b0aa: updateDC() docs now include min_games_for_xg_weight and the return value now documents xg_weight.
| expected_mean = NULL, | ||
| season_percent = NULL, | ||
| draws = TRUE | ||
| draws = TRUE, |
There was a problem hiding this comment.
Update docs with new params for this function
There was a problem hiding this comment.
Updated in d4609e6: DCPredict() documentation now reflects the expanded params list (including optional xg_weight) alongside the new xG-related arguments.
|
@copilot please merge master back into this branch to allow for tests and checks to run better |
Agent-Logs-Url: https://github.com/pbulsink/HockeyModel/sessions/0d3f72ed-17f6-49ea-880b-c23247ce1b38 Co-authored-by: pbulsink <5419974+pbulsink@users.noreply.github.com>
Agent-Logs-Url: https://github.com/pbulsink/HockeyModel/sessions/0d3f72ed-17f6-49ea-880b-c23247ce1b38 Co-authored-by: pbulsink <5419974+pbulsink@users.noreply.github.com>
…improvement-prs Co-authored-by: pbulsink <5419974+pbulsink@users.noreply.github.com>
Merged |
|
@copilot Please merge master back into this branch to run updated checks and avoid conflicts. |
…improvement-prs # Conflicts: # R/api-interface.R # R/dixon-coles.R Co-authored-by: pbulsink <5419974+pbulsink@users.noreply.github.com>
Merged latest |
This PR consolidates the related xG enhancement streams that were previously split across separate PR branches, so model and adapter/backtest changes can be reviewed together as one coherent unit.
Branch consolidation
xG ingestion and adapter behavior
Prediction model blending
xg_weightsupport.Backtesting support
Test coverage brought together
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
cloud.r-project.org/opt/R/4.5.3/lib/R/bin/exec/R /opt/R/4.5.3/lib/R/bin/exec/R --quiet --vanilla -e install.packages(c("pak","devtools"),~+~repos="REDACTED")(dns block)https://api.github.com/graphql/usr/bin/gh gh issue view 22(http block)/usr/bin/gh gh pr close 16 --repo pbulsink/HockeyModel --comment Superseded by combined xG feature branch per issue #22; closing without merge.(http block)https://api.github.com/repos/pbulsink/HockeyModel/pulls/16/usr/bin/gh gh api repos/pbulsink/HockeyModel/pulls/16 -X PATCH -f state=closed(http block)If you need me to access, download, or install something from one of these locations, you can either: