Operational reports turn a few observed numbers into a compact readiness line. This program gates a service window with fixed failure and duration thresholds.

Program

Play the program to choose the failed check count and watch the readiness report update.

service_window_report.rs
fn main() {
    let failed_checks = ;
    let allowed_failures = 1;
    let open_minutes = 45;
    let status = if failed_checks <= allowed_failures && open_minutes >= 30 {
        "ready"
    } else {
        "blocked"
    };
    let line = format!("{failed_checks} {open_minutes} {status}");
    println!("{line}");
}
fn main() {
    let failed_checks = ;
    let allowed_failures = 1;
    let open_minutes = 45;
    let status = if failed_checks <= allowed_failures && open_minutes >= 30 {
        "ready"
    } else {
        "blocked"
    };
    let line = format!("{failed_checks} {open_minutes} {status}");
    println!("{line}");
}
fn main() {
    let failed_checks = ;
    let allowed_failures = 1;
    let open_minutes = 45;
    let status = if failed_checks <= allowed_failures && open_minutes >= 30 {
        "ready"
    } else {
        "blocked"
    };
    let line = format!("{failed_checks} {open_minutes} {status}");
    println!("{line}");
}
threshold gate The report compares observed failures with an allowed failure budget.
fixed window `open_minutes` is a deterministic fixture, not a live clock measurement.
report line The final string keeps the inputs and decision together for replay.