Conversation
Fixes bayesian-optimization#625 Co-authored-by: Codex <noreply@openai.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthrough
ChangesCategorical kernel transform
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The change restores per-row categorical kernel inputs and adds coverage for the affected cases; no merge-blocking risk is evident. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #626 +/- ##
=======================================
Coverage 98.36% 98.36%
=======================================
Files 10 10
Lines 1220 1220
=======================================
Hits 1200 1200
Misses 20 20 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Hey @AHMETHAKANBEZIR1, thanks for this contribution, this bug does indeed seem critical. I'll take care of getting this merged. As a more general thing (related to your other PRs #622 and #624), I maintain this repo in my free time, which is rapidly shrinking. The codebase here has been built by voluntary contributions reviewed by voluntary maintainers (currently only me). Historically, both the contributor and the reviewer essentially take responsibility for the code that gets merged. That only works if the effort is roughly balanced. When a contribution is generated and submitted autonomously by an agent, and, as your PR descriptions say, without any human review, all of that responsibility shifts onto me. These are small PRs so I can review them in little time, but the converse also holds, i.e. you could similarly review them without too much effort. For your other PRs I find it unlikely that they were triggered during a real use-case of this package, which gives the appearance of fully automated bug hunting/contribution farming. For future contributions, I'd ask that you:
Thanks for understanding. |
Fixes #625
Use paired row/category indices when constructing categorical one-hot rows. The original indexing selects every category present in the batch for every row, collapsing distinct categories and making the kernel depend on other rows in the batch.
One regression checks mixed/repeated categories, square and rectangular wrapped RBF kernel values against direct one-hot RBF inputs, and a single-row control.
Validation (Windows CPU, Python 3.12):
GPU, other Python versions, docs build and gallery notebooks were not run. The current notebook-test path collects no examples, so full collected tests do not validate the gallery.
AI assistance: Codex autonomously implemented the fix and ran validation; no independent human review has occurred. Codex is recorded as a commit coauthor.
Summary by CodeRabbit