facebookresearch / CompilerGym

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

Add dispatching on type_id during action and observation conversion #643

Closed sogartar closed 2 years ago

sogartar commented 2 years ago

Please see https://github.com/facebookresearch/CompilerGym/issues/526#issuecomment-1011252741 for more information.

codecov-commenter commented 2 years ago

Codecov Report

Merging #643 (395da4e) into development (3c21aee) will increase coverage by 0.09%. The diff coverage is 100.00%.

@@               Coverage Diff               @@
##           development     #643      +/-   ##
===============================================
+ Coverage        88.13%   88.22%   +0.09%     
===============================================
  Files              116      116              
  Lines             7372     7386      +14     
===============================================
+ Hits              6497     6516      +19     
+ Misses             875      870       -5     
Impacted Files Coverage Δ
compiler_gym/service/proto/py_converters.py 97.70% <100.00%> (+1.07%) :arrow_up:
compiler_gym/util/commands.py 83.33% <0.00%> (-2.39%) :arrow_down:
compiler_gym/envs/gcc/gcc.py 93.14% <0.00%> (-0.26%) :arrow_down:
compiler_gym/service/proto/__init__.py 100.00% <0.00%> (ø)
...ompiler_gym/service/client_service_compiler_env.py 90.69% <0.00%> (+0.13%) :arrow_up:
compiler_gym/envs/gcc/service/gcc_service.py 97.06% <0.00%> (+0.36%) :arrow_up:
...loop_tool/service/loop_tool_compilation_session.py 89.79% <0.00%> (+0.68%) :arrow_up:
compiler_gym/views/observation.py 100.00% <0.00%> (+2.70%) :arrow_up:
compiler_gym/views/observation_space_spec.py 84.84% <0.00%> (+3.03%) :arrow_up:

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 3c21aee...395da4e. Read the comment docs.