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

Add stats / destats field to everything #391

Merged
merged 7 commits into from
Mar 10, 2023

Conversation

avik-pal
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Feb 15, 2023

Codecov Report

Merging #391 (af77689) into master (c2bb35d) will decrease coverage by 4.63%.
The diff coverage is 84.21%.

@@            Coverage Diff             @@
##           master     #391      +/-   ##
==========================================
- Coverage   52.25%   47.62%   -4.63%     
==========================================
  Files          46       46              
  Lines        3554     3582      +28     
==========================================
- Hits         1857     1706     -151     
- Misses       1697     1876     +179     
Impacted Files Coverage Δ
src/solutions/optimization_solutions.jl 41.30% <ø> (-13.05%) ⬇️
src/solutions/pde_solutions.jl 0.00% <ø> (ø)
src/solutions/nonlinear_solutions.jl 38.46% <50.00%> (-23.08%) ⬇️
src/solutions/rode_solutions.jl 53.24% <72.72%> (-13.42%) ⬇️
src/solutions/dae_solutions.jl 33.33% <90.90%> (+13.76%) ⬆️
src/solutions/ode_solutions.jl 88.98% <90.90%> (-5.41%) ⬇️
src/integrator_interface.jl 40.19% <100.00%> (-7.19%) ⬇️
src/solutions/basic_solutions.jl 65.21% <100.00%> (-13.05%) ⬇️
src/problems/sdde_problems.jl 0.00% <0.00%> (-60.00%) ⬇️
src/function_wrappers.jl 44.44% <0.00%> (-29.24%) ⬇️
... and 21 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ChrisRackauckas
Copy link
Member

can we just do this to all now?

@avik-pal
Copy link
Member Author

can we just do this to all now?

Done

@avik-pal avik-pal changed the title Add stats field to NonlinearSolution Add stats / destats field to everything Feb 15, 2023
@avik-pal
Copy link
Member Author

The DelayDiffEq failure seems unrelated

@ChrisRackauckas
Copy link
Member

@YingboMa should we just destats -> stats with a deprecation path in the getproperty?

@avik-pal
Copy link
Member Author

@YingboMa bump

Copy link
Member

@YingboMa YingboMa left a comment

Choose a reason for hiding this comment

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

Still need the destats -> stats depreciation

@avik-pal
Copy link
Member Author

Still need the destats -> stats depreciation

I bumped it to confirm if we wanted the deprecation. Will do that.

@avik-pal
Copy link
Member Author

The test_nowarn & test_warn tests really dislike this change 😢

@ChrisRackauckas
Copy link
Member

Let's make sure the ArrayInterface stuff is more done before breaking some tests again with this 😅 . Other than that, I think this is good to go.

@ChrisRackauckas
Copy link
Member

Is downstream all set?

@avik-pal
Copy link
Member Author

avik-pal commented Mar 2, 2023 via email

src/deprecated.jl Outdated Show resolved Hide resolved
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
@avik-pal
Copy link
Member Author

avik-pal commented Mar 6, 2023

The interface tests for ODE.jl are working locally & (Stochastic)DelayDiffEq.jl is also working. We should be good to go.

@ChrisRackauckas ChrisRackauckas merged commit 6fef35f into SciML:master Mar 10, 2023
@nathanaelbosch
Copy link
Contributor

nathanaelbosch commented Mar 10, 2023

This change broke ProbNumDiffEq.jl:
https://github.com/nathanaelbosch/ProbNumDiffEq.jl/actions/runs/4385007371/jobs/7677180411

By which I don't really mean to criticise, I'm not familiar enough with the API though to know if that's semver problem, I might also just be too reckless in ProbNumDiffEq.jl. I'm mostly wondering: Would it make sense to also add ProbNumDiffEq.jl to the integration tests to catch this stuff earlier? (maybe @ChrisRackauckas)

EDIT: Actually I'm not sure where the issue is exactly, locally OrdinaryDiffEq.jl is the thing that fails, but I didn't have a thorough look yet.

@avik-pal avik-pal deleted the patch-1 branch March 10, 2023 14:00
oscardssmith added a commit to oscardssmith/Sundials.jl that referenced this pull request Mar 13, 2023
ChrisRackauckas pushed a commit to SciML/Sundials.jl that referenced this pull request Mar 14, 2023
@ChrisRackauckas
Copy link
Member

Everything should have a deprecation path? Let me know if there are still any missing, but I think I caught them all by now.

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.

5 participants