Spaces:
Running
Running
Upload 2 files
Browse files- README.md +99 -65
- index.html +440 -394
README.md
CHANGED
|
@@ -1,93 +1,127 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk:
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
pinned: false
|
| 10 |
-
author: "garywelz"
|
| 11 |
-
short_description: Cross-disciplinary methodology for complex systems
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
| 15 |
|
| 16 |
-
A
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
-
|
| 25 |
|
| 26 |
-
|
| 27 |
|
| 28 |
-
|
| 29 |
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
| 31 |
|
| 32 |
-
|
| 33 |
|
| 34 |
-
|
|
|
|
| 35 |
|
| 36 |
-
|
| 37 |
-
|
| 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 |
-
|
|
|
|
| 43 |
|
| 44 |
-
|
| 45 |
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 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 |
-
|
|
|
|
| 53 |
|
| 54 |
-
###
|
|
|
|
| 55 |
|
| 56 |
-
|
| 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 |
-
|
| 65 |
|
| 66 |
-
|
| 67 |
-
-
|
| 68 |
-
-
|
| 69 |
-
-
|
| 70 |
-
-
|
| 71 |
-
- Full article: [programming_framework_article.html](programming_framework_article.html)
|
| 72 |
|
| 73 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
|
| 75 |
-
|
| 76 |
-
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 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 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
-
|
| 86 |
|
| 87 |
-
-
|
| 88 |
-
-
|
| 89 |
-
-
|
| 90 |
-
|
| 91 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 -
|
|
|
|
|
|
|
| 7 |
<style>
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
padding: 0;
|
| 11 |
-
box-sizing: border-box;
|
| 12 |
}
|
| 13 |
-
|
| 14 |
-
|
| 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 |
-
|
| 72 |
-
|
| 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 |
-
|
| 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 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
|
|
|
|
|
|
|
|
|
| 151 |
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 157 |
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 162 |
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
|
|
|
| 185 |
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 190 |
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 200 |
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
|
|
|
|
|
|
| 204 |
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 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 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 239 |
</div>
|
| 240 |
|
| 241 |
-
<div class="
|
| 242 |
-
<
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
<
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 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 |
-
|
| 273 |
-
|
| 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 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
<
|
| 317 |
-
|
| 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 |
-
|
| 347 |
-
|
|
|
|
| 348 |
|
| 349 |
-
|
| 350 |
-
|
| 351 |
-
|
| 352 |
-
|
| 353 |
-
|
| 354 |
-
|
| 355 |
-
|
| 356 |
-
|
| 357 |
-
|
| 358 |
-
|
| 359 |
-
|
| 360 |
-
|
| 361 |
-
|
| 362 |
-
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
|
| 366 |
-
|
| 367 |
-
|
| 368 |
-
|
| 369 |
-
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
|
| 373 |
-
|
| 374 |
-
|
| 375 |
-
|
| 376 |
-
|
| 377 |
-
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
|
| 381 |
-
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
| 387 |
-
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
|
| 396 |
-
|
| 397 |
-
|
| 398 |
-
|
| 399 |
-
|
| 400 |
-
|
| 401 |
-
|
| 402 |
-
|
| 403 |
-
|
| 404 |
-
|
| 405 |
-
|
| 406 |
-
|
| 407 |
-
|
| 408 |
-
|
| 409 |
-
|
| 410 |
-
|
| 411 |
-
|
| 412 |
-
|
| 413 |
-
|
| 414 |
-
|
| 415 |
-
|
| 416 |
-
|
| 417 |
-
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 421 |
</div>
|
| 422 |
-
|
| 423 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 424 |
|
| 425 |
-
|
| 426 |
-
|
| 427 |
-
|
| 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">© 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 |
+
|