Skip to content

3. Homework

Perform all the verification steps to ensure that you are up to speed with the webinar series and can in a smooth way follow the coming sessions.

1. Install CHAP

  • Read Installing CHAP
  • Install CHAP using uv
  • Verification: Running chap --help shows available commands

2. Fork and Clone an Example

  • Read Implement your own model from a minimalist example
  • Fork either the Python (uv) or R example repository
  • Clone your fork to your local machine
  • Follow the README in the repository to run the model in isolated mode
  • Verification: The isolated_run script completes without errors

3. Make a Model Modification

  • Follow the "Making model alterations" section in the repository README
  • Make a simple modification to the model (e.g., change the model type, adjust features)
  • Test your changes by running isolated_run
  • Verification: Your modified model runs successfully

4. Push Your Changes

  • Commit your modifications with a descriptive message
  • Push to your fork on GitHub
  • Verification: Your changes are visible on your GitHub fork

Questions and Getting Help

If you have questions or run into issues, post on the DHIS2 Community of Practice (CoP). Helping each other is part of the learning process!