def METHOD_NAME(self) -> PercentageInt:
    # guess progress based on self.state
    if self.state in [RunningState.SUCCESS, RunningState.FAILED]:
        return PercentageInt(100)
    return PercentageInt(0)