#!/usr/bin/env python3
# SPDX-License-Identifier: Apache-2.0
"""SubjectNest Year 7: offline, fictional, intentionally buggy learner starter.

Run with Python 3 in a school-approved local environment. No network, imports,
accounts or personal data. Change the nested branch; then rerun all cases.
"""

def choose_route(access_route_available: bool, quiet_requested: bool) -> str:
    if access_route_available:
        if quiet_requested:
            return "STANDARD"  # One branch is intentionally wrong. Debug it.
        return "STANDARD"
    return "ASK_STAFF"


def run_checks() -> None:
    cases = (
        (True, True, "QUIET"),
        (True, False, "STANDARD"),
        (False, True, "ASK_STAFF"),
    )
    for access, quiet, expected in cases:
        actual = choose_route(access, quiet)
        print(f"access={access}, quiet={quiet}: expected={expected}, actual={actual}, match={actual == expected}")


if __name__ == "__main__":
    run_checks()
