Skip to content

SymbolicPsych v2.0: Agent-based Python sim for validating recursive symbolic psychology. Models identity, trauma, coherence, with ERF transcendence gating, FCWF weaving, adversarial quarantine, & multi-substrate shifts. Generates CSVs/PNGs mapped to psych instruments (SCCS, PTGI, IUS). MIT licensed.

License

Notifications You must be signed in to change notification settings

Maxbanker/SymbolicPsych_RecursiveValidator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SymbolicPsych_RecursiveValidator (v2.0) README

Overview

SymbolicPsych v2.0 is an agent-based Python simulation framework for empirically validating recursive symbolic psychology models. It simulates agents with trauma dynamics, symbolic recursion, belief friction, neuro-symbolic coherence, narrative weaving, uncertainty modulation, leak indices, and adversarial thinning. Integrating Symbolic Field Theory (SFT v5.0), Entropic Recursion Framework (ERF v4.3), and others, it generates CSVs and PNGs mapped to psychometric instruments for analysis.

v2.0 Updates

  • Continuum transcendence gating with uncertainty (ERF v4.3).
  • Motif bridges for narrative coherence weaving (FCWF v3.0).
  • Leak index and adversarial thinning with quarantine (Symbolic Gravity v3.1).
  • Narrative branes for geometry (Hyperverse v8.0).
  • KPIs: Recovery half-life, ΔW/tick.
  • Bounded time dilation under high drift.
  • Swarm consensus for gating.
  • Multi-substrate shifts (e.g., neural to quantum).

Requirements

  • Python 3.12+
  • Libraries: numpy, matplotlib, pandas, torch, transformers, scikit-learn, scipy

Install:

pip install numpy matplotlib pandas torch transformers scikit-learn scipy 

Installation

  1. Clone the repo:
    git clone <repo-url> cd SymbolicPsych_RecursiveValidator 
  2. Run the script.

Usage

Execute:

python SymbolicPsych_RecursiveValidator.py 
  • Customizes: Edit SimConfig (e.g., STEPS=300 for longer runs).
  • Agents: 6 predefined; add more in main.
  • Outputs in ./symbolic_psych_v2_output/.

Output Files

  • agent_<id>_log.csv: Time-series metrics.
  • group_analysis.csv: All agents combined.
  • validation_mapping.csv/json: Metric-instrument mappings.
  • adversarial_psych_log.csv: Adversarial means.
  • agent_<id>_metrics.png: Multi-panel plots.
  • agent_<id>_sft_tensor.png: SFT tensor.
  • empirical_validation_comparison.png: Identity comparison.
  • transcendence_trajectories.png: Psi_eff with substrates.

Contributing

Fork, modify, PR. Focus: Refine transcendence/adversarial logic or scale agents.

License

MIT License

Copyright (c) 2025 Steven Lanier-Egu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

SymbolicPsych v2.0: Agent-based Python sim for validating recursive symbolic psychology. Models identity, trauma, coherence, with ERF transcendence gating, FCWF weaving, adversarial quarantine, & multi-substrate shifts. Generates CSVs/PNGs mapped to psych instruments (SCCS, PTGI, IUS). MIT licensed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages