遇见数据集

Code and data for: Decoupling learning and behavioral updating promotes cooperation in spatial public goods games

收藏
Zenodo2026-09-29 更新2026-10-01 收录
官方服务:

资源简介:

Code and data supporting the paper "Decoupling learning and behavioral updating promotes cooperation in spatial public goods games" (C. Cartes and P. Thomas). The study decouples the Q-table update (every round) from the behavioral policy update (every ρ rounds) in spatial public goods games with Q-learning agents, on regular lattice, small-world and scale-free networks (N = 10^4, T = 10^5, 30 paired replicates per condition). Contents:- sim_core.py, agents.py, game.py, networks.py: simulation code.- run_experiments.py: runs all experimental blocks (E1–E9, EF) and writes one CSV per block; resumable via per-run checkpoints. Paper scale: python run_experiments.py --scale paper --workers 10- make_figures.py: generates the nine figures of the paper from the CSV files.- results/: one CSV per block, one row per simulation run.- figures/: the nine figures in PDF.- requirements.txt: exact Python package versions used.- hashes.txt: SHA-256 checksums of the CSV files.

提供机构:
Zenodo
创建时间:
2026-09-27
二维码
社区交流群
二维码
科研交流群
商业服务