Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider implementing the hasfull info #99

Open
maximmasiutin opened this issue Apr 23, 2023 · 1 comment
Open

Please consider implementing the hasfull info #99

maximmasiutin opened this issue Apr 23, 2023 · 1 comment

Comments

@maximmasiutin
Copy link

maximmasiutin commented Apr 23, 2023

According to the UCI protocol,

	* hashfull 
		the hash is x permill full, the engine should send this info regularly

where permill (per mille) means 1/1000th part https://en.wikipedia.org/wiki/Per_mille

StockNemo has an option option name Hash type spin default 16 min 4 max 512 but the information sent by the engine does not contain the hashfull values:

info depth 33 seldepth 54 score cp 314 nodes 617801559 nps 617641 pv c6c7 f5f6 d6d5 f6f5 d5d4 f5f4 d4d3 f7g7 c7c8q f4f6 c8c7 f6f7 c7d8 f7f8 d8d7 g7g6 d3c4 f8f7 d7c8 f7f6 c8g8 g6h5 c4b4 f6g6 g8c8 h5g5 c8c5 g5g4 b4c4 g6g5 c5c8 g4g3 c8h8 g3g2 c4d4 g2f3 d4d3

The information should be sent "whenever one of the info has changed", for example:

info depth 37 seldepth 42 multipv 1 score cp 304 nodes 9521265 nps 911300 hashfull 964 tbhits 0 time 10448 pv c6c7 f5f6 d6d5 f6f5 d5d4 f5f4 d4d3 f4f3 d3d2 f3f2 d2d1 f2f1 d1c2 f7g6 c7c8q f1f7 c8a6 g6g5 a6c4 f7f5 c4g8 g5h6 c2d3 f5g5 g8d8 g5g4 d3e3 g4g7 e3d4 h6g6

Please consider implementing sending the hashfull information.

@TheBlackPlague
Copy link
Owner

A rewrite of the engine is being done as of now. Upon completion of that rewrite, the goal is to archive this project.

However, I do agree that it's very helpful information. I'll add that in the rewrite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants