Some search comment tweaks (grammar, redundancy, clarification) - #6942
Some search comment tweaks (grammar, redundancy, clarification)#6942dubslow wants to merge 2 commits into
Conversation
|
clang-format 20 needs to be run on this PR. (execution 28502694626 / attempt 1) |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
📝 WalkthroughWalkthroughThis pull request changes Changes
Sequence Diagram(s)sequenceDiagram
participant SearchWorker
participant SearchManager
participant ThreadPool
participant RootMove
SearchWorker->>RootMove: set inexactLower / inexactUpper during rollback
SearchManager->>RootMove: read is_inexact() for PV reliability and bound output
ThreadPool->>RootMove: read is_inexact() for decisive-move filtering
Suggested labels: Suggested reviewers: None identified. 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 |
|
clang-format 20 needs to be run on this PR. (execution 28544756141 / attempt 1) |
|
I've added a second commit unrelated to the first. Like the first, it is completely optional and (if accepted) can (should?) be squashed into the final cleanup commit |
76de928 to
6d6e48e
Compare
|
clang-format 20 needs to be run on this PR. (execution 28544839072 / attempt 1) |
|
Looks mostly ok (talking about the first commit only) but
|
no functional change
Namely, in search we use `enum Bound`, and every score is by defintion a bound, it just may be a one-sided bound or two-sided bound. So the RootMove flags track inexactness, not the kind of bounds. Rename them accordingly Also constexpr and an assert no functional change
6d6e48e to
054f619
Compare
|
clang-format 20 needs to be run on this PR. (execution 30415064420 / attempt 1) |
|
Rebased, addressed feedback |
(This can be squashed into the bigger cleanup commit)