vitogit / pgn-tactics-generator

Generate chess puzzles / tactics from a pgn file
MIT License
111 stars 28 forks source link

there are many doubles in the tactics output #32

Open Jonathan003 opened 2 years ago

Jonathan003 commented 2 years ago

There are allot of doubles in the tactics output. I used this script main.py --quiet --depth=12 --games=games.pgn --strict=True --threads=4 --memory=2048 --includeBlunder=False

And its not easy to find the doubles. If I search for the doubles in Chessbase also not exact doubles get detected. When the tactic starts with a slightly different position.

karol-brejna-i commented 2 years ago

@Jonathan003 can you share example pgn file that produces a few doubles?

Jonathan003 commented 2 years ago

Sure I'm not sure how I can upload a pgn here? I will try with a link to my google drive.

https://drive.google.com/file/d/1WujeyPMD2_OFLm8We8UlnlSw0ZEwtD77/view?usp=sharing This is the pgn with the find tactics with the doubles.

https://drive.google.com/file/d/1WvlKEt0ZmTpMOmg0N1G0jR2cfuBrT5_y/view?usp=sharing This is the pgn with the doubles find with pgn-extract

https://drive.google.com/file/d/1WxhOFVBSjYMJs5_eJHnLXFhTXpOgJNqU/view?usp=sharing This is the pgn with the find tactics without the doubles

https://drive.google.com/file/d/1X4H6opjvXnc8Gl4O-ujnx-TT_g_YjFty/view?usp=sharing This is the pgn I used to search for the tactics. It is the output of createpgn from polyglot-tolerant To convert a polyglot book to pgn. It are about 120,000 games variating in lengt and it took about 48 to create the tactics on my PC.