Repository navigation
Chart what the catalog is built from, and how few diameters are measured - #19
Merged
Merged
Conversation
surveys.py draws the bodies each source survey supplies to AsteroidCatalog's
latest release, across the whole catalog, and the share with a measured
diameter (9.5%) against those estimated from brightness. refresh_counts.py
keeps the release manifest's survey counts in counts.json ("catalog") and
writes the README's sentence and alt text from them; check.py, the weekly
refresh and the tests cover it like the other charts. It opens the Space
economics charts, so they run in the pipeline's order.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
refresh_counts.pyalready fetched the release'smanifest.jsonfor the catalog tile; it now also keeps the tag, the survey counts, the measured diameters and the refused rows incounts.json("catalog"). It stops on a tag that isn't adata-tag, a survey with more bodies than the catalog, or a missing count.surveys.pydraws it and writes the README sentence and alt text from the numbers. It's wired intocheck.py, the weekly refresh workflow andtools/README.md.Test plan
python tools/check.pypassespython tools/test_tools.py(148 ok, 13 new) andpython tools/test_loc.pypasscheck.pycaught a changed count in the README sentence🤖 Generated with Claude Code