Chess Artist

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Ferdy
Posts: 4852
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Chess Artist

Post by Ferdy »

Jonathan003 wrote: Tue Apr 27, 2021 10:43 pm I have downloaded the latest version of Chess-artist from here.
https://github.com/fsmosca/chess-artist ... /tag/v2.12
Don't use it, it has some bugs but are fixed in the master with chess_artist.py. I stopped producing .exe file as it is not easy any more to create an exe without getting tagged as malicious.

To install master in windows 10, install python first then open powershell and install dependent module chess with pip install chess, see sample commands.

Code: Select all

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\ferdi> python --version
Python 3.9.1
PS C:\Users\ferdi> pip install chess
Requirement already satisfied: chess in c:\python39\lib\site-packages (1.5.0)
WARNING: You are using pip version 21.0.1; however, version 21.1 is available.
You should consider upgrading via the 'c:\python39\python.exe -m pip install --upgrade pip' command.
PS C:\Users\ferdi> git clone https://github.com/fsmosca/chess-artist.git
Cloning into 'chess-artist'...
remote: Enumerating objects: 1071, done.
remote: Counting objects: 100% (89/89), done.
remote: Compressing objects: 100% (67/67), done.
remote: Total 1071 (delta 52), reused 49 (delta 21), pack-reused 982 eceiving objects:  97% (1039/1071), 18.21 MiB | 660Receiving objects: 100% (1071/1071), 18.41 MiB | 464.00 KiB/s, done.

Resolving deltas: 100% (562/562), done.
PS C:\Users\ferdi> cd chess-artist
PS C:\Users\ferdi\chess-artist> ls


    Directory: C:\Users\ferdi\chess-artist


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        28/04/2021  11:00 am                Book
d-----        28/04/2021  11:00 am                Engine
d-----        28/04/2021  11:00 am                EPD
d-----        28/04/2021  11:00 am                PGN
-a----        28/04/2021  11:00 am            435 .gitignore
-a----        28/04/2021  11:00 am            441 analyze_atomic_game.bat
-a----        28/04/2021  11:00 am            315 analyze_chess_game.bat
-a----        28/04/2021  11:00 am         123508 chess_artist.py
-a----        28/04/2021  11:00 am           1495 create_puzzle.bat
-a----        28/04/2021  11:00 am          35815 LICENSE
-a----        28/04/2021  11:00 am           8902 README.md
-a----        28/04/2021  11:00 am             35 requirements.txt


PS C:\Users\ferdi\chess-artist> python chess_artist.py -h
I want to try it to blundercheck my white repertoire.
I want to avoid that an engine has to go over the same opening lines again and again.
I have a pgn database with the ecoA part of my white repertoire.
It are about 400 games with opening lines, variating from 6 to 36 ply.
I have put all files together in one folder C:\Users\creme\Documents\Second trial repertoire\chess-artist
What would be the best script to use to blunder check the opening lines for the white moves?
I have tried this script

Code: Select all

chess-artist --infile ecoA.pgn --outfile out.pgn --enginefile SF13 --engineoptions "Threads value 4, Hash value 1024" --movetime 6000 --job analyze --color white --eval search 
But no blunders where find, and I'm sure there are.
How can I define the threshold for blunders?
chess artist does not support specific mode blunder check, you just analyze it and see the output if there are blunders or not. Also it does not support analyzing the variation. It only analyzes the main line.
User avatar
Kirk
Posts: 5706
Joined: Sat Mar 11, 2006 3:44 am

Re: Chess Artist

Post by Kirk »

Hi!

Any plans to make a GUI for this? I am not the best at command lines. :)
Ferdy wrote: Wed Apr 28, 2021 5:10 am
Jonathan003 wrote: Tue Apr 27, 2021 10:43 pm I have downloaded the latest version of Chess-artist from here.
https://github.com/fsmosca/chess-artist ... /tag/v2.12
Don't use it, it has some bugs but are fixed in the master with chess_artist.py. I stopped producing .exe file as it is not easy any more to create an exe without getting tagged as malicious.

To install master in windows 10, install python first then open powershell and install dependent module chess with pip install chess, see sample commands.

Code: Select all

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\ferdi> python --version
Python 3.9.1
PS C:\Users\ferdi> pip install chess
Requirement already satisfied: chess in c:\python39\lib\site-packages (1.5.0)
WARNING: You are using pip version 21.0.1; however, version 21.1 is available.
You should consider upgrading via the 'c:\python39\python.exe -m pip install --upgrade pip' command.
PS C:\Users\ferdi> git clone https://github.com/fsmosca/chess-artist.git
Cloning into 'chess-artist'...
remote: Enumerating objects: 1071, done.
remote: Counting objects: 100% (89/89), done.
remote: Compressing objects: 100% (67/67), done.
remote: Total 1071 (delta 52), reused 49 (delta 21), pack-reused 982 eceiving objects:  97% (1039/1071), 18.21 MiB | 660Receiving objects: 100% (1071/1071), 18.41 MiB | 464.00 KiB/s, done.

Resolving deltas: 100% (562/562), done.
PS C:\Users\ferdi> cd chess-artist
PS C:\Users\ferdi\chess-artist> ls


    Directory: C:\Users\ferdi\chess-artist


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        28/04/2021  11:00 am                Book
d-----        28/04/2021  11:00 am                Engine
d-----        28/04/2021  11:00 am                EPD
d-----        28/04/2021  11:00 am                PGN
-a----        28/04/2021  11:00 am            435 .gitignore
-a----        28/04/2021  11:00 am            441 analyze_atomic_game.bat
-a----        28/04/2021  11:00 am            315 analyze_chess_game.bat
-a----        28/04/2021  11:00 am         123508 chess_artist.py
-a----        28/04/2021  11:00 am           1495 create_puzzle.bat
-a----        28/04/2021  11:00 am          35815 LICENSE
-a----        28/04/2021  11:00 am           8902 README.md
-a----        28/04/2021  11:00 am             35 requirements.txt


PS C:\Users\ferdi\chess-artist> python chess_artist.py -h
I want to try it to blundercheck my white repertoire.
I want to avoid that an engine has to go over the same opening lines again and again.
I have a pgn database with the ecoA part of my white repertoire.
It are about 400 games with opening lines, variating from 6 to 36 ply.
I have put all files together in one folder C:\Users\creme\Documents\Second trial repertoire\chess-artist
What would be the best script to use to blunder check the opening lines for the white moves?
I have tried this script

Code: Select all

chess-artist --infile ecoA.pgn --outfile out.pgn --enginefile SF13 --engineoptions "Threads value 4, Hash value 1024" --movetime 6000 --job analyze --color white --eval search 
But no blunders where find, and I'm sure there are.
How can I define the threshold for blunders?
chess artist does not support specific mode blunder check, you just analyze it and see the output if there are blunders or not. Also it does not support analyzing the variation. It only analyzes the main line.
“He knew all the tricks, dramatic irony, metaphor, pathos, puns, parody, litotes and... satire. He was vicious”