Codebase for Owen Travis's undergraduate senior thesis on move locality in the game of Go.
Contains the following files:
distance.pyfor reading SGF files, identifying suspected robots, and calculating the distance between successive moves. (∼ 150 lines)accuracy.pyfor reading SGF files, identifying suspected robots, spawning sub-processes running KataGo, and determining the optimal move in each position. The core logic of this code is rooted in files written for our previous work (see Travis et al. 2023). (∼ 300 lines)run.slurmfor launching a Slurm job on the Della cluster at Princeton Research Computing. This file is heavily based on materials published by Princeton Research Computing (∼ 20 lines)sgfmillplus.pyfor modularization through the isolation of helper functions built on top of the Sgfmill Python library. This is an April 2024 version of a library in development here (∼ 150 lines)distanceanalysis.rmdfor processing the output ofdistance.py, aggregating statistics, and generating figures. (∼ 450 lines)accuracyanalysis.rmdfor processing the output ofaccuracy.py, aggregating statistics, and generating figures. (∼ 400 lines)