Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion data/stats.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"generatedAt": "2026-07-08",
"totals": {
"studies": 204,
"countries": 117,
Expand Down
2 changes: 1 addition & 1 deletion js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@
${barChart('By region', stats.byRegion, 'region')}
${barChart('By decade', stats.byDecade, 'decade')}
</div>
<p class="insight-note">Data generated from ${t.studies} source files on ${escapeHtml(stats.generatedAt || '')}. Click a bar to filter the library.</p>`;
<p class="insight-note">Generated from ${t.studies} source files. Click a bar to filter the library.</p>`;

panel.querySelectorAll('[data-filter-type]').forEach(el => {
const apply = () => {
Expand Down
3 changes: 2 additions & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ function buildStats(master) {
const totalRefs = master.reduce((sum, s) => sum + (s.refs || 0), 0);

return {
generatedAt: new Date().toISOString().slice(0, 10),
// NB: intentionally no timestamp here — the build must be deterministic so
// `--check` (CI) only fails on real data changes, not on the calendar date.
totals: {
studies: master.length,
countries: new Set(master.map((s) => s.country)).size,
Expand Down
Loading