Skip to content

Contributing Guide

The Livelihoods Classifier is developed in a public repository: tabiya-tech/tabiya-livelihoods-classifier. If you encounter any bugs or want to contribute to this project, please open an issue on GitHub.

Open a new issue and choose one of the two templates.

  • Bug report: Describe the bug, the steps to reproduce it, and what you expected to happen. Add screenshots or the request you sent if they help to explain the problem.
  • Feature request: Describe the problem behind the request, the solution you would like, and the alternatives you have considered.

Each backend service is a Poetry project of its own in the backend/ directory: ner, nel, classify, nel_v2, and classify_v2. The shared directory holds the code they have in common. To work on a service, install its dependencies and run its tests from its directory:

Terminal window
cd backend/ner
poetry install
poetry run pytest

Some services need an extra installation step. The workflow file .github/workflows/backend-ci.yml has the commands for each service. On every push, GitHub Actions runs these tests and builds the dashboard and the API reference site.

Commit messages follow the Conventional Commits format, for example feat: ... or fix(nel_v2): ....

The Advanced Topics page describes the layout of the repository.