Skip to content

Add TotalRewardPerEpisodeLastN hook #1053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 21, 2024
Merged

Add TotalRewardPerEpisodeLastN hook #1053

merged 7 commits into from
Mar 21, 2024

Conversation

jeremiahpslewis
Copy link
Member

This pull request adds the TotalRewardPerEpisodeLastN hook to the project. The hook keeps track of the total reward per episode for the last max_steps episodes. It includes the necessary code changes and tests.

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 31.73%. Comparing base (e61836a) to head (201dc89).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #1053       +/-   ##
===========================================
- Coverage   57.50%   31.73%   -25.78%     
===========================================
  Files          71       71               
  Lines        2751     2729       -22     
===========================================
- Hits         1582      866      -716     
- Misses       1169     1863      +694     
Files Coverage Δ
...ementLearningFarm/src/ReinforcementLearningFarm.jl 100.00% <ø> (ø)
...Farm/src/hooks/total_reward_per_last_n_episodes.jl 85.71% <85.71%> (ø)

... and 21 files with indirect coverage changes

@jeremiahpslewis jeremiahpslewis enabled auto-merge (squash) March 20, 2024 16:23
@jeremiahpslewis jeremiahpslewis merged commit 06cabb9 into main Mar 21, 2024
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants