Skip to content

feat: lexicon manifests property and upstream sync#89

Merged
maxine-at-forecast merged 2 commits intodevelopfrom
feature/lexicon-manifest-and-cleanup
Apr 4, 2026
Merged

feat: lexicon manifests property and upstream sync#89
maxine-at-forecast merged 2 commits intodevelopfrom
feature/lexicon-manifest-and-cleanup

Conversation

@maxine-at-forecast
Copy link
Copy Markdown
Contributor

Summary

  • Add shardManifestRef def and optional manifests array to science.alt.dataset.entry lexicon, aligning the JSON spec with existing Python types (ShardManifestRef, LexDatasetEntry.manifests)
  • Replace broken just sync-lexicons recipe with proper upstream fetch from forecast-bio/atdata-lexicon via gh API tarball
  • Add just sync-lexicons-local for offline vendor→package sync
  • Update CLAUDE.md with new sync commands

Closes crosslink #4, #6, #13, #14.

Test plan

  • 25 lexicon tests pass (including vendor↔package sync check)
  • 221 atmosphere tests pass
  • Full suite: 1762 passed
  • just sync-lexicons fetches from atdata-lexicon and syncs both copies
  • Push manifests change upstream to atdata-lexicon repo separately

🤖 Generated with Claude Code

maxine-at-forecast and others added 2 commits April 3, 2026 19:27
Add shardManifestRef def and optional manifests array to
science.alt.dataset.entry lexicon, aligning the JSON spec with
the existing Python types (ShardManifestRef, LexDatasetEntry.manifests).

Each manifest ref pairs a shard with its header blob (JSON metadata)
and optional Parquet samples blob for query-based access.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace broken sync-lexicons recipe (was copying flat lexicons/*.json)
with two recipes:
- just sync-lexicons: fetches latest from forecast-bio/atdata-lexicon
  via gh API tarball, syncs to both vendored and package directories.
  Supports ref= parameter for pinning to a tag/branch.
- just sync-lexicons-local: offline vendor→package sync (no network).

Test recipe now uses sync-lexicons-local to avoid network dependency.
Updated CLAUDE.md with the new commands.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@maxine-at-forecast maxine-at-forecast merged commit 624642b into develop Apr 4, 2026
8 checks passed
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