def ending_round(self, index: int, state: State) -> None:
        """Called before each round of resolution ends.

        This is NOT called if the resolution ends at this round. Use `ending`
        if you want to report finalization. The index is zero-based.
        """
        resolved = len(state.mapping)
        to_resolve = len(state.criteria) - resolved
        self.update(info=f"[info]{resolved}[/] resolved, [info]{to_resolve}[/] to resolve")
Called before each round of resolution ends.

        This is NOT called if the resolution ends at this round. Use `ending`
        if you want to report finalization. The index is zero-based.
        
src/pdm/resolver/reporters.py