Operational Reliability Reports
Service Window Reliability Report
Summarize whether a service window is ready, watched, or blocked.
reliability report
A reliability report can turn fixed operational inputs into a scalar status that is easy to trace and compare.
Service Window Reliability Report
service_window.lua
Replay: real traced execution (multi-file project)
local failed_checks = 1
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 = 0
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 = 3
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)
failed_checks ← 1, open_minutes ← 45, service_status ← blocked
1local failed_checks→ 1 = 1 --@failed_checks=0, 32local open_minutes→ 45 = 453local service_status→ blocked = "blocked"service_status ← watch
6 service_status = "ready"7elseif failed_checks1 <= 1 then8 service_status→ watch = "watch"9endprint("failed=" .. failed_checks .. " open=" .. open_minutes .. " stat…
11print("failed=" .. failed_checks1 .. " open=" .. open_minutes45 .. " status=" .. service_statuswatch)outputfailed=1 open=45 status=watch
failed_checks ← 0, open_minutes ← 45, service_status ← blocked
1local failed_checks→ 0 = 02local open_minutes→ 45 = 453local service_status→ blocked = "blocked"service_status ← ready
5if failed_checks0 == 0 and open_minutes45 >= 30 then6 service_status→ ready = "ready"7elseif failed_checks <= 1 thenprint("failed=" .. failed_checks .. " open=" .. open_minutes .. " stat…
11print("failed=" .. failed_checks0 .. " open=" .. open_minutes45 .. " status=" .. service_statusready)outputfailed=0 open=45 status=ready
failed_checks ← 3, open_minutes ← 45, service_status ← blocked
1local failed_checks→ 3 = 32local open_minutes→ 45 = 453local service_status→ blocked = "blocked"45if failed_checks == 0 and open_minutes >= 30 then6 service_status = "ready"7elseif failed_checks <= 1 then8 service_status = "watch"9end1011print("failed=" .. failed_checks3 .. " open=" .. open_minutes45 .. " status=" .. service_statusblocked)outputfailed=3 open=45 status=blocked