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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable local screenshot testing #400

Open
Korijn opened this issue Oct 27, 2023 · 0 comments
Open

Enable local screenshot testing #400

Korijn opened this issue Oct 27, 2023 · 0 comments

Comments

@Korijn
Copy link
Collaborator

Korijn commented Oct 27, 2023

To enable local screenshot testing, we can make the similarity test more forgiving for small errors.

Standard practise is to use the NRMSE metric (skimage.metrics.normalized_root_mse) and set a threshold (e.g. 0.2).

This won't enable local screenshot generation, but at least you can make the test a little more comprehensive than just checking if the examples run or not.

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