nrontsis / PILCO

Bayesian Reinforcement Learning in Tensorflow
MIT License
314 stars 84 forks source link

Safety pr #36

Closed kyr-pol closed 4 years ago

kyr-pol commented 5 years ago

Adding Safety Features and Tool. Current Version works and has been tested, needs cleaning up.

codecov-io commented 5 years ago

Codecov Report

Merging #36 into master will decrease coverage by 45.14%. The diff coverage is 1.12%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #36       +/-   ##
===========================================
- Coverage    90.3%   45.15%   -45.15%     
===========================================
  Files           7       14        +7     
  Lines         361      733      +372     
===========================================
+ Hits          326      331        +5     
- Misses         35      402      +367
Impacted Files Coverage Δ
pilco/utils.py 33.33% <ø> (ø)
pilco/__init__.py 100% <ø> (ø) :arrow_up:
safe_pilco/safe_pilco.py 0% <0%> (ø)
pilco/controllers.py 88.73% <0%> (ø) :arrow_up:
pilco/models/safe_pilco.py 0% <0%> (ø)
safe_pilco/linear_cars_env.py 0% <0%> (ø)
safe_pilco/safe_swimmer_run.py 0% <0%> (ø)
pilco/rewards.py 61.11% <0%> (ø) :arrow_up:
safe_pilco/rewards_safe.py 0% <0%> (ø)
safe_pilco/safe_cars_run.py 0% <0%> (ø)
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2bf469b...8d83df6. Read the comment docs.

nrontsis commented 5 years ago

I think that this PR consists of the following components:

I suggest that we first deal with the first two bullet points so that we get a better understanding of the amount of code entailed in the last point. Then, we could decide about how this will be handled (single file, separate folder/module etc.)

kyr-pol commented 5 years ago

Ok so added a commit to clean some things up, taking script files etc. out, to a new repo.

Changes as you said consist of:

I agree with merging in steps so that we can better keep track of what is going on.

nrontsis commented 4 years ago

Closing in favour of #45