from pathlib import Path
import generate
ns={};exec(Path(__file__).with_name('program.py').read_text(),ns)
g=generate.UntaperedErrors()
for p in g.enumerate():
 a=g.value(p,100);b=ns['U'](int(p['N']))
 assert b.is_finite() and b.accuracy()>400 and a.overlaps(b)
print('PASS: standalone Programs code agrees for all 30 entries')
