Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

Remove whitespace from formal gate example

Rach Pradhanc0ce06a43c6c
diff --git a/examples/dgm_formal_gate.py b/examples/dgm_formal_gate.py
index 0804529b..4be5c9de 100644
--- a/examples/dgm_formal_gate.py
+++ b/examples/dgm_formal_gate.py
@@ -311,7 +311,7 @@ class FormalGate:
or receipt["main_model"] != self.main_model
or receipt["replay_model"] != self.pin["replay_model"]
or receipt["heldout_eval_set_hash"] != row.get("eval_set_hash", "")
- or (row.get("eval_set_hash") and row["eval_set_hash"] != self.pin["heldout_hash"])
+ or (row.get("eval_set_hash") and row["eval_set_hash"] != self.pin["heldout_hash"])
or (prompt is not None and candidate != prompt)):
raise GateError("formal score receipt does not match its score row")
preflight_name = receipt["preflight_file"]