{"id":20602461,"url":"https://github.com/augustunderground/hym","last_synced_at":"2025-08-31T15:19:49.694Z","repository":{"id":112836154,"uuid":"459253400","full_name":"AugustUnderground/hym","owner":"AugustUnderground","description":"HTTP API for GACE and ACE.","archived":false,"fork":false,"pushed_at":"2022-05-12T16:17:47.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T16:36:52.931Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/AugustUnderground.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-14T17:11:21.000Z","updated_at":"2022-03-07T15:01:51.000Z","dependencies_parsed_at":"2023-05-31T10:15:43.610Z","dependency_job_id":null,"html_url":"https://github.com/AugustUnderground/hym","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AugustUnderground/hym","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustUnderground%2Fhym","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustUnderground%2Fhym/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustUnderground%2Fhym/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustUnderground%2Fhym/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AugustUnderground","download_url":"https://codeload.github.com/AugustUnderground/hym/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AugustUnderground%2Fhym/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272996414,"owners_count":25028123,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"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":"2024-11-16T09:13:55.948Z","updated_at":"2025-08-31T15:19:49.688Z","avatar_url":"https://github.com/AugustUnderground.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HYM\n\nHTTP Adapter for [gym](https://www.gymlibrary.ml/#),\n[GAC²E](https://github.com/AugustUnderground/gace)\nand [AC²E](https://github.com/matthschw/ace).\n\n## Install\n\n```bash\n$ pip install git+https://github.com/augustunderground/hym.git\n```\n\n## Gym\n\n```bash\n$ gym-http --host \u003chost address\u003e --port \u003cport\u003e \\\n           --env \u003cgace id\u003e --var \u003cgace variant\u003e --num \u003cnum envs\u003e\n```\n\nReset:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/\u003cenv_id\u003e-v\u003cvariant\u003e/reset\n```\n\nStep from file:\n\n```bash\n$ curl -d '@examples/gym-action.json' -H \"Content-Type: application/json\" \\\n       -X POST \u003chost\u003e:\u003cport\u003e/\u003cenv_id\u003e-v\u003cvariant\u003e/step\n```\n\nAction Space:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/\u003cenv_id\u003e-v\u003cvariant\u003e/action_space\n```\n\nObservation Space:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/\u003cenv_id\u003e-v\u003cvariant\u003e/observation_space\n```\n\nRandom Action:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/\u003cenv_id\u003e-v\u003cvariant\u003e/random_action\n```\n\nTake random step:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/\u003cenv_id\u003e-v\u003cvariant\u003e/random_step\n```\n\n## GAC²E\n\n```bash\n$ gace-http --host \u003chost address\u003e --port \u003cport\u003e \\\n            --env \u003cgace id\u003e --pdk \u003cace backend\u003e \\\n            --var \u003cgace variant\u003e --num \u003cnum envs\u003e\n```\n\nReset:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/gace:\u003cace id\u003e-\u003cace backend\u003e-v\u003cgace variant\u003e/reset\n```\n\nStep from file:\n\n```bash\n$ curl -d '@examples/gace-action.json' -H \"Content-Type: application/json\" \\\n       -X POST \u003chost\u003e:\u003cport\u003e/gace:\u003cace id\u003e-\u003cace backend\u003e-v\u003cgace variant\u003e/step\n```\n\nAction Space:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/gace:\u003cace id\u003e-\u003cace backend\u003e-v\u003cgace variant\u003e/action_space\n```\n\nObservation Space:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/gace:\u003cace id\u003e-\u003cace backend\u003e-v\u003cgace variant\u003e/observation_space\n```\n\nRandom Action:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/gace:\u003cace id\u003e-\u003cace backend\u003e-v\u003cgace variant\u003e/random_action\n```\n\nTake random step:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/gace:\u003cace id\u003e-\u003cace backend\u003e-v\u003cgace variant\u003e/random_step\n```\n\nView Target:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/gace:\u003cace id\u003e-\u003cace backend\u003e-v\u003cgace variant\u003e/target\n```\n\n## HAC²E\n\n```bash\n$ ace-http --host \u003chost address\u003e --port \u003cport\u003e --env \u003cace id\u003e --pdk \u003cpdk\u003e \\\n           --num \u003cnum envs\u003e\n```\n\nFrom command:\n\n```bash\n$ curl -d '{\"Wd\":2e-6}' -H \"Content-Type: application/json\" \\\n       -X POST \u003chost\u003e:\u003cport\u003e/\u003cace id\u003e-\u003cace backend\u003e/sim\n```\n\nFrom file:\n\n```bash\n$ curl -d '@sizing.json' -X POST \u003chost\u003e:\u003cport\u003e/\u003cace id\u003e-\u003cace backend\u003e/sim\n```\n\nGet last result without simulating:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/\u003cace id\u003e-\u003cace backend\u003e/performance\n```\n\nGet current sizing\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/\u003cace id\u003e-\u003cace backend\u003e/sizing\n```\n\nGet Performance Parameters:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/\u003cace id\u003e-\u003cace backend\u003e/p-params\n```\n\nGet Sizing Parameters:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/\u003cace id\u003e-\u003cace backend\u003e/s-params\n```\n\nGet Initial Sizing:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/\u003cace id\u003e-\u003cace backend\u003e/init\n```\n\nGet Random Sizing:\n\n```bash\n$ curl -X GET \u003chost\u003e:\u003cport\u003e/\u003cace id\u003e-\u003cace backend\u003e/rng\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugustunderground%2Fhym","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faugustunderground%2Fhym","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugustunderground%2Fhym/lists"}