HF RL Explorer

Caching fix

Caching fix: a task in lifesci-drug-discovery-swe-envs-nocap (Harbor dataset). MongoDb's caching of put() was not working, because insert one() modified the HashableDict which was placed in the lru cache . This resulted in the HashableDict in the lru cache being different to the a clean…

The task

MongoDb's caching of `_put()` was not working, because `insert_one()` modified the `HashableDict` which was placed in the `lru_cache`. This resulted in the `HashableDict` in the `lru_cache` being different to the a clean `HashableDict` passed to `_put()`.

Part of scalingX/lifesci-drug-discovery-swe-envs-nocap.