Files
finance-duck/internal
Lars Nolden a1480af74d Let manual corrections outrank the model's own precedent
History rows now carry a source label: manual edits and merchant rules
are the user's decisions, ranked ahead of equally similar rows the
model classified itself and guaranteed slots in a full history window.
Without the distinction, precedent fed the model its own uncorrected
answers as majority evidence, so a correction never won against the
rows it was meant to fix. Both system prompts state that user entries
outrank ai entries. Alias write-back on manual merchant links and the
per-merchant usual category already learned locally; this closes the
loop for categories and tags.
2026-09-13 14:18:40 +02:00
..
2026-09-13 13:52:30 +02:00
2026-09-13 13:52:30 +02:00