{"id":17931932,"url":"https://github.com/kraktus/checkpuzzlestb","last_synced_at":"2025-04-03T10:31:55.730Z","repository":{"id":46115074,"uuid":"325550389","full_name":"kraktus/CheckPuzzlesTb","owner":"kraktus","description":"Confronts lichess puzzles V2 to syzygy tablebase","archived":false,"fork":false,"pushed_at":"2025-01-30T13:02:13.000Z","size":1035,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T00:12:39.771Z","etag":null,"topics":["chess","lichess","puzzle","tablebase"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kraktus.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":"2020-12-30T12:53:27.000Z","updated_at":"2025-01-30T13:02:16.000Z","dependencies_parsed_at":"2023-11-12T17:38:44.263Z","dependency_job_id":"56d0e510-95e8-4f07-9fd8-8ceb58792279","html_url":"https://github.com/kraktus/CheckPuzzlesTb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kraktus%2FCheckPuzzlesTb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kraktus%2FCheckPuzzlesTb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kraktus%2FCheckPuzzlesTb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kraktus%2FCheckPuzzlesTb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kraktus","download_url":"https://codeload.github.com/kraktus/CheckPuzzlesTb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246984427,"owners_count":20864441,"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","lichess","puzzle","tablebase"],"created_at":"2024-10-28T21:24:27.277Z","updated_at":"2025-04-03T10:31:55.674Z","avatar_url":"https://github.com/kraktus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CheckPuzzlesTb\n\nA python script checking if [Lichess puzzles](https://database.lichess.org/#puzzles) with 7 or fewer pieces are correct according to the [syzygy tablebase api](https://github.com/niklasf/lila-tablebase).\n\n## Usage\n\n```\npython3 -m venv venv \u0026\u0026 source venv/bin/activate\npython3 t.py --help\nusage: t.py [-h] {filter,check,export,clean}\n\npositional arguments:\n  {filter,check,export,clean}\n                        filter: \n                            Select all puzzles from `DB_PATH` that have at point \u003c= 7 pieces on the board, and save them in file `PUZZLE_PATH`\n                            \n                        \n                        check: \n                            Look at every puzzle in `PUZZLE_PATH`, minus the ones with mate tag, and check them gainst syzygy tb.\n                            Save the results in `PUZZLE_CHECKED_PATH`, with every line being `\u003cpuzzle_id\u003e \u003coptional[error_1]\u003e \u003coptional[error_2]\u003e...\n                            \n                        \n                        export: \n                            Look at every puzzle in `PUZZLE_CHECKED_PATH`, and save the list of ids of the ones which are incorrect in `incorrect_puzzles_id.txt`.\n                            \n                        \n                        clean: \n                            Remove all puzzles that are in `PUZZLE_CHECKED_PATH`, but not in `PUZZLE_PATH` anymore, which means they've been deleted on Lichess. /!\\ Run `filter` command before\n                            \n                        \n\noptional arguments:\n  -h, --help            show this help message and exit\n```\n\n## Installation\n\n```\npython3 -m venv venv \u0026\u0026 source venv/bin/activate\npip3 install -r requirements.txt\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkraktus%2Fcheckpuzzlestb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkraktus%2Fcheckpuzzlestb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkraktus%2Fcheckpuzzlestb/lists"}