From f700c7e449ae6a8d5d004dc73a8bf7a4879f4fdb Mon Sep 17 00:00:00 2001 From: Nubenetes Bot Date: Mon, 18 May 2026 23:18:11 +0200 Subject: [PATCH] docs: replace efficiency pie charts with combined bar chart and update automation --- README.md | 26 +++++++++++++++----------- src/readme_updater.py | 10 ++++++++++ 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 6a035952..c4cf48ce 100644 --- a/README.md +++ b/README.md @@ -508,19 +508,23 @@ Projected monthly budget for 24/7 autonomous maintenance. ### 7.2. Efficiency and Performance Metrics Achieves **>90% cost reduction** compared to full-Pro architectures by utilizing multi-tier caching, global concurrency semaphores, and structured batching. + ```mermaid -pie title AI Curation Cost Distribution (Standard Monthly) - "Elite Reasoning (Pro Tier)" : 75 - "Bulk Enrichment (Flash Tier)" : 15 - "Infrastructure Overhead" : 10 -``` - -```mermaid -pie title Processing Strategy (By Link Volume) - "Local Metadata (Zero Cost)" : 65 - "Cached AI Insights (Zero Cost)" : 25 - "New AI Inference (Identity A)" : 10 +--- +config: + themeVariables: + xyChart: + plotColorPalette: '#3b82f6, #fb923c' + theme: mc +--- +xychart-beta + title "Economic Efficiency: Cost vs. Volume Share (%)" + x-axis ["Elite / New AI", "Bulk / Cached", "Infra / Local"] + y-axis "Share (%)" 0 --> 100 + bar [75, 15, 10] + bar [10, 25, 65] ``` + ### 7.3. Economic Sustainability Principles 1. **Identity Rotation (Identity A/B)**: Rotates between PAYG and Subscription keys. diff --git a/src/readme_updater.py b/src/readme_updater.py index 1b234208..64c18f40 100644 --- a/src/readme_updater.py +++ b/src/readme_updater.py @@ -137,6 +137,14 @@ def get_stats(): status = "**Agentic Inception (Gemini Era)**" if month == "2026-05" else "Active Curation" monthly_rows.append(f"| {month} | {count} | {est_refs:,} | {status} |") + # 7. Efficiency Chart (Section 7.2) + efficiency_chart = "```mermaid\n---\nconfig:\n themeVariables:\n xyChart:\n plotColorPalette: '#3b82f6, #fb923c'\n theme: mc\n---\nxychart-beta\n title \"Economic Efficiency: Cost vs. Volume Share (%)\"\n" + efficiency_chart += " x-axis [\"Elite / New AI\", \"Bulk / Cached\", \"Infra / Local\"]\n" + efficiency_chart += " y-axis \"Share (%)\" 0 --> 100\n" + efficiency_chart += " bar [75, 15, 10]\n" + efficiency_chart += " bar [10, 25, 65]\n" + efficiency_chart += "```" + # 8. Heart Stats Table heart_stats = [ "| Metric | Value |", @@ -155,6 +163,7 @@ def get_stats(): "annual_growth": "\n".join(annual_rows), "annual_chart": annual_chart, "monthly_surge": "\n".join(monthly_rows), + "efficiency_chart": efficiency_chart, "last_update": datetime.now().strftime("%Y-%m-%d") } @@ -179,6 +188,7 @@ def update_readme(stats): content = replace_section(content, "ANNUAL_GROWTH", stats["annual_growth"]) content = replace_section(content, "ANNUAL_CHART", stats["annual_chart"]) content = replace_section(content, "MONTHLY_SURGE", stats["monthly_surge"]) + content = replace_section(content, "EFFICIENCY_CHART", stats["efficiency_chart"]) content = replace_section(content, "PILLAR_CHART", stats["pillar_chart"]) content = replace_section(content, "SUB_ECO_CHART", stats["lang_chart"])