Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 2.52 KB

CONTRIBUTING.md

File metadata and controls

48 lines (34 loc) · 2.52 KB

Contributing to MNE-CPP

Thanks for your interest in MNE-CPP. The full workflow is described in the Contribution Guide and the Coding Conventions.

Why contribute

We believe that the knowledge we gain about the brain and the computational methods that enable its discovery should be openly accessible to everyone.

Our mission is to build an open computational foundation that brings together biophysical modelling, signal processing and artificial intelligence to understand, decode and interact with the brain in real time.

Bring your scientific questions, ideas, models and code. Let's build it together.

Contributing with agents

Contributions written with coding agents are welcome on the same terms as any other:

  • Start from an issue or a planned task. The release requirements in doc/dev-notes/ list tasks with acceptance criteria, and the design pages describe where MNE-CPP is heading.
  • Point your agent to AGENTS.md. It holds the conventions the tooling enforces.
  • You are responsible for every line. Review the change, run the checks below, and say in the pull request what the agent did.

Before you open a pull request

  • Open or reference an issue first for anything beyond a small, self-evident fix, so the change can be discussed before you invest time in it.
  • Target the staging branch.
  • Run python3 scripts/quality/check_format.py and the affected tests locally.

Pull requests we close without review

  • New third-party dependencies without prior approval. Adding a library (FetchContent, ExternalProject, submodules, package manifests, downloaded binaries) requires an issue and a maintainer's agreement beforehand.
  • Promotion of the author's own packages or services, disclosed or not.
  • Unsolicited, mass-generated or AI-generated changes that are not tied to an issue or a reproducible problem in MNE-CPP, including the same change submitted to many repositories.
  • Changes to CI workflows from outside contributors that were not requested by a maintainer.

CI for outside contributors

CI runs on pull requests from outside contributors only after a maintainer approves the run. The Dependency Guard check fails pull requests from outside contributors that touch dependencies or CI until a maintainer has reviewed them and added the dependency-approved label.