Long-term cultural evolution of opening strategies in professional Go.
┌─────────────────────────────────────────────┐
│ ┌─────────────────────────────────────────┐ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . . . . . . . . . . . ● . . . . . │ │
│ │ . . . ● . . . . . ● . . . . . ○ . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . . . . . . . . . . . . . ○ . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . + . . . . . + . . . . . ○ . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . ● . . . . . + . . . . . ○ . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ │ . . . . . . . . . . . . . . . . . . . │ │
│ └─────────────────────────────────────────┘ │
└─────────────────────────────────────────────┘
This repository contains the data and analysis workflow for:
Beheim, B. (2025). Opening strategies in the Game of Go from feudalism to superhuman AI. Evolutionary Human Sciences, 7, e28.
The project analyzes long-term change in professional Go opening strategies. The workflow quantifies opening diversity and divergence across historical eras, examines relationships among players and opening strategies, and models changes in the pace of opening evolution through time.
From the repository root, run:
Rscript run_project.RThe project uses renv to restore the required R package environment. A working CmdStan installation is also required for the Bayesian analyses.
The canonical workflow generates figures and numerical summaries under figures/, derived intermediate files under data/, and timestamped execution logs under logs/.
Runtime depends on hardware, CmdStan compilation state, and whether cached intermediate results are already present.
For full execution details, see docs/execution-guide.md.
docs/execution-guide.md— software requirements, environment restoration, execution order, outputs, logging, and reproducibility.docs/algorithmic-workflow.md— detailed description of the algorithms, statistical calculations, network analyses, and models implemented by the analysis scripts.
The data/ directory contains the processed analytical data used by the project, derived from the GoGod 2024 database.
Key files include:
games.csv— one row per game, including player IDs, date, and the first 50 moves. Games are uniquely identified byhash_id.players.csv— one row per player, including full name and biographical information. Players are uniquely identified byplayer_id.eras.csv— definitions of the six historical eras used in the study.move12s.csv— reference data used in the opening-sequence analyses.move123s.csv— companion reference data used in the opening-sequence analyses.
The workflow may also create derived or cached files under data/; these are documented in docs/execution-guide.md.
cached/ Generated intermediate calculations
data/ Processed analytical data and derived intermediate files
docs/ Technical documentation
figures/ Generated analysis outputs
logs/ Generated execution logs
R/ Analysis and figure-generation scripts
R/functions/ Shared project-specific R functions
renv/ Project-local renv infrastructure
tests/ Unit and project-integrity tests
project_support.R Shared project initialization and workflow parameters
run_project.R Canonical workflow entry point
renv.lock Locked R package environment
LICENSE.md Project license
README.md This file
project_support.R loads shared project code and defines workflow parameters such as the project random seed. run_project.R restores the package environment, initializes the project, executes the main analysis scripts in sequence, and records run metadata.
If you use this repository, please cite:
Beheim, B. (2025). Opening strategies in the Game of Go from feudalism to superhuman AI. Evolutionary Human Sciences, 7, e28. https://doi.org/10.1017/ehs.2025.10016
All materials in this repository are provided under the Creative Commons BY-NC-SA 4.0 license. See LICENSE.md for details.
If any included or derived source data are subject to separate upstream licensing terms, those terms take precedence for the affected data.
This project uses renv to reproduce the R package environment. Some packages contain compiled C, C++, or Fortran code and therefore also require a working system compiler toolchain. These system-level dependencies are not managed by renv.
Install the Apple Command Line Tools:
xcode-select --installFor Apple Silicon Macs using R 4.6.x, also install the matching GNU Fortran compiler from the official R for macOS tools page:
https://mac.r-project.org/tools/
For R 4.6.x, the relevant installer is:
gfortran-14.2-universal.pkg
A working Fortran compiler may be required even when the package that fails to install is primarily written in C or C++. Some R packages link against compiled numerical libraries or have dependency chains that ultimately require Fortran support.
After installation, verify the compiler configuration from R:
system("R CMD config CC")
system("R CMD config CXX")
system("R CMD config FC")
system("R CMD config F77")Then restore the project environment:
renv::restore()renv.lock records R package versions and sources, but does not install external system tools such as clang, make, or gfortran.