Skip to content

Persist per-season scoring rules#229

Merged
adrunkhuman merged 1 commit intomasterfrom
issue-50-season-scoring-rules
May 10, 2026
Merged

Persist per-season scoring rules#229
adrunkhuman merged 1 commit intomasterfrom
issue-50-season-scoring-rules

Conversation

@adrunkhuman
Copy link
Copy Markdown
Owner

Summary

  • Add per-season scoring-rule columns with default 3/1/0/0 values and startup migration for existing seasons.
  • Make score calculation and every recalculation path use the fixture season's stored rules.
  • Add guarded rule updates that preserve omitted values and block changes once a season has scores.
  • Update user-facing scoring/help text and docs to avoid hardcoded fixed-rule claims.

Verification

  • uv run pytest --tb=short
  • uv run ruff check .
  • uv run ruff format --check .
  • uv run ty check typer_bot

Closes #50

@adrunkhuman adrunkhuman merged commit b7a182e into master May 10, 2026
1 check passed
@adrunkhuman adrunkhuman deleted the issue-50-season-scoring-rules branch May 10, 2026 16:44
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.

feat: add per-season configurable scoring rules

1 participant