HF RL Explorer

Implement a simple Write-Ahead Log (WAL) key-value store as a single Python 3 script /app/kv store.py that…

Implement a simple Write-Ahead Log (WAL) key-value store as a single Python 3 script /app/kv store.py that…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). The WAL must be stored at /app/data/kv.wal . The store must…

The task

The WAL must be stored at `/app/data/kv.wal`. The store must recover its state from the WAL on every invocation (crash recovery). The WAL format is newline-delimited JSON objects. Each line is a JSON object with exactly three fields: `"op"` (one of `"set"` or `"del"`), `"key"` (string), and for `"set"` operations,…

Part of ai-and/termgrade-bandcentral-gemma4-31b-bash.