Skip to content

added bpm 2.0 - #297

Merged
dumbmatter merged 4 commits into
zengm-games:masterfrom
nicidob:bpm
Aug 31, 2020
Merged

dumbmatter merged 4 commits into
zengm-games:masterfrom
nicidob:bpm

Conversation

@nicidob

@nicidob nicidob commented Aug 30, 2020

Copy link
Copy Markdown
Contributor

not sure why it can't merge. likely some small recent UI updates.

@dumbmatter

Copy link
Copy Markdown
Member

not sure why it can't merge

git literally tells you exactly why :)

BPM[i] += teamAdjBPM[players[i].tid];
OBPM[i] += teamAdjOBPM[players[i].tid];
DBPM[i] = BPM[i] - OBPM[i];
VORP[i] = playerMin[i] * BPM[i];

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://www.basketball-reference.com/about/bpm2.html says VORP is [BPM - (-2.0)] * (% of possessions played) * (team games/82), looks like this is missing the constant (just scales it up) and the team games part (makes it so that players don't immediately have huge VORPs after 1 game in the season).

I'll fix it, just wanted to make sure this wasn't intentional

@dumbmatter
dumbmatter merged commit 3b9d3c1 into zengm-games:master Aug 31, 2020
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.

2 participants