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

OCHA-DAP / hdx-python-country / 36511125005
96%

Build:
DEFAULT BRANCH: main
Ran 29 Sep 2026 02:09AM 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:07AM UTC coverage: 95.692% (-0.1%) from 95.807%
36511125005

push

github

web-flow
Make RapidFuzzMatcher the default AdminLevel matcher (#92)

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.

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

1244 of 1300 relevant lines covered (95.69%)

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 - 36511125005.1 29 Sep 2026 02:09AM UTC 6
95.69
GitHub Action Run
Source Files on build 36511125005
  • Tree
  • List 6
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36511125005
  • 3340935e on github
  • Prev Build on main (#31027017137)
  • Next Build on main (#36514010422)
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