Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use more of the increment time #51

Merged
merged 2 commits into from
Jun 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -341,3 +341,20 @@ Node count TM
https://chess.swehosting.se/test/1276/

====================================================================================
5.2 [June 10]

Use more of the increment time

STC - https://chess.swehosting.se/test/1488/
ELO | 9.41 +- 6.19 (95%)
SPRT | 8.0+0.08s Threads=1 Hash=16MB
LLR | 2.95 (-2.94, 2.94) [0.00, 5.00]
GAMES | N: 6576 W: 1877 L: 1699 D: 3000

LTC - https://chess.swehosting.se/test/1490/
ELO | 4.02 +- 3.22 (95%)
SPRT | 40.0+0.40s Threads=1 Hash=256MB
LLR | 2.98 (-2.94, 2.94) [0.00, 5.00]
GAMES | N: 22376 W: 5740 L: 5481 D: 11155

====================================================================================
2 changes: 1 addition & 1 deletion engine/src/uci/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub enum SearchType {
}

fn id() {
println!("id name Svart 5.1");
println!("id name Svart 5.2");
println!("id author Crippa");
}

Expand Down
2 changes: 1 addition & 1 deletion engine/src/uci/timeman.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub fn time_for_move(time: u64, inc: u64, moves_to_go: Option<u8>) -> (u64, u64)
max_time = (5. * opt_time).min(eight);
// normal TC
} else {
let temp = ((time / 20) + (inc / 2)) as f64;
let temp = ((time / 20) + (inc * 3 / 4)) as f64;
opt_time = 0.6 * temp;
max_time = (temp * 2.).min(time as f64);
}
Expand Down