Codex-generated pull request #138

Closed
rektdie wants to merge 1 commits from codex/tweak-heuristic-for-improved-elo-gains into main
pull from: codex/tweak-heuristic-for-improved-elo-gains
rektdie commented 2026-02-18 01:53:16 +01:00 (Migrated from github.com)

Codex generated this pull request, but encountered an unexpected error after generation. This is a placeholder PR message.


Codex Task

Codex generated this pull request, but encountered an unexpected error after generation. This is a placeholder PR message. ------ [Codex Task](https://chatgpt.com/codex/tasks/task_e_69950aa275e88321b9d54687c46a3371)
chatgpt-codex-connector[bot] (Migrated from github.com) reviewed 2026-02-18 01:57:20 +01:00
chatgpt-codex-connector[bot] (Migrated from github.com) left a comment

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3a02ddf41f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

### 💡 Codex Review Here are some automated review suggestions for this pull request. **Reviewed commit:** `3a02ddf41f` <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](http://chatgpt.com/codex/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". </details>
chatgpt-codex-connector[bot] (Migrated from github.com) commented 2026-02-18 01:57:20 +01:00

P2 Badge Prune neutral-history late quiet moves

This LMP gate now skips pruning unless historyScore < lmpHistoryThreshold, but the new default cutoff is -4096 (source/tunables.h:21) while history tables are zero-initialized on new contexts/games (SearchContext clears history/conthist in source/search.h:241-243), so neutral quiet moves (historyScore == 0) are treated as keepers and late-move pruning is effectively disabled in common cold-history searches (e.g., right after ucinewgame), increasing node count and hurting time performance until strong negative maluses accumulate.

Useful? React with 👍 / 👎.

**<sub><sub>![P2 Badge](https://img.shields.io/badge/P2-yellow?style=flat)</sub></sub> Prune neutral-history late quiet moves** This LMP gate now skips pruning unless `historyScore < lmpHistoryThreshold`, but the new default cutoff is `-4096` (`source/tunables.h:21`) while history tables are zero-initialized on new contexts/games (`SearchContext` clears history/conthist in `source/search.h:241-243`), so neutral quiet moves (`historyScore == 0`) are treated as keepers and late-move pruning is effectively disabled in common cold-history searches (e.g., right after `ucinewgame`), increasing node count and hurting time performance until strong negative maluses accumulate. Useful? React with 👍 / 👎.

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.