CHAP
Designed to be used by researchers and public health professionals to forecast and assess the impact of climate on health outcomes.
https://github.com/dhis2-chap/chap-core
Keywords from Contributors
bioinformatics
Last synced: 3 days ago
JSON representation
Acceptance Criteria
- Revelant topics? false
- External users? true
- Open source license? true
- Active? true
- Fork? false
Repository metadata
The backend engine for the Chap Modeling Platform
- Host: GitHub
- URL: https://github.com/dhis2-chap/chap-core
- Owner: dhis2-chap
- License: agpl-3.0
- Created: 2024-01-23T12:36:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2026-08-10T17:58:56.000Z (5 days ago)
- Last Synced: 2026-08-11T00:27:22.597Z (4 days ago)
- Language: Python
- Homepage: https://chap.dhis2.org
- Size: 89.2 MB
- Stars: 20
- Watchers: 7
- Forks: 27
- Open Issues: 24
- Releases: 44
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Claude: CLAUDE.md
README.md
Welcome to the Chap modelling platform!
This is the main repository for the Chap modelling platform.
Read more about the Chap project here
Code documentation
The main documentation for the modelling platform is located at https://chap.dhis2.org/chap-modeling-platform/.
Development / contribution
Information about how to contribute to the Chap Modelling Platform: https://chap.dhis2.org/chap-modeling-platform/contributor/.
Issues/Bugs
If you find any bugs or issues when using this code base, we appreciate it if you file a bug report here: https://github.com/dhis2-chap/chap-core/issues/new
Launch development instance using Docker
cp .env.example .env
docker compose up
Rebuilding after a source change
docker compose up will reuse an existing chap-core-chap image if one is
already built — it does not automatically rebuild when you edit source. If
you see a stale chap_core.__version__ or a fix that clearly didn't land
inside the running container, use one of:
make restart # down && up -d --build (preserves volumes incl. chap-db)
make force-restart # down -v && build --no-cache && up (WIPES VOLUMES)
make chap-version # print the chap_core version running inside the container
make restart is the right hammer 90% of the time. make force-restart
also wipes the Postgres volume, so reach for it only when you need a clean
slate. make chap-version is also printed automatically at the end of
make restart so version drift is visible at a glance.
Running with chapkit model overlays
Chapkit-based models ship as opt-in compose overlays. Layer one onto
compose.yml (not compose.ghcr.yml — those two are alternatives, not
stackable) to run chap-core with the chapkit services already
self-registered.
The recommended overlay is compose.chapkit.yml, an umbrella file that
includes every chapkit-converted model. As more models are converted to
chapkit, they get added here so a single -f flag pulls them all in:
docker compose -f compose.yml -f compose.chapkit.yml up -d
If you only want the EWARS service, use the single-model overlay
compose.ewars.yml instead:
docker compose -f compose.yml -f compose.ewars.yml up -d
Deploy on Kubernetes
CHAP can be deployed on Kubernetes using our helm chart which can be found here.
Owner metadata
- Name: dhis2-chap
- Login: dhis2-chap
- Email:
- Kind: organization
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/184943667?v=4
- Repositories: 1
- Last ynced at: 2024-10-14T16:30:49.619Z
- Profile URL: https://github.com/dhis2-chap
GitHub Events
Total
- Release event: 11
- Delete event: 108
- Member event: 6
- Pull request event: 147
- Fork event: 8
- Issues event: 50
- Watch event: 8
- Issue comment event: 30
- Push event: 1763
- Pull request review event: 29
- Pull request review comment event: 27
- Gollum event: 24
- Create event: 184
Last Year
- Release event: 5
- Delete event: 99
- Member event: 1
- Pull request event: 100
- Fork event: 5
- Issues event: 16
- Watch event: 2
- Issue comment event: 13
- Push event: 842
- Pull request review event: 8
- Pull request review comment event: 6
- Gollum event: 1
- Create event: 141
Committers metadata
Last synced: 5 days ago
Total Commits: 2,489
Total Committers: 40
Avg Commits per committer: 62.225
Development Distribution Score (DDS): 0.622
Commits in past year: 1,033
Committers in past year: 29
Avg Commits per committer in past year: 35.621
Development Distribution Score (DDS) in past year: 0.694
| Name | Commits | |
|---|---|---|
| Knut Rand | k****d@g****m | 940 |
| Ivar Grytten | i****n@g****m | 579 |
| Morten Olav Hansen | m****n@w****m | 376 |
| Herman Tretteteig | h****t@u****o | 149 |
| Karim Bahgat | k****a@u****o | 55 |
| geirksa | g****a@i****o | 42 |
| Sveinung Gundersen | s****u@g****m | 38 |
| BumpVersion Action | b****n@g****s | 37 |
| Andreas Jensen | a****s@d****g | 37 |
| dependabot[bot] | 4****] | 33 |
| kanduric | c****o@g****m | 23 |
| eirikhaugstulen | e****n@g****m | 22 |
| mmamica | m****m@u****o | 20 |
| Lilu Zhan | l****z@L****l | 19 |
| ghadialhajj | g****8@g****m | 12 |
| Jeanne Cheneby | j****h@u****o | 12 |
| Herman Tretteteig | h****t@e****o | 12 |
| Markus B Slyngstad | 1****s | 11 |
| audunlas | 6****s | 11 |
| Halvard Emil Sand-Larsen | h****5@o****m | 8 |
| Charlotte-Wurtzen | c****n@g****m | 8 |
| Boris Simovski | b****i@g****m | 8 |
| Andre gregussen | a****n@g****m | 6 |
| Jen Jones Arnesen | j****r@d****g | 5 |
| Katalin Ferenc | 3****a | 4 |
| dgold | d****r@g****m | 3 |
| Abyot Asalefew Gizaw | a****a@g****m | 3 |
| Lilu Zhan | l****8@g****m | 2 |
| Lilu Zhan | l****z@e****o | 2 |
| Lilu Zhan | l****z@e****o | 2 |
| and 10 more... | ||
Committer domains:
- uio.no: 4
- dhis2.org: 2
- eduroam-193-157-207-219.wlan.uio.no: 1
- eduroam-193-157-192-144.wlan.uio.no: 1
- eduroam-193-157-168-167.wlan.uio.no: 1
- eduroam-193-157-241-132.wlan.uio.no: 1
- medisin.uio.no: 1
- eduroam-193-157-198-231.wlan.uio.no: 1
- eduroam-193-157-168-2.wlan.uio.no: 1
- eduroam-193-157-205-67.wlan.uio.no: 1
- ifi.uio.no: 1
- winterop.com: 1
Issue and Pull Request metadata
Last synced: 5 days ago
Total issues: 46
Total pull requests: 218
Average time to close issues: 4 months
Average time to close pull requests: 8 days
Total issue authors: 12
Total pull request authors: 23
Average comments per issue: 0.33
Average comments per pull request: 0.4
Merged pull request: 122
Bot issues: 0
Bot pull requests: 37
Past year issues: 15
Past year pull requests: 162
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 6 days
Past year issue authors: 5
Past year pull request authors: 19
Past year average comments per issue: 0.6
Past year average comments per pull request: 0.43
Past year merged pull request: 78
Past year bot issues: 0
Past year bot pull requests: 33
Top Issue Authors
- ivargr (11)
- knutdrand (10)
- sandve (5)
- karimbahgat (5)
- eirikhaugstulen (5)
- hermantretteteig (3)
- turban (2)
- NelioChume (1)
- abyot (1)
- mortenoh (1)
- Nsarob (1)
- iambodo (1)
Top Pull Request Authors
- mortenoh (61)
- dependabot[bot] (37)
- knutdrand (36)
- ivargr (22)
- eirikhaugstulen (16)
- zlilu (6)
- bsmarkus (6)
- borissim (6)
- karimbahgat (4)
- abyot (4)
- tonsV2 (3)
- behdadnikkhah25 (3)
- KanduriC (2)
- ferenckata (2)
- hermantretteteig (2)
Top Issue Labels
- enhancement (3)
- modeling-app (1)
- good first issue (1)
Top Pull Request Labels
- dependencies (37)
- python:uv (30)
- github_actions (3)
Dependencies
- MASS * imports
- dplyr >= 1.0.0 imports
- glue >= 1.4.1 imports
- lubridate >= 1.7.9 imports
- magrittr >= 1.5 imports
- methods * imports
- mgcv >= 1.8 imports
- parallel >= 4.0.0 imports
- pracma >= 2.2.9 imports
- readr >= 1.3.1 imports
- rlang >= 0.4.6 imports
- splines >= 4.0.0 imports
- surveillance >= 1.18.0 imports
- tibble >= 3.0.1 imports
- tidyr >= 1.1.0 imports
- zoo >= 1.8 imports
- clusterapply * suggests
- knitr * suggests
- rmarkdown * suggests
- ghcr.io/astral-sh/uv 0.11-python3.13-trixie-slim build
- ivargr/r_inla latest build
- actions/checkout v3 composite
- actions/setup-python v3 composite
- ad-m/github-push-action master composite
- snakemake/snakemake-github-action v1 composite
- actions/checkout v7 composite
- astral-sh/setup-uv v9.0.0 composite
- ivargr/r_inla latest build
- actions/attest-build-provenance v2 composite
- actions/checkout v4 composite
- docker/build-push-action f2a1d5e99d037542a71f64918e516c093c6f3fc4 composite
- docker/login-action 65b78e6e13532edd9afa3aa52ac7964289d1a9c1 composite
- docker/metadata-action 9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 composite
- actions/attest-build-provenance v4 composite
- actions/checkout v7 composite
- docker/build-push-action v7 composite
- docker/login-action v4 composite
- docker/setup-buildx-action v4 composite
- actions/checkout v7 composite
- astral-sh/setup-uv v9.0.0 composite
- peaceiris/actions-gh-pages v4 composite
- actions/checkout v7 composite
- astral-sh/setup-uv v9.0.0 composite
- pypa/gh-action-pypi-publish release/v1 composite
- actions/checkout v3 composite
- actions/setup-python v3 composite
- conda-incubator/setup-miniconda v3 composite
- actions/checkout v7 composite
- astral-sh/setup-uv v9.0.0 composite
- actions/checkout v7 composite
- astral-sh/setup-uv v9.0.0 composite
- dplyr * imports
- tidyr * imports
- ggplot2 * suggests
- testthat * suggests
- actions/checkout v7 composite
- astral-sh/setup-uv v9.0.0 composite
- gabrielfalcao/pyenv-action v18 composite
- valkey/valkey 8 docker
- actions/checkout v7 composite
- azure/setup-helm v5 composite
- helm/chart-releaser-action v1.7.0 composite
- peter-evans/repository-dispatch v4 composite
- rstudio/r-base 4.4-jammy build
Score: 7.473069088032197