Skip to content
Rating for chess engines, players, or other games
C TeX Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
myopt [1.1.8-man1-opt1] implement long options Mar 13, 2016
sysport [v0.9.9.8.1-smp15] implement smpcount Apr 9, 2015
.gitignore
INSTALL.txt [v0.9.8.7] Separate Install and INSTALL Feb 24, 2015
LICENSE.txt
Makefile [1.2-enc2-opt1] optimize calculation of output info, introduce timer Apr 16, 2016
README.md [1.0-mf5] update README.md Jan 3, 2016
bitarray.c
bitarray.h [1.0.9.5-ba3] introduce switches -i and -x Feb 6, 2016
boolean.h [v0.9.9.8.1-smp10] err Apr 10, 2015
cegt.c
cegt.h
csv.c
csv.h [v0.9.9.6-by5-r4-dr2-cln10] clean and replace strcpy in relprior.c an… Mar 21, 2015
datatype.h
encount.c
encount.h
fit1d.c [v0.9.9.2-cln9-ml2-gr2-wadv18-dbg3] Fix bugs, flat option in quadfit,… Mar 10, 2015
fit1d.h [v0.9.7w] ruby rm warnings Sep 21, 2014
gauss.c
gauss.h
groups.c [1.2.2-dbg2] Fix bug in scan_encounters Apr 18, 2016
groups.h
indiv.c [v0.9.9.5-wa3-cln1-wdl1] try new scheme for get_pWDL Mar 15, 2015
indiv.h
inidone.c [1.2-enc2] move functions from inidone.c to encount.c Mar 19, 2016
inidone.h [1.2-enc2] move functions from inidone.c to encount.c Mar 19, 2016
justify.c
justify.h
main.c
manual.tex [1.1.8-man1] modify slightly the manual Mar 8, 2016
myhelp.c [1.1.8-man1-opt4] modify help Mar 13, 2016
myhelp.h
mymem.c
mymem.h
mystr.c
mystr.h
mytimer.c
mytimer.h
mytypes.h [1.0.9.2-out2] output opp error average Jan 31, 2016
namehash.c
namehash.h [1.0.9.8-cln1] make const, the struct database inputs Feb 13, 2016
ordolim.h [v0.9.8.4-beta3-nmhash15] fix ordolims Feb 23, 2015
pgnget.c [1.1.9-mem1-pgn1] adapt changes in ordoprep about pgnget.c Mar 14, 2016
pgnget.h [1.1.9-mem1-pgn1] adapt changes in ordoprep about pgnget.c Mar 14, 2016
plyrs.c [1.2.6] silence warnings Apr 19, 2016
plyrs.h
proginfo.c [v0.7-ma3-gpl2] Add licenses notices in each file and include License… Aug 14, 2013
proginfo.h
progname.h
ra.c
ra.h
randfast.c
randfast.h
rating.c [1.2.2] include switch to turn on --timelog Apr 17, 2016
rating.h
ratingb.c [1.2-enc1] clean up encounters calculation headers Mar 19, 2016
ratingb.h
readme-example-j-switch.txt
relpman.c
relpman.h
relprior.c
relprior.h [v0.9.9.8.1-smp3] players, relpriors, and priorlist: implement replic… Apr 6, 2015
report.c [1.2.4-opt2] Fix bug in memset initialization Apr 19, 2016
report.h [1.1.7] -N switch takes two parameters, for score decimals Mar 8, 2016
rtngcalc.c
rtngcalc.h
sim.c [1.2-enc2-opt2-grp1] modify groups like ordoprep Apr 17, 2016
sim.h [v0.9.9.8.1-smp18] Implement smp routines, just fixed to 1 thread for… Apr 10, 2015
strlist.c
strlist.h [1.1.0-str1] strlist, used it for multiple file inputs Feb 20, 2016
summations.c [v0.9.9.8.1-smp10] err Apr 10, 2015
summations.h [v0.9.9.8-ra3-pl2-cln4-sim21-fx5] summations.c summations.h Apr 3, 2015
version.h
version.txt [1.2.6] silence warnings Apr 19, 2016
xpect.c
xpect.h

README.md

ORDO

Ratings for chess and other games

Copyright 2015 Miguel A. Ballicora

Ordo is a program designed to calculate ratings of individual chess engines (or players). It has a similar concept than the Elo rating, but with a different model and algorithm. Ordo keeps consistency among ratings because it calculates them considering all results at once. The source code is available under the GPL.

Compilation

Program can be compile and installed in GNU/Linux with

make

make install

Usage

The input should be a file that adheres to the PGN standard. Based on the results in that file, Ordo automatically calculates a ranking . The output can be a plain text file and/or a comma separated value file. The .csv file is an interesting option because it can be opened/imported by most spreadsheet programs. Once imported, the user can choose to format the output externally. The simplest way to use Ordo is typing in the command line:

ordo -p games.pgn

which will take the results from games.pgn and output the text ranking on the screen. If you want to save the results in a file ratings.txt, you can run:

ordo -p games.pgn -o ratings.txt

By default, the average rating of all the individuals is 2300. If you want a different overall average, you can use the switch -a to set it. For instance to have and average of 2500, you can do:

ordo -a 2500 -p games.pgn -o ratings.txt

or if you want the results in .csv format, use the switch -c.

ordo -a 2500 -p games.pgn -c rating.csv

If you want both, you can use:

ordo -a 2500 -p games.pgn -o ratings.txt -c rating.csv

In addition, -A will fix the rating of a given player as a reference anchor for the whole pool of players.

ordo -a 2800 -A "Engine X" -p games.pgn -o ratings.txt

That will calculate the ratings from games.pgn, save it in ratings.txt, and anchor the engine Engine X to a rating of 2800. Names that contain spaces should be surrounded by quote marks as in this example.

If several input files are used, they can be listed after '--'

ordo -a 2800 -A "Engine X" -o ratings.txt -- input1.pgn input2.pgn input3.pgn

Help

Other switches are available and information about them can be obtained by typing

ordo -h

That will list the help. For more information and a manual, please go to Ordo-info.

Acknowledgments

Adam Hair has extensively tested and suggested valuable ideas.

You can’t perform that action at this time.