Skip to content

Contributing

Bug reports, chemistry reviews, documentation and code are all welcome. The workbench is developed in quachem/quachem-workbench, and this website and its docs are developed in quachem/quachem-website. Report a problem with the bug report form, and send a review of a chemistry default with the chemistry review form, which the chemistry review page explains. For anything larger than a small fix, open an issue first, so that the change can be discussed before you write it.

  • The specification describes what the workbench does and why.
  • The decision record records each significant decision with its reasons and sources, including the licence of every dependency. If your change adds a dependency, record its licence there.
  • The project states a capability only after a test or a benchmark shows it, and names that test or benchmark. The evidence is kept in docs/evidence.
  • Chemistry defaults (method, basis set, convergence settings) stay marked as provisional until a chemist collaborator reviews them, and each records its source.

Follow Getting started from source, then, in a clone of the workbench repository, install the development tools and run the host tests:

Terminal window
uv sync --extra app
uv run pytest tests/unit tests/invariants
uv run ruff check .
Area Command
Host tests uv run pytest tests/unit tests/invariants
Engine tests, inside the container bash scripts/engine-tests.sh
Interface unit tests npm test in web/app
Browser tests against the mock API npm run e2e:mock in web/app
Licence check of the web packages npm run check-licences in web
Slurm and SSH executors bash scripts/slurm-test-cluster.sh up, then uv run pytest tests/slurm_cluster -m slurm_cluster
Validation suite uv sync --extra validation, then uv run pytest tests/validation

Tests cover what you cannot check by looking, which means numerical results, data handling, job state and security. Name each test for one behaviour and its outcome. The invariants suite states each guarantee in plain English. Check page layout and wording by eye.

The website and these docs are built with Astro and Starlight in their own repository, quachem/quachem-website. Run npm ci and npm run dev in a clone of it to preview the site, and run npm run build followed by npm run check-links to check it as continuous integration does. The build downloads the chemist review packet from the workbench repository at a pinned commit to write the chemistry review page.

An open-source project on GitHub. Built by Graham Morley.