Repository navigation
Conventions for data lineage: writes blocks and inputs.yaml
#31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
0821352
63a810d
6441255
e7b0d3c
75c038d
3a81339
34f2be7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |
|
|
||
| **Date:** 2026-01-27 | ||
| **Author:** ML | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How's the author written down here? What does this look like by default for humans and for agents? For humans, it would be nice if one could pass this already when creating the task dir, with a default if left empty.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| **Id:** 5c1d9e42 | ||
|
|
||
| <!-- Every heading below stays, in this order, and no others are added; a section with nothing to say reads "None." | ||
| The guidance comments stay too. --> | ||
|
|
@@ -19,17 +20,10 @@ otherwise; a later change is recorded here too. --> | |
| | UMAP overviews | `figures/` (gitignored) | | ||
| | a new working object | Write-back, below | | ||
|
|
||
| ## Inputs | ||
|
|
||
| <!-- The actual files, not concepts: this is what makes the task re-runnable. --> | ||
|
|
||
| - scanpy's PBMC 3k dataset, downloaded to `data/example_dataset/raw/` | ||
| - CellTypist's `Immune_All_High.pkl` model | ||
|
|
||
| ## Write-back | ||
|
|
||
| <!-- What went into a shared object, under which keys, and anything placed in `data/<dataset>/processed/` with its | ||
| final path. --> | ||
| <!-- What each key written to a shared object holds, and the final path of anything placed in | ||
| `data/<dataset>/processed/`. Which task wrote a key is recorded in the store itself. --> | ||
|
|
||
| - `data/example_dataset/processed/working/pbmc3k_2026-01-27.zarr`, a new working object, holding: | ||
| - `obsm["X_scVI"]`, `obsm["X_umap"]`: scVI latent space and its UMAP | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| - path: data/example_dataset/raw/pbmc3k_raw.h5ad | ||
| - path: ~/.celltypist/data/models/Immune_All_High.pkl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make sure the top level README contains a link to these conventions, so humans actually read what it says here. Also, I feel like it should be clearly marked what's human-relevant, so that humans can quickly get what matters to them, withouth having to read all the agent-specific stuff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course, let's not duplicate anything - rules that hold for agents and humans alike won't be duplicated. What I"m saying is, make sure these conventions are actually human-readable, if we want humans to follow them!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 34f2be7. The README already linked the conventions under "Start Your Analysis"; it now also points to them at the top.
CONVENTIONS.mdopens by saying it is written for humans and applies to their work throughout, with agents mentioned only where a human needs to know what they do, and the sentences that said "you" now name who acts.