Software Open Access
This repository contains taupy, version 0.2.0, together with notebooks and data for the paper “Arguments as drivers of issue polarisation in debates among artificial agents”, currently under review in JASSS.
taupy serves as an implementation of the TDS model described in the paper. It requires Python ≥ 3.9 and pip (available by default given Python 3.9). To install taupy from the source code provided here, please download and unpack taupy-v0.2.0.zip and use pip from the command line in the parent folder:
python -m pip install taupy/
This will install the following dependencies, if not already present (Users on Apple Silicon currently can't install scikit-learn via pip, and need to follow specific instructions. For users who do not want to get involved with installing the dependencies manually, it is currently advisable to install and run taupy on a x86 architecture):
'sympy>=1.6.2', 'dd>=0.5.6', 'numpy>=1.19.4', 'pandas>=1.2.2', 'python_igraph>=0.9.6', 'scikit_learn>=0.24.2', 'more_itertools>=8.8.0'
If you are on a Linux operating system, dd will automatically install the dd.cudd module which contains a compiled version of CUDD. On Windows and Mac OS, dd will not automatically install CUDD, and taupy will rely on dd's pure Python implementation of binary decision diagrams instead. This does not have implications for functionality, but may have for computation time.
The notebooks are in the notebooks folder and they contain the information that one needs to pass to taupy in order to obtain the results presented in the paper. The notebooks contain additional documentation of this code. Except for experiments.ipnyb, the notebooks do not require taupy to tun, but they do require ipykernel and some common scientific Python packages, such as numpy. The requirements of the individual notebooks are all listed in the first cell of each notebook.
The workflow to create the simulation results from scratch is as follows:
Please note that some administrative files, like setup.py and the LICENSE, may contain identifying information about the author.