From f8373357e640fec5c1259f429910041b2b181e08 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 30 Sep 2026 04:46:23 +0000 Subject: [PATCH] docs: lowercase the example output label in `stats/iter/mmean` Changed the example output label from `'Mean: %d'` to `'mean: %d'` in both the README `## Examples` block and `examples/index.js`, which the siblings keep byte-identical. 12 of the 13 `stats/iter/m*` packages label the iterated value with a lowercase quantity name, as do all 15 `stats/iter/cu*` packages (27 of 28 iterator-returning packages overall); `cumean`, which computes the same quantity, already uses `'mean: %d'`. The capitalized form matches the older reducer `stats/iter/mean` (`'Mean: %d.'`), from which it appears to have been copied; `mmax` and `mmin` did not inherit it from `max` and `min`. The reducers are left untouched, as they are split on capitalization and have no majority. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01LRrCGN5Hzrrj2iRvLy42N9 --- lib/node_modules/@stdlib/stats/iter/mmean/README.md | 2 +- lib/node_modules/@stdlib/stats/iter/mmean/examples/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/iter/mmean/README.md b/lib/node_modules/@stdlib/stats/iter/mmean/README.md index 5463e04c06f9..b6c463f6244e 100644 --- a/lib/node_modules/@stdlib/stats/iter/mmean/README.md +++ b/lib/node_modules/@stdlib/stats/iter/mmean/README.md @@ -127,7 +127,7 @@ while ( true ) { break; } if ( typeof v.value === 'number' ) { - console.log( 'Mean: %d', v.value ); + console.log( 'mean: %d', v.value ); } } ``` diff --git a/lib/node_modules/@stdlib/stats/iter/mmean/examples/index.js b/lib/node_modules/@stdlib/stats/iter/mmean/examples/index.js index 5d9c44bdcc92..0800168cdcd3 100644 --- a/lib/node_modules/@stdlib/stats/iter/mmean/examples/index.js +++ b/lib/node_modules/@stdlib/stats/iter/mmean/examples/index.js @@ -38,6 +38,6 @@ while ( true ) { break; } if ( typeof v.value === 'number' ) { - console.log( 'Mean: %d', v.value ); + console.log( 'mean: %d', v.value ); } }