Consolidate oracle benchmark inventory

This commit is contained in:
732642856
2026-06-28 15:45:31 +08:00
parent 73d89586ca
commit 4439deeeb9
29 changed files with 1642 additions and 23 deletions
+4
View File
@@ -188,6 +188,10 @@ def first_token_path(value: str) -> str:
def output_path_exists(path: str) -> tuple[bool, str]:
if path.startswith("scripts/"):
rel = first_token_path(path)
if ":" in rel:
rel = rel.split(":", 1)[0]
elif ".py." in rel:
rel = rel.split(".py.", 1)[0] + ".py"
return (ROOT / rel).exists(), rel
if path.endswith(".py"):
return (ROOT / path).exists(), path