Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #246 +/- ##
==========================================
+ Coverage 72.71% 72.96% +0.25%
==========================================
Files 142 142
Lines 8450 8451 +1
==========================================
+ Hits 6144 6166 +22
+ Misses 2306 2285 -21 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Hello @maypink! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2023-12-17 15:46:53 UTC |
- remove experiment-specific edits of the analyzer scripts (hardcoded local
paths, commented-out plotting code): the branch now only changes the agents
- fix the saved-MAB numbering regex properly: \d+_mab\.pkl instead of \d*,
which also matched '_mab.pkl' and crashed on int('') while still ignoring
multi-digit numbers is what the original \d did
- ContextualMultiArmedBanditAgent now accepts path_to_save and forwards it to
the base agent; previously the auto-save condition could never trigger
- serialize agents with dill instead of _pickle: the contextual agent holds
context-function closures that the standard pickle cannot serialize, so
saving crashed with AttributeError (dill is added to requirements)
- add regression tests: saved file numbering with multi-digit indices and
non-numeric prefixes; contextual agent state saving on partial_fit
- keep the UCB1 alpha change (1.25 -> 0.8) as the stated purpose of the branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.