Implement a persistent write-ahead-log (WAL) backed key-value store as a single Python script /app/kv…
Implement a persistent write-ahead-log (WAL) backed key-value store as a single Python script /app/kv…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). The script must support these CLI commands: - python /app/kv store.py set <key <value — stores a key-value pair…
The task
The script must support these CLI commands: - `python /app/kv_store.py set <key> <value>` — stores a key-value pair. - `python /app/kv_store.py get <key>` — prints the value for the key, or nothing (no output, not even a newline) if the key does not exist. - `python /app/kv_store.py delete <key>` — removes the key. -…
Part of ai-and/termgrade-environments.