• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OCHA-DAP / hdx-python-country / 36510908891
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: parent_keyed_mappings
DEFAULT BRANCH: main
Ran 29 Sep 2026 02:06AM UTC
Jobs 1
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Sep 2026 02:04AM UTC coverage: 95.769% (-0.04%) from 95.807%
36510908891

Pull #92

github

mcarans
Make RapidFuzzMatcher the default AdminLevel matcher

AdminLevel fuzzy matches with HDX Python Utilities' RapidFuzzMatcher and
its place_name_scorer by default, and takes a matcher parameter so
Phonetics can still be used.

Before fuzzy matching, names made of parts are resolved with
resolve_name_parts: a part that is the parent's name is dropped (eg.
"Falcón, Acosta" with parent Falcón gives Acosta), and lists of names
(eg. "Kampot & Kep") are not fuzzy matched. Parent names are read from
the parent-level rows passed to setup_from_iterable.

Fuzzy matching is now tried when parent is "" as well as None, as
get_pcode already treated "" as no parent.

test_adminlevel_parent's "city" names are replaced with names garbled
with "qx", so the tests check replacement scoping rather than relying on
Phonetics failing to match "Kenge city" to "Kenge".

Requires HDX Python Utilities >= 4.2.0.
Pull Request #92: Make RapidFuzzMatcher the default AdminLevel matcher

14 of 16 new or added lines in 1 file covered. (87.5%)

1245 of 1300 relevant lines covered (95.77%)

0.96 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.69
-0.41% src/hdx/location/adminlevel.py
Jobs
ID Job ID Ran Files Coverage
1 tests - 36510908891.1 29 Sep 2026 02:06AM UTC 6
95.77
GitHub Action Run
Source Files on build 36510908891
  • Tree
  • List 6
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36510908891
  • Pull Request #92
  • PR Base - main (#31027017137)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc