FumingY commited on
Commit
cbf3311
·
verified ·
1 Parent(s): c8bf481

bundles/README: trim methodology, keep schema only

Browse files
Files changed (1) hide show
  1. bundles/README.md +22 -51
bundles/README.md CHANGED
@@ -1,26 +1,21 @@
1
  # `bundles/` — per-neuron review JSONs
2
 
3
- One JSON per MICrONS neuron, generated from the supervised Stage2 SE3
4
- model's per-patch inference output.
5
 
6
- ## Filename convention
7
 
8
  ```
9
- <latest_root_id>_<partition_method>.json
10
  ```
11
 
12
- - `<latest_root_id>` — the current (post-proofread) CAVE root id of
13
- the neuron, e.g. `864691134949350652`.
14
- - `<partition_method>` — how token clusters inside each suspect
15
- window were cut. Currently:
16
- - `hybrid` — wsbm if DL ≤ 100, else spectral+
17
- - (planned) `spectral` — k-aware spectral cut, no MDL gate
18
- - (planned) `wsbm` — Bayesian SBM only
19
 
20
  ## Direct download URL
21
 
22
  ```
23
- https://huggingface.co/datasets/FumingY/MergeFree/resolve/main/bundles/<ROOT_ID>_hybrid.json.gz
24
  ```
25
 
26
  ## JSON schema (v1)
@@ -31,60 +26,36 @@ https://huggingface.co/datasets/FumingY/MergeFree/resolve/main/bundles/<ROOT_ID>
31
  "neuron": {
32
  "latest_root_id": "864691134949350652",
33
  "old_root_ids": ["864691...", "..."],
34
- "old_root_id": "864691...", // legacy: first old root
35
  "datastack": "minnie65_public"
36
  },
37
  "metadata": {
38
- "generated_at": "2026-05-07T12:34:56Z",
39
- "n_windows": 1166,
40
- "n_suspects": 12,
41
- "verify_thresh": 0.05,
42
- "partition_method": "hybrid"
43
  },
44
  "windows": [
45
  {
46
- "idx": 0,
47
- "center_um": [123.4, 567.8, 90.1],
48
- "verify_prob": 0.07,
49
- "is_suspect": false
50
  },
51
  {
52
- "idx": 42,
53
- "center_um": [...],
54
- "verify_prob": 0.83,
55
- "is_suspect": true,
56
  "tokens": {
57
- "pos_rel_um": [[x, y, z], ...], // token positions relative to center_um
58
- "labels": [0, 0, 1, 1, 2, ...], // cluster id per token
59
- "spectral": {
60
- "k": 2,
61
- "score": 0.71, // spectral+ score (when method=spectral_plus / hybrid→spectral+)
62
- "hybrid_decision": "spectral+", // present when method=hybrid: which backend was used
63
- "wsbm_dl": 412.18 // wsbm best DL (always present in hybrid bundles)
64
- }
65
  }
66
  }
67
  ]
68
  }
69
  ```
70
 
71
- ## Pipeline (offline)
72
-
73
- 1. **Suspect filter**: `verify_prob ≥ 0.05`
74
- 2. **Spectral+ heuristic**: demote tied per-k scores or mean < 0.5
75
- 3. **Spatial NMS**: radius 9 µm
76
- 4. **wSBM uniform-DL filter**: demote when per-k DL is uniform
77
- (max−min ≤ 0.01) AND max ≤ 250 — strong "no block structure"
78
- signal
79
- 5. **Cut method (hybrid)**: per surviving suspect, run wsbm. If its
80
- chosen-k DL ≤ 100 use wsbm's labels (incl. k=1 = no cut); else
81
- fall back to spectral+ for boundary recall.
82
-
83
- `old_root_ids` come from `mesh.npz` → `mesh_coverage_cache.npz` →
84
- `manifest.json` (the same lookup `export_review_bundle.py` does).
85
- The static review site uses them to overlay pre-proofread segments
86
- in red on top of the current segmentation.
87
-
88
  ## Reviewer workflow
89
 
90
  See the top-level [README](../README.md).
 
1
  # `bundles/` — per-neuron review JSONs
2
 
3
+ One JSON per MICrONS neuron. Demo data for the **MERGER FREE**
4
+ project by Fuming Yang and Sven Dorkenwald.
5
 
6
+ ## Filename
7
 
8
  ```
9
+ <latest_root_id>_<tag>.json.gz
10
  ```
11
 
12
+ - `<latest_root_id>` — the current CAVE root id of the neuron.
13
+ - `<tag>` — a short label for the bundle variant (e.g. `hybrid`).
 
 
 
 
 
14
 
15
  ## Direct download URL
16
 
17
  ```
18
+ https://huggingface.co/datasets/FumingY/MergeFree/resolve/main/bundles/<ROOT_ID>_<TAG>.json.gz
19
  ```
20
 
21
  ## JSON schema (v1)
 
26
  "neuron": {
27
  "latest_root_id": "864691134949350652",
28
  "old_root_ids": ["864691...", "..."],
29
+ "old_root_id": "864691...",
30
  "datastack": "minnie65_public"
31
  },
32
  "metadata": {
33
+ "generated_at": "2026-05-07T12:34:56Z",
34
+ "n_windows": 1166,
35
+ "n_suspects": 12,
36
+ "verify_thresh": 0.05
 
37
  },
38
  "windows": [
39
  {
40
+ "idx": 0,
41
+ "center_um": [123.4, 567.8, 90.1],
42
+ "verify_prob": 0.07,
43
+ "is_suspect": false
44
  },
45
  {
46
+ "idx": 42,
47
+ "center_um": [...],
48
+ "verify_prob": 0.83,
49
+ "is_suspect": true,
50
  "tokens": {
51
+ "pos_rel_um": [[x, y, z], ...],
52
+ "labels": [0, 0, 1, 1, 2, ...]
 
 
 
 
 
 
53
  }
54
  }
55
  ]
56
  }
57
  ```
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  ## Reviewer workflow
60
 
61
  See the top-level [README](../README.md).