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#

  1. Fork ProteoBench on GitHub.

  2. Commit and push your changes to your fork.

  3. Ensure tests and documentation (both Python docstrings and files under docs/) are updated for your changes. Docstrings follow the numpydoc style.

  4. Open a pull request. Ideally include: why the change is needed, how it’s implemented, and how to test it.

  5. Make sure the PR passes the continuous integration checks run by GitHub Actions.

Where to go next depends on what you’re changing:

Release workflow#

When a new version is ready to be published:

  1. Update the changelog (if not already done) — see Changelog.

  2. Merge all final changes to main.

  3. 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.