HF RL Explorer

Implement a persistent key-value store with Write-Ahead Logging (WAL) recovery. The store must survive…

Implement a persistent key-value store with Write-Ahead Logging (WAL) recovery. The store must survive…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Goal : Create a command-line tool /app/kvstore that supports these operations: - set <key <value — store a…

The task

**Goal**: Create a command-line tool `/app/kvstore` that supports these operations: - `set <key> <value>` — store a key-value pair - `get <key>` — retrieve a value (print value to stdout, or nothing if not found) - `del <key>` — delete a key - `compact` — merge the WAL into the main data file, removing…

Part of ai-and/termgrade-environments.