Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional debug mode #198

Open
neo-alex opened this issue Jul 11, 2022 · 0 comments
Open

Add optional debug mode #198

neo-alex opened this issue Jul 11, 2022 · 0 comments

Comments

@neo-alex
Copy link
Collaborator

馃殌 Feature

Add an optional debug mode to scikit-decide.

Motivation

Currently, some (possibly silent) bugs can be difficult to find when creating a new domain (or solver).

Pitch

The scikit-decide library could add a global debug mode that the user might optionally activate (at the cost of a small overhead) to do a number of sanity checks automatically, e.g. asserting that all the actions/observations are indeed members of the declared action/observation spaces. Ideally, this feature should add zero overhead at runtime whenever the debug mode is not activated (this should be possible with the use of method decorators, which would simply return the original function when not in debug mode).

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

No branches or pull requests

1 participant