mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 02:47:45 +00:00
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 https://github.com/official-stockfish/Stockfish/pull/5500 No functional change
This commit is contained in:
@@ -24,15 +24,31 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: vondele/matetrack
|
repository: vondele/matetrack
|
||||||
path: matetrack
|
path: matetrack
|
||||||
ref: 20287a1a145f30a166b7ef251eddb611e4e44fbf
|
ref: 814160f82e6428ed2f6522dc06c2a6fa539cd413
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: matetrack install deps
|
- name: matetrack install deps
|
||||||
working-directory: matetrack
|
working-directory: matetrack
|
||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
|
|
||||||
|
- name: cache syzygy
|
||||||
|
id: cache-syzygy
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
matetrack/3-4-5-wdl/
|
||||||
|
matetrack/3-4-5-dtz/
|
||||||
|
key: key-syzygy
|
||||||
|
|
||||||
|
- name: download syzygy 3-4-5 if needed
|
||||||
|
working-directory: matetrack
|
||||||
|
if: steps.cache-syzygy.outputs.cache-hit != 'true'
|
||||||
|
run: |
|
||||||
|
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/
|
||||||
|
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/
|
||||||
|
|
||||||
- name: Run matetrack
|
- name: Run matetrack
|
||||||
working-directory: matetrack
|
working-directory: matetrack
|
||||||
run: |
|
run: |
|
||||||
python matecheck.py --engine /home/runner/work/Stockfish/Stockfish/Stockfish/src/stockfish --epdFile mates2000.epd --nodes 100000 | tee matecheckout.out
|
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
|
||||||
! grep "issues were detected" matecheckout.out > /dev/null
|
! grep "issues were detected" matecheckout.out > /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user