Repository navigation
Document abstol defaults and extend default-tolerance regression - #389
Merged
Merged
Conversation
Document the per-algorithm abstol defaults (0 for QuadGKJL, HCubatureJL, CubatureJLh, CubatureJLp, HAdaptiveIntegrationJL) and the cancellation tradeoff in the common solve docs and the solve keyword-arguments page, and cover HAdaptiveIntegrationJL and CubatureJLp in default-tolerance regression. CubatureJLp returns 0.0 on the narrow-support spike in the existing loop at any budget, so it shares a smooth analytic small- integral testset with HAdaptiveIntegrationJL instead. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Muse <noreply@meta.com> Agent-Harness: Muse CLI Code Agent-Model: muse-ember-1.0 Agent-Session: local job 388-muse (no session URL)
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.
Documents the default
abstol = 0forQuadGKJL,HCubatureJL,CubatureJLh,CubatureJLp, andHAdaptiveIntegrationJLtogether with the cancellation tradeoff, and extends the default-tolerance regression to coverHAdaptiveIntegrationJLandCubatureJLp.HAdaptiveIntegrationJLjoins the existing narrow-support spike loop;CubatureJLpshares a new smooth analytic small-integral testset with it because its p-adaptive rules return0.0on the spike integrand at any effort budget.Verification
test/interface_tests.jl(default-tolerance regression, executed against a scratch environment with the repo developed): both testsets pass.a small integral is not swamped by the default abstol— Pass 12/12smooth small integral with default abstol— Pass 6/6julia --project=docs docs/make.jlexits 0 (an earlier attempt hit a transient external linkcheck 429; the rerun passed).src/common.jlandtest/interface_tests.jlreports formatted output identical to the files (no-op).typosover the three changed files reports no issues.fredrikekre/runic-*action reference, while the repo uses the SciML reusablerunic.ymlworkflow), so the push skipped the hook's formatter gate. The formatter, spelling, test, and docs checks above were run manually as listed.Not verified
test/interface_tests.jlfile and QA group (GROUP=QA, Aqua/ExplicitImports/JET) were not run; only the two affected default-tolerance testsets were executed.sin(2πx)on[0, 1]) was not re-measured; the wording follows the review report cited in Follow-ups from review of #376: document abstol defaults and extend default-tolerance regression #388.Reviewer pushback
CubatureJLpreturning0.0on the Integral not linear for discontinuous integrand in QuadGKL #315 spike integrand (residual also0.0, atmaxiters1000/10000/100000) is pre-existing p-adaptive behavior independent of theabstoldefault (it also returns0.0with explicit tolerances), but it meansCubatureJLphas no spike-case coverage. Confirm the split of testsets is acceptable or prefer a spike variant the p-adaptive rules resolve.abstolfor cancellation-dominated integrands follows the reviewer's probe; validate whether the suggested scaling (integrand magnitude times domain volume) matches house guidance.Risk assessment
src/common.jl, one docs page, and one test file; no behavior or public API change.CubatureJLpspike coverage split.Closes #388
🤖 Posted by an AI agent — harness: Muse CLI Code · model: muse-ember-1.0
Conversation: local job 388-muse (no session URL)