Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/drvinceknight/testing_for_zd

Recognising zero determinant strategies: code for a paper under review (pre print: https://arxiv.org/abs/1904.00973).
https://github.com/drvinceknight/testing_for_zd

Last synced: about 1 month ago
JSON representation

Recognising zero determinant strategies: code for a paper under review (pre print: https://arxiv.org/abs/1904.00973).

Awesome Lists containing this project

README

        

## Software

All code for this work is in Python with all versions specified in
[`environment.yml`](./environment.yml).

### Create a conda environment with all required libraries

```
$ conda env create -f environment.yml
$ source activate testing-zd
```

To install specific software for this work:

```
$ python setup.py develop
```

To run tests:

```
$ pytest
```

## Reproducing the results

The raw data containing the specific interactions of all player interactions is
achieved at https://doi.org/10.5281/zenodo.1297075

**Having created and activated the conda environment**

### Download and unpack the archived data

```
$ invoke data
```

### Pre process the raw data

```
$ invoke process
```

### Create all assets

```
$ invoke assets --processdata
```

### Build the main pdf

```
$ invoke main
```

### Do all of the above

Note that you can simply run:

```
$ invoke data
$ invoke build
```

For more information about what you can do:

```
$ invoke -l
```