Skip to content

Commit

Permalink
v1.5.0
Browse files Browse the repository at this point in the history
STC UHO:
Score of New_16 vs v1.4.0: 175 - 93 - 132  [0.603] 400
...      New_16 playing White: 113 - 24 - 63  [0.723] 200
...      New_16 playing Black: 62 - 69 - 69  [0.482] 200
...      White vs Black: 182 - 86 - 132  [0.620] 400
Elo difference: 72.2 +/- 28.2, LOS: 100.0 %, DrawRatio: 33.0 %

STC Noob_4moves:
Score of New_16 vs v1.4.0: 48 - 14 - 38  [0.670] 100
...      New_16 playing White: 26 - 5 - 19  [0.710] 50
...      New_16 playing Black: 22 - 9 - 19  [0.630] 50
...      White vs Black: 35 - 27 - 38  [0.540] 100
Elo difference: 123.0 +/- 55.2, LOS: 100.0 %, DrawRatio: 38.0 %
  • Loading branch information
SnowballSH committed Jul 22, 2023
1 parent b6b8c02 commit 00b7913
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

### Avalanche is the first and strongest UCI Chess Engine written in [Zig](https://ziglang.org/)

Note: `go depth` and `go movetime` are broken in v1.4.0. This will be fixed in the next release.

## Strength

**Official [40/15 CCRL ELO (v1.4.0)](http://ccrl.chessdom.com/ccrl/4040/cgi/engine_details.cgi?match_length=30&each_game=0&print=Details&each_game=0&eng=Avalanche%201.4.0%2064-bit#Avalanche_1_4_0_64-bit): 3146**
Expand Down Expand Up @@ -74,14 +72,16 @@ Parameter Tuning is done by my [Storming Tune](https://github.com/SnowballSH/sto

## Changelog

- ### v1.5.0 (+~30 ELO)
- ### v1.5.0 (+~72 ELO) ~3218 ELO

- Optimizations
- Search Tuning
- Stronger Neural Network
- Trained on over 25 Million depth 8 positions from lichess elite database
- Trained on 1.5 Million depth 10 endgame positions
- LazySMP Implementation

- ### v1.4.0 (+59 ELO) 3143 ELO
- ### v1.4.0 (+59 ELO) 3146 ELO

- Search Improvements
- Manual Tuning
Expand Down
7 changes: 4 additions & 3 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,13 @@ pub fn build(b: *std.build.Builder) void {
build_options.addOption(usize, "HIDDEN_SIZE", @intCast(usize, hidden_size));
build_options.addOption(usize, "OUTPUT_SIZE", @intCast(usize, output_size));
}

build_options.addOption([]const u8, "nnue", "A050823A");

var buf: [64]u8 = undefined;
build_options.addOption([]const u8, "version", dtToString(timestamp2DateTime(std.time.timestamp()), &buf));
// build_options.addOption([]const u8, "version", "1.5.0");
_ = buf;
// build_options.addOption([]const u8, "version", dtToString(timestamp2DateTime(std.time.timestamp()), &buf));
build_options.addOption([]const u8, "version", "1.5.0");

exe.use_stage1 = true;

Expand Down
4 changes: 4 additions & 0 deletions src/engine/search.zig
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,10 @@ pub const Searcher = struct {
// Step 5.6: Late-Move Reduction
var reduction: i32 = QuietLMR[@min(depth, 63)][@min(index, 63)];

if (self.thread_id % 2 == 1) {
reduction -= 1;
}

if (improving) {
reduction += 1;
}
Expand Down

0 comments on commit 00b7913

Please sign in to comment.