Skip to content

feat(ds): host all remaining datasets on S3, loaders fetch - #169

Merged
timtreis merged 12 commits into
mainfrom
feat/stage-all-datasets
Sep 29, 2026
Merged

timtreis merged 12 commits into
mainfrom
feat/stage-all-datasets

Conversation

@timtreis

Copy link
Copy Markdown
Member

Summary

Completes the S3 staging migration: hosts all 11 remaining datasets and their variants as pre-built
.h5ad objects on scverse-exampledata, and flips their loaders to fetch a single object rather than
reassembling from raw inputs on every call.

What changed

  • 28 objects uploaded to S3 and validated against the current build pipeline.
  • Loaders (scallops_arv471, cp_posh, jump_crispr, jump_cells, jump_target2, jump_lite, and the
    rest) now read() the hosted h5ad; the raw raw->cell assembly moved into _assemble_* helpers so the
    drift check can rebuild the hosted base from raw inputs.
  • scripts/check_staged_drift.py --include-heavy covers every hosted object; all match.
  • Offline tests for cp_posh and scallops_arv471 point at the _assemble_* helper (the fetch-flipped
    loaders no longer run the raw assembly), keeping every assertion unchanged.

Verification

  • Full suite green.
  • check_staged_drift.py --include-heavy exits 0; every base sha256 unchanged.

Merge after #168.

🤖 Generated with Claude Code

@codecov-commenter

codecov-commenter commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 24.13793% with 242 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.20%. Comparing base (ff21903) to head (a72bbda).

Files with missing lines Patch % Lines
src/mantispy/ds/_build.py 0.00% 173 Missing ⚠️
src/mantispy/ds/_datasets.py 52.73% 69 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #169      +/-   ##
==========================================
- Coverage   88.77%   87.20%   -1.57%     
==========================================
  Files          87       87              
  Lines        7409     7557     +148     
==========================================
+ Hits         6577     6590      +13     
- Misses        832      967     +135     
Files with missing lines Coverage Δ
src/mantispy/ds/_datasets.py 43.98% <52.73%> (+5.39%) ⬆️
src/mantispy/ds/_build.py 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@timtreis
timtreis marked this pull request as ready for review September 29, 2026 02:40
@timtreis
timtreis merged commit 419c73d into main Sep 29, 2026
14 checks passed
@timtreis
timtreis deleted the feat/stage-all-datasets branch September 29, 2026 02:40
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.

2 participants