Port scripts/infer_payments.py parse_czk_amount to Go as
internal/domain/money.ParseCZK. Preserves the Czech-locale heuristic
(comma = decimal sep; 2+ dots = thousand seps; single dot = decimal)
and returns (float64, error) so callers can opt into Python's
silent-zero contract via v, _ := money.ParseCZK(s).
All expected values verified against live Python on 2026-05-06.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
go/internal/domain/moneypackage withParseCZK(string) (float64, error)ported fromscripts/infer_payments.pyparse_czk_amount."1.500"→1.5).(0, ErrInvalidAmount)on parse failure; callers wanting Python's silent-zero contract usev, _ := ParseCZK(s).Test plan
cd go && go test ./internal/domain/money/...greenmake go-lintcleanmake go-buildsucceeds🤖 Generated with Claude Code