HF RL Explorer

Build a write-ahead log (WAL) key-value store in a single Python script /app/wal kv.py . The store must…

Build a write-ahead log (WAL) key-value store in a single Python script /app/wal kv.py . The store must…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Interface: Command-line usage: - python /app/wal kv.py put <key <value — store a key-value pair - python…

The task

**Interface:** Command-line usage: - `python /app/wal_kv.py put <key> <value>` — store a key-value pair - `python /app/wal_kv.py get <key>` — print the value to stdout, or nothing if not found - `python /app/wal_kv.py delete <key>` — remove a key - `python /app/wal_kv.py list` — print all keys in the store, one per…

Part of ai-and/termgrade-environments.