Spaces:
Runtime error
Runtime error
File size: 5,393 Bytes
f2cccf3 98ea919 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | ---
title: RSM Simulator
emoji: ๐ฎ
colorFrom: red
colorTo: blue
sdk: gradio
app_file: app.py
pinned: false
license: mit
---
# ๐ฎ RSM Simulator v2.2
**Resonant Structures of Meaning: A Machine-Executable Ontology for Interpretive AI**
This is an interactive demo of the RSM (Resonant Structures of Meaning) framework developed by the Flamehaven Initiative. RSM provides a machine-executable ontology for symbolic and interpretive AI across multiple cultural systems.
[](https://huggingface.co/spaces/Flamehaven/rms-simulator)
[](https://rsm-ontology.github.io)
[](https://github.com/flamehaven/rsm-implementation)
## ๐ฏ What is RSM?
RSM comprises three core computational mechanisms:
1. **Vector of Meaning Energy (VME)**: Encodes symbolic representations across heterogeneous cultural systems (Tarot, Saju, Astrology)
2. **Resonance Index (RI)**: A quantitative metric of interpretive alignment and temporal stability
3. **DriftSentinel**: Monitors longitudinal deviations in symbolic consistency
## ๐ Quick Start
### Online Demo
Simply visit our [Hugging Face Space](https://huggingface.co/spaces/Flamehaven/rms-simulator) to try RSM immediately!
### Local Installation
```bash
# Clone the repository
git clone https://github.com/flamehaven/rsm-implementation
cd rsm-implementation/huggingface_deployment
# Install dependencies
pip install -r requirements.txt
# Run the application
python app.py
```
### Requirements
- Python 3.8+
- gradio>=5.0.0
- numpy>=1.21.0
- plotly>=5.0.0
- python-dateutil>=2.8.0
## ๐ฌ Technical Features
- **Real-time Calculation**: Instant symbolic reasoning with academic-grade reproducibility
- **Interactive Visualizations**: 3D energy maps, harmony trends, and cultural balance wheels
- **Multi-cultural Integration**: Seamless blending of Western and Eastern symbolic systems
- **Interpretive Analysis**: User-friendly insights based on symbolic resonance patterns
- **Drift Monitoring**: Stability assessment of symbolic interpretations
- **Complete Reproducibility**: Fixed random seeds and deterministic computation (ฮด < 1e-12)
## ๐ Academic Background
This demo implements the research described in:
**"Resonant Structures of Meaning: A Machine-Executable Ontology for Interpretive AI"**
*Yun Kwansub, Flamehaven Initiative (2025)*
**Version Correspondence:**
- **Paper**: RSM v2.1 methodology, Simulator suite v2.2
- **Implementation**: RSM Simulator v2.2 (this release)
- **Hugging Face Space**: Live deployment of v2.2
The framework adopts a **code-first methodology** where executable systems are treated as primary artifacts from which theoretical insights are derived.
## ๐ Links & Resources
- [๐ **Live Demo**](https://huggingface.co/spaces/Flamehaven/rms-simulator) - Try RSM online
- [๐ **Academic Paper**](https://rsm-ontology.github.io) - Full methodology and validation
- [๐ป **Source Code**](https://github.com/flamehaven/rsm-implementation) - Complete implementation
- [๐๏ธ **Flamehaven Initiative**](https://flamehaven-papers.github.io) - Research organization
- [๐ **Experimental Data**](https://github.com/flamehaven/rsm-implementation/tree/main/experiments) - Validation results
## ๐ Experimental Validation
The RSM framework has been validated through comprehensive experiments:
- **VME Normalization**: 100% accuracy (norm = 1.000 ยฑ 0.000)
- **RI Calibration**: MAE = 0.1196, False Alignment Rate = 0.000 (โค0.05 criterion met)
- **DriftSentinel**: Mean DI2 = 0.013345 across 4 test scenarios
- **LawBinder**: Mean ฮRI = +0.0110, SCG = 0.7600
- **Reproducibility**: Perfect deterministic results (ฮด < 1e-12)
- **Cross-cultural Validation**: Successful integration across symbolic systems
## ๐ Citation
```bibtex
@article{flamehaven2025rsm,
title={Resonant Structures of Meaning: A Machine-Executable Ontology for Interpretive AI},
author={Yun, Kwansub},
institution={Flamehaven Initiative},
journal={arXiv preprint arXiv:2509.xxxxx},
year={2025},
note={Simulator suite v2.2 available at https://huggingface.co/spaces/Flamehaven/rms-simulator}
}
```
## ๐ท๏ธ Tags
`symbolic-ai` `ontology` `interpretive-ai` `cultural-systems` `tarot` `astrology` `saju` `resonance` `meaning-structures` `machine-executable` `reproducibility`
## ๐ Version History
- **v2.2** (Current): Enhanced user experience, interactive visualizations, security updates
- **v2.1**: Core RSM methodology implementation, academic validation
- **v2.0**: Initial release with basic functionality
## ๐ง Reproducibility & Testing
This implementation ensures complete reproducibility through:
- Fixed random seeds (`numpy.random.seed(42)`)
- Deterministic computation with tolerance ฮด < 1e-12
- Complete audit trails with SHA-256 hashing
- Versioned dependencies and test harness
For validation, run the test suite:
```bash
python -m pytest tests/ -v
```
## ๐ Contact & Support
- **Issues**: [GitHub Issues](https://github.com/flamehaven/rsm-implementation/issues)
- **Email**: info@flamehaven.space
- **Research Inquiries**: Flamehaven Initiative |