diff --git a/Neon Vision Editor.xcodeproj/project.pbxproj b/Neon Vision Editor.xcodeproj/project.pbxproj
index 668914e..f0098d0 100644
--- a/Neon Vision Editor.xcodeproj/project.pbxproj
+++ b/Neon Vision Editor.xcodeproj/project.pbxproj
@@ -361,7 +361,7 @@
CODE_SIGNING_ALLOWED = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 401;
+ CURRENT_PROJECT_VERSION = 402;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = CS727NF72U;
ENABLE_APP_SANDBOX = YES;
@@ -444,7 +444,7 @@
CODE_SIGNING_ALLOWED = YES;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 401;
+ CURRENT_PROJECT_VERSION = 402;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = CS727NF72U;
ENABLE_APP_SANDBOX = YES;
diff --git a/README.md b/README.md
index a40422b..6231d95 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,7 @@
Styled line chart shows per-release totals plus a 14-day git clone volume strip.
+Styled line chart shows per-release totals plus a scaled 14-day git clone volume bar.
Git clones (last 14 days): 1508.
Snapshot total downloads: 547 across releases.
diff --git a/docs/images/release-download-trend.svg b/docs/images/release-download-trend.svg index ee679f8..3bf6d72 100644 --- a/docs/images/release-download-trend.svg +++ b/docs/images/release-download-trend.svg @@ -1,6 +1,6 @@ diff --git a/scripts/update_download_metrics.py b/scripts/update_download_metrics.py index 2726e67..526f0d9 100755 --- a/scripts/update_download_metrics.py +++ b/scripts/update_download_metrics.py @@ -199,20 +199,28 @@ def generate_svg(points: list[ReleasePoint], clone_total: int, snapshot_date: st bar_top = 450 bar_bottom = 486 track_width = panel_right - panel_left - baseline = max(1, total_downloads_for_scale(points), clone_total) - fill_ratio = min(1.0, clone_total / baseline) + clone_scale_max = max(100, y_top(max(1, clone_total), ticks=4)) + fill_ratio = min(1.0, clone_total / clone_scale_max) fill_width = max(8.0, track_width * fill_ratio) + mid_value = clone_scale_max // 2 + mid_x = panel_left + (track_width * 0.5) clone_panel.extend( [ f'