JL765 commited on
Commit
a24da05
·
verified ·
1 Parent(s): a0b52f4

Add case: case28 spatial immune organization and breast-cancer prognosis

Browse files
.gitattributes CHANGED
@@ -90,3 +90,4 @@ cases/case19/session.science filter=lfs diff=lfs merge=lfs -text
90
  cases/case21/session.science filter=lfs diff=lfs merge=lfs -text
91
  cases/case23/session.science filter=lfs diff=lfs merge=lfs -text
92
  cases/case25/session.science filter=lfs diff=lfs merge=lfs -text
 
 
90
  cases/case21/session.science filter=lfs diff=lfs merge=lfs -text
91
  cases/case23/session.science filter=lfs diff=lfs merge=lfs -text
92
  cases/case25/session.science filter=lfs diff=lfs merge=lfs -text
93
+ cases/case28/session.science filter=lfs diff=lfs merge=lfs -text
cases/case28/PROMPT.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # Case 28: original user requests
2
+
3
+ Original requests preserved in exported session order. Full process history is in `session.science`.
4
+
5
+ ## User request 1
6
+
7
+ I would like to investigate whether spatial immune organization adds useful prognostic information beyond cell composition and basic clinical information in a public breast-cancer imaging cohort. Please use processed cell coordinates and annotations with patient outcomes rather than downloading and segmenting raw images. A somewhat larger local analysis is acceptable, but avoid remote computing and additional services. Please make patient-level validation and uncertainty clear, and leave the workflow inspectable and rerunnable.
cases/case28/README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Case 28: Spatial immune organization and breast-cancer prognosis
2
+
3
+ ## Case details
4
+
5
+ | Field | Value |
6
+ |---|---|
7
+ | Case folder | `cases/case28/` |
8
+ | Product / feature | Open-Science: local, reproducible survival analysis |
9
+ | Author | TBD — author to confirm |
10
+ | Submitter | TBD — submitter to confirm |
11
+ | Created / updated | 2026-09-29 / 2026-10-09 |
12
+ | Status | draft |
13
+ | Case type | evaluation |
14
+ | Tags | breast-cancer, spatial-immunology, survival-analysis, patient-level-validation |
15
+ | Product / model version | Open-Science version not recorded here; gpt-6-astra, medium reasoning |
16
+
17
+ ## Goal and context
18
+
19
+ Investigate whether spatial immune organization improves prognosis prediction beyond cell composition and basic clinical information in a public breast-cancer imaging cohort. The user requested processed coordinates and annotations with patient outcomes, local computation, explicit patient-level validation and uncertainty, and an inspectable, rerunnable workflow.
20
+
21
+ ## Inputs and sources
22
+
23
+ | File or URL | Purpose | Source / usage restrictions |
24
+ |---|---|---|
25
+ | [PROMPT.md](PROMPT.md) | Exact original user request from the exported session | Case input; one user message in this export |
26
+ | [session.science](session.science) | Complete supplied Open-Science export, including historical evidence and artifacts | Exported 2026-09-30; uploaded byte-for-byte without modifying scientific outputs |
27
+ | [Zenodo record 4607374](https://zenodo.org/records/4607374) | Jackson et al., The Single-Cell Pathology Landscape of Breast Cancer: processed coordinates, labels and metadata | The case report records a CC-BY designation; consult the source record for applicable terms. Third-party materials retain their source restrictions. |
28
+ | [Author analysis code](https://github.com/BodenmillerGroup/SCPathology_publication/tree/914cf2870e934990151c4872fff34856ff5615a5) | Source definitions and reference implementation | Retains upstream licensing and attribution requirements |
29
+
30
+ The report records approximately 36 MB of source transfers using selective HTTP range retrieval for metadata. It uses the Basel cohort; Zurich metadata was inspected for eligibility but was not analyzed. No raw-image segmentation or remote compute was used. Source hashes, environment versions and retrieval details are in the package. The precise source access times should be read from its provenance records.
31
+
32
+ ## Reproduction steps
33
+
34
+ 1. Import `session.science` into a compatible Open-Science version to inspect its historical session and artifacts. Import into a fresh workspace; import itself does not rerun the analysis.
35
+ 2. Read `PROMPT.md`, the analysis specification, `breast-cancer-spatial-prognosis-report.md`, and the workflow ZIP preserved in the export.
36
+ 3. Inspect the cohort audit, saved patient features, split assignments, out-of-fold predictions, uncertainty tables and verification receipt. For an intentional rerun, use the bundled environment and `run_analysis.py` instructions in a separate workspace.
37
+
38
+ ### Exact prompt or request
39
+
40
+ See [PROMPT.md](PROMPT.md) for the verbatim request. The complete session history remains in the archive.
41
+
42
+ ## Expected result and acceptance criteria
43
+
44
+ | Criterion | How to check | Pass condition |
45
+ |---|---|---|
46
+ | Respect resource constraints | Inspect retrieval and execution history | Processed coordinates/annotations; local computation; no raw-image segmentation |
47
+ | Patient-level comparison | Inspect splits, feature preprocessing and nested tuning | All images from a patient remain together; preprocessing and tuning use training folds |
48
+ | Appropriate uncertainty | Inspect paired model comparisons and conclusions | Report uncertainty and its conditional nature; do not equate an inconclusive result with absence of biological value |
49
+ | Inspectable workflow | Inspect sources, code, saved results and verification receipt | Traceable inputs and outputs, with a documented rerun procedure |
50
+ | Accurate displayed results | Compare report values with saved result tables | Conventional rounding agrees with underlying values |
51
+
52
+ ## Actual result
53
+
54
+ The exported research session ran on 2026-09-29. The report describes 278 patients, 284 images, 762,467 cells and 79 deaths. Regularized Cox models compare clinical information, clinical information plus composition, and those inputs plus spatial features. Validation uses three repeats of five outer patient folds with inner tuning; uncertainty uses 1,000 paired patient bootstrap draws conditional on the saved models, splits and censoring estimates.
55
+
56
+ Adding spatial features increased concordance by approximately 0.0127 and reduced Brier error by approximately 0.00163. Both paired intervals include zero. The report concludes that incremental prognostic value is inconclusive in this single cohort; it does not claim external or clinical validation.
57
+
58
+ | Criterion | Result (pass / fail / not-run) | Evidence |
59
+ |---|---|---|
60
+ | Resource constraints | pass | Case report and preserved workflow describe processed inputs and local execution |
61
+ | Patient-level comparison | pass | Reported nested patient folds and saved split/prediction files; full fitting was not repeated for this upload |
62
+ | Appropriate uncertainty | pass | Report explicitly describes conditional intervals, one cohort and absent external validation |
63
+ | Inspectable workflow | pass | Archive and bundled workflow retain inputs, code, outputs and a primary reproduction receipt |
64
+ | Accurate displayed results | fail | Separate bounded review identified the same rounding error at three report locations |
65
+
66
+ The 2026-09-30 bounded review recorded an upper interval bound of `0.0374` in the report opening and two tables; the saved value `0.03745067915611938` conventionally rounds to `0.0375`. This affects the final displayed decimal and does not change the interval crossing zero. The supplied export is preserved unchanged, so this finding is not represented as repaired.
67
+
68
+ That review recomputed selected cohort counts and metrics from saved files, but did not independently rerun all fitting, feature extraction, uncertainty calculations or sensitivity analyses. Complete producer/fork lineage and incorporation of every prior correction were not established. Its native review-turn verdict of pass does not certify the original scientific analysis or resolve the rounding defect. The separate review record was supplied alongside the export and is summarized here; it is not claimed to be part of this source-session export.
69
+
70
+ For this upload, all 353 manifest inventory entries were verified across 354 TAR members, and the staged archive matches the supplied file byte-for-byte. SHA-256: `dd563629ca34a1d1044e4f48ae00c44e66378cce60b4fa8e0170be087f8cce2a`. These are archive-integrity checks; an Open-Science import and a full scientific rerun were not performed for this submission.
71
+
72
+ ## Review
73
+
74
+ - Reviewer: unassigned for repository acceptance.
75
+ - Review date: pending; separate bounded case review dated 2026-09-30.
76
+ - Decision: pending.
77
+ - Notes and next actions: Confirm Author and Submitter; import-check the package; correct the three report rounding occurrences in a documented subsequent revision; review lineage and remaining validation limits before changing the repository status.
cases/case28/session.science ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd563629ca34a1d1044e4f48ae00c44e66378cce60b4fa8e0170be087f8cce2a
3
+ size 696018441