Skip to content
This repository was archived by the owner on Jun 25, 2026. It is now read-only.

Give scheduled games random seeds - #27

Merged
KyleHerndon merged 1 commit into
mainfrom
kh/random-game-seeds
Jun 10, 2026
Merged

KyleHerndon merged 1 commit into
mainfrom
kh/random-game-seeds

Conversation

@KyleHerndon

@KyleHerndon KyleHerndon commented Jun 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • default EpisodeRequest.seed to a random 31-bit nonnegative seed when omitted or explicitly null
  • rely on that protocol default so all commissioners that construct EpisodeRequest normally get random seeds by default
  • add coverage for protocol defaults plus baseline, self-play, rolling-window, and team-block schedules carrying valid seeds

Validation

  • No lint command is defined in pyproject.toml or the GitHub workflow for this repo
  • git diff --check
  • timeout 30s uv run pytest tests/test_commissioner_strategies.py -q

Note: tests/test_commissioner_websocket.py currently times out locally on the first TestClient health check before any scheduling behavior is exercised.

@KyleHerndon
KyleHerndon force-pushed the kh/random-game-seeds branch from 2a7d3c3 to ddcaac2 Compare June 10, 2026 21:04
@KyleHerndon
KyleHerndon merged commit dffe221 into main Jun 10, 2026
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant