Skip to content

JET analysis - #41

Merged
tobydriscoll merged 2 commits into
mainfrom
jet-analysis
Jul 1, 2026
Merged

JET analysis#41
tobydriscoll merged 2 commits into
mainfrom
jet-analysis

Conversation

@tobydriscoll

Copy link
Copy Markdown
Member

Update dependency and fix minor bugs unearthed by JET analysis

tobydriscoll and others added 2 commits June 30, 2026 17:20
Two genuine UndefVarErrors found by JET's report_package:

- abstract-rational.jl: the `nodes`/`values` interface stubs referenced
  an undefined `r` in their error message (arg was unnamed `::Abstract...`),
  so the fallback threw `UndefVarError(:r)` instead of the intended
  "not implemented" message. Name the argument `r`.

- aaa.jl: the continuum `aaa(f; stats=true)` branch referenced the
  nonexistent `ConvergenceStats` type and passed an unsupported `stats`
  kwarg to `Barycentric`, so `stats=true` always errored. Return a stats
  named tuple instead, mirroring the discrete `aaa(y, z; stats=true)`.

The remaining JET reports are known false positives (broadcasting's
`getfield(::Broadcasted, ::Symbol)` and a chain through GenericLinearAlgebra's
generic `svd`). Full test suite (927 tests) passes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/aaa.jl 66.66% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark Results

Ratios above 1 mean this PR is slower than main.

main 65d2e2a... main / 65d2e2a...
approximate/aaa/abs_circle 0.0456 ± 0.0014 s 0.0458 ± 0.0033 s 0.997 ± 0.077
approximate/aaa/exp_interval 0.147 ± 0.036 ms 0.103 ± 0.021 ms 1.42 ± 0.45
approximate/aaa/tanh_steep 1.64 ± 0.055 ms 1.47 ± 0.059 ms 1.12 ± 0.058
approximate/thiele/abs_circle 5 ± 0.053 ms 4.77 ± 0.036 ms 1.05 ± 0.014
approximate/thiele/exp_interval 0.0975 ± 0.0054 ms 0.0459 ± 0.003 ms 2.12 ± 0.18
approximate/thiele/tanh_steep 0.244 ± 0.012 ms 0.146 ± 0.0069 ms 1.67 ± 0.11
approximate_discrete/aaa/abs_shift 4.09 ± 0.06 ms 4.14 ± 0.11 ms 0.988 ± 0.031
approximate_discrete/aaa/sin_recip 1.39 ± 0.034 ms 1.4 ± 0.038 ms 0.99 ± 0.036
approximate_discrete/aaa/tanh_steep 12 ± 0.42 ms 12.2 ± 0.94 ms 0.987 ± 0.084
approximate_discrete/thiele/abs_shift 0.275 ± 0.027 ms 0.276 ± 0.029 ms 0.996 ± 0.14
approximate_discrete/thiele/sin_recip 0.146 ± 0.015 ms 0.143 ± 0.017 ms 1.02 ± 0.16
approximate_discrete/thiele/tanh_steep 0.936 ± 0.092 ms 0.94 ± 0.09 ms 0.996 ± 0.14
evaluate/bary_vector 0.139 ± 0.007 ms 0.143 ± 0.0063 ms 0.977 ± 0.065
evaluate/thiele_vector 0.108 ± 0.001 ms 0.107 ± 0.00097 ms 1.01 ± 0.013
poles/thiele 0.419 ± 0.016 ms 0.423 ± 0.014 ms 0.991 ± 0.05
time_to_load 0.921 ± 0.0038 s 0.898 ± 0.0064 s 1.03 ± 0.0084

Benchmark Plots

Plots have been uploaded as an artifact to this workflow run
("Actions" -> this run -> "Artifacts" at the bottom).

@tobydriscoll
tobydriscoll merged commit 8ca0465 into main Jul 1, 2026
5 of 6 checks passed
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.

1 participant