Skip to content

Document abstol defaults and extend default-tolerance regression - #389

Merged
ChrisRackauckas merged 1 commit into
masterfrom
agent/388-abstol-defaults-docs-tests
Nov 10, 2026
Merged

ChrisRackauckas merged 1 commit into
masterfrom
agent/388-abstol-defaults-docs-tests

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

🚧 UNREVIEWED — awaiting review by @ChrisRackauckas. Filed by an AI agent running as @ChrisRackauckas; Chris has not seen this.
Harness: Muse CLI Code · Model: muse-ember-1.0
Conversation: local job 388-muse (no session URL)

Documents the default abstol = 0 for QuadGKJL, HCubatureJL, CubatureJLh, CubatureJLp, and HAdaptiveIntegrationJL together with the cancellation tradeoff, and extends the default-tolerance regression to cover HAdaptiveIntegrationJL and CubatureJLp. HAdaptiveIntegrationJL joins the existing narrow-support spike loop; CubatureJLp shares a new smooth analytic small-integral testset with it because its p-adaptive rules return 0.0 on the spike integrand at any effort budget.

Verification

  • Affected tests from 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/12
    • smooth small integral with default abstol — Pass 6/6
  • Docs build: julia --project=docs docs/make.jl exits 0 (an earlier attempt hit a transient external linkcheck 429; the rerun passed).
  • Formatting: Runic formatter applied to src/common.jl and test/interface_tests.jl reports formatted output identical to the files (no-op).
  • Spelling: typos over the three changed files reports no issues.
  • Pre-push hook note: the worker pre-push hook does not recognize this repository's Runic declaration (it expects a fredrikekre/runic-* action reference, while the repo uses the SciML reusable runic.yml workflow), so the push skipped the hook's formatter gate. The formatter, spelling, test, and docs checks above were run manually as listed.

Not verified

Reviewer pushback

  • CubatureJLp returning 0.0 on the Integral not linear for discontinuous integrand in QuadGKL #315 spike integrand (residual also 0.0, at maxiters 1000/10000/100000) is pre-existing p-adaptive behavior independent of the abstol default (it also returns 0.0 with explicit tolerances), but it means CubatureJLp has no spike-case coverage. Confirm the split of testsets is acceptable or prefer a spike variant the p-adaptive rules resolve.
  • The guidance to pass a problem-scaled positive abstol for cancellation-dominated integrands follows the reviewer's probe; validate whether the suggested scaling (integrand magnitude times domain volume) matches house guidance.

Risk assessment

  • Risk: low (L1, L2: docs and regression test additions only)
  • Blast radius: documentation strings in src/common.jl, one docs page, and one test file; no behavior or public API change.
  • Evidence: two regression testsets pass (12/12, 6/6); docs build exits 0; Runic formatting no-op; typos clean.
  • Independent review: not yet run.
  • Merge: needs human review — docs wording judgment and the CubatureJLp spike 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)

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)
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review November 10, 2026 09:52
@ChrisRackauckas
ChrisRackauckas merged commit f24c9fe into master Nov 10, 2026
16 checks passed
@ChrisRackauckas
ChrisRackauckas deleted the agent/388-abstol-defaults-docs-tests branch November 10, 2026 09:52
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.

Follow-ups from review of #376: document abstol defaults and extend default-tolerance regression

2 participants