Skip to content

ianfab/variantfishtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

variantfishtest

variantfishtest.py is a python script to run matches between two given UCI chess variant engines. It is mainly used for testing of Fairy-Stockfish for variants not supported by cutechess.

The script is variant-agnostic and therefore supports arbitrary variants, and relies on the correctness and consistency of the engines' rule implementation. A similar script with rule-aware game adjudication is fairyfishtest, which uses the CECP/xboard protocol to run matches.

Run python variantfishtest.py -h for instructions on usage.

Example

python variantfishtest.py stockfish1 --e1-options EvalFile=xiangqi-28d6221e2440.nnue stockfish2 --e2-options EvalFile=xiangqi-83f16c17fe26.nnue -t 10000 -i 100 -v xiangqi -b

Output

A typical output looks like

ELO: 103.73 +-71.1 (95%) LOS: 99.9%
Total: 100 W: 63 L: 34 D: 3

This means that

About

variant-agnostic UCI chess variant engine matches

Topics

Resources

License

Stars

Watchers

Forks

Languages