HF RL Explorer

Goal: Implement a Write-Ahead Log (WAL) key-value store that persists data to disk and can recover from…

Goal: Implement a Write-Ahead Log (WAL) key-value store that persists data to disk and can recover from…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Commands: - python /app/kv store.py set <key <value — Set a key to a value. Both key and value are UTF-8…

The task

**Commands:** - `python /app/kv_store.py set <key> <value>` — Set a key to a value. Both key and value are UTF-8 strings. This must be durable: after the command returns successfully, a subsequent crash+recovery must retain the value. - `python /app/kv_store.py get <key>` — Print the value to stdout (just the value,…

Part of ai-and/termgrade-environments.