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

Category: Climate Change
Sub Category: Climate Data Processing and Analysis

Keywords from Contributors

bioinformatics

Last synced: about 14 hours ago
JSON representation

Repository metadata

The backend engine for the Chap Modeling Platform

README.md

Welcome to the Chap modelling platform!

CI
PyPI version
Python 3.13+
License: AGPL v3
Documentation

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


GitHub Events

Total
Last Year

Committers metadata

Last synced: 2 days ago

Total Commits: 2,384
Total Committers: 39
Avg Commits per committer: 61.128
Development Distribution Score (DDS): 0.613

Commits in past year: 1,120
Committers in past year: 30
Avg Commits per committer in past year: 37.333
Development Distribution Score (DDS) in past year: 0.708

Name Email Commits
Knut Rand k****d@g****m 923
Ivar Grytten i****n@g****m 573
Morten Olav Hansen m****n@w****m 322
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
kanduric c****o@g****m 23
mmamica m****m@u****o 20
Lilu Zhan l****z@L****l 19
eirikhaugstulen e****n@g****m 19
dependabot[bot] 4****] 16
ghadialhajj g****8@g****m 12
Jeanne Cheneby j****h@u****o 12
Herman Tretteteig h****t@e****o 12
audunlas 6****s 11
Markus B Slyngstad 1****s 10
Halvard Emil Sand-Larsen h****5@o****m 8
Charlotte-Wurtzen c****n@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
Boris Simovski b****i@g****m 3
Abyot Asalefew Gizaw a****a@g****m 3
Lilu Zhan l****z@e****o 2
Lilu Zhan l****z@e****o 2
Karim Bahgat k****y@g****m 1
and 9 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 5 days ago

Total issues: 44
Total pull requests: 138
Average time to close issues: 4 months
Average time to close pull requests: 9 days
Total issue authors: 10
Total pull request authors: 21
Average comments per issue: 0.27
Average comments per pull request: 0.33
Merged pull request: 91
Bot issues: 0
Bot pull requests: 9

Past year issues: 31
Past year pull requests: 105
Past year average time to close issues: 2 months
Past year average time to close pull requests: 8 days
Past year issue authors: 8
Past year pull request authors: 18
Past year average comments per issue: 0.26
Past year average comments per pull request: 0.42
Past year merged pull request: 63
Past year bot issues: 0
Past year bot pull requests: 5

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/dhis2-chap/chap-core

Top Issue Authors

  • ivargr (11)
  • knutdrand (10)
  • sandve (5)
  • karimbahgat (5)
  • eirikhaugstulen (5)
  • hermantretteteig (3)
  • turban (2)
  • abyot (1)
  • mortenoh (1)
  • iambodo (1)

Top Pull Request Authors

  • mortenoh (36)
  • knutdrand (27)
  • ivargr (16)
  • eirikhaugstulen (15)
  • dependabot[bot] (9)
  • zlilu (5)
  • bsmarkus (5)
  • karimbahgat (4)
  • abyot (4)
  • tonsV2 (2)
  • ferenckata (2)
  • borissim (2)
  • KanduriC (2)
  • hermantretteteig (2)
  • AndreGregu (1)

Top Issue Labels

  • enhancement (3)
  • modeling-app (1)
  • good first issue (1)

Top Pull Request Labels

  • dependencies (9)
  • python:uv (5)

Dependencies

.github/workflows/build_sphinx_website.yml.disabled actions
  • actions/checkout v2 composite
  • ad-m/github-push-action master composite
.github/workflows/bumpversion.yml.disabled actions
  • actions/checkout v2 composite
  • ad-m/github-push-action master composite
  • jasonamyers/github-bumpversion-action v1.0.5 composite
.github/workflows/manuscript.yml.disabled actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • ad-m/github-push-action master composite
  • snakemake/snakemake-github-action v1 composite
.github/workflows/push-to-pypi.yml.disabled actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • pypa/gh-action-pypi-publish release/v1 composite
.github/workflows/python-install-and-test.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
requirements_dev.txt pypi
  • Sphinx * development
  • build * development
  • bump2version * development
  • coverage * development
  • hypothesis * development
  • numpy * development
  • pip * development
  • pytest * development
  • pytest-cov * development
  • scikit-learn * development
  • typer * development
  • wheel * development
setup.py pypi

Score: 7.274479558773871