junidude14 commited on
Commit
5f6aeba
·
verified ·
1 Parent(s): f2edb28

Archive 4 checkpoints (1-4)

Browse files
paper-releases/pbisc-diffusion/updates/20261015T095445Z-all-width-results/diffusion/dataset/server_1/model8/plans/paper_figures_strictpairs_20261012/recoveries/all_width_results_20261015/immicro/healthy/fold2/n40/score/README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # score_ft.py output: immicro, 21 scored donors
2
+
3
+ Arms: lora. Every arm is scored on the same donors against the same observed reference.
4
+
5
+ ## Inputs and fixed contracts
6
+ - Observed reference: `/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scoring_cache/immicro/reference.npz` (sha c5e2547be3ec), built from datadir:/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/data/immicro;
7
+ observed cells sum exactly to the features pseudobulk of every donor. Observed labels: /home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/utility_studies_final6k_20260925/immicro/labels/observed_immicro/labels.parquet.
8
+ - Generated cells: `generated_counts` read out once with Poisson(seed 20260916) over the **whole NPZ in row order**
9
+ (`poisson_readout.poisson_integerise`), then the scored donors' rows. These integer counts are used for labels, embedding,
10
+ depth and the contrast. Pseudobulk uses the summed `generated_counts` (rates), as `score_generated.py`.
11
+ - Labels: frozen f01common scANVI (`predict_scanvi.py`, CPU, zero query epochs), six-type gate ['T cell', 'B cell', 'Monocyte', 'NK cell', 'DC', 'Other']; query genes =
12
+ the 1,006-gene annotation list minus genes the dataset's sc assay did not measure in every sample (1004 genes).
13
+ - Scoring genes: 6k panel genes measured by both assays in every sample of the dataset (5508 genes).
14
+
15
+ ## Definitions
16
+ 1. **Composition**: fraction of each donor's cells per six-type label (all generated cells; all observed QC cells).
17
+ `comp_l1` = sum over the six labels of |generated - observed| (immicro_common.l1). `comp_l1_obs_loo_null` = L1 of the
18
+ donor's observed composition to the mean of the *other scored donors'* observed compositions. `composition_top1` =
19
+ fraction of donors whose generated composition is closest (L1) to their own observed composition.
20
+ 2. **Pseudobulk**: `pb_r` = Pearson r of CPM-log1p(summed generated_counts) vs CPM-log1p(observed pseudobulk) on the scoring
21
+ genes (evaluate_realbulk.cpm_log1p / paired_r). `pb_top1` = the donor's generated pseudobulk is closest (Pearson) to its own
22
+ observed pseudobulk among the 21 scored donors (immicro_common.retrieval = evaluate_realbulk.top1 arithmetic).
23
+ 3. **Precision / coverage / density** (stage_b_embed.py functions): per-cell CP10K over the scoring genes + log1p; PCA-50
24
+ (randomized, random_state 20260925) and k = 10 real-real k-NN balls fitted on **R1 of the scored donors only**.
25
+ Reference rule (independent of fold and arm): per donor, cells in canonical order (library_id+barcode), one
26
+ permutation from `default_rng([20260925, uint64(sha256(donor)[:8])])`; R1 = first n, R2 = next n,
27
+ n = min(150, n_cells // 2) (3150 R1 cells here). Generated query: per donor n cells (the donor's R1 size),
28
+ without replacement, `default_rng([20260926, same key])`. Precision = fraction of generated cells inside any R1 ball
29
+ (Kynkaanniemi 2019); coverage = fraction of R1 cells whose ball holds a generated cell; density = Naeem 2020.
30
+ Per-donor precision = that donor's generated cells; per-donor coverage = that donor's R1 cells (the pooled values are
31
+ their n-weighted means; plain means when every donor has 150 reference cells). R2 (held-out real cells of the same donors) is the
32
+ perfect-generator control: precision 0.9943, coverage 1.0000.
33
+ **Depth matched**: stage_b_embed depth matching run pairwise (R1 vs this arm): per donor and within-donor rank of detected
34
+ genes, both cells are thinned by UMI sampling without replacement to the smaller detected-gene count; PCA kept from
35
+ un-thinned R1, radii recomputed on thinned R1; fresh rng(20260929) per arm. R2 control: precision
36
+ 0.9930, coverage 1.0000.
37
+ 4. **Monocyte %** = 100 x Monocyte fraction (all cells) per donor; **median UMI per cell** = median over cells of the
38
+ Poisson-read (generated) / observed counts summed over the scoring genes (per donor, and pooled).
39
+ 5. **Group contrast** (T, B, Monocyte, NK): not computed (--no-contrast).
40
+ Genes per type = scoring genes detected (count > 0) in >= 1 % of the scored donors' observed
41
+ cells of that type. Primary statistic `mean_cp10k`: per-cell CP10K over the scoring genes; per donor the mean over its
42
+ cells of the type (donors with >= 1 such cell); group mean = mean over the group's donors (donor-balanced);
43
+ logFC = log2(case mean + 1) - log2(control mean + 1). Secondary `pseudobulk_log1p_cpm`: the SLE benchmark evaluator's
44
+ statistic (donor x type summed counts, log1p CPM over the scoring genes, mean case - mean control;
45
+ evaluate_generated_vs_truth.group_log_fold_change). Both are computed on the generated cells (their frozen labels) and on
46
+ the observed cells; `r_generated` = Pearson r of the two logFC vectors. Broadcast baseline `r_broadcast`: the same
47
+ observed vector against the logFC of the input bulk (condition NPZ `bulk_counts` of the arm, scoring genes, per-donor
48
+ CP10K resp. log1p CPM, group means). `partial_r_generated_given_broadcast`: r of the OLS residuals of observed and
49
+ generated logFC on the bulk logFC (residual_specificity.py).
50
+ 6. **Top-50 DEG overlap** (contrast.csv rows `statistic = welch_top50_deg`; summary `deg_top50`): not computed (--no-deg).
51
+
52
+ ## Files
53
+ - `per_donor.csv`: one row per arm x donor (all per-donor quantities above).
54
+ - `summary.json`: per arm the donor means / pooled values, provenance (NPZ sha, receipt check, generation metadata,
55
+ Poisson nnz of the whole NPZ, annotation contract), and the reference block (PCA, R2 control).
56
+ - `contrast.csv`: per arm x cell type x statistic (`mean_cp10k`, `pseudobulk_log1p_cpm`: logFC r; `welch_top50_deg`:
57
+ top-50 DEG overlap, T / B / Monocyte / NK / DC; columns of the other kind are empty).
58
+ - `arms/<arm>/labels/` (predict_scanvi.py labels + manifest), `arms/<arm>/generated_cells.parquet` (NPZ row, donor, label,
59
+ UMI on the scoring genes, P/C subsample flag), `arms/<arm>/deg_top50_lists.csv` (observed, generated and broadcast
60
+ top-50 gene lists, Ensembl ids, rank order).
paper-releases/pbisc-diffusion/updates/20261015T095445Z-all-width-results/diffusion/dataset/server_1/model8/plans/paper_figures_strictpairs_20261012/recoveries/all_width_results_20261015/immicro/healthy/fold2/n40/score/per_donor.csv ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ arm,donor,group,n_generated_cells,n_observed_cells,n_reference_cells,gen_T cell,obs_T cell,gen_B cell,obs_B cell,gen_Monocyte,obs_Monocyte,gen_NK cell,obs_NK cell,gen_DC,obs_DC,gen_Other,obs_Other,comp_l1,comp_l1_obs_loo_null,pb_r,pb_own_rank,pb_top1,precision,coverage,precision_depth_matched,coverage_depth_matched,mono_pct_gen,mono_pct_obs,median_umi_gen,median_umi_obs
2
+ lora,HS9,DB3,1500,3942,150,0.728,0.6958396752917301,0.048666666666666664,0.028665651953323185,0.11533333333333333,0.18670725520040587,0.04666666666666667,0.049974632166412986,0.043333333333333335,0.03373921867072552,0.018,0.0050735667174023336,0.1493637747336377,0.21913370255585363,0.909747242892065,1,True,0.9933333333333333,0.9666666666666667,0.9866666666666667,0.9933333333333333,11.533333333333333,18.670725520040587,2790.5,2389.0
3
+ lora,HS14,DB3,1500,4235,150,0.6846666666666666,0.6517119244391971,0.06333333333333334,0.06517119244391972,0.138,0.20306965761511217,0.056666666666666664,0.04250295159386069,0.042666666666666665,0.0332939787485242,0.014666666666666666,0.004250295159386069,0.1338150334513971,0.159891466999795,0.9091528453874005,4,False,1.0,0.9466666666666667,0.9933333333333333,0.9933333333333333,13.8,20.30696576151122,2733.5,2164.0
4
+ lora,HS19,DB5,1500,4133,150,0.6733333333333333,0.5971449310428261,0.10466666666666667,0.1454149528187757,0.128,0.14686668279699977,0.05533333333333333,0.09145898862811518,0.03133333333333333,0.014275344785869828,0.007333333333333333,0.004839099927413501,0.19148124848778122,0.14291883168588088,0.9048326516061966,11,False,0.9933333333333333,0.84,0.9866666666666667,0.9866666666666667,12.8,14.686668279699976,2625.0,1955.0
5
+ lora,HS24,DB6,1500,1670,150,0.614,0.5365269461077844,0.064,0.07005988023952096,0.19533333333333333,0.17664670658682635,0.07266666666666667,0.19401197604790418,0.04133333333333333,0.017964071856287425,0.012666666666666666,0.004790419161676647,0.25481037924151695,0.2194523355229991,0.9094088653142675,7,False,1.0,0.88,0.9866666666666667,0.9933333333333333,19.53333333333333,17.664670658682635,2772.5,2073.5
6
+ lora,HS25,DB6,1500,1800,150,0.586,0.4872222222222222,0.07533333333333334,0.095,0.20933333333333334,0.30333333333333334,0.06133333333333333,0.08444444444444445,0.056,0.026111111111111113,0.012,0.0038888888888888888,0.27355555555555555,0.345557515096265,0.9063145995612512,11,False,1.0,0.8666666666666667,1.0,0.9933333333333333,20.933333333333334,30.333333333333336,2402.0,2173.0
7
+ lora,HS26,DB2,1500,3606,150,0.7406666666666667,0.651414309484193,0.06133333333333333,0.054076539101497505,0.09,0.16167498613422074,0.06133333333333333,0.09678313921242374,0.036,0.02689961175818081,0.010666666666666666,0.009151414309484194,0.21424958402662236,0.0667480048970103,0.904962301339522,4,False,0.9933333333333333,1.0,0.9933333333333333,1.0,9.0,16.167498613422072,2740.0,1454.5
8
+ lora,HS32,DB6,1500,1818,150,0.6853333333333333,0.7128712871287128,0.078,0.07535753575357536,0.13933333333333334,0.13036303630363036,0.05733333333333333,0.06050605060506051,0.029333333333333333,0.019251925192519254,0.010666666666666666,0.0016501650165016502,0.06142134213421338,0.175285741287662,0.9094785634725991,7,False,0.98,0.92,0.98,1.0,13.933333333333334,13.036303630363037,2584.0,2078.5
9
+ lora,HS42,DB1,1500,4312,150,0.6873333333333334,0.700139146567718,0.06866666666666667,0.034786641929499075,0.14266666666666666,0.18320964749536178,0.03666666666666667,0.04336734693877551,0.054,0.029684601113172542,0.010666666666666666,0.008812615955473098,0.12009894867037726,0.21942995273286833,0.9107747807431356,2,False,1.0,1.0,0.9866666666666667,1.0,14.266666666666666,18.320964749536177,2864.0,1957.5
10
+ lora,HS43,DB5,1500,4357,150,0.7033333333333334,0.6584806059215056,0.07333333333333333,0.071149873766353,0.14,0.13839798026164793,0.04466666666666667,0.11223318797337617,0.02666666666666667,0.017443194858847832,0.012,0.0022951572182694515,0.1351330426134191,0.07565424537391977,0.9049425275729172,13,False,1.0,0.88,0.9866666666666667,0.9933333333333333,14.000000000000002,13.839798026164793,2821.5,2180.0
11
+ lora,HS50,DB5,1500,4299,150,0.7426666666666667,0.6882996045591998,0.08533333333333333,0.08211211909746452,0.086,0.11979530123284485,0.05,0.09211444521981857,0.028,0.013258897418004187,0.008,0.004419632472668062,0.15181949290532687,0.13366808876281203,0.9000735278540309,10,False,0.9866666666666667,0.8666666666666667,0.9933333333333333,0.9933333333333333,8.6,11.979530123284485,2798.0,2077.0
12
+ lora,HS55,DB1,1500,4574,150,0.6653333333333333,0.6228683865325755,0.04933333333333333,0.04241364232619152,0.15933333333333333,0.22431132487975514,0.05333333333333334,0.08439003060778312,0.054,0.019676432006996064,0.018666666666666668,0.006340183646698732,0.19206937764174314,0.13515857006071533,0.9068355134551543,3,False,1.0,1.0,1.0,1.0,15.933333333333334,22.431132487975514,2924.0,1849.0
13
+ lora,HS59,DB4,1500,4268,150,0.6446666666666667,0.5796626054358013,0.062,0.06115276476101218,0.178,0.21860356138706655,0.06333333333333334,0.11879100281162137,0.042,0.016166822867853797,0.01,0.005623242736644799,0.19212246173070924,0.15002703659666403,0.8982805947380146,19,False,0.9866666666666667,0.9333333333333333,0.9933333333333333,0.9933333333333333,17.8,21.860356138706656,2723.0,2091.5
14
+ lora,HS67,DB2,1500,3971,150,0.66,0.6293125157391085,0.104,0.1095441954167716,0.11066666666666666,0.13925963233442457,0.06733333333333333,0.09393099974817426,0.044,0.018886930244270964,0.014,0.009065726517250064,0.12146965499874093,0.07524880687029788,0.9072556699939958,7,False,0.9933333333333333,1.0,0.9933333333333333,1.0,11.066666666666666,13.925963233442456,2684.0,1563.0
15
+ lora,HS71,DB4,1500,4400,150,0.7166666666666667,0.571590909090909,0.06933333333333333,0.08863636363636364,0.09066666666666667,0.10477272727272727,0.096,0.21409090909090908,0.022,0.017045454545454544,0.005333333333333333,0.003863636363636364,0.303,0.2521739433710278,0.9032301856179987,13,False,0.9866666666666667,0.9333333333333333,0.98,1.0,9.066666666666666,10.477272727272727,2550.0,1825.0
16
+ lora,HS73,DB2,1500,4209,150,0.7266666666666667,0.5915894511760513,0.03666666666666667,0.07531480161558565,0.06933333333333333,0.10667617011166548,0.12933333333333333,0.20076027559990497,0.028,0.020669992872416252,0.01,0.004989308624376337,0.29483582798764557,0.20049581863710342,0.9066054086141275,1,True,0.9933333333333333,0.9933333333333333,0.9866666666666667,1.0,6.933333333333333,10.667617011166548,2194.0,1262.0
17
+ lora,HS80,DB3,1500,4301,150,0.676,0.6842594745408045,0.12133333333333333,0.10578935131364799,0.10933333333333334,0.14415252266914672,0.04066666666666666,0.04022320390606836,0.037333333333333336,0.02022785398744478,0.015333333333333332,0.0053475935828877,0.08615732775323566,0.17490600337816709,0.9094747227914612,1,True,1.0,0.9666666666666667,0.9933333333333333,1.0,10.933333333333334,14.415252266914672,2853.0,2305.0
18
+ lora,HS91,DB6,1500,2568,150,0.7273333333333334,0.6320093457943925,0.056,0.04361370716510903,0.14066666666666666,0.16277258566978192,0.04466666666666667,0.12694704049844235,0.024666666666666667,0.027258566978193146,0.006666666666666667,0.007398753894080997,0.2154205607476636,0.07086378418681896,0.9017957068660558,12,False,0.9933333333333333,0.9266666666666666,0.9933333333333333,0.9933333333333333,14.066666666666666,16.27725856697819,2770.0,2112.0
19
+ lora,HS102,DB7,1500,1983,150,0.6326666666666667,0.6283408976298538,0.08533333333333333,0.10791729702471003,0.18333333333333332,0.17397881996974282,0.04533333333333334,0.06454866364094806,0.034666666666666665,0.017650025214321734,0.018666666666666668,0.007564296520423601,0.08359858799798286,0.09620470130285476,0.9066917524753172,10,False,0.9866666666666667,0.94,0.9866666666666667,0.9866666666666667,18.333333333333332,17.39788199697428,2885.0,2275.0
20
+ lora,HS105,DB4,1500,4489,150,0.686,0.6277567386945868,0.09066666666666667,0.08977500556916908,0.13066666666666665,0.13967476052572955,0.043333333333333335,0.12007128536422365,0.034666666666666665,0.01826687458231232,0.014666666666666666,0.0044553352639786145,0.17149209177990646,0.057123881603879864,0.9016166463402167,15,False,0.9866666666666667,0.9,0.9933333333333333,0.9933333333333333,13.066666666666665,13.967476052572955,2743.5,2019.0
21
+ lora,HS108,DB7,1500,1868,150,0.6673333333333333,0.5931477516059958,0.09133333333333334,0.08832976445396146,0.116,0.08618843683083512,0.08266666666666667,0.20235546038543897,0.028,0.023554603854389723,0.014666666666666666,0.006423982869379015,0.23937758743754461,0.23296810385252853,0.904116096956875,15,False,0.9866666666666667,0.9266666666666666,0.9933333333333333,0.9933333333333333,11.600000000000001,8.618843683083512,2808.5,2026.0
22
+ lora,HS111,DB1,1500,4787,150,0.672,0.6772508878211824,0.09266666666666666,0.09024441194902862,0.12333333333333334,0.12784625026112387,0.052,0.077501566743263,0.05333333333333334,0.02360559849592647,0.006666666666666667,0.003551284729475663,0.07053074298447178,0.13162224432642336,0.9096085176232441,5,False,0.9933333333333333,0.9933333333333333,0.9933333333333333,1.0,12.333333333333334,12.784625026112387,2669.0,1865.0
paper-releases/pbisc-diffusion/updates/20261015T095445Z-all-width-results/diffusion/dataset/server_1/model8/plans/paper_figures_strictpairs_20261012/recoveries/all_width_results_20261015/immicro/healthy/fold2/n40/score/summary.json ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "paired_ft_scores.v1",
3
+ "dataset": "immicro",
4
+ "written_utc": "2026-10-15T09:50:53.512353+00:00",
5
+ "command": [
6
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/tools/score_ft.py",
7
+ "--dataset",
8
+ "immicro",
9
+ "--out",
10
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paper_figures_strictpairs_20261012/recoveries/all_width_results_20261015/immicro/healthy/fold2/n40/score",
11
+ "--arm",
12
+ "lora=/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paper_figures_strictpairs_20261012/generated/immicro/healthy/fold2/n40/lora.npz",
13
+ "--condition",
14
+ "lora=/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paper_figures_strictpairs_20261012/data/immicro/healthy/fold2/n40/test_raw.npz",
15
+ "--donors",
16
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paper_figures_strictpairs_20261012/recoveries/all_width_results_20261015/immicro/healthy/fold2/n40/test_samples.txt",
17
+ "--threads",
18
+ "2",
19
+ "--no-contrast",
20
+ "--no-deg"
21
+ ],
22
+ "arms": [
23
+ "lora"
24
+ ],
25
+ "donors": [
26
+ "HS9",
27
+ "HS14",
28
+ "HS19",
29
+ "HS24",
30
+ "HS25",
31
+ "HS26",
32
+ "HS32",
33
+ "HS42",
34
+ "HS43",
35
+ "HS50",
36
+ "HS55",
37
+ "HS59",
38
+ "HS67",
39
+ "HS71",
40
+ "HS73",
41
+ "HS80",
42
+ "HS91",
43
+ "HS102",
44
+ "HS105",
45
+ "HS108",
46
+ "HS111"
47
+ ],
48
+ "n_donors": 21,
49
+ "reference": {
50
+ "cache": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/scoring_cache/immicro",
51
+ "reference_sha256": "c5e2547be3ec3b12cb0c0b404a49e14a046ae59d40be70427f98f083a76bce17",
52
+ "features_sha256": "735255066ce7ebbac13a1fdfd058e26f31edd60314cc02fd589b0a292dbbc838",
53
+ "n_r1_cells": 3150,
54
+ "pca": {
55
+ "n_components": 50,
56
+ "explained_variance_ratio_sum": 0.30105963349342346,
57
+ "n_fit_cells": 3150
58
+ },
59
+ "r2_control": {
60
+ "precision": 0.9942857142857143,
61
+ "coverage": 1.0,
62
+ "density": 2.6246666666666667,
63
+ "n_query": 3150,
64
+ "depth_matched": {
65
+ "precision": 0.993015873015873,
66
+ "coverage": 1.0,
67
+ "density": 2.614920634920635
68
+ }
69
+ },
70
+ "observed_l1_loo_null_mean": 0.15878727519531177
71
+ },
72
+ "contrast_definition": {
73
+ "enabled": false,
74
+ "reason": "--no-contrast"
75
+ },
76
+ "deg_definition": {
77
+ "enabled": false,
78
+ "reason": "--no-deg"
79
+ },
80
+ "headline": {
81
+ "lora": {
82
+ "comp_l1": 0.1740867915656901,
83
+ "comp_l1_obs_loo_null": 0.15878727519531177,
84
+ "precision": 0.993015873015873,
85
+ "coverage": 0.9371428571428572,
86
+ "precision_dm": 0.9904761904761905,
87
+ "coverage_dm": 0.9955555555555555,
88
+ "pb_r_median": 0.9066054086141275,
89
+ "pb_top1": 0.14285714285714285,
90
+ "mono_pct_gen": 13.311111111111112,
91
+ "mono_pct_obs": 16.087149423201815,
92
+ "median_umi_gen": 2722.0,
93
+ "median_umi_obs": 1958.0,
94
+ "seconds": 7.0
95
+ }
96
+ },
97
+ "per_arm": {
98
+ "lora": {
99
+ "arm": "lora",
100
+ "npz": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paper_figures_strictpairs_20261012/generated/immicro/healthy/fold2/n40/lora.npz",
101
+ "npz_sha256": "aabfbe50388f34fe4b5bc584672d4a929f1133b227fe9fbc3c59b8676d13dad0",
102
+ "receipt_verified": true,
103
+ "generation": {
104
+ "checkpoint": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paper_figures_strictpairs_20261012/runs/immicro/healthy/fold2/n40/lora/checkpoint_ft.pt",
105
+ "checkpoint_sha256": "323b2a56054bcaf5088d4ab7a5fbf1ac5b6b1df17158b3176b242bbd17f6ea1d",
106
+ "input_condition_path": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paper_figures_strictpairs_20261012/data/immicro/healthy/fold2/n40/test_raw.npz",
107
+ "input_condition_sha256": "35792517469285bed0fd17595441952e8f1880f63022e10db66e74dc36cd585f",
108
+ "seed": 20260928,
109
+ "steps": 50,
110
+ "support_readout": "bernoulli",
111
+ "weights": "ema"
112
+ },
113
+ "condition_for_broadcast": null,
114
+ "poisson": {
115
+ "seed": 20260916,
116
+ "rule": "whole NPZ, rows in NPZ order",
117
+ "nnz_whole_npz": 9298701,
118
+ "median_library_whole_npz_panel": 2724.0,
119
+ "n_rows_whole_npz": 31500
120
+ },
121
+ "annotation": {
122
+ "model_pt_sha256": "bf3655899e5abee435340fc008656c4a17342da0f30b70cfd43de8e9223e1930",
123
+ "zero_padded_model_genes": 1,
124
+ "label_counts": {
125
+ "T cell": 21480,
126
+ "Monocyte": 4193,
127
+ "B cell": 2372,
128
+ "NK cell": 1891,
129
+ "DC": 1187,
130
+ "Other": 377
131
+ },
132
+ "mean_l2_max_prob": 0.9141204889189629,
133
+ "predict_seconds": 3.4
134
+ },
135
+ "n_donors": 21,
136
+ "n_generated_cells": 31500,
137
+ "composition": {
138
+ "l1_mean": 0.1740867915656901,
139
+ "l1_median": 0.17149209177990646,
140
+ "l1_obs_loo_null_mean": 0.15878727519531177,
141
+ "l1_generated_loo_mean_vs_observed_mean": 0.19692658177171812,
142
+ "composition_top1": 0.14285714285714285,
143
+ "mean_fraction_generated": {
144
+ "T cell": 0.681905,
145
+ "B cell": 0.075302,
146
+ "Monocyte": 0.133111,
147
+ "NK cell": 0.060032,
148
+ "DC": 0.037683,
149
+ "Other": 0.011968
150
+ },
151
+ "mean_fraction_observed": {
152
+ "T cell": 0.629402,
153
+ "B cell": 0.077358,
154
+ "Monocyte": 0.160871,
155
+ "NK cell": 0.105286,
156
+ "DC": 0.021663,
157
+ "Other": 0.005419
158
+ }
159
+ },
160
+ "pseudobulk": {
161
+ "n_genes": 5508,
162
+ "r_median": 0.9066054086141275,
163
+ "r_mean": 0.9059618438674212,
164
+ "top1": 0.14285714285714285,
165
+ "n_top1": 3,
166
+ "own_rank_median": 7.0,
167
+ "chance_top1": 0.047619047619047616
168
+ },
169
+ "precision_coverage": {
170
+ "precision": 0.993015873015873,
171
+ "coverage": 0.9371428571428572,
172
+ "density": 2.7355873015873016,
173
+ "n_query": 3150,
174
+ "n_reference": 3150
175
+ },
176
+ "precision_coverage_depth_matched": {
177
+ "precision": 0.9904761904761905,
178
+ "coverage": 0.9955555555555555,
179
+ "density": 4.039238095238096,
180
+ "detected_median_before": {
181
+ "R1": 362.0,
182
+ "Q": 284.0
183
+ },
184
+ "detected_median_after": {
185
+ "R1": 284.0,
186
+ "Q": 284.0
187
+ }
188
+ },
189
+ "monocyte_pct": {
190
+ "generated_mean_over_donors": 13.311111111111112,
191
+ "observed_mean_over_donors": 16.087149423201815,
192
+ "generated_pooled_cells": 13.311111111111112
193
+ },
194
+ "median_umi_per_cell_scoring_genes": {
195
+ "generated_pooled": 2722.0,
196
+ "observed_pooled": 1958.0,
197
+ "generated_mean_of_donor_medians": 2711.1904296875,
198
+ "observed_mean_of_donor_medians": 1985.452380952381
199
+ },
200
+ "seconds": 7.0
201
+ }
202
+ },
203
+ "code_sha256": {
204
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/tools/score_ft.py": "ec5f40b4cea6d5062d0138f3b934abb6465e34cbfeac869c8a0906924c033aec",
205
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paired_finetune_intradataset_20260927/tools/ft_common.py": "4a6366b0f22208cd58714fc0261b8840c643b9d4569704d560cfd93534cbc747",
206
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/utility_studies_final6k_20260925/umap/cell_immicro_5arm/tools/stage_b_embed.py": "d056cfdf38fb0e5f478756f370174e993b75d0c973c48e02e21749175a4ca2da",
207
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/bulk2sc-paper/scripts/evaluate_generated_vs_truth.py": "48b12d794782b840838853e93e0fc55fab00532c4b3698f4588e926b985d2881",
208
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/utility_studies_final6k_20260925/immicro/tools/immicro_common.py": "c5c30e917148cc5e664e91ea30c11bbdff9b6d1f53a3e0a13e16b1917eff37e9",
209
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/aifi_scanvi_rebuild_20260916/predict_scanvi.py": "482ee5dcf4d72b54bc36cbb6dcff62e5030bc7afc46cb5fb01eca73a82ee45a5",
210
+ "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/aifi_scanvi_rebuild_20260916/poisson_readout.py": "8bfa080942fbcdc89ae23b276524a1a83266fb8cbc56b9af279e50f82e6cde38"
211
+ },
212
+ "seconds": 8.9
213
+ }
paper-releases/pbisc-diffusion/updates/20261015T095445Z-all-width-results/diffusion/dataset/server_1/model8/plans/paper_figures_strictpairs_20261012/recoveries/all_width_results_20261015/immicro/healthy/fold2/n5/score/arms/lora/labels/labels.manifest.json ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_id": "GSE314416_ImMicro",
3
+ "split": "generated",
4
+ "input_h5ad": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paper_figures_strictpairs_20261012/recoveries/all_width_results_20261015/immicro/healthy/fold2/n5/score/arms/lora/query.h5ad",
5
+ "method": "lora",
6
+ "out_parquet": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paper_figures_strictpairs_20261012/recoveries/all_width_results_20261015/immicro/healthy/fold2/n5/score/arms/lora/labels/labels.parquet",
7
+ "training_source": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/aifi_scanvi_rebuild_20260916/reference/aifi_reference_f01common.h5ad",
8
+ "target_truth_used_for_fitting": false,
9
+ "classifier": "aifi_scanvi_rebuild_20260916_frozen_predict[aifi_scanvi_f01common_v1]",
10
+ "labels": [
11
+ "T cell",
12
+ "B cell",
13
+ "Monocyte",
14
+ "NK cell",
15
+ "DC",
16
+ "Other"
17
+ ],
18
+ "l2_labels": [
19
+ "ASDC",
20
+ "CD14 monocyte",
21
+ "CD16 monocyte",
22
+ "CD56bright NK cell",
23
+ "CD56dim NK cell",
24
+ "CD8aa",
25
+ "DN T cell",
26
+ "Effector B cell",
27
+ "Erythrocyte",
28
+ "ILC",
29
+ "Intermediate monocyte",
30
+ "MAIT",
31
+ "Memory B cell",
32
+ "Memory CD4 T cell",
33
+ "Memory CD8 T cell",
34
+ "Naive B cell",
35
+ "Naive CD4 T cell",
36
+ "Naive CD8 T cell",
37
+ "Plasma cell",
38
+ "Platelet",
39
+ "Progenitor cell",
40
+ "Proliferating NK cell",
41
+ "Proliferating T cell",
42
+ "Transitional B cell",
43
+ "Treg",
44
+ "cDC1",
45
+ "cDC2",
46
+ "gdT",
47
+ "pDC"
48
+ ],
49
+ "n_cells": 31500,
50
+ "n_genes": 1005,
51
+ "note": "Evaluation-only annotation with a frozen AIFI scANVI (zero query-training epochs); L1 outside PBMC5 -> Other, never dropped.",
52
+ "label_source_column": "AIFI_L2 (reference) -> AIFI_L2_TO_L1 -> PBMC5 + Other",
53
+ "query_train_epochs": 0,
54
+ "confidence_threshold": 0.0,
55
+ "subset": false,
56
+ "evaluator_aligned": true,
57
+ "gene_space": {
58
+ "join_key": "ensembl_id",
59
+ "model_genes": 1005,
60
+ "query_genes": 1004,
61
+ "model_genes_missing_from_query_zero_padded": 1,
62
+ "query_genes_outside_model_dropped": 0,
63
+ "rule": "query is subset/reordered to the model's gene list; zero-padding of absent model genes is refused unless --allow-missing-genes"
64
+ },
65
+ "readout": null,
66
+ "query_build": {
67
+ "kind": "generated_npz",
68
+ "poisson_note": "one draw over the whole NPZ, then the scored donors' rows",
69
+ "readout": "poisson",
70
+ "seed": 20260916,
71
+ "set": "lora",
72
+ "source_path": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/paper_figures_strictpairs_20261012/generated/immicro/healthy/fold2/n5/lora.npz",
73
+ "source_sha256": "9db828f963f7e4f04ede0c3e8d23ecffb5ad522fed0bdb8da3e67b621a265e04"
74
+ },
75
+ "model": {
76
+ "scanvi_model_dir": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/aifi_scanvi_rebuild_20260916/runs/aifi_scanvi_f01common_v1/scanvi_model",
77
+ "model_pt_sha256": "bf3655899e5abee435340fc008656c4a17342da0f30b70cfd43de8e9223e1930",
78
+ "model_manifest": "/home/sj_server_1/PBISC/immun-pbmc-fm/model_8_sparse_data_diffusion/plans/aifi_scanvi_rebuild_20260916/runs/aifi_scanvi_f01common_v1/MODEL_MANIFEST.json",
79
+ "held_out_summary": {
80
+ "l2_accuracy": 0.8692869740488788,
81
+ "l2_macro_f1": 0.8500925599737216,
82
+ "l1_accuracy": 0.9918367346938776,
83
+ "l1_macro_f1": 0.9715232379009036,
84
+ "pbmc5_other_accuracy": 0.9920886873267826,
85
+ "pbmc5_other_macro_f1": 0.9812088972148597
86
+ }
87
+ },
88
+ "label_counts": {
89
+ "celltype_l1_pred": {
90
+ "T cell": 21751,
91
+ "Monocyte": 4750,
92
+ "B cell": 2475,
93
+ "NK cell": 1305,
94
+ "DC": 863,
95
+ "Other": 356
96
+ },
97
+ "aifi_l1": {
98
+ "T cell": 21751,
99
+ "Monocyte": 4750,
100
+ "B cell": 2475,
101
+ "NK cell": 1305,
102
+ "DC": 863,
103
+ "ILC": 279,
104
+ "Progenitor cell": 41,
105
+ "Erythrocyte": 35,
106
+ "Platelet": 1
107
+ },
108
+ "aifi_l2": {
109
+ "Naive CD4 T cell": 5680,
110
+ "Memory CD4 T cell": 4303,
111
+ "Memory CD8 T cell": 3651,
112
+ "CD14 monocyte": 3360,
113
+ "Naive CD8 T cell": 2984,
114
+ "gdT": 2733,
115
+ "Memory B cell": 2003,
116
+ "Treg": 989,
117
+ "CD16 monocyte": 878,
118
+ "CD8aa": 867,
119
+ "CD56dim NK cell": 666,
120
+ "cDC2": 613,
121
+ "CD56bright NK cell": 561,
122
+ "Intermediate monocyte": 512,
123
+ "MAIT": 396,
124
+ "ILC": 279,
125
+ "Naive B cell": 277,
126
+ "pDC": 186,
127
+ "Effector B cell": 154,
128
+ "DN T cell": 131,
129
+ "Proliferating NK cell": 78,
130
+ "ASDC": 44,
131
+ "Progenitor cell": 41,
132
+ "Erythrocyte": 35,
133
+ "Transitional B cell": 27,
134
+ "cDC1": 20,
135
+ "Proliferating T cell": 17,
136
+ "Plasma cell": 14,
137
+ "Platelet": 1
138
+ }
139
+ },
140
+ "confidence": {
141
+ "mean_l2_max_prob": 0.9281099091091799,
142
+ "mean_l1_mass": 0.9858627319335938,
143
+ "frac_l2_max_prob_ge_0.5": 0.9795555555555555
144
+ },
145
+ "timings_s": {
146
+ "predict": 0.3,
147
+ "total": 0.6
148
+ },
149
+ "versions": {
150
+ "scvi-tools": "1.4.1",
151
+ "torch": "2.11.0+cu130",
152
+ "anndata": "0.12.19"
153
+ },
154
+ "device": "cpu",
155
+ "created_at_utc": "2026-10-15T09:51:03.823943+00:00"
156
+ }