Summarize whether a service window is ready, watched, or blocked.

Service Window Reliability Report

service_window.lua
local failed_checks = 
local open_minutes = 45
local service_status = "blocked"

if failed_checks == 0 and open_minutes >= 30 then
  service_status = "ready"
elseif failed_checks <= 1 then
  service_status = "watch"
end

print("failed=" .. failed_checks .. " open=" .. open_minutes .. " status=" .. service_status)
local failed_checks = 
local open_minutes = 45
local service_status = "blocked"

if failed_checks == 0 and open_minutes >= 30 then
  service_status = "ready"
elseif failed_checks <= 1 then
  service_status = "watch"
end

print("failed=" .. failed_checks .. " open=" .. open_minutes .. " status=" .. service_status)
local failed_checks = 
local open_minutes = 45
local service_status = "blocked"

if failed_checks == 0 and open_minutes >= 30 then
  service_status = "ready"
elseif failed_checks <= 1 then
  service_status = "watch"
end

print("failed=" .. failed_checks .. " open=" .. open_minutes .. " status=" .. service_status)
reliability report A reliability report can turn fixed operational inputs into a scalar status that is easy to trace and compare.