From 9f0c9f326458869a247908503456e3e53719e120 Mon Sep 17 00:00:00 2001 From: Ruslan Vrublevskyi <196458463+moneyparking@users.noreply.github.com> Date: Thu, 1 Oct 2026 12:34:06 +0300 Subject: [PATCH 1/2] fix: restore valid Eval Manager boolean syntax --- eval-manager/eval_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval-manager/eval_manager.py b/eval-manager/eval_manager.py index c922bd6..cf2895d 100644 --- a/eval-manager/eval_manager.py +++ b/eval-manager/eval_manager.py @@ -151,7 +151,7 @@ def _verify_freeze(contract: dict[str, Any], repo_root: Path) -> list[dict[str, raise ContractError( "freeze.source_ref must be refs/tags/... or refs/heads/freeze/..." ) - if expected_source_sha is None && expected_source_ref is None: + if expected_source_sha is None and expected_source_ref is None: raise ContractError("frozen phase requires freeze.source_sha or freeze.source_ref") identities = freeze.get("identities") if not isinstance(identities, list) or not identities: From 135bb1a05168ad55b12bd53c0f66895a10a88b67 Mon Sep 17 00:00:00 2001 From: Ruslan Vrublevskyi <196458463+moneyparking@users.noreply.github.com> Date: Thu, 1 Oct 2026 12:34:09 +0300 Subject: [PATCH 2/2] test: compile Eval Manager before contract tests --- .github/workflows/eval-manager-selftest.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/eval-manager-selftest.yml b/.github/workflows/eval-manager-selftest.yml index 7a08052..d819949 100644 --- a/.github/workflows/eval-manager-selftest.yml +++ b/.github/workflows/eval-manager-selftest.yml @@ -28,6 +28,8 @@ jobs: - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 with: python-version: "3.11" + - name: Compile Eval Manager sources + run: python -m compileall -q eval-manager - name: Run Eval Manager contract tests run: | python eval-manager/test_eval_manager.py