Use Python to complement MATLAB in three fronts:
- fast validation of propositions;
- automated consistency tests for minimal models;
- generation of figures, parametric sweeps, and auditable computational appendices.
- two policies:
exploitandpreserve; - discounted-value calculations;
- numerical verification of Theorem 1 in the
o_t in [0,1]regime; - explicit exit cost incorporated into the core.
- logistic stay function implemented;
- sensitivity of
p_stayto local reward measured; - expected duration in the bad game estimated and tested.
- local competence
qrepresented; - demonstration that more effective agents may remain longer in the bad game;
- comparison between short horizon and total structural value.
- case in which
exploitwins locally and loses structurally; - case in which the inequality of Theorem 1 fails and
exploitceases to be dominated; - monotonicity of stay probability with respect to reward;
- monotonicity of expected duration in the bad game with respect to local competence;
- invariance of optionality state inside the interval
[0,1]; - effect of explicit exit cost on the boundary;
- monotonicity of phase-map slices.
- pure-Python sweep over parameter space;
CSVexport with regime classification;SVGexport with phase map;- automatic Markdown report with quick reading;
- slices by structural weight and erosion factor;
metadata.mdwith model version, timestamp, and fixed parameters.
- notebooks with parameter sweeps;
- richer graphics and multiple sections of parameter space;
- calibration of case studies.