Add 2024-25 top 20 single-game defensive eFG% rankings#3
Open
Add 2024-25 top 20 single-game defensive eFG% rankings#3
Conversation
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.
Motivation
Description
interpretations/top20_single_game_def_efg_2024-25.csvcontaining the top 20 team single-game defensive eFG% records with fields for rank, date, game id, team, opponent, venue, raw counts, and computeddef_efg_pct.interpretations/top20_single_game_def_efg_2024-25.mdwith a human-readable markdown table summarizing the same ranking and the eFG% formula used ((Opp FGM + 0.5 * Opp 3PM) / Opp FGA).team_game_logs_2024-25.csvby treating each team-game as a defensive entry (home defense = opponent road stats and vice versa), filtering for regular season games, computingdef_efg_pct, sorting ascending (lower is better), and taking the top 20.Testing
python - <<'PY' ... PYinvocation which completed successfully and produced the CSV and MD outputs.wc -lto confirm 20 ranked rows plus header for the CSV.sed -n '1,25p'to confirm table formatting and sample entries.Codex Task