Skip to content

Sync 17 protocols from source library (215 → 232) - #9

Merged
mianaz merged 1 commit into
mainfrom
reconcile/add-source-protocols
Jul 14, 2026
Merged

Sync 17 protocols from source library (215 → 232)#9
mianaz merged 1 commit into
mainfrom
reconcile/add-source-protocols

Conversation

@mianaz

@mianaz mianaz commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Summary

Reconciles the app's recipe library with the labmate-recipes source, which had 17 protocols the app was missing. All are fully bilingual (en/zh detailedSteps + nameCn) and passed the source QC gate:

CUT&Tag · scCUT&Tag · HiChIP · RIP · RRBS · ddPCR · prime editing · Nanopore library prep · snRNA-seq nucleus isolation · iPSC maintenance · first-strand cDNA · intestinal organoid · organoid passaging · organoid cryopreservation · 2× lentivirus concentration (PEG / sucrose cushion).

Additive only (215 → 232) — the existing 215 recipes are untouched.

Why not a full "rebuild app from source"?

Investigated it; it would regress the app. The app's recipes.json is the more curated artifact — 66 recipes carry distinct Chinese prep steps vs only 20 in the source build (the source's build-recipes.js falls back to English for zh). Overwriting would have downgraded ~53 recipes' Chinese prep steps to English. So the app stays canonical and we pull in only the missing content.

Testing

  • npm run test -- --run → 237 passing; recipeConsistency.test.js validates all 232 recipes
  • JSON valid; 116 protocols total

Follow-up (not in this PR)

The source library still lacks the app's curated bilingual prep steps. The durable fix is to backfill the source from the app (make the app canonical upstream), so a future source→app build can't regress translations. Flagged for a separate pass.

Brings the app's recipe library up to date with the labmate-recipes source,
which had 17 protocols the app was missing: CUT&Tag, scCUT&Tag, HiChIP, RIP,
RRBS, ddPCR, prime editing, Nanopore + snRNA-seq library prep, iPSC
maintenance, first-strand cDNA, intestinal-organoid / organoid passaging +
cryopreservation, and two lentivirus-concentration methods. All are fully
bilingual (en/zh detailedSteps + nameCn).

Additive only — the app's 215 existing recipes are unchanged. A full
"rebuild app from source" was deliberately avoided: the app's recipes.json is
the more curated artifact (66 recipes carry distinct zh prep steps vs 20 in the
source build), so an overwrite would have regressed ~53 recipes' Chinese prep
steps.
@mianaz
mianaz merged commit ee0817e into main Jul 14, 2026
2 checks passed
@mianaz
mianaz deleted the reconcile/add-source-protocols branch July 14, 2026 16:57
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