File size: 637 Bytes
36357ab
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
# MIT License, Bryan Cheng, 2026.
"""Overlap of the discovery split D between the primary scan and the family-threshold sensitivity scans, and naive
lambda_GC on D (from the per-trait summaries if present)."""
import json

P0 = json.load(open("results/scans/qwen05_rt/population.json"))
for d in ("sens_fam2", "sens_fam5"):
    P = json.load(open(f"results/scans/{d}/population.json"))
    assert P["names"] == P0["names"] if "names" in P else True
    s0, s1 = P0["split"], P["split"]
    same = sum(a == b for a, b in zip(s0, s1))
    print(d, "n", len(s0), "same half", same, "share", round(same / len(s0), 3), "keys", sorted(P)[:8])