evals: add pi backend

This commit is contained in:
Jesse Vincent
2026-05-07 11:11:18 -07:00
parent 5ca4153994
commit 7d06d7e4f0
8 changed files with 214 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ class Backend:
@property
def family(self) -> str:
"""Normalize backend name to a family for log-dir / normalizer dispatch."""
for fam in ("claude", "codex", "gemini"):
for fam in ("claude", "codex", "gemini", "pi"):
if self.name == fam or self.name.startswith(f"{fam}-"):
return fam
return "other"