HF RL Explorer

Rotate numbered logs with lossless gzip compression

Rotate numbered logs with lossless gzip compression: a task in UXInteract 0.1 (Harbor dataset). Implement python3 rotate.py LOGDIR --keep K --compress-after C using only the Python standard library, including gzip . The starter's logs/ directory holds sample numbered logs.

The task

Implement `python3 rotate.py LOGDIR --keep K --compress-after C` using only the Python standard library, including `gzip`. The starter's `logs/` directory holds sample numbered logs.

Part of Lego-X/UXInteract.