{"id":19392249,"url":"https://github.com/unsignedarduino/tinychesstest","last_synced_at":"2025-09-09T18:33:29.244Z","repository":{"id":197509458,"uuid":"698778241","full_name":"UnsignedArduino/TinyChessTest","owner":"UnsignedArduino","description":"A program for tournament setup for elo testing the TinyChess engine. ","archived":false,"fork":false,"pushed_at":"2023-10-09T16:32:58.000Z","size":496,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T10:12:11.577Z","etag":null,"topics":["chess-engine","chess-engine-tester","cutechess-cli","elo","tournament"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UnsignedArduino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-01T00:01:10.000Z","updated_at":"2023-11-07T19:13:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b891dec-6ada-4100-986c-7a16eb2a6ad5","html_url":"https://github.com/UnsignedArduino/TinyChessTest","commit_stats":null,"previous_names":["unsignedarduino/tinychesstest"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnsignedArduino%2FTinyChessTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnsignedArduino%2FTinyChessTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnsignedArduino%2FTinyChessTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnsignedArduino%2FTinyChessTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UnsignedArduino","download_url":"https://codeload.github.com/UnsignedArduino/TinyChessTest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240564607,"owners_count":19821421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chess-engine","chess-engine-tester","cutechess-cli","elo","tournament"],"created_at":"2024-11-10T10:31:37.865Z","updated_at":"2025-02-24T21:59:19.335Z","avatar_url":"https://github.com/UnsignedArduino.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TinyChessTest\n\nA program for tournament setup for elo testing the\n[TinyChess](https://github.com/Bobingstern/TinyChess) engine.\n\n## Install\n\n1. Have Python, MinGW, Make, CMake, and cutechess-cli installed and in PATH.\n   (tested only on Python 3.11)\n2. Clone this repo.\n3. Create virtual environment if desired.\n4. Install requirements in [`requirements.txt`](requirements.txt).\n\n## Run\n\nRun [`src/main.py`](src/main.py).\n\nExample command to test\n[`5747a4eb4c0834b72ad39381c0f2074a1601d52e`](https://github.com/Bobingstern/TinyChess/commit/5747a4eb4c0834b72ad39381c0f2074a1601d52e)\nagainst the main branch.\n\n```commandline\npython src/main.py --engine-1-commit 5747a4eb4c0834b72ad39381c0f2074a1601d52e --engine-2-commit main\n```\n\nExample command to test\n[`5747a4eb4c0834b72ad39381c0f2074a1601d52e`](https://github.com/Bobingstern/TinyChess/commit/5747a4eb4c0834b72ad39381c0f2074a1601d52e)\nagainst the main branch with a time control of 5+0.01 and 1000 games with\nconcurrency of 5 and save FENs to `output.fens`.\n\n```commandline\npython src/main.py --engine-1-commit 5747a4eb4c0834b72ad39381c0f2074a1601d52e --engine-2-commit main --concurrency 5 --time-control 5+0.01 --games 1000 --save-fens output.fens\n```\n\n### Help\n\n```commandline\nusage: TinyChessTest [-h] --engine-1-commit COMMIT --engine-2-commit COMMIT\n                     [--build-type {Debug,Release}] [--time-control TC]\n                     [--games COUNT] [--concurrency COUNT] [--no-book]\n                     [--save-fen PATH]\n\nA program for tournament setup for elo testing the TinyChess engine.\n\noptions:\n  -h, --help            show this help message and exit\n  --engine-1-commit COMMIT, -e1c COMMIT\n                        TinyChess commit for engine 1. Is passed to `git\n                        checkout`, so it can be a commit hash or branch.\n  --engine-2-commit COMMIT, -e2c COMMIT\n                        TinyChess commit for engine 2. Is passed to `git\n                        checkout`, so it can be a commit hash or branch.\n  --build-type {Debug,Release}, -bt {Debug,Release}\n                        Build target type when compiling the engines. Defaults\n                        to Debug.\n  --time-control TC, -tc TC\n                        (cutechess-cli tc documentation) Set the time control.\n                        The format is moves/time+increment, where moves is the\n                        number of moves per tc, time is time per tc (either\n                        seconds or minutes:seconds), and increment is the time\n                        increment per move in seconds. Infinite time control\n                        can be set with inf. The default is 60+1.\n  --games COUNT, -g COUNT\n                        Number of games. Defaults to 50.\n  --concurrency COUNT, -c COUNT\n                        Number of concurrent games. Defaults to 1.\n  --no-book, -nb        Disables the use of an opening book.\n  --save-fen PATH, -sf PATH\n                        Save the FENs of the game to a file path.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funsignedarduino%2Ftinychesstest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funsignedarduino%2Ftinychesstest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funsignedarduino%2Ftinychesstest/lists"}