The idea is call Ordo to show the ratings of the gauntlent/selfplay and also bayeselo to show error bars. Maybe this second thing can be done with Ordo, but I don't know how.
Is a bat file that takes various arguments, to be able to work with pgn files done simultaneously in different computers.
First copies the original pgn files in a folder "copiespgn".
Then concatenates all the pgn files to the first one and removes the other files.
Then uses the findandreplace utility to change
Result "?"
to
Result "*"
because is incompatible with Ordo.
Then calls Ordo and finally Bayeselo.
The way to call this batch file from windows explorer is to drag the pgn files to the bat file.
May be someone wants to comment something.
Code: Select all
@echo off
f:
cd F:\p\c\cutechess-cli\
for %%f in (%*) do (
copy /Y %%f F:\p\c\cutechess-cli\copiespgn
IF NOT "%%f" == "%1" (
type "%%f" >> %1
del %%f
)
)
rem https://findandreplace.codeplex.com/
"fnr.exe" --silent --cl --dir "F:\p\c\cutechess-cli" --fileMask "%~n1.pgn" --excludeFileMask "*.dll, *.exe" --find "Result ""?""" --replace "Result ""*"""
xordo-win64.exe -a2856 -q -p %1 -G -W -D
echo readpgn %1 >elo.txt
echo elo >>elo.txt
echo mm >>elo.txt
echo exactdist >>elo.txt
echo ratings >>elo.txt
echo x >>elo.txt
echo x >>elo.txt
type elo.txt|bayeselo.exe|grep Andscacs
del elo.txt
pause
Code: Select all
# PLAYER : RATING POINTS PLAYED (%)
1 Equinox 3.20 x64mp : 2934.5 180.5 272 66.4%
2 Bouquet 1.8 x64 : 2907.5 173.5 276 62.9%
3 Komodo 5.1r2 64-bit : 2875.8 160.5 274 58.6%
4 Gull 3 x64 : 2852.1 151.5 274 55.3%
5 Fire 4 x64 : 2845.4 150.0 276 54.3%
6 Komodo 7a 64-bit : 2839.1 146.5 274 53.5%
7 Elektro 1.2 : 2839.0 148.0 277 53.4%
8 Stockfish_290915 : 2837.5 148.0 278 53.2%
9 Protector 1.9.0 : 2835.4 144.0 272 52.9%
10 BlackMamba 2.0 x64 : 2835.1 145.5 275 52.9%
11 Andscacs 0.84048 : 2814.6 1200.0 2748 43.7%
White advantage = 28.56
Draw rate (equal opponents) = 31.57 %
2748 game(s) loaded, 0 game(s) with unknown result ignored.
11 Andscacs 0.84048 -39 10 11 2748 44% 4 31%