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