Skip to content

Commit

Permalink
Merge pull request #19 from RobertTLange/encodings
Browse files Browse the repository at this point in the history
Gym import bug fix
  • Loading branch information
RobertTLange authored May 24, 2022
2 parents 6eda63a + 3809b1a commit 36e9f75
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ coverage:
project: # settings affecting project coverage
default:
threshold: 5% # allow for 5% reduction of coverage without failing
patch:
default:
target: 80% # new contributions should have a coverage at least equal to target

comment:
layout: "reach, diff, files"
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,16 @@ class State:
- Think about restructuring everything for more scalability!
- Want to be able to pmap ask/tell call so that parameters are directly sampled on device? But this is probably not so easy for tell call since we need simple all reduce way to aggregate results w/o drastic memory increase. Gradients are sooo much easier to deal with in a distributed setting (simply average across devices) :)

### [v0.0.8] - [24/05/2022]

##### Fixed

- Fix gym import bug and codecov patch tolerance.

### [v0.0.7] - [24/05/2022]

##### Fixed

- Bug due to `subpops` import in `experimental`.

### [v0.0.6] - [24/05/2022]
Expand Down
2 changes: 1 addition & 1 deletion evosax/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.7"
__version__ = "0.0.8"
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions evosax/problems/control_gym.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
from functools import partial
from typing import Optional
import chex
from .gym.cartpole import CartPole
from .gym.acrobot import Acrobot
from .cartpole import CartPole
from .acrobot import Acrobot


class GymFitness(object):
Expand Down

0 comments on commit 36e9f75

Please sign in to comment.