def METHOD_NAME(
    organization: str,
    role: Optional[str],
    start_dates: Iterable[Optional[str]],
    end_dates: Iterable[Optional[str]],
    dates: Iterable[Optional[str]],
) -> str:
    """Make a string summary for a Post object."""
    position = organization
    start = min(dates_years(start_dates), default="")
    end = min(dates_years(end_dates), default="")
    date_range = None
    if len(start) or len(end):
        date_range = f"{start}-{end}"
    dates_ = dates_years(dates)
    if date_range is None and len(dates_):
        date_range = ", ".join(sorted(dates_))
    bracketed = None
    if date_range and role:
        bracketed = f"{role}, {date_range}"
    else:
        bracketed = role or date_range
    if bracketed:
        position = f"{position} ({bracketed})"
    return position