16 lines
624 B
Bash
16 lines
624 B
Bash
#!/usr/bin/env bash
|
|
# CHECK -- ledger git commit census extract (2026-11-02, extract lane).
|
|
#
|
|
# Exits 0 iff the committed tables (commits-census.csv, commits-by-day.csv,
|
|
# commits-full.csv) are a faithful re-derivation of the pinned git revision
|
|
# d8d8e3292db6c435b174e39a3ca18792874f9c19, re-derived cell-by-cell from git
|
|
# with a plain-python independent recompute. The verifier does NOT import the
|
|
# extraction script.
|
|
# No `|| true` / `; exit 0` fallback: the last command's exit code is the verdict.
|
|
set -u
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
cd "$DIR" || exit 2
|
|
|
|
exec python3 verify_commits_census.py
|