Record the one-currency-per-leg decision

This commit is contained in:
ai-bot committed 2026-11-14 16:11:39 +00:00
1 parent 3e942c16dd
commit 1779fc470b
1 file changed
+1
+1
View File
@@ -32,6 +32,7 @@ finished step, with the commit message it used where the spec left a choice.
- 14 `app.py` — `/api/report` and `/api/report/export.csv`. - 14 `app.py` — `/api/report` and `/api/report/export.csv`.
- 15 `tests/test_ledger.py` — the 8 cases of spec §5, plus `tests/__init__.py` so `unittest discover` finds the package. - 15 `tests/test_ledger.py` — the 8 cases of spec §5, plus `tests/__init__.py` so `unittest discover` finds the package.
- 16 `tests/test_tax.py` — the 8 cases of spec §6. - 16 `tests/test_tax.py` — the 8 cases of spec §6.
- decision: a leg carries one currency only (the CHECK of §4), so a buy keeps the NOK paid on `leg_out_ore`. §5.1 says `leg_in_ore`, which that CHECK forbids; `ledger.create_lots_for()` accepts either, and the form maps the given side to `leg_out_ore`.
- next: run `python3 -m unittest discover -s tests -v`, then Phase B (`static/`). - next: run `python3 -m unittest discover -s tests -v`, then Phase B (`static/`).
## Not in this plan ## Not in this plan