View analysis.py
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
import argparse | |
import logging | |
import chess, chess.variant, chess.uci | |
logger = logging.getLogger() | |
logger.setLevel(logging.INFO) | |
def parse_args(): |
View atomic960.py
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
import argparse | |
import csv | |
import chess, chess.variant, chess.uci | |
def parse_args(): | |
parser = argparse.ArgumentParser(description='Evaluate atomic960 positions.') | |
parser.add_argument('-e', '--engine', required=True, help='Path to engine.') | |
parser.add_argument('-o', '--output', required=True, help='Output csv file.') | |
parser.add_argument('-d', '--depth', type=int, default=10, help='Search depth.') |
View bench-parallel.sh
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
#!/bin/bash | |
if [[ $# -ne 3 ]]; then | |
echo "usage:" $0 "base test n_runs" | |
echo "example:" $0 "./stockfish_base ./stockfish_test 10" | |
exit 1 | |
fi | |
base=$1 | |
test=$2 | |
n_runs=$3 |