HF RL Explorer

backup retention policy: implement stub

backup retention policy: implement stub: a task in smol-software-harbor (Harbor dataset). keep() in retention.py is a stub. Implement the grandfather-father-son policy its docstring describes: keep the newest daily distinct dates; additionally, walking from the newest date, keep the newest backup…

The task

`keep()` in `retention.py` is a stub. Implement the grandfather-father-son policy its docstring describes: keep the newest `daily` distinct dates; additionally, walking from the newest date, keep the newest backup of each ISO week until `weekly` weeks have been seen, and the newest backup of each calendar month until…

Part of efederici/smol-software-harbor.