Replace hardcoded paths with placeholders: fat_tail_followup.py
Browse files
studies/homophily/code/fat_tail_followup.py
CHANGED
|
@@ -10,7 +10,7 @@ Computes (per cohort) and writes a single JSON:
|
|
| 10 |
5. Distance-stratified H_node: split edges by edge_attr (Euclidean distance, µm)
|
| 11 |
into ≤20 µm vs 20–60 µm; recompute H_node mean and tail-count per band.
|
| 12 |
|
| 13 |
-
Output:
|
| 14 |
Per CLAUDE.md §6: every fallback emits [WARN].
|
| 15 |
"""
|
| 16 |
from __future__ import annotations
|
|
|
|
| 10 |
5. Distance-stratified H_node: split edges by edge_attr (Euclidean distance, µm)
|
| 11 |
into ≤20 µm vs 20–60 µm; recompute H_node mean and tail-count per band.
|
| 12 |
|
| 13 |
+
Output: <SCRATCH_ROOT>/fat_tail_results/<cohort>/followup_analysis.json
|
| 14 |
Per CLAUDE.md §6: every fallback emits [WARN].
|
| 15 |
"""
|
| 16 |
from __future__ import annotations
|