Skip to content

Commit 1fb4dc2

Browse files
committed
Enable syzygy in the matetrack action
now checks correctness of PV lines with TB score. uses 3-4-5 man table bases, downloaded from lichess, which are cached with the appropriate action. closes #5500 No functional change
1 parent a8401e8 commit 1fb4dc2

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/matetrack.yml

+18-2
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,31 @@ jobs:
2424
with:
2525
repository: vondele/matetrack
2626
path: matetrack
27-
ref: 20287a1a145f30a166b7ef251eddb611e4e44fbf
27+
ref: 814160f82e6428ed2f6522dc06c2a6fa539cd413
2828
persist-credentials: false
2929

3030
- name: matetrack install deps
3131
working-directory: matetrack
3232
run: pip install -r requirements.txt
3333

34+
- name: cache syzygy
35+
id: cache-syzygy
36+
uses: actions/cache@v4
37+
with:
38+
path: |
39+
matetrack/3-4-5-wdl/
40+
matetrack/3-4-5-dtz/
41+
key: key-syzygy
42+
43+
- name: download syzygy 3-4-5 if needed
44+
working-directory: matetrack
45+
if: steps.cache-syzygy.outputs.cache-hit != 'true'
46+
run: |
47+
wget --no-verbose -r -nH --cut-dirs=2 --no-parent --reject="index.html*" -e robots=off https://tablebase.lichess.ovh/tables/standard/3-4-5-wdl/
48+
wget --no-verbose -r -nH --cut-dirs=2 --no-parent --reject="index.html*" -e robots=off https://tablebase.lichess.ovh/tables/standard/3-4-5-dtz/
49+
3450
- name: Run matetrack
3551
working-directory: matetrack
3652
run: |
37-
python matecheck.py --engine /home/runner/work/Stockfish/Stockfish/Stockfish/src/stockfish --epdFile mates2000.epd --nodes 100000 | tee matecheckout.out
53+
python matecheck.py --syzygyPath 3-4-5-wdl/:3-4-5-dtz/ --engine /home/runner/work/Stockfish/Stockfish/Stockfish/src/stockfish --epdFile mates2000.epd --nodes 100000 | tee matecheckout.out
3854
! grep "issues were detected" matecheckout.out > /dev/null

0 commit comments

Comments
 (0)