Spaces:
Running
Running
Download code/claim2_negative_control.py from DineshAI/SOlPHMdSY3: direct link, hf CLI and curl.
- Browser
- Download file 602 Bytes
-
https://huggingface.co/spaces/DineshAI/SOlPHMdSY3/resolve/main/code/claim2_negative_control.py
- Command line
-
hf download hf://spaces/DineshAI/SOlPHMdSY3/code/claim2_negative_control.py
-
curl -L -o claim2_negative_control.py https://huggingface.co/spaces/DineshAI/SOlPHMdSY3/resolve/main/code/claim2_negative_control.py
602 Bytes
| """Mutation control: dropping the F quartic vertex must fail verification.""" | |
| import json | |
| from reproduction.claim2_verifier import verify | |
| def main() -> int: | |
| result = verify(drop_vertex="F") | |
| output = { | |
| "mutation": "drop quartic F vertex", | |
| "expected": "verifier exits nonzero because only four diagrams remain", | |
| "observed_diagram_count": len(result["diagrams"]), | |
| "verifier_passed": result["passed"], | |
| } | |
| print(json.dumps(output, indent=2, sort_keys=True)) | |
| return 0 if result["passed"] else 1 | |
| if __name__ == "__main__": | |
| raise SystemExit(main()) | |