Skip to content

Conversation

@oxinabox
Copy link
Member

@oxinabox oxinabox commented Aug 23, 2019

Closes #76
and the mistakes found in #86 for incorrect acshc asec acsc, asecd acscd rules

…t the incorrect acshc asec acsc, asecd acscd rules
Copy link
Member

@willtebbutt willtebbutt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left one minor comment that I'm happy to remain unaddressed if you don't fancy addressing it. Assuming that we now have 100% coverage of the scalars rules through the use of test_scalar, I'm happy for this to be merged.

# Check that we get the derivative right:
@test isapprox(
∂x(1), fdm(f, x);
rtol=rtol, atol=atol, kwargs...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to have atol and rtol outside of kwargs? If we don't set the defaults to 1e-9, do we start to get errors?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk, I was copying the test_frule and test_rrule setup

@oxinabox
Copy link
Member Author

Assuming that we now have 100% coverage of the scalars rules through the use of test_scalar, I'm happy for this to be merged.

We don't yet.
I''m going to add a few more commits to get close to that

@nickrobinson251
Copy link
Contributor

This is great

@oxinabox
Copy link
Member Author

we got the derviative of inv(x) wrong...

@willtebbutt
Copy link
Member

we got the derviative of inv(x) wrong...

lol

@oxinabox
Copy link
Member Author

OK.
Done and ready for review

Copy link
Contributor

@nickrobinson251 nickrobinson251 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💛

@nickrobinson251
Copy link
Contributor

we should re-run CI for Julia 1.0?

@simeonschaub
Copy link
Member

@nickrobinson251 It seems that Travis needs to be reconfigured to not abort if tests take longer than 10 minutes

@nickrobinson251
Copy link
Contributor

nickrobinson251 commented Aug 26, 2019

@nickrobinson251 It seems that Travis needs to be reconfigured to not abort if tests take longer than 10 minutes

Yes, we should extend that time limit - I don't think I have permissions to do that, but hopefully @oxinabox does? (Or maybe i just don't know how to...)
It's possible that allowing more time won't solve this case, if e.g. SpecialFunctions is just hanging for some reason on 1.1 (don't know if that's what's happening or not)

@oxinabox
Copy link
Member Author

It is not possible to increase the time without log output in Travis.
Plus in the versions that pass the total time is not much more than 10 minutes.
(and sometimes is much less)
So it can't be that SpecialFunctions is suposed to need 11minutes to build or something

@simeonschaub
Copy link
Member

Is the solution just to insert random print statements?

@oxinabox
Copy link
Member Author

Is the solution just to insert random print statements?

Apparently.

I wonder if we should just get rid of the top-level TestSet so it prints each testset as it completes.

@oxinabox oxinabox merged commit c6e84c1 into master Aug 27, 2019
@oxinabox oxinabox deleted the ox/testmore branch August 17, 2020 07:49
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.

Add FiniteDifferences based tests to some scalar functions

5 participants