Skip to content

Commit bf1d1f1

Browse files
authored
Merge pull request #301 from ujh/release-0.3.2
Release 0.3.2
2 parents 513d5a7 + a0b9de5 commit bf1d1f1

File tree

4 files changed

+41
-7
lines changed

4 files changed

+41
-7
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
## 0.3.2 [](https://github.com/ujh/iomrascalai/compare/0.3.1...0.3.2)
2+
3+
* Fixes a bug where the bot passed too early and lost won games because of it.
4+
#261
5+
* Resign lost games earlier. This speeds up the benchmark and is also nicer for
6+
humans. #264
7+
* Speed up the calculations of the priors by moving them into the worker
8+
threads. #275
9+
* Implement the `reg_genmove` GTP command. #289
10+
* Implement the `kgs-genmove_cleanup` GTP command. #290
11+
* Improve the scoring accuracy when the game is over. #292
12+
* Fix bug where some rotations of the small patterns were missing. #299
13+
* Implemented the `imrscl-uct_gfx` custom GTP command. A GoGui analyze
14+
compatible command to show the number of playouts that went through each child
15+
node of the root (i.e. each point on the board) #293
16+
17+
### Performance
18+
19+
*The benchmarks were run on a c4.8xlarge EC2 instance with 8 worker threads.*
20+
21+
After running 500 games on 9x9 with komi 6.5 and a time limit of 2
22+
minutes (sudden death) the win rate against GnuGo 3.8 level 0 was
23+
**76.2% (± 3.71 at 95%, ± 3.79 at 99%)** with the default
24+
configuration. It agreed on the final score with GnuGo in **74.09% (± 4.35 at
25+
95%, ± 4.44 at 99%)** of games.
26+
27+
After running 1000 games on 13x13 with komi 6.5 and a time limit of 10
28+
minutes (sudden death) the win rate against GnuGo 3.8 level 0 was
29+
**42.8% (± 3.05 at 95%, ± 3.11 at 99%)** with the default
30+
configuration. It agreed on the final score with GnuGo in **59.78% (± 4.53 at
31+
95%, ± 4.63 at 99%)** of games.
32+
33+
134
## 0.3.1 [](https://github.com/ujh/iomrascalai/compare/0.3.0...0.3.1)
235

336
* Implemented `gogui-analyze_commands` and `imrscl-safe_territory`

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
description = "An AI for the game of Go"
44
name = "iomrascalai"
5-
version = "0.3.1"
5+
version = "0.3.2"
66
authors = ["Urban Hafner <contact@urbanhafner.com>",
77
"Thomas Poinsot <thomas.poinsot1@gmail.com>",
88
"Igor Polyakov <iopguy+iomrasclai@gmail.com>"]

bin/wins-from-benchmark-results.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def wins(fn)
4040
black = data.find_all {|row| row[RES_R] =~ /B\+/ }.count
4141
n = white + black
4242
p = white.to_f/n
43-
"#{(p*100).round(2)}% wins (#{white} games of #{n}, ± #{error(p: p, n: n, confidence: 0.95).round(2)} at 95%, ± #{error(p: p, n: n, confidence: 0.99).round(2)} at 99%)"
43+
"#{(p*100).round(2)}% wins (#{white} games of #{n}, ± #{error(p, n, 0.95).round(2)} at 95%, ± #{error(p, n, 0.99).round(2)} at 99%)"
4444
end
4545

4646
def scoring(fn)
@@ -49,16 +49,16 @@ def scoring(fn)
4949
agreeing = relevant.find_all {|row| row[RES_W] == row[RES_B] }.count
5050
n = relevant.length
5151
p = agreeing.to_f/n
52-
"#{(p*100).round(2)}% same score as GnuGo (#{agreeing} of #{n}, ± #{error(p: p, n: n, confidence: 0.95).round(2)} at 95%, ± #{error(p: p, n: n, confidence: 0.99).round(2)} at 99%)"
52+
"#{(p*100).round(2)}% same score as GnuGo (#{agreeing} of #{n}, ± #{error(p, n, 0.95).round(2)} at 95%, ± #{error(p, n, 0.99).round(2)} at 99%)"
5353
end
5454

55-
def z(confidence:)
55+
def z(confidence)
5656
alpha = 1 - confidence
5757
(1 - 0.5*alpha)*2
5858
end
5959

60-
def error(p:, n:, confidence:)
61-
(z(confidence: confidence) * Math.sqrt((1.0/n)*p*(1-p)))*100
60+
def error(p, n, confidence)
61+
(z(confidence) * Math.sqrt((1.0/n)*p*(1-p)))*100
6262
end
6363

6464
Dir["*.dat"].each do |fn|

src/version.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/************************************************************************
22
* *
33
* Copyright 2015 Urban Hafner *
4+
* Copyright 2016 Urban Hafner *
45
* *
56
* This file is part of Iomrascálaí. *
67
* *
@@ -20,5 +21,5 @@
2021
************************************************************************/
2122

2223
pub fn version() -> &'static str {
23-
"0.3.1"
24+
"0.3.2"
2425
}

0 commit comments

Comments
 (0)