-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aligned with Stockfish 17. Fixed mcts. Fixed persisted learning and added the experience book option and an utility for reset (to be done for old experience files) and display content given a fen. Extended livebook to LiChess in addition to ChessDB. Removed opening variety and replaced with variety which is now a combo with three values: -off the default -standard without loss of elo -psychological more risky because with elo loss, but not as significant, useful for inviting the engine to a game with psychological/human sacrifices, i.e., strictly speaking, incorrect, but almost impossible to refute.
- Loading branch information
Showing
160 changed files
with
38,932 additions
and
15,097 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# This workflow will play games with a debug enabled SF using the PR | ||
|
||
name: Games | ||
on: | ||
workflow_call: | ||
jobs: | ||
Matetrack: | ||
name: Games | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout SF repo | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
path: ShashChess | ||
persist-credentials: false | ||
|
||
- name: build debug enabled version of SF | ||
working-directory: ShashChess/src | ||
run: make -j build debug=yes | ||
|
||
- name: Checkout fast-chess repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: Disservin/fast-chess | ||
path: fast-chess | ||
ref: d54af1910d5479c669dc731f1f54f9108a251951 | ||
persist-credentials: false | ||
|
||
- name: fast-chess build | ||
working-directory: fast-chess | ||
run: make -j | ||
|
||
- name: Run games | ||
working-directory: fast-chess | ||
run: | | ||
./fast-chess -rounds 4 -games 2 -repeat -concurrency 4 -openings file=app/tests/data/openings.epd format=epd order=random -srand $RANDOM\ | ||
-engine name=sf1 cmd=/home/runner/work/ShashChess/ShashChess/ShashChess/src/shashchess\ | ||
-engine name=sf2 cmd=/home/runner/work/ShashChess/ShashChess/ShashChess/src/shashchess\ | ||
-ratinginterval 1 -report penta=true -each proto=uci tc=4+0.04 -log file=fast.log | tee fast.out | ||
cat fast.log | ||
! grep "Assertion" fast.log > /dev/null | ||
! grep "disconnect" fast.out > /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# This workflow will run matetrack on the PR | ||
|
||
name: Matetrack | ||
on: | ||
workflow_call: | ||
jobs: | ||
Matetrack: | ||
name: Matetrack | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout SF repo | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
path: ShashChess | ||
persist-credentials: false | ||
|
||
- name: build SF | ||
working-directory: ShashChess/src | ||
run: make -j profile-build | ||
|
||
- name: Checkout matetrack repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: vondele/matetrack | ||
path: matetrack | ||
ref: 20287a1a145f30a166b7ef251eddb611e4e44fbf | ||
persist-credentials: false | ||
|
||
- name: matetrack install deps | ||
working-directory: matetrack | ||
run: pip install -r requirements.txt | ||
|
||
- name: Run matetrack | ||
working-directory: matetrack | ||
run: | | ||
python matecheck.py --engine /home/runner/work/ShashChess/ShashChess/ShashChess/src/shashchess --epdFile mates2000.epd --nodes 100000 | tee matecheckout.out | ||
! grep "issues were detected" matecheckout.out > /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.