{"id":25624177,"url":"https://github.com/lebellig/shut-the-box-9","last_synced_at":"2026-06-15T06:34:13.101Z","repository":{"id":50449865,"uuid":"519022270","full_name":"lebellig/shut-the-box-9","owner":"lebellig","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-10T15:26:22.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-08T12:48:02.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/lebellig.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}},"created_at":"2022-07-28T23:34:56.000Z","updated_at":"2022-08-10T15:25:16.000Z","dependencies_parsed_at":"2022-09-14T22:23:16.315Z","dependency_job_id":null,"html_url":"https://github.com/lebellig/shut-the-box-9","commit_stats":null,"previous_names":["lebellig/shut-the-box-9"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lebellig/shut-the-box-9","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebellig%2Fshut-the-box-9","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebellig%2Fshut-the-box-9/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebellig%2Fshut-the-box-9/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebellig%2Fshut-the-box-9/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lebellig","download_url":"https://codeload.github.com/lebellig/shut-the-box-9/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lebellig%2Fshut-the-box-9/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34351448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-02-22T12:26:38.806Z","updated_at":"2026-06-15T06:34:13.082Z","avatar_url":"https://github.com/lebellig.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shut the box 9\n\n\nThis project aims at using reinforcement learning techniques to master the game named \"Shut the box 9\". ([Rules](https://en.wikipedia.org/wiki/Shut_the_box)).\n\nThe idea here is to consider this game as a great exercice to implement reinforcement learning algorithms and to learn to train models with the _Jax_ framework (with the _Flax_ library for the neural networks). \n\n## Project structure\n\nWe only propose algorithms that do not rely on humain annotated games or humain played games. All the data pipeline can be found in the `/src/data` folder.\n\nThe game in itself is implemented in the `/src/game` folder and a memory buffer of the played moves is added to the scripts.\n\nThe trained (or random) agents are available in `/src/agents`. All the scripts dealing with agents training and neural networks architectures are in `/src/learn`.\n\nSome tests are also implemented to ensure the robustness of the training pipeline in the `/tests` folder\n\n## Installation\n\n1. Clone this repository:\n\n```bash\ngit clone git@github.com:gle-bellier/shut-the-box-9.git\n\n```\n\n2. Install requirements:\n\n```bash\ncd shut-the-box-9\npip install -r requirements.txt\npip install -e .\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flebellig%2Fshut-the-box-9","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flebellig%2Fshut-the-box-9","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flebellig%2Fshut-the-box-9/lists"}