feat: add log level trait and structs and fix info output - #150
Merged
Conversation
This will let us control log level and output from the engine when searching. Same approach is used in [toad](https://github.com/dannyhammer/toad).
Use logging for the search bench and by default don't output anything. Instead, pretty format the progress of the search bench. bench: 1041224
Owner
Author
|
ptsouchlos
pushed a commit
that referenced
this pull request
Nov 5, 2025
Elo | -0.46 +- 1.64 (95%) SPRT | 8.0+0.08s Threads=1 Hash=16MB LLR | 2.99 (-2.94, 2.94) [-5.00, 0.00] Games | N: 45124 W: 7197 L: 7257 D: 30670 Penta | [398, 4404, 12960, 4460, 340] https://pyronomy.pythonanywhere.com/test/3257/ bench: 1041224
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.
Changes