Problem
Classification(..., refund_amount=-5.0) validates fine: the field has no ge=0 constraint.
Where
relayg/state.py (refund_amount: float | None, unconstrained).
Acceptance
Add a failing test first constructing with refund_amount=-5.0, expecting ValidationError. Then fix.
Problem
Classification(..., refund_amount=-5.0)validates fine: the field has noge=0constraint.Where
relayg/state.py(refund_amount: float | None, unconstrained).Acceptance
Add a failing test first constructing with
refund_amount=-5.0, expectingValidationError. Then fix.