def describe_stats(state_dict):
    """Describe and render a dictionary. Usually, this function is called on a ``Solver`` state dictionary,
    and merged with a progress bar.

    Args:
        state_dict (dict): the dictionary to showcase

    Returns:
        string: the dictionary to render.
    """
    stats_display = ""
    for idx, (key, value) in enumerate(state_dict.items()):
        if type(value) == float:
            if idx > 0:
                stats_display += " | "
            stats_display += f"{str(key).capitalize()[:4]}.: {value:.4f}"

    return stats_display