-
Notifications
You must be signed in to change notification settings - Fork 32
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
Fix @test_broken
problems
#546
Conversation
There are more bugs regarding
@test_broken should only applied to expressions that evaluate to a Bool (which in the broken case is false but true if the problem is fixed).
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #546 +/- ##
==========================================
- Coverage 67.00% 0.44% -66.56%
==========================================
Files 52 52
Lines 1373 1342 -31
==========================================
- Hits 920 6 -914
- Misses 453 1336 +883 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. Please merge if you're happy.
I see. Why don't they show up as errors though? |
Probably it throws an error currently which is handled by |
Would it be reasonable to replace these by an approximate equality comparing the chosen AD backend to |
I guess these are the intended tests: KernelFunctions.jl/test/transform/selecttransform.jl Lines 76 to 82 in f71cfe0
@test_broken the approximate equality of the two gradients?
|
This should do it. |
Fixes part of #526