<feed xmlns='http://www.w3.org/2005/Atom'>
<title>boss/tigers-and-sheep.git/src, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://git.tehbox.org/boss/tigers-and-sheep.git/atom/src?h=master</id>
<link rel='self' href='https://git.tehbox.org/boss/tigers-and-sheep.git/atom/src?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tehbox.org/boss/tigers-and-sheep.git/'/>
<updated>2026-11-09T10:00:58Z</updated>
<entry>
<title>refactor: Drop the neural command in favour of play's -S/-T weights files</title>
<updated>2026-11-09T10:00:58Z</updated>
<author>
<name>Dylan</name>
<email>boss@tehbox.org</email>
</author>
<published>2026-11-09T10:00:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tehbox.org/boss/tigers-and-sheep.git/commit/?id=4eea7f726b5a7e0a55716a5c87e398dfb65fceb7'/>
<id>urn:sha1:4eea7f726b5a7e0a55716a5c87e398dfb65fceb7</id>
<content type='text'>
-S and -T already accept a weights file, so the neural subcommand was
only a shorthand for one of them. Update the README and CLAUDE.md to
show the play form instead.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat: Colour the game result and show scores to 5 significant figures</title>
<updated>2026-11-09T03:56:33Z</updated>
<author>
<name>Dylan</name>
<email>boss@tehbox.org</email>
</author>
<published>2026-11-09T03:56:33Z</published>
<link rel='alternate' type='text/html' href='https://git.tehbox.org/boss/tigers-and-sheep.git/commit/?id=76fde82da0ef09d3635362e1fbf2a289c3d2c6dd'/>
<id>urn:sha1:76fde82da0ef09d3635362e1fbf2a289c3d2c6dd</id>
<content type='text'>
The game-over line is bold green for a win, naming the winning player,
and bold yellow for a draw. The last-turn panel shows a minimax
player's score to 5 significant figures.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat: Multi-threaded training; play matches every 10 generations</title>
<updated>2026-11-09T03:38:13Z</updated>
<author>
<name>Dylan</name>
<email>boss@tehbox.org</email>
</author>
<published>2026-11-09T03:38:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tehbox.org/boss/tigers-and-sheep.git/commit/?id=478e7568f5eda9780d1409bb8dccc86221126281'/>
<id>urn:sha1:478e7568f5eda9780d1409bb8dccc86221126281</id>
<content type='text'>
Gradients and losses are computed on rayon's pool in fixed-size chunks
summed in order, so the weights are the same on any number of threads.
Self-play uses the same pool, and the output shows the training time.

The matches against the earlier network and ClaudePlayer now run only
every --match-every generations (default 10), against the generation
that last played them, read back from its saved file.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat: Draw by threefold repetition</title>
<updated>2026-11-09T03:17:04Z</updated>
<author>
<name>Dylan</name>
<email>boss@tehbox.org</email>
</author>
<published>2026-11-09T03:17:04Z</published>
<link rel='alternate' type='text/html' href='https://git.tehbox.org/boss/tigers-and-sheep.git/commit/?id=0fd43eb6d9a4bae8d4c29fd614f9cf2a362f7b7c'/>
<id>urn:sha1:0fd43eb6d9a4bae8d4c29fd614f9cf2a362f7b7c</id>
<content type='text'>
A position coming up for the third time with the same side to move ends
the game as a draw, in the TUI and in training self-play. Players now get
the game's earlier boards in pick_move, and the search scores the first
repetition on its path as a draw, so a side that is ahead avoids one and
a side that is behind seeks one.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat: Parse the command line with clap</title>
<updated>2026-11-09T03:02:43Z</updated>
<author>
<name>Dylan</name>
<email>boss@tehbox.org</email>
</author>
<published>2026-11-09T03:02:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tehbox.org/boss/tigers-and-sheep.git/commit/?id=046969c820e89b74d55c2d07c47470237f11cc2a'/>
<id>urn:sha1:046969c820e89b74d55c2d07c47470237f11cc2a</id>
<content type='text'>
Players are now chosen with --sheep/-S and --tiger/-T (human, claude or a
weights file) and --time/-t, instead of by editing main.rs. Every training
setting is a train option, and --help covers all commands.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat: Resume training from any weights; balance training by outcome</title>
<updated>2026-11-08T04:32:09Z</updated>
<author>
<name>Dylan</name>
<email>boss@tehbox.org</email>
</author>
<published>2026-11-08T04:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tehbox.org/boss/tigers-and-sheep.git/commit/?id=312318ad6548f65cc6af118c24811dfd40280b27'/>
<id>urn:sha1:312318ad6548f65cc6af118c24811dfd40280b27</id>
<content type='text'>
- train --from &lt;weights&gt; starts from any saved network; without it,
  training still carries on from the out dir's newest generation
- Each epoch takes as many positions from sheep-win games as from
  tiger-win games (Config::balance_outcomes, on by default)
- Training output shows the error on tiger-win and sheep-win positions
  separately, before and after training
- Fix a broken sentence in CLAUDE.md's cache description

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat: Neural network opponent trained by self-play</title>
<updated>2026-11-05T00:46:28Z</updated>
<author>
<name>Dylan</name>
<email>boss@tehbox.org</email>
</author>
<published>2026-11-05T00:46:28Z</published>
<link rel='alternate' type='text/html' href='https://git.tehbox.org/boss/tigers-and-sheep.git/commit/?id=94f3df190a91898eb344b9214a57eb31792bcb1c'/>
<id>urn:sha1:94f3df190a91898eb344b9214a57eb31792bcb1c</id>
<content type='text'>
- NeuralPlayer: a MinimaxPlayer that scores positions with a small MLP
  (network.rs, hand-written backprop and Adam, no new dependencies)
- train subcommand: self-play with TD(lambda) targets, cut at random
  exploration moves so sheep blunders don't bias the net towards tigers
- neural subcommand: play against a trained network
- evaluate now gets the side to move
- Board symmetries; the search cache keys by the canonical board, which
  halves the depth-9 bench time with identical moves and scores

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>feat: Optimisation</title>
<updated>2026-10-23T06:41:07Z</updated>
<author>
<name>Dylan</name>
<email>boss@tehbox.org</email>
</author>
<published>2026-10-23T06:40:00Z</published>
<link rel='alternate' type='text/html' href='https://git.tehbox.org/boss/tigers-and-sheep.git/commit/?id=8b6323efba32da9e3651ce882c02a6e7a6671f23'/>
<id>urn:sha1:8b6323efba32da9e3651ce882c02a6e7a6671f23</id>
<content type='text'>
Added benchmarking capabilities
</content>
</entry>
<entry>
<title>feat: More improvements to UI</title>
<updated>2026-10-23T00:17:08Z</updated>
<author>
<name>Dylan</name>
<email>boss@tehbox.org</email>
</author>
<published>2026-10-23T00:16:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tehbox.org/boss/tigers-and-sheep.git/commit/?id=50028fc708ef0cfea9fd589c90e07b413ecb570f'/>
<id>urn:sha1:50028fc708ef0cfea9fd589c90e07b413ecb570f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: Improvements to UI</title>
<updated>2026-10-22T04:17:02Z</updated>
<author>
<name>Dylan</name>
<email>boss@tehbox.org</email>
</author>
<published>2026-10-22T04:17:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tehbox.org/boss/tigers-and-sheep.git/commit/?id=7dff6572462bdc59011f8ff8d1c6dc3a0494e44a'/>
<id>urn:sha1:7dff6572462bdc59011f8ff8d1c6dc3a0494e44a</id>
<content type='text'>
Now uses ratatui
</content>
</entry>
</feed>
