HF RL Explorer

Implement a durable append-only key-value store backed by a Write-Ahead Log (WAL). You must create a script…

Implement a durable append-only key-value store backed by a Write-Ahead Log (WAL). You must create a script…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). The store uses a single WAL file /data/wal.log and a single snapshot file /data/snapshot.json . The…

The task

The store uses a single WAL file `/data/wal.log` and a single snapshot file `/data/snapshot.json`. The snapshot stores the latest committed state as a JSON object mapping string keys to string values. The WAL stores committed operations that are not yet in the snapshot.

Part of ai-and/termgrade-environments.