Repository navigation
Migrate FunctionProperties QA to SciMLTesting 2.4 - #74
Merged
ChrisRackauckas merged 1 commit intoJul 22, 2026
Merged
ChrisRackauckas merged 1 commit into
ChrisRackauckas merged 1 commit into
Conversation
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
ChrisRackauckas-Claude
force-pushed
the
agent/scimltesting-2.4-functionproperties
branch
from
July 22, 2026 13:40
bfc6ba5 to
3e61fe2
Compare
ChrisRackauckas
marked this pull request as ready for review
July 22, 2026 14:48
ChrisRackauckas
added a commit
that referenced
this pull request
Jul 23, 2026
…est (#76) The SciML reusable docs workflow defaults `coverage: true`, which runs `julia --project=docs --code-coverage=user docs/make.jl`. Coverage instrumentation inserts side-effecting per-line counter writes into every compiled method, so `Base.infer_effects` reports every function -- including the `_effects_capable` probe and the doctest's `x -> x^2 + 1` -- as not effect-free. `ispure` therefore soundly returns `false` under coverage, which fails the `ispure(x -> x^2 + 1, 2.0) == true` doctest in src/effects.jl and terminates the docs build. This is not a runtime regression: `ispure` returns `true` in any normal (non-instrumented) run, which is how the library is actually used. The doctest was newly enabled in #74 (doctest = true), which is when the docs build began failing. Coverage from a doctest-only build is meaningless, so turn it off for the docs job; the doctest then evaluates real behavior and passes without any warnonly/skip. Verified locally: with --code-coverage=user, `ispure(x -> x^2 + 1, 2.0)` returns false; without it, Documenter `doctest(FunctionProperties)` passes 1/1. Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
Pkg.test()(Julia 1.10): 272/272 passedgit diff --checkpassedIgnore until reviewed by @ChrisRackauckas.