Skip to content

Sync realtime stats fallback defaults with latest snapshot - #5

Open
crazywriter1 wants to merge 1 commit into
AxisAIOrg:mainfrom
crazywriter1:main
Open

Sync realtime stats fallback defaults with latest snapshot#5
crazywriter1 wants to merge 1 commit into
AxisAIOrg:mainfrom
crazywriter1:main

Conversation

@crazywriter1

Copy link
Copy Markdown

Summary

  • Update FALLBACK_TOTALS in realtime-stats.js to match the latest checked-in data/realtime-stats.json
  • Sync static HTML bootstrap placeholders in index.html so no-JS and error paths show current-scale values instead of July-era defaults
  • Update tests/test_homepage_integration.py assertions to match the new requested defaults

Before this change, fetch failures and bootstrap states could show roughly 2× lower trajectory/task counts than the live snapshot.

Test plan

  • python3 -m unittest discover -s tests (40/40 pass)
  • python3 -m py_compile scripts/*.py tests/*.py
  • python3 -m json.tool data/realtime-stats.json
  • node --check realtime-stats.js
  • node --test tests/realtime-stats.test.js (14/15 pass)

The remaining JS failure (3217 !== 1822 in tasks use the measured total and a daily growth label) is pre-existing snapshot drift and is already addressed in open PRs #1 / #4; this PR intentionally does not change that test.

Update static HTML placeholders, FALLBACK_TOTALS, and homepage integration tests to match data/realtime-stats.json.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant