HF RL Explorer

caplog.get records and caplog.clear conflict Description

caplog.get records and caplog.clear conflict Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). caplog.get records() gets decoupled from actual caplog records when caplog.clear() is called. As a result, after caplog.clear() is called, caplog.get records() is frozen: it does not…

The task

`caplog.get_records()` gets decoupled from actual caplog records when `caplog.clear()` is called. As a result, after `caplog.clear()` is called, `caplog.get_records()` is frozen: it does not get cleared, nor does it get new records.

Part of Lego-X/Lego-RL-SWE-Bench-Verified.