summaryrefslogtreecommitdiff
path: root/src/lib/bootstrap.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-14 16:55:08 +0300
committerPaul Buetow <paul@buetow.org>2026-06-14 16:55:08 +0300
commit194354a3b42de0b59aa74ff8b5a35a1b7f8f51d6 (patch)
tree1860f0408fbe8049fc7881249d44dfd67c22f5dd /src/lib/bootstrap.source.sh
parentb2f3a25e8fc3f4edfd0d1d402fa290480e033e5b (diff)
om0 add stats aggregation module
Add src/lib/stats.source.sh implementing the aggregation layer for the stats site feature. collect_photo_exif_stats() iterates the album's incoming photos, reads each one's cached identify -verbose output via album.source.sh's cache helper, and fills global STATS_* associative arrays for the camera leaderboard, per-camera photo lists, temporal, exposure, dimension, format and enum stats. Builds exactly the v1 stat set recommended by docs/stats-exif-audit.md (rendering is left to the sibling tasks pm0/rm0/um0). Wire stats.source.sh into the Justfile LIB_SOURCES list (after album, before config) and regenerate bin/shuriken. Add unit tests exercising synthetic identify fixtures, rational/bucket boundaries, DateTimeOriginal substring parsing, missing-field tolerance, and the cached-output path. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'src/lib/bootstrap.source.sh')
0 files changed, 0 insertions, 0 deletions