From 25c4fa36427d72b13b39e36388ec9f989e9ebd1c Mon Sep 17 00:00:00 2001 From: Nubenetes Bot Date: Mon, 18 May 2026 20:23:06 +0200 Subject: [PATCH] docs: apply chronological sort and indexing to growth summary --- README.md | 26 +++++++++++++------------- src/readme_updater.py | 21 +++++++++++++++------ 2 files changed, 28 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index edb0b12b..e614bb7e 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** | **4569+** | +| **Total Commits** | **4570+** | | **Primary AI Engine** | **Google Gemini (Agentic)** | @@ -153,17 +153,17 @@ The growth of Nubenetes reflects the acceleration of the Cloud Native ecosystem. #### Annual Growth Summary -| Year | Commits | Est. New Refs | Key Milestone | -| :---: | :---: | :---: | :--- | -| 2018 | 350 | 1,445 | **Munich Era (BMW IT-Zentrum)** | -| 2020 | 2046 | 8,449 | **The Great Expansion** (Global Pandemic/Remote Era) | -| 2026 | 1010 | 4,171 | **Agentic AI Surge** (May 2026 Inception) | -| 2021 | 531 | 2,193 | Maturity and Standardization | -| 2022 | 402 | 1,660 | Cloud Native Hardening | -| 2019 | 142 | 586 | Early Growth and Open Source Launch | -| 2024 | 53 | 218 | Curation Strategy Pivot | -| 2023 | 30 | 123 | Maintenance & Refinement | -| 2025 | 5 | 20 | Stability & Research Phase | +| # | Year | Commits | Est. New Refs | Key Milestone | +| :---: | :---: | :---: | :---: | :--- | +| 1 | 2018 | 350 | 1,445 | **Munich Era (BMW IT-Zentrum)** | +| 2 | 2019 | 142 | 586 | Early Growth and Open Source Launch | +| 3 | 2020 | 2046 | 8,449 | **The Great Expansion** (Global Pandemic/Remote Era) | +| 4 | 2021 | 531 | 2,193 | Maturity and Standardization | +| 5 | 2022 | 402 | 1,660 | Cloud Native Hardening | +| 6 | 2023 | 30 | 123 | Maintenance & Refinement | +| 7 | 2024 | 53 | 218 | Curation Strategy Pivot | +| 8 | 2025 | 5 | 20 | Stability & Research Phase | +| 9 | 2026 | 1011 | 4,175 | **Agentic AI Surge** (May 2026 Inception) | #### 2026: The Agentic Monthly Surge @@ -171,7 +171,7 @@ The growth of Nubenetes reflects the acceleration of the Cloud Native ecosystem. | Month | Commits | Est. New Refs | Status | | :--- | :---: | :---: | :--- | | 2026-04 | 25 | 103 | Active Curation | -| 2026-05 | 985 | 4,068 | **Agentic Inception (Gemini Era)** | +| 2026-05 | 986 | 4,072 | **Agentic Inception (Gemini Era)** | ### 2.4. Content Distribution and Semantic Clustering diff --git a/src/readme_updater.py b/src/readme_updater.py index d320f172..ffee2d1d 100644 --- a/src/readme_updater.py +++ b/src/readme_updater.py @@ -77,7 +77,7 @@ def get_stats(): # 6. Annual Growth annual_raw = run_command("git log --format='%ad' --date=format:'%Y' | sort | uniq -c") - annual_rows = ["| Year | Commits | Est. New Refs | Key Milestone |", "| :---: | :---: | :---: | :--- |"] + annual_rows = ["| # | Year | Commits | Est. New Refs | Key Milestone |", "| :---: | :---: | :---: | :---: | :--- |"] milestones = { "2018": "**Munich Era (BMW IT-Zentrum)**", "2019": "Early Growth and Open Source Launch", @@ -89,14 +89,23 @@ def get_stats(): "2025": "Stability & Research Phase", "2026": "**Agentic AI Surge** (May 2026 Inception)" } - for line in sorted(annual_raw.split('\n'), reverse=True): + + # Parse and sort chronologically (ascending) + growth_data = [] + for line in annual_raw.split('\n'): if line.strip(): parts = line.strip().split() if len(parts) >= 2: - count, year = parts[0], parts[1] - est_refs = int(int(count) * 4.13) - milestone = milestones.get(year, "Continuing Evolution") - annual_rows.append(f"| {year} | {count} | {est_refs:,} | {milestone} |") + growth_data.append({"count": parts[0], "year": parts[1]}) + + growth_data.sort(key=lambda x: x["year"]) + + for idx, item in enumerate(growth_data, 1): + year = item["year"] + count = item["count"] + est_refs = int(int(count) * 4.13) + milestone = milestones.get(year, "Continuing Evolution") + annual_rows.append(f"| {idx} | {year} | {count} | {est_refs:,} | {milestone} |") # 7. Monthly Surge (2026) monthly_raw = run_command("git log --format='%ad' --date=format:'%Y-%m' | grep '2026' | sort | uniq -c")