Conversation
📝 WalkthroughWalkthroughThe changes strengthen type annotations across acquisition function interfaces and update the Bayesian optimization public API. AcquisitionFunction's Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #600 +/- ##
=======================================
Coverage 97.78% 97.78%
=======================================
Files 10 10
Lines 1221 1221
=======================================
Hits 1194 1194
Misses 27 27 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
set_acquisition_paramsreceives only a single variable named params, not keyword-only arguments. (I inferred this from methods in classes that inherit and implement it.)random_samplereturns a list whose elements are dicts, not a dict.save_state, when using numpy's random_state, I explicitly passed the argument to avoid using the legacy behavior (legacy=False).dicttodict[str, Any]. (From the actual code, I assumed the keys are always strings.)Summary by CodeRabbit
random_sample()method now returns a list of parameter sets instead of a single set.