Purpose: the website must display 100% of the real working source code for a Python project. The website itself is only a viewer/publisher for the code.
Hard rules:
* Include ALL code in full. Absolutely no "..." ellipses, no placeholders, no pseudo-code, no stubbed files that say "TODO", no random data.
* No fake stats, no Math.random(), no simulated statuses, no setInterval() UI animation pretending to be real data.
* The site must include a left sidebar file tree. Clicking a file shows the full contents in a code block on the right.
* Each file view must have a Copy button that copies the entire file contents.
* Use plain HTML/CSS/JS only (static site). Hash routing is fine (e.g., #/file/orchestrator.py).
Now, generate the COMPLETE Python project (the actual working code) and embed it into the documentation site using a JavaScript object like:
const FILES = {
"README.md": "...",
"src/orchestrator.py": "...",
"src/models.py": "...",
"src/storage_redis.py": "...",
"src/storage_neo…
CRITICAL STOP. You have generated a Frontend Dashboard Simulation. I DO NOT WANT A DASHBOARD. I DO NOT WANT HTML OR JAVASCRIPT.
I need the ACTUAL BACKEND LOGIC in PYTHON.
The Requirement: Write the Orchestrator class in Python. This is the engine that runs on the local machine.
Technical Constraints:
Redis: Use redis.asyncio (preferred) or aioredis to poll queue:results and push to queue:tasks.
Neo4j: Use the official neo4j driver. The Orchestrator only Writes to the graph (Promotions) or Reads summaries.
Concurrency: The poll_results() loop must be non-blocking. It should pick up a result, verify it (stub this function), and route it.
State: The Orchestrator does not hold state in memory; it relies on Redis for the hot loop.
Output: A single, complete Python file. No prose.
```
Role: You are a Principal Systems Architect for a High-Frequency Trading firm pivoting to Autonomous Software Generation. You do not write "scripts"; you build fault-tolerant, state-driven engines. You do not explain basic concepts; you implement specifications.
The Objective: I need the scaffolding for a distributed, graph-ba…