facebookresearch / CompilerGym

Reinforcement learning environments for compiler and program optimization tasks
https://compilergym.ai/
MIT License
885 stars 123 forks source link

Fix references to removed `compiler_gym.util.logs` module. #732

Closed ChrisCummins closed 2 years ago

ChrisCummins commented 2 years ago

Hotfix for two regression on development head.

codecov-commenter commented 2 years ago

Codecov Report

Merging #732 (2034f56) into development (71018a6) will decrease coverage by 15.35%. The diff coverage is 70.00%.

:exclamation: Current head 2034f56 differs from pull request most recent head 5e0a0c7. Consider uploading reports for the commit 5e0a0c7 to get more accurate results

Impacted file tree graph

@@               Coverage Diff                @@
##           development     #732       +/-   ##
================================================
- Coverage        88.62%   73.27%   -15.36%     
================================================
  Files              131      129        -2     
  Lines             7922     7854       -68     
================================================
- Hits              7021     5755     -1266     
- Misses             901     2099     +1198     
Impacted Files Coverage Δ
compiler_gym/bin/random_replay.py 0.00% <ø> (ø)
compiler_gym/datasets/dataset.py 73.33% <ø> (-11.67%) :arrow_down:
compiler_gym/datasets/uri.py 87.87% <ø> (-5.31%) :arrow_down:
compiler_gym/envs/compiler_env.py 75.15% <ø> (-0.30%) :arrow_down:
compiler_gym/spaces/reward.py 79.24% <ø> (-1.46%) :arrow_down:
compiler_gym/util/debug_util.py 85.71% <ø> (-14.29%) :arrow_down:
compiler_gym/views/observation.py 93.75% <ø> (-6.25%) :arrow_down:
compiler_gym/wrappers/core.py 68.96% <ø> (-12.96%) :arrow_down:
compiler_gym/random_search.py 84.12% <66.66%> (-7.98%) :arrow_down:
...ompiler_gym/service/client_service_compiler_env.py 88.74% <100.00%> (-2.07%) :arrow_down:
... and 59 more