{{ message }}
Repository navigation
Local analysis: the bot goes through a game on the phone, in the replay view - #18
Merged
Merged
Conversation
…ay view Replaces asking a bot by private message. The native library runs hanab-bot-rs's analysis and returns every move the bot would have played differently, with clear mistakes marked. It works for games of the website (the app fetches the site's export) and for games played offline, with no bot online and, offline, no connection. - Analyze at the end of a game, in a replay, and next to each game in a profile's history and the offline stats. Choose the conventions; it runs for a minute or more. - In a replay the analysis is a box under the hands with arrows between the comments, a mistakes-only filter, the full list and Close. The arrows move the replay to the position before the move; for the leader of a shared replay they move everyone's. - Finished analyses are kept per game (surviving restarts); the button reads Analysis and reopens one instantly, and Analyze again runs another convention. - Offline records are converted to the site's export shape for the bot. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Updates hanab-bot-rs to the commit that analyses each player on its own thread and reports progress and cancellation (issue 38). The analysis is now a background job the app starts, polls and cancels: a progress bar of moves examined, and Cancel stops the bot between moves. A game that took 79 s in the host test takes 23 s. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
Analyze now runs the bot on the phone instead of asking a bot by private message.
analyze_comments) goes through a finished game and returns every move the bot would have played differently, with clear mistakes marked. Games of the website are fetched as the site's export (/export/<id>); offline records are converted to the same shape. No bot needs to be online and, for offline games, no connection is needed.Testing
🤖 Generated with Claude Code