Count incidents visible at a minimum severity and summarize high-severity work.

Incident Queue Reliability Report

incident_queue.lua
local min_severity = 
local visible = 0
local high = 0

for _, severity in ipairs({1, 2, 3, 3}) do
  if severity >= min_severity then
    visible = visible + 1
  end
  if severity >= 3 then
    high = high + 1
  end
end

print("min=" .. min_severity .. " visible=" .. visible .. " high=" .. high)
local min_severity = 
local visible = 0
local high = 0

for _, severity in ipairs({1, 2, 3, 3}) do
  if severity >= min_severity then
    visible = visible + 1
  end
  if severity >= 3 then
    high = high + 1
  end
end

print("min=" .. min_severity .. " visible=" .. visible .. " high=" .. high)
local min_severity = 
local visible = 0
local high = 0

for _, severity in ipairs({1, 2, 3, 3}) do
  if severity >= min_severity then
    visible = visible + 1
  end
  if severity >= 3 then
    high = high + 1
  end
end

print("min=" .. min_severity .. " visible=" .. visible .. " high=" .. high)
incident queue A deterministic incident queue can be filtered into visible and high-severity counts without modeling live tickets.