Spaces:
Running
Running
File size: 1,004 Bytes
beea5e8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | """Expected failure: inject a two-percent diagonal finite-width correction."""
import json
from reproduction.claim3_paper_scale import verify_rows
def main():
rows = []
for activation in ("ReLU", "LeakyReLU(alpha=0.1)"):
for width in (20, 80):
rows.append(
{
"activation": activation,
"width": width,
"mean": [1.02, 0.90],
"standard_error": [0.001, 0.001],
"infinite_ntk": [1.0, 1.0],
}
)
result = verify_rows(rows)
output = {
"mutation": "inject a two-percent diagonal finite-width correction",
"expected": "equivalence verifier rejects every mutated diagonal",
"verifier_passed": result["passed"],
"checks": result["checks"],
}
print(json.dumps(output, indent=2, sort_keys=True))
return 0 if result["passed"] else 1
if __name__ == "__main__":
raise SystemExit(main())
|