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