Revise action-aware pilot after token overload
This commit is contained in:
@@ -454,7 +454,10 @@ def evaluate_decisions(
|
||||
|
||||
def analyze(run_root: Path, manifest_path: Path) -> dict[str, Any]:
|
||||
manifest = json.loads(manifest_path.read_text(encoding="utf-8"))
|
||||
if manifest.get("schema") != "action-aware-constraint-pilot-manifest-v0":
|
||||
if manifest.get("schema") not in {
|
||||
"action-aware-constraint-pilot-manifest-v0",
|
||||
"action-aware-constraint-pilot-manifest-v1",
|
||||
}:
|
||||
raise ValueError("unexpected manifest schema")
|
||||
duration_s = float(manifest["engine"]["duration_s"])
|
||||
phase_fractions = [float(value) for value in manifest["gates"]["phase_fractions"]]
|
||||
|
||||
Reference in New Issue
Block a user