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

OCHA-DAP / hapi-pipelines / 10066386155
93%

Build:
DEFAULT BRANCH: main
Ran 23 Jul 2024 09:17PM UTC
Jobs 1
Files 30
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

23 Jul 2024 06:34AM UTC coverage: 93.15% (+0.09%) from 93.058%
10066386155

push

github

web-flow
HDXDSYS-898 Refactor org code (#134)

* Add uncleaned names as keys to lookups
Remove intersectoral check
dict() to {}
Move branches that have continue higher up in loops in operational presence

* Some rearrangement of operational presence and comments to help me understand the org processing

* Small reorg of org type if code

* store normalised keys as well as non normalised

* Use already normalised key

* Simplify org lookup code and operational presence

* Add to lookup to reduce need to keep normalising

* Pass around normalise variables

* Remove org lookup only used in test

* Remove unnecessary variable

* Update CHANGELOG

* Can just return value here

* Combine ifs

* Use named tuples for clarity

* Rename value to org_info

* Use org_data in populate_multiple

* Use OrgData in tests

* Make OrgInfo into a data class
Add used and complete bools to OrgInfo
Correct OrgInfo objects in org_map with corrections from looking up in data member variable

* Make separate function

* Add debug option to command line
Add org_map debug

116 of 134 new or added lines in 7 files covered. (86.57%)

3 existing lines in 2 files now uncovered.

1387 of 1489 relevant lines covered (93.15%)

0.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
39.71
-1.83% src/hapi/pipelines/app/__main__.py
5
94.17
-1.06% src/hapi/pipelines/database/org.py
10
82.57
1.77% src/hapi/pipelines/database/operational_presence.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.17
-1.06% src/hapi/pipelines/database/org.py
2
39.71
-1.83% src/hapi/pipelines/app/__main__.py
Jobs
ID Job ID Ran Files Coverage
1 tests - 10066386155.1 23 Jul 2024 09:17PM UTC 30
93.15
GitHub Action Run
Source Files on build 10066386155
  • Tree
  • List 30
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #10066386155
  • cfb7b80d on github
  • Prev Build on main (#10048379244)
  • Next Build on main (#10079522940)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc