fix(inference): preflight observed-information work budgets - #803
Merged
Conversation
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthrough
ChangesObserved-information safeguards
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant observed_information
participant work_budget_preflight
participant objective_callback
participant trial_vector
observed_information->>work_budget_preflight: validate parameter count and resource budgets
work_budget_preflight-->>observed_information: allow or raise ValueError
observed_information->>trial_vector: reuse perturbed parameter storage
observed_information->>objective_callback: evaluate diagonal and pairwise finite differences
Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
seonghobae
marked this pull request as draft
August 12, 2026 07:23
seonghobae
changed the base branch from
main
to
fix/fitstats-m2-infit-docs-green
August 12, 2026 07:23
seonghobae
marked this pull request as ready for review
August 12, 2026 08:14
seonghobae
added a commit
that referenced
this pull request
Aug 12, 2026
seonghobae
force-pushed
the
fix/observed-info-budget-green
branch
from
August 12, 2026 10:03
0ed52b8 to
dcac34b
Compare
seonghobae
added a commit
that referenced
this pull request
Aug 12, 2026
seonghobae
enabled auto-merge (squash)
August 12, 2026 10:58
seonghobae
added a commit
that referenced
this pull request
Aug 12, 2026
Preflight package-owned objective-call and workspace budgets before the first objective evaluation; replace dense identity workspace with a reusable trial vector. Rebuilt on current main.
seonghobae
force-pushed
the
fix/observed-info-budget-green
branch
from
August 12, 2026 11:22
855c28a to
12736b7
Compare
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
observed_informationpreflights package-owned objective-call and fixed-width workspace budgets before the first objective evaluation.Supersedes
Test plan
tests/test_observed_information_work_budget.pytests/test_information_matrix_robustness.pySummary by CodeRabbit
Bug Fixes
observed_informationcalculations, including objective-call and workspace limits.MemoryErrorreporting.Documentation