Skip to content

Keep the freshness tests off the catalog's release dates, and flag a footer belt the paper has moved past - #23

Merged
loggger101 merged 2 commits into
mainfrom
guard-catalog-pins
Dec 1, 2026
Merged

loggger101 merged 2 commits into
mainfrom
guard-catalog-pins

Conversation

@loggger101

Copy link
Copy Markdown
Owner

Summary

Found while auditing the profile's tools for failures that stay hidden or show up in the wrong place.

  • False red in CI. Two test_tools.py cases about missed weeks also ran check_catalog_counted. So every new AsteroidCatalog release turned CI red on the next unrelated push: the weekly bot commits the new manifest but runs no tests. That happened today. The cases now check only the dates. The catalog check keeps its own cases.
  • Unguarded hand-made count. The footer's and banner's belt (belt_profile.json) is binned by hand from the release the paper pins, but nothing compared the two. A re-pinned paper would move the tile and the crossover chart and leave the belt on the old release. refresh_counts.py now keeps the pin from summary.json, and check.py --fresh flags a belt binned from another release.
  • Count refresh. General_Research now has 2,059 sources.

Checks

  • Planted catalog_profile.json counting an older release: test_tools.py used to fail, and now passes.
  • Planted the paper pinning data-2026-12-01: check.py --fresh flags the belt and names the scripts to rerun. On the real state it passes.
  • python tools/check.py --links --fresh --facts, test_loc.py, test_tools.py: all pass.

🤖 Generated with Claude Code

loggger101 and others added 2 commits December 1, 2026 17:14
…footer belt the paper has moved past

Two test_tools.py cases about missed weeks also ran check_catalog_counted,
so every new AsteroidCatalog release turned CI red on the next unrelated
push (the weekly bot commits the new manifest but runs no tests), as it
did today. They now check only the dates; the catalog check keeps its own
cases.

The footer's and banner's belt is binned by hand from the release the
paper pins, but nothing compared the two: a re-pinned paper would move
the tile and the crossover chart and leave the belt on the old release.
refresh_counts.py now keeps the pin from summary.json, and check.py
--fresh flags a belt binned from another release.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@loggger101
loggger101 merged commit 1c873f2 into main Dec 1, 2026
2 checks passed
@loggger101
loggger101 deleted the guard-catalog-pins branch December 1, 2026 22:51
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