HF RL Explorer

event-sourced bank accounts: implement stub

event-sourced bank accounts: implement stub: a task in smol-software-harbor (Harbor dataset). Implement apply(state, event) in ledger/events.py as its docstring specifies (return a new state, never modify the given one). replay builds account states with it. Run python3 -m pytest -q .

The task

Implement `apply(state, event)` in `ledger/events.py` as its docstring specifies (return a new state, never modify the given one). `replay` builds account states with it. Run `python3 -m pytest -q`.

Part of efederici/smol-software-harbor.