# Desktop Python teaching example. Numerical inputs are illustrative.
def claim_summary(version, attempts, arrivals, conditions):
    if attempts <= 0 or not 0 <= arrivals <= attempts:
        raise ValueError("invalid trial counts")
    return (f"{version}: {arrivals}/{attempts} arrivals under {conditions}. "
            "See raw trials for errors, stops and limitations.")

print(claim_summary("example-v1", 10, 8, "fictional surveyed-mat tests"))
