Skip to content

Upgrade TaylorSeries to v0.18 and TaylorIntegration to v0.16 #171

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 13 commits into from
Apr 1, 2025

Conversation

lbenet
Copy link
Member

@lbenet lbenet commented Aug 3, 2024

No description provided.

@lbenet lbenet marked this pull request as ready for review August 3, 2024 23:52
Copy link
Contributor

github-actions bot commented Aug 4, 2024

Pull Request Test Coverage Report for Build 10232509876

Details

  • 353 of 434 (81.34%) changed or added relevant lines in 2 files are covered.
  • 487 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-26.7%) to 53.426%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/valid_integ/validated_integ2.jl 109 142 76.76%
src/valid_integ/validated_integ.jl 244 292 83.56%
Files with Coverage Reduction New Missed Lines %
src/validatedODEs.jl 487 0.0%
Totals Coverage Status
Change from base Build 8638389233: -26.7%
Covered Lines: 1037
Relevant Lines: 1941

💛 - Coveralls

@coveralls
Copy link

Pull Request Test Coverage Report for Build 10232509876

Details

  • 353 of 434 (81.34%) changed or added relevant lines in 2 files are covered.
  • 487 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-26.3%) to 53.786%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/valid_integ/validated_integ2.jl 109 142 76.76%
src/valid_integ/validated_integ.jl 244 292 83.56%
Files with Coverage Reduction New Missed Lines %
src/validatedODEs.jl 487 0.0%
Totals Coverage Status
Change from base Build 8638389233: -26.3%
Covered Lines: 1037
Relevant Lines: 1928

💛 - Coveralls

@coveralls
Copy link

coveralls commented Aug 4, 2024

Pull Request Test Coverage Report for Build 12995972981

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 355 of 434 (81.8%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-2.1%) to 78.054%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/valid_integ/validated_integ2.jl 109 142 76.76%
src/valid_integ/validated_integ.jl 246 292 84.25%
Totals Coverage Status
Change from base Build 8638389233: -2.1%
Covered Lines: 1035
Relevant Lines: 1326

💛 - Coveralls

@lbenet
Copy link
Member Author

lbenet commented Aug 15, 2024

Closes #159 and #160

@lbenet
Copy link
Member Author

lbenet commented Aug 15, 2024

The test that fails (only in Julia 1.6) is related to an ambiguity detected by Aqua; I'll ignore it for the time being...

@schillic
Copy link
Contributor

Closes #159 and #160

FYI, if you want to auto-close these PRs, you need to put this text in the very first post. And GitHub does not understand "and", so you need to write "Closes" twice.

@lbenet
Copy link
Member Author

lbenet commented Aug 15, 2024

Closes #159 and #160

FYI, if you want to auto-close these PRs, you need to put this text in the very first post. And GitHub does not understand "and", so you need to write "Closes" twice.

Thanks a lot for clarifying it!

@lbenet
Copy link
Member Author

lbenet commented Jan 27, 2025

Mmmm, there seems to be some odity related to coveralls...

@schillic
Copy link
Contributor

Mmmm, there seems to be some odity related to coveralls...

I have no experience with coveralls (we always use codecov). The error message is indeed not helpful.

Fixing the cause would of course be better, but maybe you can add the following line inside the with block here:

- uses: coverallsapp/github-action@master
with:
path-to-lcov: lcov.info
github-token: ${{ secrets.GITHUB_TOKEN }}

fail_ci_if_error: false

@lbenet
Copy link
Member Author

lbenet commented Mar 31, 2025

@schillic I think this is ready to be merged (and tagged). Could you check that everything works fine wrt ReachabilityAnalysis ?

@schillic
Copy link
Contributor

I got an error:

pkg> st
[...]
  [92b13dbe] TaylorIntegration v0.16.2
  [314ce334] TaylorModels v0.7.1 `https://github.com/JuliaIntervals/TaylorModels.jl.git#lb/upgrade_TS`
⌅ [6aa5eb33] TaylorSeries v0.18.4
[...]

pkg> test
[...]
  MethodError: no method matching _evaluate!(::TaylorN{IntervalArithmetic.Interval{Float64}}, ::HomogeneousPolynomial{IntervalArithmetic.Interval{Float64}}, ::Tuple{TaylorN{Float64}, TaylorN{Float64}}, ::Vector{TaylorN{Float64}}, ::TaylorN{IntervalArithmetic.Interval{Float64}})
  The function `_evaluate!` exists, but no method is defined for this combination of argument types.
  
  Closest candidates are:
    _evaluate!(::TaylorN{T}, ::HomogeneousPolynomial{T}, ::Int64, ::TaylorN{T}, ::TaylorN{T}) where T<:Union{Real, Complex, Taylor1}
     @ TaylorSeries ~/.julia/packages/TaylorSeries/Mdt5d/src/evaluate.jl:406
    _evaluate!(::TaylorN{T}, ::HomogeneousPolynomial{T}, ::NTuple{N, var"#s485"} where var"#s485"<:TaylorN{T}, ::Array{TaylorN{T}, 1}, ::TaylorN{T}) where {N, T<:Union{Real, Complex}}
     @ TaylorSeries ~/.julia/packages/TaylorSeries/Mdt5d/src/evaluate.jl:197
    _evaluate!(::TaylorN{T}, ::NTuple{N, TaylorN{T}}, ::TaylorN{T}, ::Array{TaylorN{T}, 1}, ::TaylorN{T}) where {N, T<:Number}
     @ TaylorSeries ~/.julia/packages/TaylorSeries/Mdt5d/src/evaluate.jl:501

TaylorIntegration = "0.15"
TaylorSeries = "0.17"
TaylorIntegration = "0.16"
TaylorSeries = "0.18.4"
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you have to go directly to TaylorSeries = "0.18.4" or could you also go to TaylorSeries = "0.18"?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think you need to upgrade to TS v0.18.4...

Copy link
Member Author

Choose a reason for hiding this comment

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

But I'm not completely sure

@schillic
Copy link
Contributor

Do you need an input to debug or is it clear what causes the problem?

@lbenet
Copy link
Member Author

lbenet commented Mar 31, 2025

I'll have a look to see if I can reproduce the problem...

@lbenet
Copy link
Member Author

lbenet commented Apr 1, 2025

@schillic I can reproduce the error; can you tell me which was the last version (of TS) that allowed the tests to pass. Perhaps the reason for the problem is that I forgot to include a method that is precisely needed here.

@schillic
Copy link
Contributor

schillic commented Apr 1, 2025

This branch only allows v0.18.4.
And the last release allows v0.17.8, for which tests passed.

@lbenet
Copy link
Member Author

lbenet commented Apr 1, 2025

I think I found the problem... Can you test again using for TS the branch in JuliaDiff/TaylorSeries.jl#378 ? (Locally, tests pass, but I prefer to have your confirmation.)

@lbenet
Copy link
Member Author

lbenet commented Apr 1, 2025

@schillic I juste merged JuliaDiff/TaylorSeries.jl#378; bumping the patch version is on its way. Once that is done, I think I can merge this PR

@schillic
Copy link
Contributor

schillic commented Apr 1, 2025

I was too slow debugging something else, but now I re-ran the tests with your branch and indeed they pass 👍

@lbenet
Copy link
Member Author

lbenet commented Apr 1, 2025

Thanks a lot Christian! I guess I have to tag a minor version, right?

@lbenet lbenet merged commit bcca0bb into master Apr 1, 2025
12 checks passed
@lbenet lbenet deleted the lb/upgrade_TS branch April 1, 2025 23:26
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.

3 participants