Skip to content

Add more extensive tests for BC trainer #2506

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 2 commits into from
Sep 9, 2019

Conversation

ervteng
Copy link
Contributor

@ervteng ervteng commented Sep 7, 2019

Tests for step() bug as well as add_experiences and process_experiences. This brings the bc/trainer.py test coverage to 96%.

Does not test OnlineBCTrainer or OfflineBCTrainer, just the base class.

@ervteng ervteng requested a review from chriselion September 7, 2019 00:54
Copy link
Contributor

@chriselion chriselion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Can you just manually check that the test fails if the fix from the other PR is undone?

@ervteng
Copy link
Contributor Author

ervteng commented Sep 9, 2019

Yep, the first test breaks if step isn't initialized

@ervteng ervteng merged commit cc6c22f into hotfix-0.9.3 Sep 9, 2019
@ervteng ervteng deleted the hotfix-0.9.3-testforstep branch September 9, 2019 17:50
surfnerd pushed a commit that referenced this pull request Sep 12, 2019
* Add more extensive tests for BC trainer
* Break up tests for BC trainer
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants