How nimicdeosebit/digital-gorilla works
digital-gorilla is a small Python model of how power shares evolve among four actors across five modalities. Its main demonstrated workflow starts from an initial share matrix, computes actor effort and state-dependent capability, applies a selected contest rule over repeated rounds, then evaluates and plots outcomes. The mechanisms and update rate are configurable; plots compare rules, show aspiration versus stability, display the share matrix, and sweep spillover gains. The README provides no additional product detail, so this map follows the behavior shown in the source excerpts.
Main entry points: plots.py Simulation and plots · mechanisms.py Epistemic spillover · contest.py Contest updates · state.py Initial shares
Components 7
Model state
- Initial shares
state.py
Power dynamics
- Effort and capability
agents.py - Epistemic spillover
mechanisms.py - Contest updates
contest.py
Analysis and plots
- Outcome metrics
metrics.py - Simulation and plots
plots.py
Model settings
- Parameters
config.py
Connections 11
- Effort and capability → Epistemic spillover: computes capability via
agents.py - Epistemic spillover → Initial shares: uses state dimensions
mechanisms.py - Epistemic spillover → Parameters: reads gains
mechanisms.py - Contest updates → Initial shares: normalizes shares
contest.py - Contest updates → Parameters: reads update settings
contest.py - Simulation and plots → Initial shares: starts runs from
plots.py - Simulation and plots → Effort and capability: computes scores with
plots.py - Simulation and plots → Contest updates: advances rounds with
plots.py - Simulation and plots → Epistemic spillover: sweeps spillover
plots.py - Simulation and plots → Outcome metrics: plots outcomes using
plots.py - Simulation and plots → Parameters: reads run settings
plots.py