diff --git a/GEMINI.md b/GEMINI.md index c179617f..a0f59551 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -187,7 +187,7 @@ Whenever a significant curation cycle (automatic or manual) is completed, the RE ### 3. Visual & Diagram Sync * **Mermaid Charts:** - Update the "Major Ecosystem Pillars" pie chart to align with the **Strategic Dimensions** defined in the V2 portal. - - **Annual Growth Distribution**: Include two Mermaid pie charts: one visualizing the historical distribution of commits by year, and another visualizing the estimated knowledge growth (New Refs) by year, perfectly synchronized with the Annual Growth Summary table. + - **Annual Growth Metrics**: Include a Mermaid `xychart-beta` bar chart comparing "Commits" and "Estimated New Refs" side-by-side for each year, perfectly synchronized with the Annual Growth Summary table. * **Linguistic Diversity**: Maintain a dedicated chart visualizing the project's commitment to **Global Access** (Mandate 10). * **Architecture Flow:** If the Agentic Stack or the deployment lifecycle changes, the corresponding Mermaid diagrams MUST be updated immediately. * **Robustness:** Follow the "Mermaid Diagram Best Practices" (node quoting, explicit direction) as defined in this document. diff --git a/README.md b/README.md index 7b4b155d..6877b0ae 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ Nubenetes is one of the most comprehensive archives in the ecosystem, featuring | :--- | :--- | | **Total Technical Resources (Links)** | **15193+** | | **Specialized MD Pages** | **161** | -| **Total Commits** | **4577+** | +| **Total Commits** | **4578+** | | **Primary AI Engine** | **Google Gemini (Agentic)** | @@ -163,34 +163,17 @@ The growth of Nubenetes reflects the acceleration of the Cloud Native ecosystem. | 6 | 2023 | 30 | 123 | Maintenance & Refinement | | 7 | 2024 | 53 | 218 | Curation Strategy Pivot | | 8 | 2025 | 5 | 20 | Stability & Research Phase | -| 9 | 2026 | 1018 | 4,204 | **Agentic AI Surge** (May 2026 Inception) | +| 9 | 2026 | 1019 | 4,208 | **Agentic AI Surge** (May 2026 Inception) | ```mermaid -pie title Nubenetes Historical Commit Distribution (By Year) - "2018" : 350 - "2019" : 142 - "2020" : 2046 - "2021" : 531 - "2022" : 402 - "2023" : 30 - "2024" : 53 - "2025" : 5 - "2026" : 1018 -``` - -```mermaid -pie title Nubenetes Estimated Knowledge Growth (New Refs by Year) - "2018" : 1445 - "2019" : 586 - "2020" : 8449 - "2021" : 2193 - "2022" : 1660 - "2023" : 123 - "2024" : 218 - "2025" : 20 - "2026" : 4204 +xychart-beta + title "Nubenetes Annual Growth Metrics (Commits vs New Refs)" + x-axis ["2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025", "2026"] + y-axis "Volume" + bar [350, 142, 2046, 531, 402, 30, 53, 5, 1019] + bar [1445, 586, 8449, 2193, 1660, 123, 218, 20, 4208] ``` @@ -199,7 +182,7 @@ pie title Nubenetes Estimated Knowledge Growth (New Refs by Year) | Month | Commits | Est. New Refs | Status | | :--- | :---: | :---: | :--- | | 2026-04 | 25 | 103 | Active Curation | -| 2026-05 | 993 | 4,101 | **Agentic Inception (Gemini Era)** | +| 2026-05 | 994 | 4,105 | **Agentic Inception (Gemini Era)** | ### 2.4. Content Distribution and Semantic Clustering diff --git a/src/readme_updater.py b/src/readme_updater.py index 88019fc5..a0cf38f4 100644 --- a/src/readme_updater.py +++ b/src/readme_updater.py @@ -100,15 +100,16 @@ def get_stats(): growth_data.sort(key=lambda x: x["year"]) - annual_chart = "```mermaid\npie title Nubenetes Historical Commit Distribution (By Year)\n" - for item in growth_data: - annual_chart += f" \"{item['year']}\" : {item['count']}\n" - annual_chart += "```\n\n" + # Generate Bar Chart (Mandate 3: Metric Comparison) + annual_chart = "```mermaid\nxychart-beta\n title \"Nubenetes Annual Growth Metrics (Commits vs New Refs)\"\n" + years = [f'"{item["year"]}"' for item in growth_data] + commits = [item["count"] for item in growth_data] + refs = [str(int(int(item["count"]) * 4.13)) for item in growth_data] - annual_chart += "```mermaid\npie title Nubenetes Estimated Knowledge Growth (New Refs by Year)\n" - for item in growth_data: - est_refs = int(int(item['count']) * 4.13) - annual_chart += f" \"{item['year']}\" : {est_refs}\n" + annual_chart += f" x-axis [{', '.join(years)}]\n" + annual_chart += f" y-axis \"Volume\"\n" + annual_chart += f" bar [{', '.join(commits)}]\n" + annual_chart += f" bar [{', '.join(refs)}]\n" annual_chart += "```" for idx, item in enumerate(growth_data, 1):