Thank you for your interest in contributing! This project is part of the CHAOSS community — A Linux Foundation project and we welcome contributors of all experience levels, whether this is your first open source contribution or your hundredth.
All contributors are expected to follow the CHAOSS Code of Conduct. Please read it before participating. We are committed to building a welcoming, inclusive, and respectful community for everyone.
You don't need to be a developer to contribute! There are many meaningful ways to help:
- Code — Fix bugs, implement features, improve performance
- Design — Improve UI/UX, create or refine SDG icon assets
- Documentation — Improve the README, add inline code comments, write usage guides
- Testing — Write or improve tests, report bugs with detailed reproduction steps
- SDG Mapping — Improve the keyword or semantic mappings used for classification
- Outreach — Share the project with open source communities who might benefit from it
- Triage — Help label, confirm, and prioritize GitHub issues
- Check the open issues to see what's being worked on.
- If you're new to the project, look for issues tagged
good first issueorhelp wanted. - For substantial changes (new features, architectural decisions), open an issue first to align with maintainers before writing code.
- Join the CHAOSS Slack and introduce yourself in
#newcomersor#wg-un-sdg.
See Setup Instructions for details.
The first /api/classify_st_url request is slow — the backend downloads the LUKE classifier weights from Hugging Face on first use, then serves from the local cache.
bash.sh automates steps 4 and 6 (backend venv + frontend install, started together):
./bash.shnpm error Could not read package.json— you're in the repository root.cd frontendfirst.- The first classification takes several minutes — the backend downloads Hugging Face models on first use. Later runs read from the local cache.
- Browse open issues.
- Comment on an issue to let others know you're working on it.
- If you've found a bug or have a feature idea not yet tracked, open a new issue first.
Always work on a dedicated branch, not directly on main:
# Sync with upstream first
git fetch upstream
git checkout main
git merge upstream/main
# Create a new branch
git checkout -b type/short-descriptionBranch naming conventions:
| Prefix | Use for |
|---|---|
feat/ |
New features |
fix/ |
Bug fixes |
docs/ |
Documentation changes |
chore/ |
Maintenance, dependency updates |
test/ |
Adding or updating tests |
refactor/ |
Code restructuring without behavior changes |
Examples: feat/add-sdg-tooltip, fix/api-timeout-handling, docs/update-setup-guide
- Keep changes focused on a single concern per pull request.
- Write clear, readable code with comments where the intent isn't immediately obvious.
- Update or add documentation if your change affects user facing behavior.
- If you're updating SDG mappings or classification logic, include a brief rationale in your PR description.
Before opening a PR, run the checks that apply to what you touched.
Backend — pytest, with the virtualenv from setup step 4 activated:
cd backend
pytest tests/Frontend — there is no test runner yet, so linting is the only automated check:
cd frontend
npm run lintSDG inference (backend/services/inference.py, sdg_model.py) has no tests — the model loads real weights, which makes naive unit testing hard. See docs/TESTING.md for the full inventory of what's covered, what isn't, and which gaps are good first issues — setting up a frontend test runner is one of them.
If you're adding new functionality, include tests that cover the new behavior. If you're fixing a bug, add a test that would have caught the bug.
Push your branch to your fork:
git push origin type/short-descriptionThen open a pull request against the main branch of chaoss/UNSDG-classifier-tool.
A good pull request:
- Has a clear title — summarizes what the PR does (not just "fix bug" or "update code")
- References the related issue — include
Closes #<issue-number>orRelated to #<issue-number>in the description - Describes the change — explain what you changed and why, not just how
- Includes screenshots for UI changes
- Is focused — one logical change per PR; split large changes into smaller ones if possible
- Passes the checks in step 4 — there is no CI pipeline yet, so run the backend tests and the frontend linter locally and say what you ran in the PR description
## Summary
Brief description of what this PR does.
## Related Issue
Closes #<issue-number>
## Changes Made
- Change 1
- Change 2
## Screenshots (if applicable)
## Testing Done
Describe how you tested your changes.
## Checklist
- [ ] My code follows the project's coding standards
- [ ] I have updated relevant documentation
- [ ] I have added tests for new functionality
- [ ] All existing tests passThis project follows the Conventional Commits specification.
Format: type(scope): short description
Types: feat, fix, docs, style, refactor, test, chore
Examples:
feat(classifier): add confidence scoring to SDG results
fix(ui): correct SDG icon alignment on mobile screens
docs(readme): update prerequisites section
chore(deps): upgrade node dependencies
Keep the subject line under 72 characters. Use the body to explain the why behind the change when it's not obvious from the title.
- Follow the existing code style in the project.
- Run the linter before committing frontend changes:
cd frontend && npm run lint. (There's noformatscript configured yet — adding one is a welcome contribution.) - Avoid committing commented out code or debug
console.logstatements. - Use descriptive variable and function names.
- Keep functions small and focused on a single responsibility.
When filing a bug report, please include:
- A clear, descriptive title
- Steps to reproduce — the more specific, the better
- Expected behavior — what you expected to happen
- Actual behavior — what actually happened
- Environment — OS, browser, Node.js version
- Screenshots or error messages if applicable Use the bug report issue template when available.
Before suggesting a new feature:
- Check whether a similar idea already exists in open issues.
- Consider whether the feature aligns with the project's goal of helping open source projects connect with UN SDGs. When opening a feature request, describe:
- The problem the feature solves
- Your proposed solution
- Alternatives you considered
- Any relevant examples from similar tools
| Channel | Purpose |
|---|---|
| GitHub Issues | Bug reports, feature requests, task tracking |
| GitHub Discussions | Open-ended questions and ideas |
| CHAOSS Slack — #wg-un-sdg | Real time chat with the working group |
| CHAOSS Community Calls | Tuesdays at 11am US Central |
We'd love to see you at a community call — it's a great way to get oriented and meet the team.
All contributors are valued members of this community. Contributors will be acknowledged in the project's contributor list. If you're a first time contributor to any CHAOSS project, welcome we're glad you're here!🫡
This project is released under the MIT License.
Copyright © CHAOSS, a Linux Foundation® project.