Repository navigation
docs: the search prompt asks about JAX gradient-based inference - #1591
Merged
Merged
Conversation
The "Choose a search" prompt now asks to see the searches that support gradient based inference using JAX, and says explicitly that this example's likelihood is not JAX, which is why it uses Dynesty. The list below it answers that question: a Gradient-based (JAX) bullet naming BlackJAXNUTS, MultiStartAdam and MultiStartProdigy — verified against the installed `autofit` public API rather than written from memory — and the reason a NumPy likelihood rules them out here. Without it the page would ask a question it never answers. Typo in the supplied text fixed: "likelihood funciton" -> "function". Sphinx: 30 warnings, unchanged against the baseline. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015LXave3uvSeLEq7S68NjXk
1 of 2 tasks
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
The "Choose a search" prompt on the Natural Language Inference page now reads:
The list had to change with it
The prompt now asks about gradient-based/JAX searches, but the list underneath named only nested sampling, MCMC and optimisation — the page would have asked a question it never answers. Added a fourth bullet:
Those three names were verified against the installed
autofitpublic API, not written from memory — the whole point of the prompt is that a reader can ask for them by name.Typo in the supplied text fixed: "likelihood funciton" → "function". The rest is verbatim, including "lets".
Test Plan
python -m sphinx -b html docs …→ 30 warnings, unchanged against the baseline.docs/.BlackJAXNUTS,MultiStartAdam,MultiStartProdigyall present indir(autofit).Companion PR: PyAutoLabs/autofit_assistant#35 makes the same change to the README, which carries the same walkthrough.
🤖 Generated with Claude Code
https://claude.ai/code/session_015LXave3uvSeLEq7S68NjXk