Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions policy/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# Browser policy

`static-policy.json` is the browser-native actor exported from the validated
`bang_structured_v2` checkpoint at iteration 2995. Keeping the inference
artifact in the repository makes the production build reproducible in GitHub
Actions without granting CI access to local training runs.
`static-policy.json` is the browser-native actor exported from a
`bang_structured_v2` checkpoint at iteration 2861 (run `mmd_v2_a030_s2`). It was
trained with the standard v2 League PPO recipe plus a Magnetic Mirror Descent
term (alpha 0.3, magnet moved every 50 updates), and replaces the iteration-2995
PPO champion. Keeping the inference artifact in the repository makes the
production build reproducible in GitHub Actions without granting CI access to
local training runs.

Regenerate it from a complete checkpoint with:

```sh
python3 tools/export_static_policy.py \
runs/bang_league_ppo/main/latest.pt \
runs/mmd_v2_a030_s2/champion/policy.pt \
policy/static-policy.json
```
2 changes: 1 addition & 1 deletion policy/static-policy.json

Large diffs are not rendered by default.