I took a brief look, and did some brief testing. I'll do more tests at the weekend and report back. Thank you very much. So initially I selected the first 3 games from your D96.pgn and created a bin with polyglot and then exported that bin with latest jja, git version v0.5.0-58-g023065b:chesskobra wrote: ↑Wed Jun 14, 2023 12:41 pm Could you take a look at this test case I created: https://gitlab.com/beejaganita/jja-tests/
Code: Select all
⇒ pex -s --selectonly 1:3 D96.pgn > D96-sample.pgn
⇒ polyglot make-book -min-game 1 -pgn D96-sample.pgn -bin D96-sample.bin
PolyGlot 2.0.4 by Fabien Letouzey.
inserting games ...
4 games.
346 entries.
filtering entries ...
250 entries.
sorting entries ...
saving entries ...
all done!
⇒ jja edit D96-sample.bin -o D96-sample-jja.pgn
Creating output PGN file...
Success creating output PGN file.
Generating a tree of all variations in the book...
Success generating a tree of all variations in the book.
Saving the opening tree into the given PGN file...
Saving done.
Now jja creates 3 lines for this game alone which look like this:
1. Line 1
2. Line 2
3. Line 3
What you can quickly notice is the extraneous lines are caused by the repetitions that takes place on moves 53 and 56. It's an open question whether we want to include these repetitions as new lines in the PGN, or we skip them, or maybe we make it optional through a command-line parameter. My initial opinion is it makes sense to keep them because it provides a clearer, and broader look at the opening book, however as usual I am open to discussion, suggestions, and thoughts.