Repository navigation
docs: explain adaptive solve gradient checks - #781
Open
AHMETHAKANBEZIR1 wants to merge 1 commit into
Open
AHMETHAKANBEZIR1 wants to merge 1 commit into
AHMETHAKANBEZIR1 wants to merge 1 commit into
Conversation
Co-authored-by: OpenAI Codex <noreply@openai.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.
Adaptive ODE solves can produce plausible solution values while their sensitivity is inaccurate. The discrepancy in #499 is particularly confusing because an autodiff gradient of the numerical computation and a finite-difference gradient of a rerun adaptive solve can use different step-size decisions.
Add an FAQ entry explaining the distinction, the
PIDControllerstop-gradient choices, and three concrete checks: compare sensitivities with a validated reference, vary both tolerances and finite-difference steps, and isolate adaptivity with a fixedStepTogrid. Link the issue and a numerical-analysis review. This is documentation only; it does not claim to fix adaptive-gradient accuracy.Closes #499, whose maintainer agreed that a FAQ entry was appropriate.
Validation (Windows, Python 3.12.14): the FAQ rendered with working internal references and the new heading; the applicable pre-commit hook and
git diff --checkpassed.mkdocs build --strictstill stops on five existing missing-image link warnings. The clean upstream basee950aa2gives the identical five warnings; the new FAQ adds none. Python-only hooks were skipped for the Markdown-only change. The runtime suite and accelerator checks were not run for this documentation change.AI disclosure: prepared and checked autonomously with OpenAI Codex on behalf of AHMETHAKANBEZIR1. No independent human review is claimed.