This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| integrity.py — minimal experiment integrity receipt (Python stdlib only). | |
| Writes ONE tamper-evident line per run that binds the reported val_bpb to the | |
| exact code, data, and model that produced it. This is *detection*, not | |
| prevention: enough to make a gamed run stand out in the overnight log and to | |
| make any kept result reproducible. | |
| Each receipt records: | |
| - val_bpb the reported metric |