forked from official-stockfish/Stockfish
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
The attached .plain file is converted to a bad .binpack file but passes validation. Conversion to .bin works, but again converting the .bin to .binpack again results in a bad file.
Detailed transcript:
$ ./stockfish convert test2.plain test2.binpack verify
Stockfish 020421 by the Stockfish developers (see AUTHORS file)
info string Loaded eval file nn-c3ca321c51c9.nnue
Converting test2.plain to test2.binpack
Finished. Converted 1389 positions.
$
$ ./stockfish convert test2.binpack bad.plain verify
Stockfish 020421 by the Stockfish developers (see AUTHORS file)
info string Loaded eval file nn-c3ca321c51c9.nnue
Converting test2.binpack to bad.plain
stockfish: ./extra/nnue_data_binpack_format.h:1238: constexpr chess::File chess::Square::file() const: Assertion `isOk()' failed.
Aborted (core dumped)
$
$ ./stockfish convert test2.plain test2.bin verify
Stockfish 020421 by the Stockfish developers (see AUTHORS file)
info string Loaded eval file nn-c3ca321c51c9.nnue
Converting test2.plain to test2.bin
Processed 55560 bytes and 1389 positions.
Finished. Converted 1389 positions.
$
$ ./stockfish convert test2.bin good.plain verify
Stockfish 020421 by the Stockfish developers (see AUTHORS file)
info string Loaded eval file nn-c3ca321c51c9.nnue
Converting test2.bin to good.plain
Processed 141011 bytes and 1389 positions.
Finished. Converted 1389 positions.
$
$ ./stockfish convert test2.bin test2.binpack verify
Stockfish 020421 by the Stockfish developers (see AUTHORS file)
info string Loaded eval file nn-c3ca321c51c9.nnue
Converting test2.bin to test2.binpack
Finished. Converted 1389 positions.
$
$ ./stockfish convert test2.binpack bad.plain verify
Stockfish 020421 by the Stockfish developers (see AUTHORS file)
info string Loaded eval file nn-c3ca321c51c9.nnue
Converting test2.binpack to bad.plain
stockfish: ./extra/nnue_data_binpack_format.h:1238: constexpr chess::File chess::Square::file() const: Assertion `isOk()' failed.
Aborted (core dumped)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request