https://github.com/augustunderground/hym

HTTP API for GACE and ACE.

https://github.com/augustunderground/hym

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (3.8%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

HTTP API for GACE and ACE.

Basic Info
  • Host: GitHub
  • Owner: AugustUnderground
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 69.3 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 4 years ago · Last pushed about 4 years ago
Metadata Files
Readme License

README.md

HYM

HTTP Adapter for gym, GAC²E and AC²E.

Install

bash $ pip install git+https://github.com/augustunderground/hym.git

Gym

bash $ gym-http --host <host address> --port <port> \ --env <gace id> --var <gace variant> --num <num envs>

Reset:

bash $ curl -X GET <host>:<port>/<env_id>-v<variant>/reset

Step from file:

bash $ curl -d '@examples/gym-action.json' -H "Content-Type: application/json" \ -X POST <host>:<port>/<env_id>-v<variant>/step

Action Space:

bash $ curl -X GET <host>:<port>/<env_id>-v<variant>/action_space

Observation Space:

bash $ curl -X GET <host>:<port>/<env_id>-v<variant>/observation_space

Random Action:

bash $ curl -X GET <host>:<port>/<env_id>-v<variant>/random_action

Take random step:

bash $ curl -X GET <host>:<port>/<env_id>-v<variant>/random_step

GAC²E

bash $ gace-http --host <host address> --port <port> \ --env <gace id> --pdk <ace backend> \ --var <gace variant> --num <num envs>

Reset:

bash $ curl -X GET <host>:<port>/gace:<ace id>-<ace backend>-v<gace variant>/reset

Step from file:

bash $ curl -d '@examples/gace-action.json' -H "Content-Type: application/json" \ -X POST <host>:<port>/gace:<ace id>-<ace backend>-v<gace variant>/step

Action Space:

bash $ curl -X GET <host>:<port>/gace:<ace id>-<ace backend>-v<gace variant>/action_space

Observation Space:

bash $ curl -X GET <host>:<port>/gace:<ace id>-<ace backend>-v<gace variant>/observation_space

Random Action:

bash $ curl -X GET <host>:<port>/gace:<ace id>-<ace backend>-v<gace variant>/random_action

Take random step:

bash $ curl -X GET <host>:<port>/gace:<ace id>-<ace backend>-v<gace variant>/random_step

View Target:

bash $ curl -X GET <host>:<port>/gace:<ace id>-<ace backend>-v<gace variant>/target

HAC²E

bash $ ace-http --host <host address> --port <port> --env <ace id> --pdk <pdk> \ --num <num envs>

From command:

bash $ curl -d '{"Wd":2e-6}' -H "Content-Type: application/json" \ -X POST <host>:<port>/<ace id>-<ace backend>/sim

From file:

bash $ curl -d '@sizing.json' -X POST <host>:<port>/<ace id>-<ace backend>/sim

Get last result without simulating:

bash $ curl -X GET <host>:<port>/<ace id>-<ace backend>/performance

Get current sizing

bash $ curl -X GET <host>:<port>/<ace id>-<ace backend>/sizing

Get Performance Parameters:

bash $ curl -X GET <host>:<port>/<ace id>-<ace backend>/p-params

Get Sizing Parameters:

bash $ curl -X GET <host>:<port>/<ace id>-<ace backend>/s-params

Get Initial Sizing:

bash $ curl -X GET <host>:<port>/<ace id>-<ace backend>/init

Get Random Sizing:

bash $ curl -X GET <host>:<port>/<ace id>-<ace backend>/rng

Owner

  • Name: ynk
  • Login: AugustUnderground
  • Kind: user
  • Location: Innsmouth
  • Company: @electronics-and-drives

PhD Student at Reutlingen University

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • Flask *
  • gace *
  • gym *
  • hace *
  • numpy *