From afdf6565251f61e5ac085412cb03148b436ebfce Mon Sep 17 00:00:00 2001 From: Andrew Grant Date: Fri, 25 Oct 2019 07:21:45 -0400 Subject: [PATCH] Update README to include reference to Fishtest, Django, and Cutechess --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c81d7f5..286260c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,11 @@ -OpenBench is an open-source sequential probability ratio testing framework designed for self-play testing by both UCI and XBOARD compliant engines written in C or C++. OpenBench provides a lightweight interface and client which allows machines to work together to test changes to the engine for performance, stability, or to just simply playing a large number of games. OpenBench currently has support for FRC/Chess960, and uses this variant when presented with an opening book containing "FRC" or "960". +# OpenBench + +OpenBench is an open-source sequential probability ratio testing framework designed for self-play testing by both UCI and xboard compliant engines written in C or C++. OpenBench provides a lightweight interface and client which allows machines to work together to test changes to the engine for performance, stability, or to just simply play a large number of games. OpenBench currently has support for [FRC/Chess960](https://en.wikipedia.org/wiki/Chess960), and uses this variant when presented with an opening book containing "FRC" or "960". OpenBench is the primary testing framework used for the development of [Ethereal.](https://github.com/AndyGrant/Ethereal) The primary instance of OpenBench can be found [here.](http://chess.grantnet.us/) This OpenBench instance currently supports development for [Ethereal](https://github.com/AndyGrant/Ethereal), as well as for [Laser](https://github.com/jeffreyan11/uci-chess-engine) and [Weiss](https://github.com/TerjeKir/weiss). Some engine authors are running their own public or private instances of OpenBench to support development for their engines. These other instances support engines of different origins, such as those written in Kotlin or Rust. +OpenBench is heavily inspired by [Fishtest](https://github.com/glinscott/fishtest). The project is powered by the [Django Web Framework](https://www.djangoproject.com/) and [Cutechess](https://github.com/cutechess/cutechess). + # Setting Up The Client For Windows Install any version of [python3](https://www.python.org/downloads/) @@ -31,13 +35,13 @@ When ``./engine bench`` is run, the engine must provide a node count and nodes p OpenBench assumes that your make file can be found in ``/src/``. The make file will have ``EXE=`` passed as the only argument, specificying the name of the produced binary. Your makefile should support a trivial build. -The options provided to the engines in all OpenBench tests must start with "Threads=X Hash=Y". Your engine should support a provided Hash value. If your engine does not support a variable number of Threads, [cutechess](https://github.com/cutechess/cutechess) will simply not pass on the information. +The options provided to the engines in all OpenBench tests must start with ``"Threads=X Hash=Y"``. Your engine should support a provided Hash value. If your engine does not support a variable number of Threads, [Cutechess](https://github.com/cutechess/cutechess) will simply not pass on the information. -Your engine should play nice when closed by error, by cutechess, by python, or by any other means. This can be verified by checking for hanging processes. Generally this is not an issue, but poor code for reading input pipes can cause this to occur. +Your engine should play nice when closed by error, by Cutechess, by python, or by any other means. This can be verified by checking for hanging processes. Generally this is not an issue, but poor code for reading input pipes can cause this to occur. # Setting Up Your Own Instance -Add your engine to OpenBench/config.py, similar to [Ethereal's configuration.](https://github.com/AndyGrant/OpenBench/blob/1eb2dce5d5500df90a2ed85794cddf6cb509e299/OpenBench/config.py#L29-L40) The test modes are fairly standard, and are derived from those of [fishtest.](https://github.com/glinscott/fishtest) the NPS value is provided in order to scale CPUs of different speeds. Ethereal's speed is scaled to match the speed used by [Stockfish](https://github.com/official-stockfish). It is recommend to follow this scaling, so that the time controls have meaning without association with a particular CPU. +Add your engine to ``OpenBench/config.py``, similar to [Ethereal's configuration.](https://github.com/AndyGrant/OpenBench/blob/1eb2dce5d5500df90a2ed85794cddf6cb509e299/OpenBench/config.py#L29-L40) The test modes are fairly standard, and are derived from those of [Fishtest.](https://github.com/glinscott/fishtest) the NPS value is provided in order to scale CPUs of different speeds. Ethereal's speed is scaled to match the speed used by [Stockfish](https://github.com/official-stockfish). It is recommend to follow this scaling, so that the time controls have meaning without association with a particular CPU. Create a user through the website, then through the Admin interface (found at /admin from your server), enable your profile. You may also set yourself as an approver so that you may approve tests written by others. Additionally, to bypass the cross-approval mechanism, you may set yourself as a superuser. @@ -54,4 +58,4 @@ python3 manage.py migrate python3 manage.py migrate --run-syncdb python3 manage.py createsuperuser python3 manage.py runserver 127.0.0.1:8000 -``` \ No newline at end of file +```