Commit dd1903d
github-actions
feat: Add loc property to RyanDataAddressError and enhance cleaning metrics tracking
- Add loc property to RyanDataAddressError for ValidationRunner field extraction
- Add OperationType constants (normalization, formatting, expansion, cleaning, parsing)
- Add STREET_TYPE_TO_ABBREV, DIRECTION_TO_ABBREV, UNIT_TYPE_TO_ABBREV mappings
- Add new tracking methods: track_case_normalization, track_street_type_changes,
track_direction_changes, track_unit_type_changes, track_punctuation_removal,
track_component_parsing
- Export OperationType from ryandata_address_utils package
- Add 16 new tests for enhanced tracking functionality
Fixes validation report showing 'unknown' field name for ZIP/state errors
Provides detailed cleaning metrics for address transformation tracking1 parent 1c21e57 commit dd1903d
7 files changed
Lines changed: 723 additions & 13 deletions
File tree
- src/ryandata_address_utils
- core
- models
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
| 142 | + | |
| 143 | + | |
140 | 144 | | |
141 | 145 | | |
142 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
| |||
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
83 | 93 | | |
84 | 94 | | |
85 | 95 | | |
| |||
0 commit comments