Skip to content

Chart what the catalog is built from, and how few diameters are measured - #19

Merged
loggger101 merged 1 commit into
mainfrom
catalog-surveys-chart
Nov 30, 2026
Merged

loggger101 merged 1 commit into
mainfrom
catalog-surveys-chart

Conversation

@loggger101

Copy link
Copy Markdown
Owner

Summary

  • New chart at the top of Space economics, so the charts run in pipeline order (catalog, prices, launch, break-even, sources). It has one bar per source survey across the whole of AsteroidCatalog's latest release (JPL SBDB 100%, SsODNet 98.9%, MP3C 84.5%, NEOWISE 9.0%), and below them the share with a measured diameter: 9.5% measured (gold), the rest estimated from brightness (hollow). A desktop and a phone version.
  • refresh_counts.py already fetched the release's manifest.json for the catalog tile; it now also keeps the tag, the survey counts, the measured diameters and the refused rows in counts.json ("catalog"). It stops on a tag that isn't a data- tag, a survey with more bodies than the catalog, or a missing count.
  • surveys.py draws it and writes the README sentence and alt text from the numbers. It's wired into check.py, the weekly refresh workflow and tools/README.md.

Test plan

  • python tools/check.py passes
  • python tools/test_tools.py (148 ok, 13 new) and python tools/test_loc.py pass
  • check.py caught a changed count in the README sentence
  • Both SVGs rendered and looked at; stars kept clear of the counts

🤖 Generated with Claude Code

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]>
@loggger101
loggger101 merged commit 7bf95af into main Nov 30, 2026
2 checks passed
@loggger101
loggger101 deleted the catalog-surveys-chart branch November 30, 2026 19:09
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