Contributing#
This section is about contributing to the ProteoBench codebase: fixing bugs, adding a module, or proposing changes. If you’re looking to submit a benchmark run instead, see Your First Submission — no coding required for that.
Before you begin#
If you have an idea for a feature, a use case to add, or an approach for a bug fix, communicate it with the community first by opening a thread in GitHub Discussions or GitHub Issues.
Not sure where to start? Check the
open issues
labeled good first issue or help wanted. If you want to add a new benchmark module, start with
Propose a module rather than opening a PR directly.
Setting up your environment#
See Development setup for installing the package, running tests, and building the documentation locally.
How to contribute code#
Fork ProteoBench on GitHub.
Commit and push your changes to your fork.
Ensure tests and documentation (both Python docstrings and files under
docs/) are updated for your changes. Docstrings follow the numpydoc style.Open a pull request. Ideally include: why the change is needed, how it’s implemented, and how to test it.
Make sure the PR passes the continuous integration checks run by GitHub Actions.
Where to go next depends on what you’re changing:
Adding a brand-new benchmark module → Propose a module, then Adding a module
Extending an existing module (new tool, new metric) → Modifying a module
Adding a parameter parser for a new tool → Parameter homogenization
Understanding where things live → Repository layout
Understanding submission checks → Submission validation
Reviewing someone else’s benchmark-run PR → Reviewing a submission
Release workflow#
When a new version is ready to be published:
Update the changelog (if not already done) — see Changelog.
Merge all final changes to
main.Create a new release on GitHub.
The version itself is derived automatically from the git tag (via setuptools_scm) — there’s no
version string to bump by hand. Publishing a GitHub release triggers the Publish GitHub Action,
which builds the package and publishes it to PyPI; the Bioconda automation then updates the
Bioconda package (the conda recipe needs a manual update if dependencies changed).
Contributors#
If you contributed to ProteoBench, please add your name to the Contributors page.