Upload 3 files
Browse files
README.md
CHANGED
|
@@ -3,39 +3,21 @@ title: Open Loop Society Simulator
|
|
| 3 |
emoji: 🧭
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: blue
|
| 6 |
-
sdk:
|
| 7 |
-
app_file:
|
| 8 |
pinned: false
|
| 9 |
-
license: cc-by-nc-sa-4.0
|
| 10 |
---
|
| 11 |
|
| 12 |
-
# Open-Loop Society Simulator v0.1.1
|
| 13 |
|
| 14 |
-
|
| 15 |
-
Primordial Calculus / HIR-OAM
|
| 16 |
-
|
| 17 |
-
A bounded symbolic simulator for tracing whether open-loop capture pressure outruns society's repair capacity over a 50-year horizon.
|
| 18 |
|
| 19 |
## Boundary
|
| 20 |
|
| 21 |
-
This
|
| 22 |
-
|
| 23 |
-
## Core Thesis
|
| 24 |
-
|
| 25 |
-
The feed does not have to break everyone. It only has to generate pressure faster than society can translate it.
|
| 26 |
-
|
| 27 |
-
## Core Equation
|
| 28 |
-
|
| 29 |
-
`S_society = A_agency × B_loop − P_capture_adjusted`
|
| 30 |
-
|
| 31 |
-
## Contested Exit Rule
|
| 32 |
-
|
| 33 |
-
Exit only becomes real when:
|
| 34 |
-
|
| 35 |
-
`P_reentry < R_repair`
|
| 36 |
-
|
| 37 |
-
A user can be inactive but still structurally tethered through habit, identity, FOMO, social graph, and lack of replacement repair loops.
|
| 38 |
|
| 39 |
## License
|
| 40 |
|
| 41 |
-
CC BY-NC-SA 4.0
|
|
|
|
|
|
|
|
|
| 3 |
emoji: 🧭
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: blue
|
| 6 |
+
sdk: gradio
|
| 7 |
+
app_file: app.py
|
| 8 |
pinned: false
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# Open-Loop Society Simulator v0.1.1
|
| 12 |
|
| 13 |
+
Contested Exit Patch — a bounded HIR/OAM symbolic simulator for tracing whether open-loop capture pressure outruns society's ability to translate and repair pressure over a 50-year horizon.
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
## Boundary
|
| 16 |
|
| 17 |
+
This instrument is a structural pressure model. It does not prove future outcomes, causation, private platform intent, or empirical prediction.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
## License
|
| 20 |
|
| 21 |
+
CC BY-NC-SA 4.0.
|
| 22 |
+
|
| 23 |
+
Created and Developed by Collin D. Weber — Developer & System Architect; Systems Integrity Steward.
|
app.py
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from pathlib import Path
|
| 2 |
+
import html as html_escape
|
| 3 |
+
|
| 4 |
+
import gradio as gr
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
APP_HTML_PATH = Path(__file__).with_name("index.html")
|
| 8 |
+
APP_HTML = APP_HTML_PATH.read_text(encoding="utf-8")
|
| 9 |
+
IFRAME_DOC = html_escape.escape(APP_HTML, quote=True)
|
| 10 |
+
|
| 11 |
+
CUSTOM_CSS = """
|
| 12 |
+
html, body, .gradio-container {
|
| 13 |
+
margin: 0 !important;
|
| 14 |
+
padding: 0 !important;
|
| 15 |
+
max-width: 100% !important;
|
| 16 |
+
width: 100% !important;
|
| 17 |
+
min-height: 100vh !important;
|
| 18 |
+
background: #0b0d10 !important;
|
| 19 |
+
}
|
| 20 |
+
footer {display: none !important;}
|
| 21 |
+
#component-0 {padding: 0 !important; margin: 0 !important;}
|
| 22 |
+
"""
|
| 23 |
+
|
| 24 |
+
IFRAME = f"""
|
| 25 |
+
<iframe
|
| 26 |
+
title="Open-Loop Society Simulator v0.1.1"
|
| 27 |
+
srcdoc="{IFRAME_DOC}"
|
| 28 |
+
style="width:100%; height:100vh; min-height:900px; border:0; display:block; background:#0b0d10;"
|
| 29 |
+
sandbox="allow-scripts allow-downloads allow-forms allow-same-origin"
|
| 30 |
+
></iframe>
|
| 31 |
+
"""
|
| 32 |
+
|
| 33 |
+
with gr.Blocks(css=CUSTOM_CSS, fill_width=True, fill_height=True, title="Open Loop Society Simulator") as demo:
|
| 34 |
+
gr.HTML(IFRAME)
|
| 35 |
+
|
| 36 |
+
if __name__ == "__main__":
|
| 37 |
+
demo.launch()
|