garywelz commited on
Commit
fd04cab
·
verified ·
1 Parent(s): 346f5cf

Upload 2 files

Browse files
Files changed (2) hide show
  1. README.md +99 -65
  2. index.html +440 -394
README.md CHANGED
@@ -1,93 +1,127 @@
1
  ---
2
- title: "Programming Framework for Systematic Analysis"
3
- emoji: "🎨"
4
- colorFrom: "blue"
5
- colorTo: "green"
6
- sdk: "static"
7
- sdk_version: "latest"
8
- app_file: "index.html"
9
- pinned: false
10
- author: "garywelz"
11
- short_description: Cross-disciplinary methodology for complex systems
12
  ---
13
 
14
- ## Programming Framework
15
 
16
- A systematic visualization methodology for analyzing complex systems across disciplines using Mermaid Markdown and a universal five-color code.
17
 
18
- Complex systems across biology, chemistry, and physics exhibit remarkable similarities in their organizational principles despite operating at vastly different scales and domains. Traditional analysis methods often remain siloed within specific disciplines, limiting our ability to identify common patterns and computational logic that govern system behavior. Here, we present the Programming Framework, a systematic methodology that translates complex system dynamics into standardized computational representations using Mermaid Markdown syntax and LLM processing.
19
 
20
- ### Purpose and Goals
21
 
22
- The Programming Framework project aims to advance the use of Mermaid Markdown syntax and Large Language Models (LLMs) to create standardized, color-coded flowcharts representing complex processes across all academic disciplines. By providing a universal methodology for translating system dynamics into computational representations, this framework enables systematic comparison and pattern recognition across traditionally separate fields including biology, chemistry, physics, computer science, and mathematics. The project builds upon three decades of computational biology research and demonstrates how modern AI tools can democratize complex system analysis, making sophisticated visualization accessible to researchers, educators, and students worldwide.
23
 
24
- ### Technical Foundation: Mermaid Markdown
25
 
26
- #### The Invention of Mermaid
27
 
28
- **Knut Sveidqvist** invented the Mermaid markdown format. He created Mermaid, a JavaScript-based diagramming and charting tool, to simplify diagram creation in documentation workflows. The project was inspired by his experience trying to update a diagram in a document, which was difficult due to the file format.
29
 
30
- Sveidqvist's innovation revolutionized how diagrams are created and maintained in documentation by providing a text-based syntax that can be version-controlled, easily edited, and automatically rendered into visual diagrams. This approach eliminates the need for external diagramming tools and ensures diagrams stay synchronized with their documentation.
 
 
 
31
 
32
- #### Mermaid Markdown (.mmd) Format
33
 
34
- The Programming Framework leverages Mermaid's `.mmd` file format, which provides:
 
35
 
36
- - **Text-based syntax** for creating complex flowcharts and diagrams
37
- - **Version control compatibility** - diagrams can be tracked in Git repositories
38
- - **LLM-friendly format** - AI systems can generate and modify diagram code
39
- - **Cross-platform compatibility** - works in any environment that supports JavaScript
40
- - **Embeddable rendering** - diagrams can be displayed in HTML, Markdown, and other formats
41
 
42
- #### LLM Integration and Workflow
 
43
 
44
- Our methodology uses Large Language Models to:
45
 
46
- 1. **Generate .mmd files** - LLMs create detailed Mermaid syntax for complex processes
47
- 2. **Apply color coding** - Systematic application of the 5-category color system
48
- 3. **Ensure consistency** - Standardized node naming and connection patterns
49
- 4. **Embed in HTML** - .mmd files are embedded in HTML for web display
50
- 5. **Maintain quality** - LLMs can validate and optimize diagram structure
51
 
52
- This workflow enables rapid creation of sophisticated visualizations that would be impractical to create manually, while maintaining the flexibility and editability of text-based formats.
 
53
 
54
- ### Universal Color Coding Table
 
55
 
56
- | Color | Hex | Biology | Chemistry | Computer Science | Physics | Mathematics |
57
- | --- | --- | --- | --- | --- | --- | --- |
58
- | Red | `#ff6b6b` | Environmental signals, nutrients | Reactant supply, temperature | Input data, user commands | Energy input, force | Axioms, givens |
59
- | Yellow | `#ffd43b` | Enzymes, receptors | Catalysts, vessels | Data structures, algorithms | Fields, particles | Theorems, methods |
60
- | Green | `#51cf66` | Metabolic reactions | Chemical reactions | Algorithm execution | Quantum/force operations | Calculations, deductions |
61
- | Blue | `#74c0fc` | Metabolites, states | Intermediates, streams | Variables, memory states | States, measurement results | Intermediate results |
62
- | Violet | `#b197fc` | Biomolecules, responses | Final products | Program outputs | Phenomena, measured quantities | Proven results |
63
 
64
- ### Explore the Space
65
 
66
- - Biology evidence base: [GLMP Space](https://huggingface.co/spaces/garywelz/glmp) (Hugging Face) and repo
67
- - Chemistry processes: [chemistry_processes.html](chemistry_processes.html)
68
- - Computer Science: [computer_science_processes.html](computer_science_processes.html)
69
- - Physics: [physics_processes.html](physics_processes.html)
70
- - Mathematics: [mathematics_processes.html](mathematics_processes.html)
71
- - Full article: [programming_framework_article.html](programming_framework_article.html)
72
 
73
- ### Experimental Validation
 
 
 
 
74
 
75
- - **Validation Paper**: [experimental_validation_paper.html](experimental_validation_paper.html) - Comprehensive experimental protocols and validation methodology
76
- - **Core Validation Flowcharts**:
77
- - [catalytic_hydrogenation_optimization.html](catalytic_hydrogenation_optimization.html) - Experiment 1: Catalytic hydrogenation process validation
78
- - [raft_polymerization_mechanism.html](raft_polymerization_mechanism.html) - Experiment 2: Polymerization kinetics validation
79
- - [surface_catalysis_mechanism.html](surface_catalysis_mechanism.html) - Experiment 3: Surface chemistry process validation
80
- - [electrochemical_oxygen_reduction.html](electrochemical_oxygen_reduction.html) - Experiment 4: Electrochemical process validation
81
- - [quantum_chemistry_calculation.html](quantum_chemistry_calculation.html) - Experiment 5: Computational chemistry integration validation
82
 
83
- ### Batch Architecture
 
 
 
 
84
 
85
- The project now includes a comprehensive batch architecture for each discipline:
86
 
87
- - **Mathematics**: 7 batches (21 processes) - Complete
88
- - **Chemistry**: 14 batches (70 processes) - Complete
89
- - **Computer Science**: 7 batches (21 processes) - Complete
90
- - **Physics**: 7 batches (21 processes) - Complete ✅
91
- - **Biology**: External GLMP Space - Complete ✅
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
 
93
- Each discipline has an index page (`*_index.html`) and individual batch files (`*_batch_*.html`) containing detailed process visualizations.
 
1
  ---
2
+ title: The Programming Framework
3
+ emoji: 🛠️
4
+ colorFrom: yellow
5
+ colorTo: red
6
+ sdk: static
7
+ pinned: true
8
+ license: mit
 
 
 
9
  ---
10
 
11
+ # 🛠️ The Programming Framework
12
 
13
+ A Universal Method for Process Analysis
14
 
15
+ ## 🎯 Overview
16
 
17
+ The Programming Framework is a **meta-tool**—a tool for creating tools. It provides a systematic method for analyzing any complex process by combining the analytical power of Large Language Models with the clarity of visual flowcharts.
18
 
19
+ ## 💡 The Core Idea
20
 
21
+ **Problem:** Complex processes are difficult to understand because they involve many steps, decision points, and interactions. Traditional text descriptions are hard to follow.
22
 
23
+ **Solution:** Use LLMs to extract process logic from literature, then encode it as Mermaid flowcharts stored in JSON. Result: Clear, interactive visualizations that reveal hidden patterns and enable systematic analysis.
24
 
25
+ ## ⚙️ How It Works
26
 
27
+ 1. **Input Process** - Provide scientific papers, documentation, or process descriptions
28
+ 2. **LLM Analysis** - AI extracts steps, decisions, branches, and logic flow
29
+ 3. **Generate Flowchart** - Create Mermaid diagram encoded as JSON structure
30
+ 4. **Visualize & Iterate** - Interactive flowchart reveals insights and enables refinement
31
 
32
+ ## 🌍 Core Principles
33
 
34
+ ### Domain Agnostic
35
+ Works across any field: biology, chemistry, software engineering, business processes, legal workflows, manufacturing, and beyond.
36
 
37
+ ### Iterative Refinement
38
+ Start with rough analysis, visualize, identify gaps, refine with LLM, repeat until the process logic is crystal clear.
 
 
 
39
 
40
+ ### Structured Data
41
+ JSON storage enables programmatic access, version control, cross-referencing, and integration with other tools and databases.
42
 
43
+ ## 🚀 Applications
44
 
45
+ ### 🧬 GLMP - Genome Logic Modeling (Live)
46
+ First specialized application: visualizing biochemical processes like DNA replication, metabolic pathways, and cell signaling.
47
+ - [Explore GLMP →](https://huggingface.co/spaces/garywelz/glmp)
 
 
48
 
49
+ ### 💻 Software Architecture Analysis (Coming Soon)
50
+ Map complex software systems, API flows, and data pipelines as flowcharts for better documentation and understanding.
51
 
52
+ ### 🏢 Business Process Modeling (In Development)
53
+ Analyze organizational workflows, decision trees, and operational procedures for optimization and automation.
54
 
55
+ ### ⚛️ Physics & Engineering (Planned)
56
+ Model physical processes, engineering systems, and experimental protocols with step-by-step visual clarity.
 
 
 
 
 
57
 
58
+ ## 🔧 Technical Architecture
59
 
60
+ ### LLM Integration
61
+ - Google Gemini 2.0 Flash for analysis
62
+ - Vertex AI for enterprise deployment
63
+ - Custom prompts for process extraction
64
+ - Structured JSON output formatting
 
65
 
66
+ ### Visualization Stack
67
+ - Mermaid.js for flowchart rendering
68
+ - JSON schema for data validation
69
+ - Interactive SVG output
70
+ - Export to PNG/PDF supported
71
 
72
+ ### Data Storage
73
+ - Google Cloud Storage for JSON files
74
+ - Firestore for metadata indexing
75
+ - Version control with Git
76
+ - Cross-referencing with papers database
 
 
77
 
78
+ ### Integration Points
79
+ - GLMP specialized collections
80
+ - Copernicus AI knowledge graph
81
+ - Research papers database
82
+ - API endpoints for programmatic access
83
 
84
+ ## 📚 Publications
85
 
86
+ - Welz, G. (2025). "The Programming Framework: A Universal Method for Process Analysis Using LLMs and Visual Flowcharts" - Foundational paper
87
+ - Welz, G. (2025). "GLMP: Applying the Programming Framework to Biochemical Process Visualization" - Case study
88
+ - Welz, G. (2025). "From Text to Logic: Automated Process Extraction with Large Language Models" - Technical deep-dive
89
+
90
+ ## 🔗 Related Projects
91
+
92
+ ### 🧬 GLMP - Genome Logic Modeling
93
+ First specialized application of the Programming Framework to biochemical processes. 50+ biological pathways visualized.
94
+ - [Visit GLMP →](https://huggingface.co/spaces/garywelz/glmp)
95
+
96
+ ### 🔬 Copernicus AI
97
+ Knowledge engine integrating the Programming Framework with AI podcasts, research papers, and knowledge graph for scientific discovery.
98
+ - [Visit Copernicus AI →](https://huggingface.co/spaces/garywelz/copernicusai)
99
+
100
+ ## 🎨 Interactive Demo
101
+
102
+ The space includes interactive examples showing the framework applied to:
103
+ - Scientific Method
104
+ - Software Deployment Pipeline
105
+ - Customer Support Workflow
106
+ - Research Paper Publication
107
+
108
+ Each example demonstrates how LLMs extract process logic and encode it as visual flowcharts.
109
+
110
+ ## 💻 Technology Stack
111
+
112
+ - **LLM**: Google Gemini 2.0 Flash, Vertex AI
113
+ - **Visualization**: Mermaid.js
114
+ - **Storage**: Google Cloud Storage, Firestore
115
+ - **Format**: JSON with Mermaid syntax
116
+ - **Frontend**: Static HTML + Tailwind CSS
117
+
118
+ ## 🌟 Vision
119
+
120
+ As AI systems become more capable of understanding complex processes, the Programming Framework provides the bridge between human comprehension and machine analysis. It's a tool for truth-seeking—transforming complexity into clarity.
121
+
122
+ ---
123
+
124
+ **A Universal Method for Process Analysis**
125
+
126
+ © 2025 Gary Welz. All rights reserved.
127
 
 
index.html CHANGED
@@ -3,434 +3,480 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Programming Framework - Systematic Analysis of Complex Systems</title>
 
 
7
  <style>
8
- * {
9
- margin: 0;
10
- padding: 0;
11
- box-sizing: border-box;
12
  }
13
-
14
- body {
15
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
16
- line-height: 1.6;
17
- color: #333;
18
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
19
- min-height: 100vh;
20
- }
21
-
22
- .container {
23
- max-width: 1200px;
24
- margin: 0 auto;
25
- padding: 20px;
26
- }
27
-
28
- .header {
29
- text-align: center;
30
- color: white;
31
- margin-bottom: 40px;
32
- }
33
-
34
- .header h1 {
35
- font-size: 3rem;
36
- margin-bottom: 10px;
37
- text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
38
- }
39
-
40
- .header p {
41
- font-size: 1.2rem;
42
- opacity: 0.9;
43
- }
44
-
45
- .main-content {
46
- background: white;
47
- border-radius: 15px;
48
- padding: 40px;
49
- box-shadow: 0 10px 30px rgba(0,0,0,0.2);
50
- margin-bottom: 30px;
51
- }
52
-
53
- .overview {
54
- margin-bottom: 40px;
55
- }
56
-
57
- .overview h2 {
58
- color: #667eea;
59
- font-size: 2rem;
60
- margin-bottom: 20px;
61
- border-bottom: 3px solid #667eea;
62
- padding-bottom: 10px;
63
- }
64
-
65
- .overview p {
66
- font-size: 1.1rem;
67
- margin-bottom: 15px;
68
- text-align: justify;
69
  }
70
-
71
- .color-system {
72
- margin-bottom: 40px;
73
- }
74
-
75
- .color-system h2 {
76
- color: #667eea;
77
- font-size: 2rem;
78
- margin-bottom: 20px;
79
- border-bottom: 3px solid #667eea;
80
- padding-bottom: 10px;
81
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
 
83
- .color-grid {
84
- display: grid;
85
- grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
86
- gap: 20px;
87
- margin-bottom: 30px;
88
- }
 
 
 
 
 
 
89
 
90
- .color-card {
91
- border-radius: 10px;
92
- padding: 20px;
93
- color: white;
94
- text-align: center;
95
- box-shadow: 0 5px 15px rgba(0,0,0,0.2);
96
- transition: transform 0.3s ease;
97
- }
 
 
 
98
 
99
- .color-card:hover {
100
- transform: translateY(-5px);
101
- }
 
 
102
 
103
- .color-card h3 {
104
- font-size: 1.5rem;
105
- margin-bottom: 10px;
106
- }
 
107
 
108
- .color-card p {
109
- font-size: 1rem;
110
- opacity: 0.9;
111
- }
 
 
112
 
113
- .red { background: linear-gradient(135deg, #ff6b6b, #ee5a52); }
114
- .yellow { background: linear-gradient(135deg, #ffd43b, #fcc419); color: #333; }
115
- .green { background: linear-gradient(135deg, #51cf66, #40c057); }
116
- .blue { background: linear-gradient(135deg, #74c0fc, #4dabf7); }
117
- .violet { background: linear-gradient(135deg, #b197fc, #9775fa); }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
 
119
- .resources {
120
- margin-bottom: 40px;
121
- }
 
 
 
 
 
122
 
123
- .resources h2 {
124
- color: #667eea;
125
- font-size: 2rem;
126
- margin-bottom: 20px;
127
- border-bottom: 3px solid #667eea;
128
- padding-bottom: 10px;
129
- }
 
 
 
130
 
131
- .resource-grid {
132
- display: grid;
133
- grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
134
- gap: 20px;
135
- }
 
 
 
 
 
 
 
 
 
 
 
136
 
137
- .resource-card {
138
- background: #f8f9fa;
139
- border-radius: 10px;
140
- padding: 25px;
141
- text-align: center;
142
- border: 2px solid #e9ecef;
143
- transition: all 0.3s ease;
144
- }
145
 
146
- .resource-card:hover {
147
- border-color: #667eea;
148
- transform: translateY(-3px);
149
- box-shadow: 0 5px 15px rgba(0,0,0,0.1);
150
- }
 
 
 
151
 
152
- .resource-card h3 {
153
- color: #667eea;
154
- margin-bottom: 10px;
155
- font-size: 1.3rem;
156
- }
 
 
 
 
 
 
157
 
158
- .resource-card p {
159
- margin-bottom: 15px;
160
- color: #666;
161
- }
 
 
 
 
 
 
 
 
 
 
 
 
162
 
163
- .resource-card a {
164
- display: inline-block;
165
- background: #667eea;
166
- color: white;
167
- padding: 10px 20px;
168
- text-decoration: none;
169
- border-radius: 25px;
170
- transition: background 0.3s ease;
171
- }
172
 
173
- .resource-card a:hover {
174
- background: #5a6fd8;
175
- }
 
 
 
 
 
 
 
 
 
 
 
 
176
 
177
- .footer {
178
- background: rgba(255,255,255,0.1);
179
- color: white;
180
- text-align: center;
181
- padding: 30px;
182
- border-radius: 15px;
183
- backdrop-filter: blur(10px);
184
- }
 
185
 
186
- .footer h3 {
187
- margin-bottom: 15px;
188
- font-size: 1.5rem;
189
- }
 
 
 
 
 
190
 
191
- .footer p {
192
- margin-bottom: 5px;
193
- opacity: 0.9;
194
- }
 
 
 
 
 
 
 
 
195
 
196
- .footer a {
197
- color: #ffd43b;
198
- text-decoration: none;
199
- }
 
 
 
 
 
 
 
200
 
201
- .footer a:hover {
202
- text-decoration: underline;
203
- }
 
 
204
 
205
- @media (max-width: 768px) {
206
- .header h1 {
207
- font-size: 2rem;
208
- }
209
-
210
- .main-content {
211
- padding: 20px;
212
- }
213
-
214
- .color-grid {
215
- grid-template-columns: 1fr;
216
- }
217
-
218
- .resource-grid {
219
- grid-template-columns: 1fr;
220
- }
221
- }
222
- </style>
223
- </head>
224
- <body>
225
- <div class="container">
226
- <div class="header">
227
- <h1>🎨 Programming Framework</h1>
228
- <p>Systematic Analysis of Complex Systems Across Disciplines</p>
229
  </div>
230
-
231
- <div class="main-content">
232
- <div class="overview">
233
- <h2>Project Overview</h2>
234
- <p>The Programming Framework is a systematic visualization methodology for analyzing complex systems across disciplines using Mermaid Markdown and a universal five-color code.</p>
235
-
236
- <p>Complex systems across biology, chemistry, and physics exhibit remarkable similarities in their organizational principles despite operating at vastly different scales and domains. Traditional analysis methods often remain siloed within specific disciplines, limiting our ability to identify common patterns and computational logic that govern system behavior.</p>
237
-
238
- <p>Here, we present the Programming Framework, a systematic methodology that translates complex system dynamics into standardized computational representations using Mermaid Markdown syntax and LLM processing.</p>
 
 
 
 
 
 
 
 
239
  </div>
240
 
241
- <div class="overview">
242
- <h2>Technical Foundation: Mermaid Markdown</h2>
243
-
244
- <h3 style="color: #667eea; margin: 20px 0 15px 0; font-size: 1.4rem;">The Invention of Mermaid</h3>
245
- <p><strong>Knut Sveidqvist</strong> invented the Mermaid markdown format. He created Mermaid, a JavaScript-based diagramming and charting tool, to simplify diagram creation in documentation workflows. The project was inspired by his experience trying to update a diagram in a document, which was difficult due to the file format.</p>
246
-
247
- <p>Sveidqvist's innovation revolutionized how diagrams are created and maintained in documentation by providing a text-based syntax that can be version-controlled, easily edited, and automatically rendered into visual diagrams. This approach eliminates the need for external diagramming tools and ensures diagrams stay synchronized with their documentation.</p>
248
-
249
- <h3 style="color: #667eea; margin: 20px 0 15px 0; font-size: 1.4rem;">Mermaid Markdown (.mmd) Format</h3>
250
- <p>The Programming Framework leverages Mermaid's <code>.mmd</code> file format, which provides:</p>
251
- <ul style="margin: 15px 0; padding-left: 30px;">
252
- <li><strong>Text-based syntax</strong> for creating complex flowcharts and diagrams</li>
253
- <li><strong>Version control compatibility</strong> - diagrams can be tracked in Git repositories</li>
254
- <li><strong>LLM-friendly format</strong> - AI systems can generate and modify diagram code</li>
255
- <li><strong>Cross-platform compatibility</strong> - works in any environment that supports JavaScript</li>
256
- <li><strong>Embeddable rendering</strong> - diagrams can be displayed in HTML, Markdown, and other formats</li>
257
- </ul>
258
-
259
- <h3 style="color: #667eea; margin: 20px 0 15px 0; font-size: 1.4rem;">LLM Integration and Workflow</h3>
260
- <p>Our methodology uses Large Language Models to:</p>
261
- <ol style="margin: 15px 0; padding-left: 30px;">
262
- <li><strong>Generate .mmd files</strong> - LLMs create detailed Mermaid syntax for complex processes</li>
263
- <li><strong>Apply color coding</strong> - Systematic application of the 5-category color system</li>
264
- <li><strong>Ensure consistency</strong> - Standardized node naming and connection patterns</li>
265
- <li><strong>Embed in HTML</strong> - .mmd files are embedded in HTML for web display</li>
266
- <li><strong>Maintain quality</strong> - LLMs can validate and optimize diagram structure</li>
267
- </ol>
268
-
269
- <p>This workflow enables rapid creation of sophisticated visualizations that would be impractical to create manually, while maintaining the flexibility and editability of text-based formats.</p>
270
  </div>
 
 
 
 
 
 
 
 
 
 
 
271
 
272
- <div class="color-system">
273
- <h2>Universal Color Coding System</h2>
274
- <p style="text-align: center; margin-bottom: 20px; font-size: 1.1rem;">The framework uses a standardized five-color system across all disciplines:</p>
275
-
276
- <div class="color-grid">
277
- <div class="color-card red">
278
- <h3>🔴 Red (#ff6b6b)</h3>
279
- <p><strong>Triggers & Inputs</strong><br>
280
- Environmental signals, reactants, input data, energy sources, axioms</p>
281
- </div>
282
-
283
- <div class="color-card yellow">
284
- <h3>🟡 Yellow (#ffd43b)</h3>
285
- <p><strong>Structures & Objects</strong><br>
286
- Enzymes, catalysts, data structures, fields, theorems</p>
287
- </div>
288
-
289
- <div class="color-card green">
290
- <h3>🟢 Green (#51cf66)</h3>
291
- <p><strong>Processing & Operations</strong><br>
292
- Metabolic reactions, chemical reactions, algorithms, quantum operations</p>
293
- </div>
294
-
295
- <div class="color-card blue">
296
- <h3>🔵 Blue (#74c0fc)</h3>
297
- <p><strong>Intermediates & States</strong><br>
298
- Metabolites, intermediates, variables, states, measurement results</p>
299
- </div>
300
-
301
- <div class="color-card violet">
302
- <h3>🟣 Violet (#b197fc)</h3>
303
- <p><strong>Products & Outputs</strong><br>
304
- Biomolecules, final products, program outputs, phenomena, proven results</p>
305
- </div>
306
- </div>
307
- </div>
308
 
309
- <div class="batch-status">
310
- <h2>📊 Batch Architecture Status</h2>
311
- <div class="status-grid">
312
- <div class="status-card complete">
313
- <h3>📐 Mathematics</h3>
314
- <p><strong>Status:</strong> Complete ✅</p>
315
- <p><strong>Batches:</strong> 7/7 (21 processes)</p>
316
- <p>Number Theory, Analysis & Calculus, Abstract Algebra, Geometry & Topology, Applied Mathematics, Discrete Mathematics, Historical & Educational</p>
317
- </div>
318
-
319
- <div class="status-card completed">
320
- <h3>⚗️ Chemistry</h3>
321
- <p><strong>Status:</strong> Completed ✅</p>
322
- <p><strong>Batches:</strong> 14/14 (70 processes)</p>
323
- <p>Organic Chemistry, Physical Chemistry, Analytical Chemistry, Inorganic Chemistry, Biochemistry, Materials Chemistry, Environmental Chemistry, Electrochemical Processes, Surface Chemistry & Catalysis, Thermodynamic Processes, Kinetic Processes, Spectroscopy & Analysis, Quantum Chemistry, Materials Chemistry</p>
324
- </div>
325
-
326
- <div class="status-card in-progress">
327
- <h3>💻 Computer Science</h3>
328
- <p><strong>Status:</strong> In Progress 🔄</p>
329
- <p><strong>Batches:</strong> 1/7 (3 processes)</p>
330
- <p>Algorithms & Data Structures, Software Engineering, Artificial Intelligence, Computer Security, Computer Networks, Database Systems, Computer Graphics</p>
331
- </div>
332
-
333
- <div class="status-card in-progress">
334
- <h3>⚛️ Physics</h3>
335
- <p><strong>Status:</strong> In Progress 🔄</p>
336
- <p><strong>Batches:</strong> 1/7 (3 processes)</p>
337
- <p>Classical Mechanics, Electromagnetism, Thermodynamics, Quantum Mechanics, Relativity, Astrophysics, Particle Physics</p>
338
- </div>
339
-
340
- <div class="status-card external">
341
- <h3>🧬 Biology</h3>
342
- <p><strong>Status:</strong> External GLMP ✅</p>
343
- <p><strong>Location:</strong> Hugging Face Space</p>
344
- <p>Comprehensive biological systems analysis with genome logic modeling and metabolic pathway visualization</p>
345
  </div>
346
- </div>
347
- </div>
 
348
 
349
- <div class="resources">
350
- <h2>Key Resources & Documentation</h2>
351
- <div class="resource-grid">
352
- <div class="resource-card">
353
- <h3>📚 Complete Documentation</h3>
354
- <p>Detailed methodology, implementation guidelines, and theoretical foundation</p>
355
- <a href="README.md">View README</a>
356
- </div>
357
-
358
- <div class="resource-card">
359
- <h3>🧬 Biology</h3>
360
- <p>Biological system analysis with GLMP integration</p>
361
- <a href="https://huggingface.co/spaces/garywelz/glmp" target="_blank">Explore Biology (GLMP)</a>
362
- </div>
363
-
364
- <div class="resource-card">
365
- <h3>⚗️ Chemistry</h3>
366
- <p>Chemical reaction mechanisms and visualizations</p>
367
- <a href="chemistry_index.html">Explore Chemistry</a>
368
- </div>
369
-
370
- <div class="resource-card">
371
- <h3>💻 Computer Science</h3>
372
- <p>Algorithm and computational analysis</p>
373
- <a href="computer_science_index.html">Explore CS</a>
374
- </div>
375
-
376
- <div class="resource-card">
377
- <h3>⚛️ Physics</h3>
378
- <p>Physical system dynamics and quantum processes</p>
379
- <a href="physics_index.html">Explore Physics</a>
380
- </div>
381
-
382
- <div class="resource-card">
383
- <h3>📐 Mathematics</h3>
384
- <p>Mathematical proof and calculation processes</p>
385
- <a href="mathematics_index.html">Explore Math</a>
386
- </div>
387
-
388
- <div class="resource-card">
389
- <h3>📖 Academic Article</h3>
390
- <p>Comprehensive framework documentation and methodology</p>
391
- <a href="programming_framework_article.html">Read Article</a>
392
- </div>
393
-
394
- <div class="resource-card">
395
- <h3>🔬 GLMP Foundation</h3>
396
- <p>Original biological systems analysis project</p>
397
- <a href="https://huggingface.co/spaces/garywelz/glmp" target="_blank">Visit GLMP</a>
398
- </div>
399
-
400
- <div class="resource-card">
401
- <h3>🧪 Experimental Validation</h3>
402
- <p>Comprehensive validation protocols and experimental design</p>
403
- <a href="experimental_validation_paper.html">View Validation Paper</a>
404
- </div>
405
-
406
- <div class="resource-card">
407
- <h3>🔬 Validation Flowcharts</h3>
408
- <p>Core validation flowcharts supporting experimental protocols</p>
409
- <a href="catalytic_hydrogenation_optimization.html">Catalytic Hydrogenation</a>
410
- <a href="raft_polymerization_mechanism.html">RAFT Polymerization</a>
411
- <a href="surface_catalysis_mechanism.html">Surface Catalysis</a>
412
- <a href="electrochemical_oxygen_reduction.html">Electrochemical ORR</a>
413
- <a href="quantum_chemistry_calculation.html">Quantum Chemistry</a>
414
- </div>
415
-
416
- <div class="resource-card">
417
- <h3>📄 Journal Submission Paper</h3>
418
- <p>Self-contained academic paper suitable for journal submission or arXiv</p>
419
- <a href="journal_submission_paper.html">View Journal Paper</a>
420
- </div>
 
 
 
 
 
 
 
 
 
421
  </div>
422
- </div>
423
- </div>
 
 
 
 
424
 
425
- <div class="footer">
426
- <h3>About the Author</h3>
427
- <p><strong>Gary Welz</strong></p>
428
- <p>Retired Faculty Member</p>
429
- <p>John Jay College, CUNY (Department of Mathematics and Computer Science)</p>
430
- <p>Borough of Manhattan Community College, CUNY</p>
431
- <p>CUNY Graduate Center (New Media Lab)</p>
432
- <p>Email: <a href="mailto:gwelz@jjay.cuny.edu">gwelz@jjay.cuny.edu</a></p>
433
- </div>
434
- </div>
435
  </body>
436
  </html>
 
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>The Programming Framework - Universal Process Analysis</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
9
  <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
 
 
12
  }
13
+ .card-hover {
14
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  }
16
+ .card-hover:hover {
17
+ transform: translateY(-4px);
18
+ box-shadow: 0 20px 40px rgba(0,0,0,0.15);
 
 
 
 
 
 
 
 
19
  }
20
+ </style>
21
+ </head>
22
+ <body class="bg-gray-50">
23
+ <!-- Header -->
24
+ <header class="gradient-bg text-white">
25
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16">
26
+ <div class="text-center">
27
+ <div class="text-6xl mb-4">🛠️</div>
28
+ <h1 class="text-5xl font-bold mb-4">The Programming Framework</h1>
29
+ <p class="text-xl opacity-90 mb-6">A Universal Method for Process Analysis</p>
30
+ <p class="text-lg opacity-75 max-w-3xl mx-auto">
31
+ Combining Large Language Models with Mermaid visualization to dissect and understand
32
+ complex processes across any discipline—from biology to business, physics to psychology.
33
+ </p>
34
+ </div>
35
+ </div>
36
+ </header>
37
+
38
+ <!-- Key Stats -->
39
+ <section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 -mt-8">
40
+ <div class="grid md:grid-cols-4 gap-4">
41
+ <div class="bg-white rounded-lg shadow-lg p-6 text-center">
42
+ <div class="text-3xl font-bold text-orange-600">Any</div>
43
+ <div class="text-sm text-gray-600">Discipline</div>
44
+ </div>
45
+ <div class="bg-white rounded-lg shadow-lg p-6 text-center">
46
+ <div class="text-3xl font-bold text-blue-600">LLM</div>
47
+ <div class="text-sm text-gray-600">Powered</div>
48
+ </div>
49
+ <div class="bg-white rounded-lg shadow-lg p-6 text-center">
50
+ <div class="text-3xl font-bold text-green-600">Visual</div>
51
+ <div class="text-sm text-gray-600">Flowcharts</div>
52
+ </div>
53
+ <div class="bg-white rounded-lg shadow-lg p-6 text-center">
54
+ <div class="text-3xl font-bold text-purple-600">JSON</div>
55
+ <div class="text-sm text-gray-600">Structured Data</div>
56
+ </div>
57
+ </div>
58
+ </section>
59
+
60
+ <!-- What is the Framework -->
61
+ <section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
62
+ <div class="bg-white rounded-xl shadow-lg p-8">
63
+ <h2 class="text-3xl font-bold text-gray-900 mb-6">🎯 What is the Programming Framework?</h2>
64
+ <div class="prose max-w-none">
65
+ <p class="text-lg text-gray-700 mb-4">
66
+ The Programming Framework is a <strong>meta-tool</strong>—a tool for creating tools. It provides a
67
+ systematic method for analyzing any complex process by combining the analytical power of Large Language
68
+ Models with the clarity of visual flowcharts.
69
+ </p>
70
+
71
+ <div class="grid md:grid-cols-2 gap-6 mt-6">
72
+ <div class="bg-orange-50 rounded-lg p-6">
73
+ <h3 class="text-xl font-semibold text-gray-900 mb-3">🔍 The Problem</h3>
74
+ <p class="text-gray-700">
75
+ Complex processes—whether biological, computational, or organizational—are difficult to
76
+ understand because they involve many steps, decision points, and interactions. Traditional
77
+ descriptions in text are hard to follow.
78
+ </p>
79
+ </div>
80
 
81
+ <div class="bg-blue-50 rounded-lg p-6">
82
+ <h3 class="text-xl font-semibold text-gray-900 mb-3">✨ The Solution</h3>
83
+ <p class="text-gray-700">
84
+ Use LLMs to extract process logic from literature, then encode it as Mermaid flowcharts
85
+ stored in JSON. Result: Clear, interactive visualizations that reveal hidden patterns and
86
+ enable systematic analysis.
87
+ </p>
88
+ </div>
89
+ </div>
90
+ </div>
91
+ </div>
92
+ </section>
93
 
94
+ <!-- How It Works -->
95
+ <section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
96
+ <div class="bg-gradient-to-r from-orange-50 to-yellow-50 rounded-xl p-8">
97
+ <h2 class="text-3xl font-bold text-gray-900 mb-8 text-center">⚙️ How It Works</h2>
98
+
99
+ <div class="grid md:grid-cols-4 gap-6">
100
+ <div class="bg-white rounded-lg p-6 text-center">
101
+ <div class="text-4xl mb-3">1️⃣</div>
102
+ <h3 class="font-semibold text-gray-900 mb-2">Input Process</h3>
103
+ <p class="text-sm text-gray-600">Provide scientific papers, documentation, or process descriptions</p>
104
+ </div>
105
 
106
+ <div class="bg-white rounded-lg p-6 text-center">
107
+ <div class="text-4xl mb-3">2️⃣</div>
108
+ <h3 class="font-semibold text-gray-900 mb-2">LLM Analysis</h3>
109
+ <p class="text-sm text-gray-600">AI extracts steps, decisions, branches, and logic flow</p>
110
+ </div>
111
 
112
+ <div class="bg-white rounded-lg p-6 text-center">
113
+ <div class="text-4xl mb-3">3️⃣</div>
114
+ <h3 class="font-semibold text-gray-900 mb-2">Generate Flowchart</h3>
115
+ <p class="text-sm text-gray-600">Create Mermaid diagram encoded as JSON structure</p>
116
+ </div>
117
 
118
+ <div class="bg-white rounded-lg p-6 text-center">
119
+ <div class="text-4xl mb-3">4️⃣</div>
120
+ <h3 class="font-semibold text-gray-900 mb-2">Visualize & Iterate</h3>
121
+ <p class="text-sm text-gray-600">Interactive flowchart reveals insights and enables refinement</p>
122
+ </div>
123
+ </div>
124
 
125
+ <div class="mt-8 bg-white rounded-lg p-6">
126
+ <h4 class="font-semibold text-gray-900 mb-3">📊 Live Example:</h4>
127
+ <div id="exampleDiagram" class="mermaid">
128
+ graph TD
129
+ A[Complex Process Input] --> B{LLM Analysis}
130
+ B -->|Extract Logic| C[Identify Steps]
131
+ B -->|Extract Decisions| D[Identify Branches]
132
+ C --> E[Create Flowchart Nodes]
133
+ D --> F[Create Decision Points]
134
+ E --> G[Generate Mermaid Syntax]
135
+ F --> G
136
+ G --> H[Store as JSON]
137
+ H --> I[Interactive Visualization]
138
+ I --> J{Insights Gained?}
139
+ J -->|No| K[Refine Analysis]
140
+ J -->|Yes| L[Apply Knowledge]
141
+ K --> B
142
+ </div>
143
+ </div>
144
+ </div>
145
+ </section>
146
+
147
+ <!-- Core Principles -->
148
+ <section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
149
+ <h2 class="text-3xl font-bold text-gray-900 mb-6">💡 Core Principles</h2>
150
+
151
+ <div class="grid md:grid-cols-3 gap-6">
152
+ <div class="bg-white rounded-lg shadow-md p-6 card-hover">
153
+ <div class="text-4xl mb-3">🌍</div>
154
+ <h3 class="text-xl font-semibold text-gray-900 mb-3">Domain Agnostic</h3>
155
+ <p class="text-gray-600">
156
+ Works across any field: biology, chemistry, software engineering, business processes,
157
+ legal workflows, manufacturing, and beyond.
158
+ </p>
159
+ </div>
160
 
161
+ <div class="bg-white rounded-lg shadow-md p-6 card-hover">
162
+ <div class="text-4xl mb-3">🔄</div>
163
+ <h3 class="text-xl font-semibold text-gray-900 mb-3">Iterative Refinement</h3>
164
+ <p class="text-gray-600">
165
+ Start with rough analysis, visualize, identify gaps, refine with LLM, repeat until
166
+ the process logic is crystal clear.
167
+ </p>
168
+ </div>
169
 
170
+ <div class="bg-white rounded-lg shadow-md p-6 card-hover">
171
+ <div class="text-4xl mb-3">📦</div>
172
+ <h3 class="text-xl font-semibold text-gray-900 mb-3">Structured Data</h3>
173
+ <p class="text-gray-600">
174
+ JSON storage enables programmatic access, version control, cross-referencing,
175
+ and integration with other tools and databases.
176
+ </p>
177
+ </div>
178
+ </div>
179
+ </section>
180
 
181
+ <!-- Applications -->
182
+ <section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
183
+ <div class="bg-white rounded-xl shadow-lg p-8">
184
+ <h2 class="text-3xl font-bold text-gray-900 mb-6">🚀 Applications</h2>
185
+
186
+ <div class="grid md:grid-cols-2 gap-6">
187
+ <div class="border-l-4 border-green-500 pl-4 py-3">
188
+ <h3 class="font-semibold text-gray-900 mb-2">🧬 GLMP - Genome Logic Modeling</h3>
189
+ <p class="text-gray-600 mb-2">
190
+ First specialized application: visualizing biochemical processes like DNA replication,
191
+ metabolic pathways, and cell signaling.
192
+ </p>
193
+ <a href="https://huggingface.co/spaces/garywelz/glmp" class="text-green-600 hover:text-green-700 text-sm font-semibold">
194
+ Explore GLMP →
195
+ </a>
196
+ </div>
197
 
198
+ <div class="border-l-4 border-blue-500 pl-4 py-3">
199
+ <h3 class="font-semibold text-gray-900 mb-2">💻 Software Architecture Analysis</h3>
200
+ <p class="text-gray-600 mb-2">
201
+ Map complex software systems, API flows, and data pipelines as flowcharts for
202
+ better documentation and understanding.
203
+ </p>
204
+ <span class="text-blue-600 text-sm font-semibold">Coming Soon</span>
205
+ </div>
206
 
207
+ <div class="border-l-4 border-purple-500 pl-4 py-3">
208
+ <h3 class="font-semibold text-gray-900 mb-2">🏢 Business Process Modeling</h3>
209
+ <p class="text-gray-600 mb-2">
210
+ Analyze organizational workflows, decision trees, and operational procedures
211
+ for optimization and automation.
212
+ </p>
213
+ <span class="text-purple-600 text-sm font-semibold">In Development</span>
214
+ </div>
215
 
216
+ <div class="border-l-4 border-orange-500 pl-4 py-3">
217
+ <h3 class="font-semibold text-gray-900 mb-2">⚛️ Physics & Engineering</h3>
218
+ <p class="text-gray-600 mb-2">
219
+ Model physical processes, engineering systems, and experimental protocols
220
+ with step-by-step visual clarity.
221
+ </p>
222
+ <span class="text-orange-600 text-sm font-semibold">Planned</span>
223
+ </div>
224
+ </div>
225
+ </div>
226
+ </section>
227
 
228
+ <!-- Interactive Demo -->
229
+ <section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
230
+ <div class="bg-gradient-to-r from-blue-50 to-purple-50 rounded-xl p-8">
231
+ <h2 class="text-3xl font-bold text-gray-900 mb-6">🎨 Try It Yourself</h2>
232
+
233
+ <div class="bg-white rounded-lg p-6">
234
+ <div class="mb-4">
235
+ <label class="block text-sm font-medium text-gray-700 mb-2">Select a Sample Process to Analyze:</label>
236
+ <select id="sampleSelector" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-orange-500">
237
+ <option value="">-- Choose a sample process --</option>
238
+ <option value="scientific-method">Scientific Method</option>
239
+ <option value="software-deployment">Software Deployment Pipeline</option>
240
+ <option value="customer-support">Customer Support Workflow</option>
241
+ <option value="research-publication">Research Paper Publication</option>
242
+ </select>
243
+ </div>
244
 
245
+ <div id="demoContainer" class="mt-6 p-6 bg-gray-50 rounded-lg min-h-64">
246
+ <div class="text-center text-gray-500 py-12">
247
+ <div class="text-4xl mb-4">🛠️</div>
248
+ <p>Select a sample process to see the Programming Framework in action</p>
249
+ </div>
250
+ </div>
251
+ </div>
252
+ </div>
253
+ </section>
254
 
255
+ <!-- Technical Details -->
256
+ <section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
257
+ <div class="bg-gray-900 text-white rounded-xl p-8">
258
+ <h2 class="text-3xl font-bold mb-6">⚙️ Technical Architecture</h2>
259
+
260
+ <div class="grid md:grid-cols-2 gap-8">
261
+ <div>
262
+ <h3 class="text-xl font-semibold text-orange-400 mb-4">🤖 LLM Integration</h3>
263
+ <ul class="space-y-2 text-gray-300">
264
+ <li>• Google Gemini 2.0 Flash for analysis</li>
265
+ <li>• Vertex AI for enterprise deployment</li>
266
+ <li>• Custom prompts for process extraction</li>
267
+ <li>• Structured JSON output formatting</li>
268
+ </ul>
269
+ </div>
270
 
271
+ <div>
272
+ <h3 class="text-xl font-semibold text-orange-400 mb-4">📊 Visualization Stack</h3>
273
+ <ul class="space-y-2 text-gray-300">
274
+ <li>• Mermaid.js for flowchart rendering</li>
275
+ <li>• JSON schema for data validation</li>
276
+ <li>• Interactive SVG output</li>
277
+ <li>• Export to PNG/PDF supported</li>
278
+ </ul>
279
+ </div>
280
 
281
+ <div>
282
+ <h3 class="text-xl font-semibold text-orange-400 mb-4">💾 Data Storage</h3>
283
+ <ul class="space-y-2 text-gray-300">
284
+ <li>• Google Cloud Storage for JSON files</li>
285
+ <li>• Firestore for metadata indexing</li>
286
+ <li>• Version control with Git</li>
287
+ <li>• Cross-referencing with papers database</li>
288
+ </ul>
289
+ </div>
290
 
291
+ <div>
292
+ <h3 class="text-xl font-semibold text-orange-400 mb-4">🔗 Integration Points</h3>
293
+ <ul class="space-y-2 text-gray-300">
294
+ <li>• GLMP specialized collections</li>
295
+ <li>• Copernicus AI knowledge graph</li>
296
+ <li>• Research papers database</li>
297
+ <li>• API endpoints for programmatic access</li>
298
+ </ul>
299
+ </div>
300
+ </div>
301
+ </div>
302
+ </section>
303
 
304
+ <!-- Publications -->
305
+ <section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
306
+ <div class="bg-white rounded-xl shadow-lg p-8">
307
+ <h2 class="text-3xl font-bold text-gray-900 mb-6">📚 Publications & Papers</h2>
308
+
309
+ <div class="space-y-4">
310
+ <div class="border-l-4 border-orange-500 pl-4 py-2">
311
+ <h3 class="font-semibold text-gray-900">Welz, G. (2025)</h3>
312
+ <p class="text-gray-700">"The Programming Framework: A Universal Method for Process Analysis Using LLMs and Visual Flowcharts"</p>
313
+ <p class="text-sm text-gray-500 mt-1">Foundational paper introducing the framework methodology</p>
314
+ </div>
315
 
316
+ <div class="border-l-4 border-green-500 pl-4 py-2">
317
+ <h3 class="font-semibold text-gray-900">Welz, G. (2025)</h3>
318
+ <p class="text-gray-700">"GLMP: Applying the Programming Framework to Biochemical Process Visualization"</p>
319
+ <p class="text-sm text-gray-500 mt-1">Case study: genome logic modeling in biology</p>
320
+ </div>
321
 
322
+ <div class="border-l-4 border-blue-500 pl-4 py-2">
323
+ <h3 class="font-semibold text-gray-900">Welz, G. (2025)</h3>
324
+ <p class="text-gray-700">"From Text to Logic: Automated Process Extraction with Large Language Models"</p>
325
+ <p class="text-sm text-gray-500 mt-1">Technical deep-dive into LLM prompting strategies</p>
326
+ </div>
327
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
328
  </div>
329
+ </section>
330
+
331
+ <!-- Related Projects -->
332
+ <section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
333
+ <h2 class="text-3xl font-bold text-gray-900 mb-6 text-center">🔗 Related Projects</h2>
334
+
335
+ <div class="grid md:grid-cols-2 gap-6">
336
+ <div class="bg-white rounded-lg shadow-md p-6 card-hover">
337
+ <h3 class="text-xl font-semibold text-gray-900 mb-3">🧬 GLMP - Genome Logic Modeling</h3>
338
+ <p class="text-gray-600 mb-4">
339
+ First specialized application of the Programming Framework to biochemical processes.
340
+ 50+ biological pathways visualized as interactive flowcharts.
341
+ </p>
342
+ <a href="https://huggingface.co/spaces/garywelz/glmp"
343
+ class="text-orange-600 hover:text-orange-700 font-semibold">
344
+ Explore GLMP →
345
+ </a>
346
  </div>
347
 
348
+ <div class="bg-white rounded-lg shadow-md p-6 card-hover">
349
+ <h3 class="text-xl font-semibold text-gray-900 mb-3">🔬 Copernicus AI</h3>
350
+ <p class="text-gray-600 mb-4">
351
+ Knowledge engine integrating the Programming Framework with AI podcasts, research papers,
352
+ and knowledge graph for scientific discovery.
353
+ </p>
354
+ <a href="https://huggingface.co/spaces/garywelz/copernicusai"
355
+ class="text-orange-600 hover:text-orange-700 font-semibold">
356
+ Visit Copernicus AI
357
+ </a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
358
  </div>
359
+ </div>
360
+ </section>
361
+
362
+ <!-- Footer -->
363
+ <footer class="gradient-bg text-white py-8 mt-12">
364
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
365
+ <p class="text-lg font-semibold mb-2">The Programming Framework</p>
366
+ <p class="text-sm opacity-75">A Universal Method for Process Analysis</p>
367
+ <p class="text-xs opacity-50 mt-4">&copy; 2025 Gary Welz. All rights reserved.</p>
368
+ </div>
369
+ </footer>
370
 
371
+ <script>
372
+ mermaid.initialize({ startOnLoad: true, theme: 'default' });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
373
 
374
+ document.getElementById('sampleSelector').addEventListener('change', (e) => {
375
+ const process = e.target.value;
376
+ const container = document.getElementById('demoContainer');
377
+
378
+ if (!process) {
379
+ container.innerHTML = `
380
+ <div class="text-center text-gray-500 py-12">
381
+ <div class="text-4xl mb-4">🛠️</div>
382
+ <p>Select a sample process to see the Programming Framework in action</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
383
  </div>
384
+ `;
385
+ return;
386
+ }
387
 
388
+ const diagrams = {
389
+ 'scientific-method': `
390
+ graph TD
391
+ A[Observation] --> B[Question]
392
+ B --> C[Hypothesis]
393
+ C --> D[Design Experiment]
394
+ D --> E[Collect Data]
395
+ E --> F{Analyze Results}
396
+ F -->|Support Hypothesis| G[Report Findings]
397
+ F -->|Reject Hypothesis| H[Revise Hypothesis]
398
+ H --> D
399
+ G --> I[Peer Review]
400
+ I --> J{Accepted?}
401
+ J -->|Yes| K[Publish]
402
+ J -->|No| L[Address Feedback]
403
+ L --> I
404
+ `,
405
+ 'software-deployment': `
406
+ graph TD
407
+ A[Code Commit] --> B[Run Tests]
408
+ B --> C{Tests Pass?}
409
+ C -->|No| D[Fix Issues]
410
+ C -->|Yes| E[Build Artifact]
411
+ D --> A
412
+ E --> F[Deploy to Staging]
413
+ F --> G[QA Testing]
414
+ G --> H{QA Approved?}
415
+ H -->|No| I[Bug Fixes]
416
+ H -->|Yes| J[Deploy to Production]
417
+ I --> A
418
+ J --> K[Monitor]
419
+ K --> L{Issues Detected?}
420
+ L -->|Yes| M[Rollback]
421
+ L -->|No| N[Success]
422
+ `,
423
+ 'customer-support': `
424
+ graph TD
425
+ A[Ticket Created] --> B[Assign to Agent]
426
+ B --> C[Initial Assessment]
427
+ C --> D{Issue Type?}
428
+ D -->|Technical| E[Tech Team]
429
+ D -->|Billing| F[Finance Team]
430
+ D -->|General| G[Support Agent]
431
+ E --> H[Investigate]
432
+ F --> I[Review Account]
433
+ G --> J[Provide Solution]
434
+ H --> K{Resolved?}
435
+ I --> K
436
+ J --> K
437
+ K -->|Yes| L[Close Ticket]
438
+ K -->|No| M[Escalate]
439
+ M --> N[Senior Team]
440
+ N --> H
441
+ `,
442
+ 'research-publication': `
443
+ graph TD
444
+ A[Research Complete] --> B[Write Manuscript]
445
+ B --> C[Internal Review]
446
+ C --> D{Ready?}
447
+ D -->|No| E[Revise]
448
+ D -->|Yes| F[Submit to Journal]
449
+ E --> B
450
+ F --> G[Editor Review]
451
+ G --> H{Desk Reject?}
452
+ H -->|Yes| I[Choose Different Journal]
453
+ H -->|No| J[Peer Review]
454
+ I --> F
455
+ J --> K{Reviewer Decision?}
456
+ K -->|Reject| I
457
+ K -->|Major Revisions| L[Address Comments]
458
+ K -->|Minor Revisions| M[Quick Fixes]
459
+ K -->|Accept| N[Publication]
460
+ L --> F
461
+ M --> F
462
+ `
463
+ };
464
+
465
+ container.innerHTML = `
466
+ <div class="mb-4">
467
+ <h3 class="font-semibold text-gray-900 mb-2">${e.target.options[e.target.selectedIndex].text}</h3>
468
+ <p class="text-sm text-gray-600">Visualized using the Programming Framework</p>
469
  </div>
470
+ <div class="mermaid">${diagrams[process]}</div>
471
+ <div class="mt-4 p-3 bg-orange-50 rounded text-sm text-gray-700">
472
+ <strong>💡 Framework Applied:</strong> LLM extracted process steps, decision points, and flows.
473
+ Result encoded as Mermaid flowchart in JSON for reusability.
474
+ </div>
475
+ `;
476
 
477
+ mermaid.init(undefined, container.querySelectorAll('.mermaid'));
478
+ });
479
+ </script>
 
 
 
 
 
 
 
480
  </body>
481
  </html>
482
+