Skip to content

feat: add node stack to thread data#347

Merged
ptsouchlos merged 6 commits into
mainfrom
feature/node-stack
May 20, 2026
Merged

feat: add node stack to thread data#347
ptsouchlos merged 6 commits into
mainfrom
feature/node-stack

Conversation

@ptsouchlos
Copy link
Copy Markdown
Owner

@ptsouchlos ptsouchlos commented May 20, 2026

Changes:

  • Implemented a NodeStack along with a Node to track data for searched nodes.
  • Integrated new NodeStack into the ThreadData structure.

This is part 2 of 2 in a stack made with GitButler:

This is the start of the  and  types to use as part of . This will allow us to track node specific information that is expensive to recompute. Yoinked from the  engine.

bench: 1352109
Added a helper to check if a given score (i32) is valid
Changes:
- Implemented a NodeStack along with a Node to track data for searched nodes.
- Integrated new NodeStack into the ThreadData structure.
- Integrate improvement tracking into RFP margin computation. Shrink the margin if we are improving.

```
Elo   | 4.82 +- 3.70 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=16MB
LLR   | 2.98 (-2.94, 2.94) [0.00, 5.00]
Games | N: 15658 W: 4509 L: 4292 D: 6857
Penta | [392, 1871, 3152, 1956, 458]
```
https://openbench.nocturn9x.space/test/6919/

bench: 1301394
@ptsouchlos
Copy link
Copy Markdown
Owner Author

Elo   | 4.82 +- 3.70 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=16MB
LLR   | 2.98 (-2.94, 2.94) [0.00, 5.00]
Games | N: 15658 W: 4509 L: 4292 D: 6857
Penta | [392, 1871, 3152, 1956, 458]

https://openbench.nocturn9x.space/test/6919/

@ptsouchlos
Copy link
Copy Markdown
Owner Author

Note that I first merged #348 into this branch because it was a stack, but the SPRT was run against the branch used for #348 which included these changes here as well.

@ptsouchlos ptsouchlos merged commit 4424093 into main May 20, 2026
29 checks passed
@ptsouchlos ptsouchlos deleted the feature/node-stack branch May 20, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant