HF RL Explorer

inventory valuation: implement stub

inventory valuation: implement stub: a task in smol-software-harbor (Harbor dataset). Implement FifoStock.issue(qty) in stock/fifo.py : take units from the oldest lots first and return the cost of the issued units in cents. Issuing zero, a negative quantity or more than is on hand raises…

The task

Implement `FifoStock.issue(qty)` in `stock/fifo.py`: take units from the oldest lots first and return the cost of the issued units in cents. Issuing zero, a negative quantity or more than is on hand raises `ValueError` and leaves the stock unchanged. Run `python3 -m pytest -q`.

Part of efederici/smol-software-harbor.