11 lines
531 B
Python
11 lines
531 B
Python
#!/usr/bin/env python3
|
|
"""Run the reviewed handoff reproduction under this fresh verifier session."""
|
|
from pathlib import Path
|
|
|
|
root = Path("/home/alex/sots-re")
|
|
source_path = root / "verify/results/research-completion-abi-independent/reproduce_run_7d85d45cb2196e07025e5096.py"
|
|
source = source_path.read_text()
|
|
old = 'SESSION = "run-7d85d45cb2196e07025e5096"'
|
|
new = 'SESSION = "run-d94d4516b9d898793318805e"'
|
|
assert source.count(old) == 1
|
|
exec(compile(source.replace(old, new), str(source_path), "exec"), {"__name__": "__main__"})
|