Fix harness SLO early-stop diagnosis

This commit is contained in:
2026-05-12 22:20:01 +08:00
parent ef359c8eea
commit e3ed775afd
2 changed files with 92 additions and 0 deletions

View File

@@ -607,6 +607,7 @@ def _active_bottleneck(probe: dict[str, Any] | None) -> str:
if not str(k).startswith("ttft")
and not str(k).startswith("tpot")
and not str(k).startswith("probe_elapsed_s>")
and str(k) != "slo_pass_rate_unrecoverable"
)
if ttft_count == 0 and tpot_count == 0 and request_failed_count == 0:
return "none_obvious"