Flamehaven commited on
Commit
f2cccf3
ยท
verified ยท
1 Parent(s): 8afd0c2

Upload 3 files

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