ledger: add commit-census-as-of-HEAD artifact (32 rows, 1775 commits, pinned 2d8254dd)

This commit is contained in:
ledger committed 2026-10-26 18:23:49 +00:00
1 parent 48bdc86156
commit a6bc98acb6
3 files changed
+105

No files matched your search

@@ -0,0 +1,58 @@
# Commit census by calendar day — full repository history (as of HEAD)
Source: `git log HEAD --pretty=format:%ad --date=short | awk 'NF' | sort | uniq -c | sort -k2`
**32 rows, 1775 commits, 1775 sum of daily counts.** Consistent (sum of rows == total, and `git rev-list --count HEAD` = 1775 at pinned `2d8254dd1335675905ee82fa39ae6cb56edefd82`).
| # | Calendar day (author date) | Commit count |
|---|---|---|
| 1 | 2026-09-24 | 31 |
| 2 | 2026-09-25 | 4 |
| 3 | 2026-09-26 | 24 |
| 4 | 2026-09-27 | 5 |
| 5 | 2026-09-28 | 11 |
| 6 | 2026-09-30 | 6 |
| 7 | 2026-10-01 | 17 |
| 8 | 2026-10-02 | 3 |
| 9 | 2026-10-03 | 21 |
| 10 | 2026-10-04 | 13 |
| 11 | 2026-10-05 | 14 |
| 12 | 2026-10-06 | 40 |
| 13 | 2026-10-07 | 25 |
| 14 | 2026-10-08 | 21 |
| 15 | 2026-10-09 | 8 |
| 16 | 2026-10-10 | 44 |
| 17 | 2026-10-11 | 63 |
| 18 | 2026-10-12 | 106 |
| 19 | 2026-10-13 | 90 |
| 20 | 2026-10-14 | 90 |
| 21 | 2026-10-15 | 46 |
| 22 | 2026-10-16 | 26 |
| 23 | 2026-10-17 | 41 |
| 24 | 2026-10-18 | 42 |
| 25 | 2026-10-19 | 50 |
| 26 | 2026-10-20 | 92 |
| 27 | 2026-10-21 | 123 |
| 28 | 2026-10-22 | 115 |
| 29 | 2026-10-23 | 171 |
| 30 | 2026-10-24 | 167 |
| 31 | 2026-10-25 | 153 |
| 32 | 2026-10-26 | 113 |
## Method
- source: `git log HEAD --pretty=format:%ad --date=short` (author date, pinned revision `2d8254dd1335675905ee82fa39ae6cb56edefd82`)
- bucket: `awk 'NF'` (drops blank author-date lines) then `sort | uniq -c`, sorted by count descending
- cross-check: `git rev-list --count 2d8254dd1335675905ee82fa39ae6cb56edefd82` = 1775, and the sum of the daily
counts above is 1775 (consistent)
## Verification
`CHECK-commit-census-as-of-HEAD` re-derives the total from `git rev-list --count 2d8254dd1335675905ee82fa39ae6cb56edefd82`
and compares it to the TSV row sum. Exit code 0 = correct.
## Evidence
- command: `git -C /root/troupe-standup log 2d8254dd1335675905ee82fa39ae6cb56edefd82 --pretty=format:%ad --date=short | awk 'NF' | sort | uniq -c | sort -k2`
- `git rev-list --count 2d8254dd1335675905ee82fa39ae6cb56edefd82` = 1775
- TSV row sum = 1775 (verified with `CHECK-commit-census-as-of-HEAD`)
@@ -0,0 +1,33 @@
date count
2026-09-24 31
2026-09-25 4
2026-09-26 24
2026-09-27 5
2026-09-28 11
2026-09-30 6
2026-10-01 17
2026-10-02 3
2026-10-03 21
2026-10-04 13
2026-10-05 14
2026-10-06 40
2026-10-07 25
2026-10-08 21
2026-10-09 8
2026-10-10 44
2026-10-11 63
2026-10-12 106
2026-10-13 90
2026-10-14 90
2026-10-15 46
2026-10-16 26
2026-10-17 41
2026-10-18 42
2026-10-19 50
2026-10-20 92
2026-10-21 123
2026-10-22 115
2026-10-23 171
2026-10-24 167
2026-10-25 153
2026-10-26 113
1 date count
2 2026-09-24 31
3 2026-09-25 4
4 2026-09-26 24
5 2026-09-27 5
6 2026-09-28 11
7 2026-09-30 6
8 2026-10-01 17
9 2026-10-02 3
10 2026-10-03 21
11 2026-10-04 13
12 2026-10-05 14
13 2026-10-06 40
14 2026-10-07 25
15 2026-10-08 21
16 2026-10-09 8
17 2026-10-10 44
18 2026-10-11 63
19 2026-10-12 106
20 2026-10-13 90
21 2026-10-14 90
22 2026-10-15 46
23 2026-10-16 26
24 2026-10-17 41
25 2026-10-18 42
26 2026-10-19 50
27 2026-10-20 92
28 2026-10-21 123
29 2026-10-22 115
30 2026-10-23 171
31 2026-10-24 167
32 2026-10-25 153
33 2026-10-26 113
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Verdict for the ledger commit census artifact (as of pinned HEAD 2d8254dd...).
# Exit code 0 = artifact correct; nonzero = wrong.
set -u
cd /root/troupe-standup/wizard-work/ledger || exit 1
SHA=2d8254dd1335675905ee82fa39ae6cb56edefd82
tsv_sum=$(tail -n +2 2026-10-26-commit-census-as-of-HEAD.tsv | awk -F'\t' 'NF{s+=$2} END{print s+0}')
git_count=$(git -C /root/troupe-standup rev-list --count "$SHA")
if [ "$tsv_sum" = "$git_count" ]; then
echo "OK $git_count"
exit 0
fi
echo "MISMATCH tsv=$tsv_sum git=$git_count" >&2
exit 1