Archive 4 checkpoints (1-4)
Browse files- paper-releases/pbisc-diffusion/updates/20260930T090852Z-summary-deck-final-path-story/diffusion/dataset/server_1/model8/presentations/2026-09-30--paper-summary--r00/figures/sec03_panel.pdf +0 -0
- paper-releases/pbisc-diffusion/updates/20260930T090852Z-summary-deck-final-path-story/diffusion/dataset/server_1/model8/presentations/2026-09-30--paper-summary--r00/figures/sec03_panel.png +3 -0
- paper-releases/pbisc-diffusion/updates/20260930T090852Z-summary-deck-final-path-story/diffusion/dataset/server_1/model8/presentations/2026-09-30--paper-summary--r00/figures/sec03_width_bench.pdf +0 -0
- paper-releases/pbisc-diffusion/updates/20260930T090852Z-summary-deck-final-path-story/diffusion/dataset/server_1/model8/presentations/2026-09-30--paper-summary--r00/tools/sync_sec09_text.py +57 -0
paper-releases/pbisc-diffusion/updates/20260930T090852Z-summary-deck-final-path-story/diffusion/dataset/server_1/model8/presentations/2026-09-30--paper-summary--r00/figures/sec03_panel.pdf
ADDED
|
Binary file (38.3 kB). View file
|
|
|
paper-releases/pbisc-diffusion/updates/20260930T090852Z-summary-deck-final-path-story/diffusion/dataset/server_1/model8/presentations/2026-09-30--paper-summary--r00/figures/sec03_panel.png
ADDED
|
Git LFS Details
|
paper-releases/pbisc-diffusion/updates/20260930T090852Z-summary-deck-final-path-story/diffusion/dataset/server_1/model8/presentations/2026-09-30--paper-summary--r00/figures/sec03_width_bench.pdf
ADDED
|
Binary file (40 kB). View file
|
|
|
paper-releases/pbisc-diffusion/updates/20260930T090852Z-summary-deck-final-path-story/diffusion/dataset/server_1/model8/presentations/2026-09-30--paper-summary--r00/tools/sync_sec09_text.py
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Copy section 9 slide text from data/sec09_slide_text.json into data/slides_spec.json.
|
| 3 |
+
|
| 4 |
+
sec09_paired_validation.py regenerates titles, keywords and footnotes from the
|
| 5 |
+
scores (the scSemiProfiler verdicts can change when the missing draws arrive).
|
| 6 |
+
Run after that script and before generate_deck.py:
|
| 7 |
+
|
| 8 |
+
python3 tools/sec09_paired_validation.py
|
| 9 |
+
python3 tools/sync_sec09_text.py
|
| 10 |
+
python3 generate_deck.py
|
| 11 |
+
|
| 12 |
+
Titles, keywords, footnote_full and (from footnote_short) the on-slide footnote are
|
| 13 |
+
overwritten; if footnote_full changed, the script lists the slide so the
|
| 14 |
+
short copy can be checked by hand (the deck build fails if it exceeds 2 lines).
|
| 15 |
+
"""
|
| 16 |
+
import json
|
| 17 |
+
import sys
|
| 18 |
+
from pathlib import Path
|
| 19 |
+
|
| 20 |
+
DECK = Path(__file__).resolve().parents[1]
|
| 21 |
+
SPEC = Path(sys.argv[1]) if len(sys.argv) > 1 else DECK / "data" / "slides_spec.json"
|
| 22 |
+
SRC = DECK / "data" / "sec09_slide_text.json"
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
def main() -> None:
|
| 26 |
+
spec = json.loads(SPEC.read_text())
|
| 27 |
+
src = json.loads(SRC.read_text())["slides"]
|
| 28 |
+
review = []
|
| 29 |
+
n = 0
|
| 30 |
+
for s in spec["slides"]:
|
| 31 |
+
i = s.get("sec09_index")
|
| 32 |
+
if i is None:
|
| 33 |
+
continue
|
| 34 |
+
g = src[i]
|
| 35 |
+
figs = [str(Path(f).relative_to(DECK)) for f in g["figures"]]
|
| 36 |
+
have = [str(Path(f).relative_to(DECK)) if Path(f).is_absolute() else f for f in s["figures"]]
|
| 37 |
+
if figs != have:
|
| 38 |
+
raise SystemExit(f"figure mismatch for sec09 slide {i}: {figs} vs {s['figures']}")
|
| 39 |
+
s["figures"] = figs
|
| 40 |
+
s["title"] = g["title"]
|
| 41 |
+
s["keywords"] = g["keywords"]
|
| 42 |
+
if s.get("footnote_full", s.get("footnote")) != g["footnote"]:
|
| 43 |
+
review.append(g["title"])
|
| 44 |
+
s["footnote_full"] = g["footnote"]
|
| 45 |
+
if g.get("footnote_short"):
|
| 46 |
+
s["footnote"] = g["footnote_short"]
|
| 47 |
+
n += 1
|
| 48 |
+
if n != len(src):
|
| 49 |
+
raise SystemExit(f"spec has {n} sec09 slides, source has {len(src)}")
|
| 50 |
+
SPEC.write_text(json.dumps(spec, indent=2, ensure_ascii=False) + "\n")
|
| 51 |
+
print(f"synced {n} section 9 slides")
|
| 52 |
+
for t in review:
|
| 53 |
+
print(f"REVIEW short footnote (source footnote changed): {t}")
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
if __name__ == "__main__":
|
| 57 |
+
main()
|