17 lines
583 B
Python
17 lines
583 B
Python
import json
|
|
from pathlib import Path
|
|
b=json.loads(Path("scratch_py/_snap_base.json").read_text())
|
|
n=json.loads(Path("scratch_py/_snap_new.json").read_text())
|
|
any_change=False
|
|
for pg in ("1","2","3","4"):
|
|
bp,np_=b[pg],n[pg]
|
|
keys=set(bp)|set(np_)
|
|
for k in sorted(keys,key=int):
|
|
if bp.get(k)!=np_.get(k):
|
|
any_change=True
|
|
print(f"PAGE{pg} anchor {k}:")
|
|
print(f" base={bp.get(k)}")
|
|
print(f" new ={np_.get(k)}")
|
|
if not any_change:
|
|
print("NO CHANGE across all 4 pages — column-walk is a no-op on this fixture.")
|