Skip to content

Improve testing #182

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 7 commits into from
Oct 5, 2020
Merged

Improve testing #182

merged 7 commits into from
Oct 5, 2020

Conversation

willtebbutt
Copy link
Member

This PR makes use of a lot more data points during testing, which makes the tests somewhat harder to pass.

However, it also relaxes some tolerances for specific kernels that appear to struggle for accuracy. For example, the exponential kernel appears to be fairly inaccurate, so the tolerance has been relaxed a bit there.

The extra data points highlighted that the Gabor kernel cannot be used in conjunction with multi-dimensional inputs, which is something that we were previously doing in our tests. That has now been resolved.

@sharanry if possible, could you see if this fixes your problem, or are you only seeing test failures in CI?

@willtebbutt
Copy link
Member Author

willtebbutt commented Oct 4, 2020

These failures are weird, and I'm really struggling to reproduce them locally. Not really sure what's going on :grimace:

edit: I was looking at the wrong kernel...

@willtebbutt
Copy link
Member Author

Tests now pass. This is ready for review. CI drop is related to test utils.

@willtebbutt willtebbutt requested a review from devmotion October 4, 2020 19:50
@willtebbutt willtebbutt merged commit 11eb759 into master Oct 5, 2020
@willtebbutt willtebbutt deleted the wct/test-point-spacing branch October 5, 2020 09:54
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

Successfully merging this pull request may close these issues.

2 participants