from pathlib import Path
from tempfile import TemporaryDirectory
from spotregen import compaction_report, compaction_summary, load_spec, make_sample_repo
with TemporaryDirectory() as tmp:
spec = load_spec(make_sample_repo(Path(tmp) / "demo"))
print(compaction_summary(compaction_report(spec)))regen compact: 0 candidates