Extractive oracle

Is there any official script for an extractive oracle using huggingface’s implementation of ROUGE?

An extractive oracle extracts from the source the N sentences that maximize ROUGE-2 (typically). For example, this script computes such extractive oracle. However, since they use a different implementation of ROUGE, this might not be completely in line with my other experiments (which use the HF implementation).

Thanks!