Operational Reliability Reports
Service Window Reliability Report
Summarize failed checks and open minutes into a service-window status.
report field
Each field stays scalar so replay can show the exact input that changed the status.
escalation label
The label changes only when the service window crosses a clear operational threshold.
Service Window Reliability Report
service_window_reliability_report.cpp
Replay: real traced execution (multi-file project)
#include <iostream>
#include <string>
int main() {
int failedChecks = 1;
int openMinutes = 45;
std::string status = "ready";
if (failedChecks > 0 && openMinutes > 30) {
status = "watch";
}
if (failedChecks >= 3) {
status = "blocked";
}
std::cout << "failed=" << failedChecks << std::endl;
std::cout << "open=" << openMinutes << std::endl;
std::cout << "status=" << status << std::endl;
return 0;
}
#include <iostream>
#include <string>
int main() {
int failedChecks = 0;
int openMinutes = 45;
std::string status = "ready";
if (failedChecks > 0 && openMinutes > 30) {
status = "watch";
}
if (failedChecks >= 3) {
status = "blocked";
}
std::cout << "failed=" << failedChecks << std::endl;
std::cout << "open=" << openMinutes << std::endl;
std::cout << "status=" << status << std::endl;
return 0;
}
#include <iostream>
#include <string>
int main() {
int failedChecks = 3;
int openMinutes = 45;
std::string status = "ready";
if (failedChecks > 0 && openMinutes > 30) {
status = "watch";
}
if (failedChecks >= 3) {
status = "blocked";
}
std::cout << "failed=" << failedChecks << std::endl;
std::cout << "open=" << openMinutes << std::endl;
std::cout << "status=" << status << std::endl;
return 0;
}
failedChecks ← 1, openMinutes ← 45, status ← ready
4int main() {5 int failedChecks→ 1 = 1; //@failedChecks=0, 36 int openMinutes→ 45 = 45;7 std::string status→ ready = "ready";status ← watch
9if (failedChecks1 > 0 && openMinutes45 > 30) {10 status→ watch = "watch";11}std::cout << "failed=" << failedChecks << std::endl;
17 std::cout << "failed=" << failedChecks1 << std::endl;18 std::cout << "open=" << openMinutes45 << std::endl;19 std::cout << "status=" << statuswatch << std::endl;20 return 0;21}outputfailed=1 open=45 status=watch
failedChecks ← 0, openMinutes ← 45, status ← ready
4int main() {5 int failedChecks→ 0 = 0;6 int openMinutes→ 45 = 45;7 std::string status→ ready = "ready";89 if (failedChecks > 0 && openMinutes > 30) {10 status = "watch";11 }1213 if (failedChecks >= 3) {14 status = "blocked";15 }1617 std::cout << "failed=" << failedChecks0 << std::endl;18 std::cout << "open=" << openMinutes45 << std::endl;19 std::cout << "status=" << statusready << std::endl;20 return 0;21}outputfailed=0 open=45 status=ready
failedChecks ← 3, openMinutes ← 45, status ← ready
4int main() {5 int failedChecks→ 3 = 3;6 int openMinutes→ 45 = 45;7 std::string status→ ready = "ready";status ← watch
9if (failedChecks3 > 0 && openMinutes45 > 30) {10 status→ watch = "watch";11}status ← blocked
13if (failedChecks3 >= 3) {14 status→ blocked = "blocked";15}std::cout << "failed=" << failedChecks << std::endl;
17 std::cout << "failed=" << failedChecks3 << std::endl;18 std::cout << "open=" << openMinutes45 << std::endl;19 std::cout << "status=" << statusblocked << std::endl;20 return 0;21}outputfailed=3 open=45 status=blocked