V0.11.0 alpha2 fix codex #65
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
umpire274/bs_scoring!65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "v0.11.0-alpha2-fix_codex"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
34643ded7cℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
add_runs_to_score(state, 1)credits runs usingstate.half/state.inning, but replay links steals to the previous committed PA (rm.pa_seq = last_pa_seqinplay_ball.rs), so a steal during the first in-progress at-bat of a new half can be replayed whilestate.halfis still the prior half. In that case, this line assigns the run to the wrong team/inning bucket instead of the row’s recordedrm.half_inning, which regresses resume accuracy for steal-home events across half-inning boundaries.Useful? React with 👍 / 👎.