def calc_very_restricted_wage_distribution(df):
    """Compute per-period mean and std of wages for agents under two choice restrictions."""
    return (
        df.query("Policy == 'veryrestricted' and Choice == 'a' or Choice == 'b'")
        .groupby(["Period"])["Wage"]
        .describe()[["mean", "std"]]
    )