{"id":20960206,"url":"https://github.com/instance01/gym-mini-envs","last_synced_at":"2026-04-20T20:32:51.043Z","repository":{"id":68070228,"uuid":"266756657","full_name":"instance01/gym-mini-envs","owner":"instance01","description":"Small minimum size gym environments for testing (and maybe finding edge cases)","archived":false,"fork":false,"pushed_at":"2020-06-07T04:27:31.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-12-16T16:14:16.060Z","etag":null,"topics":["gym-env","gym-environments"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/instance01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-05-25T11:01:24.000Z","updated_at":"2020-06-07T04:27:33.000Z","dependencies_parsed_at":"2023-07-02T18:00:31.464Z","dependency_job_id":null,"html_url":"https://github.com/instance01/gym-mini-envs","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.25,"last_synced_commit":"9c3abfe0f6ce8db3a90dfd6cfa9d213de9a8c772"},"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instance01%2Fgym-mini-envs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instance01%2Fgym-mini-envs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instance01%2Fgym-mini-envs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instance01%2Fgym-mini-envs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/instance01","download_url":"https://codeload.github.com/instance01/gym-mini-envs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243358211,"owners_count":20277991,"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":["gym-env","gym-environments"],"created_at":"2024-11-19T01:58:03.143Z","updated_at":"2025-12-26T21:15:01.948Z","avatar_url":"https://github.com/instance01.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a collection of small environments that aid in developing new Machine Learning methods.\nThey may also help in finding edge cases. If a method works on hard environments but not on simple ones, something may be wrong.\n\nCurrently there are two simple environments:\n* `mini_discrete_env`: Start at position 0. Go to the right until position x. Then go to the left until position y. Reward is 100 for finishing minus a certain factor that takes into account the number of actions used. Returned observation is the current position and the global state (whether the agent has visited position x yet).\n* `mini_continuous_env`: Same as `mini_discrete_env`, but with continuous action/observation space.\n\nExample:\n\n```\nimport gym\nimport mini_envs.discrete_envs.mini_discrete_env\n\n\nenv = gym.make('MiniDiscreteEnv-v0')\n# The following lines are optional customizations.\nenv.goal_pos = [3, -3]  # In accordance to above description, first one is x, second one is y.\nenv.borders = [7, -7]  # Agent won't be able to go beyond borders.\nenv.max_steps = 100\n\nobs, reward, done, _ = env.step(0)  # Go to the left.\nobs, reward, done, _ = env.step(1)  # Go to the right.\n```\n\nInstall:\n\n`pip3 install -e .`, or:\n\n`pip3 install git+git://github.com/instance01/gym-mini-envs.git`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstance01%2Fgym-mini-envs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finstance01%2Fgym-mini-envs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstance01%2Fgym-mini-envs/lists"}