This repository contains the data used for the analyses in the paper "The Emergence of Group and Inequality Through Co-adaptation" by Jon Atwell and Robert Savit. The paper can be found here: http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0158144 The core model used in the paper is implemented in the file named stigmergy_game.py. This is a Python (2.7) module that describes the core logic of the model. stigmergy_game_runner.py is a Python script used to manage the running of the model. One can study the model using this file alone. Simply place this file in the same directory as stigmergy_game.py and execute stigmergy_game_runner.py using your preferred method. The file titled basic_run_data.json contains data generated by conducting a sweep of model parameters. Each entry corresponds to a single run and contains information about the initial conditions for the model and the relevant outcomes.