This patch causes Sinergym to use the truncated flag instead of terminated when the episode has been completed naturally without any event causing it to be forcibly terminated. For more information, visit the referenced issue.
Motivation and Context
[x] I have raised an issue to propose this change (required for new features and bug fixes)
Why is this change required? What problem does it solve? Please, reference issue or issues opened previously.
Fixes #384
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
This patch causes Sinergym to use the truncated flag instead of terminated when the episode has been completed naturally without any event causing it to be forcibly terminated. For more information, visit the referenced issue.
Motivation and Context
Why is this change required? What problem does it solve? Please, reference issue or issues opened previously.
Fixes #384
Types of changes
Checklist:
autopep8
second level aggressive.isort
.cd docs && make spelling && make html
pass (required if documentation has been updated.)pytest tests/ -vv
pass. (required).pytype -d import-error sinergym/
pass. (required)Changelog:
CSVLogger
class and wrapper) log truncated flag inmonitor.csv
too.