HF RL Explorer

Implement a function track progress in task module.py that uses click 's progressbar context manager to…

Implement a function track progress in task module.py that uses click 's progressbar context manager to…: a task in repo2rlenv-code-instruct (Harbor dataset). track progress(items, processor) should: 1. Accept an iterable items and a callable processor . 2. Use click.progressbar (writing to an…

The task

`track_progress(items, processor)` should: 1. Accept an iterable `items` and a callable `processor`. 2. Use `click.progressbar` (writing to an `io.StringIO` buffer so tests stay silent) to iterate over the items. 3. Apply `processor` to each item, collecting results into a list. 4. Return a dict with two keys: -…

Part of FineEnvs/repo2rlenv-code-instruct.