caelum0x 174222bcaa feat: Builder-Track named-user tools, bio + evidence-intelligence platform, Apache-2.0
Builds PaperTrail from the base skeleton into a full evidence-verification platform
for the "Built with Claude: Life Sciences" hackathon (Builder Track).

New named-user features (Build Beyond the Bench):
- Lab Notebook Companion — rough bench notes -> structured, searchable, grounded
  experiment records (lib/labNotebook, /console/lab-notebook, migration 0059)
- Clinical Trial Matcher — de-identified patient notes -> ranked eligible
  ClinicalTrials.gov trials with per-criterion inclusion/exclusion reasoning
  (lib/trialMatcher, /console/trial-matcher, migrations 0060)

Platform:
- Deterministic verification moat (biostats recompute, exact-span grounding)
- 11 biomedical evidence engines (FAERS, GWAS, Open Targets, ChEMBL, ClinVar,
  PharmGKB, PubTator, DDI, repurposing, biomarker, unified verifier)
- Evidence Intelligence (KG, dossier, provenance/export, RWE) + enterprise
  governance (RBAC, /api/v1 gateway, metering, audit chain, retention)
- 17 OSS projects assimilated into native TypeScript on our stack (backend/engines
  retained + credited in NOTICE)
- Multi-format upload (PDF/DOCX/XLSX/CSV/MD/TXT), logo, marketing site
- Next.js 16 upgrade, benchmark harness (honest smoke-test caveat)

Licensing: Apache-2.0 (LICENSE + NOTICE).
2026-07-10 16:23:13 +03:00

14 KiB

status
status
under-dev

Biocypher Maintenance

This guide is for BioCypher's maintainers. It may also be interesting to contributors looking to understand the BioCypher development process and what steps are necessary to become a maintainer.

Roles

GitHub publishes the full list of permissions.

Tasks

biocypher is largely a volunteer project, so these tasks shouldn't be read as "expectations" of triage and maintainers. Rather, they're general descriptions of what it means to be a maintainer.

  • Triage newly filed issues (see :ref:maintaining.triage)
  • Review newly opened pull requests
  • Respond to updates on existing issues and pull requests
  • Drive discussion and decisions on stalled issues and pull requests
  • Provide experience / wisdom on API design questions to ensure consistency and maintainability
  • Project organization (run / attend developer meetings, represent biocypher)

https://matthewrocklin.com/blog/2019/05/18/maintainer may be interesting background reading.

Issue triage


Triage is an important first step in addressing issues reported by the community, and even partial contributions are a great way to help maintain biocypher. Only remove the "Needs Triage" tag once all of the steps below have been completed.

Here's a typical workflow for triaging a newly opened issue.

  1. Thank the reporter for opening an issue The issue tracker is many people's first interaction with the biocypher project itself, beyond just using the library. As such, we want it to be a welcoming, pleasant experience.

  2. Is the necessary information provided? Ideally reporters would fill out the issue template, but many don't. If crucial information (like the version of biocypher they used), is missing feel free to ask for that and label the issue with "Needs info". The report should follow the guidelines in :ref:contributing.bug_reports. You may want to link to that if they didn't follow the template. Make sure that the title accurately reflects the issue. Edit it yourself if it's not clear.

  3. Is this a duplicate issue? We have many open issues. If a new issue is clearly a duplicate, label the new issue as "Duplicate" and close the issue with a link to the original issue. Make sure to still thank the reporter, and encourage them to chime in on the original issue, and perhaps try to fix it. If the new issue provides relevant information, such as a better or slightly different example, add it to the original issue as a comment or an edit to the original post.

  4. Is the issue minimal and reproducible? For bug reports, we ask that the reporter provide a minimal reproducible example. See https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports for a good explanation. If the example is not reproducible, or if it's clearly not minimal, feel free to ask the reporter if they can provide and example or simplify the provided one. Do acknowledge that writing minimal reproducible examples is hard work. If the reporter is struggling, you can try to write one yourself and we'll edit the original post to include it. If a reproducible example can't be provided, add the "Needs info" label. If a reproducible example is provided, but you see a simplification, edit the original post with your simpler reproducible example. Ensure the issue exists on the main branch and that it has the "Needs Triage" tag until all steps have been completed. Add a comment to the issue once you have verified it exists on the main branch, so others know it has been confirmed.

  5. Is this a clearly defined feature request? Generally, biocypher prefers to discuss and design new features in issues, before a pull request is made. Encourage the submitter to include a proposed API for the new feature. Having them write a full docstring is a good way to pin down specifics. Tag new feature requests with "Needs Discussion", as we'll need a discussion from several biocypher maintainers before deciding whether the proposal is in scope for biocypher.

  6. Is this a usage question? We prefer that usage questions are asked on StackOverflow with the biocypher tag. https://stackoverflow.com/questions/tagged/biocypher If it's easy to answer, feel free to link to the relevant documentation section, let them know that in the future this kind of question should be on StackOverflow, and close the issue.

  7. What labels and milestones should I add? Apply the relevant labels. This is a bit of an art, and comes with experience. Look at similar issues to get a feel for how things are labeled. If the issue is clearly defined and the fix seems relatively straightforward, label the issue as "Good first issue". Once you have completed the above, make sure to remove the "needs triage" label.

Closing issues

Be delicate here: many people interpret closing an issue as us saying that the conversation is over. It's typically best to give the reporter some time to respond or self-close their issue if it's determined that the behavior is not a bug, or the feature is out of scope. Sometimes reporters just go away though, and we'll close the issue after the conversation has died. If you think an issue should be closed but are not completely sure, please apply the "closing candidate" label and wait for other maintainers to take a look.

Reviewing pull requests


Anybody can review a pull request: regular contributors, triagers, or core-team members. But only core-team members can merge pull requests when they're ready.

Here are some things to check when reviewing a pull request.

  • Tests should be in a sensible location: in the same file as closely related tests.
  • New public APIs should be included somewhere in doc/source/reference/.
  • New / changed API should use the versionadded or versionchanged directives in the docstring.
  • User-facing changes should have a whatsnew in the appropriate file.
  • Regression tests should reference the original GitHub issue number like # GH-1234.
  • The pull request should be labeled and assigned the appropriate milestone (the next patch release for regression fixes and small bug fixes, the next minor milestone otherwise)
  • Changes should comply with our :ref:policies.version.

Cleaning up old issues

Every open issue in biocypher has a cost. Open issues make finding duplicates harder, and can make it harder to know what needs to be done in biocypher. That said, closing issues isn't a goal on its own. Our goal is to make biocypher the best it can be, and that's best done by ensuring that the quality of our open issues is high.

Occasionally, bugs are fixed but the issue isn't linked to in the Pull Request. In these cases, comment that "This has been fixed, but could use a test." and label the issue as "Good First Issue" and "Needs Test".

If an older issue doesn't follow our issue template, edit the original post to include a minimal example, the actual output, and the expected output. Uniformity in issue reports is valuable.

If an older issue lacks a reproducible example, label it as "Needs Info" and ask them to provide one (or write one yourself if possible). If one isn't provide reasonably soon, close it according to the policies in :ref:maintaining.closing.

Cleaning up old pull requests

Occasionally, contributors are unable to finish off a pull request. If some time has passed (two weeks, say) since the last review requesting changes, gently ask if they're still interested in working on this. If another two weeks or so passes with no response, thank them for their work and then either:

  • close the pull request;
  • push to the contributor's branch to push their work over the finish line (if you're part of biocypher-core). This can be helpful for pushing an important PR across the line, or for fixing a small merge conflict.

If closing the pull request, then please comment on the original issue that "There's a stalled PR at #1234 that may be helpful.", and perhaps label the issue as "Good first issue" if the PR was relatively close to being accepted.

Becoming a biocypher maintainer

The full process is outlined in our governance documents_. In summary, we're happy to give triage permissions to anyone who shows interest by being helpful on the issue tracker.

The required steps for adding a maintainer are:

  1. Contact the contributor and ask their interest to join.
  2. Add the contributor to the appropriate GitHub Team <https://github.com/orgs/biocypher-dev/teams>_ if accepted the invitation.
  • biocypher-core is for core team members
  • biocypher-triage is for biocypher triage members

If adding to biocypher-core, there are two additional steps:

  1. Add the contributor to the biocypher Google group.
  2. Create a pull request to add the contributor's GitHub handle to biocypher-dev/biocypher/web/biocypher/config.yml.

The current list of core-team members is at https://github.com/biocypher-dev/biocypher/blob/main/web/biocypher/config.yml

Merging pull requests


Only core team members can merge pull requests. We have a few guidelines.

  1. You should typically not self-merge your own pull requests without approval. Exceptions include things like small changes to fix CI (e.g. pinning a package version). Self-merging with approval from other core team members is fine if the change is something you're very confident about.
  2. You should not merge pull requests that have an active discussion, or pull requests that has any -1 votes from a core maintainer. biocypher operates by consensus.
  3. For larger changes, it's good to have a +1 from at least two core team members.

In addition to the items listed in :ref:maintaining.closing, you should verify that the pull request is assigned the correct milestone.

Pull requests merged with a patch-release milestone will typically be backported by our bot. Verify that the bot noticed the merge (it will leave a comment within a minute typically). If a manual backport is needed please do that, and remove the "Needs backport" label once you've done it manually. If you forget to assign a milestone before tagging, you can request the bot to backport it with:

.. code-block:: console

@Meeseeksdev backport

.. _maintaining.asv-machine:

Benchmark machine

The team currently owns dedicated hardware for hosting a website for biocypher' ASV performance benchmark. The results are published to https://asv-runner.github.io/asv-collection/biocypher/

Configuration

The machine can be configured with the Ansible <http://docs.ansible.com/ansible/latest/index.html>_ playbook in https://github.com/tomaugspurger/asv-runner.

Publishing

The results are published to another GitHub repository, https://github.com/tomaugspurger/asv-collection. Finally, we have a cron job on our docs server to pull from https://github.com/tomaugspurger/asv-collection, to serve them from /speed. Ask Tom or Joris for access to the webserver.

Debugging

The benchmarks are scheduled by Airflow. It has a dashboard for viewing and debugging the results. You'll need to setup an SSH tunnel to view them

ssh -L 8080:localhost:8080 biocypher@panda.likescandy.com

Release process

BioCypher uses automated releases with release-please and GitHub Actions.

After a release, the new version is available in:

  • Git tags and GitHub releases <https://github.com/biocypher/biocypher/releases>_
  • PyPI <https://pypi.org/project/biocypher/>_
  • (later, via bot) conda-forge <https://anaconda.org/conda-forge/biocypher>_

How releases are created

  1. Maintainers merge regular PRs to main using conventional commit types (for example feat:, fix:, docs:).
  2. The Release Please workflow updates or creates a release PR with the next version and changelog.
  3. A maintainer reviews and merges the release PR.
  4. release-please creates the version tag and GitHub Release.
  5. The Publish workflow is triggered by release.published, runs tests, builds from the released tag, and publishes to PyPI using trusted publishing (OIDC).

Prerequisites

  • Maintainer merge rights on biocypher <https://github.com/biocypher/biocypher/>_.
  • PyPI trusted publisher configured for this repository/workflow/environment.
  • Access to post-release communication channels.

Maintainer checklist

Before merging the release PR:

  1. Confirm CI is green on main and on the release PR.
  2. Review generated release notes/changelog in the release PR.
  3. Confirm the proposed version bump is appropriate.

After merging the release PR:

  1. Verify that a new GitHub release and tag were created.
  2. Verify the Publish workflow completed successfully and package artifacts are on PyPI.
  3. Confirm downstream conda-forge update state (automatic PR or manual follow-up if needed).

Post-Release

  1. Update symlinks to stable documentation by logging in to our web server and editing /var/www/html/biocypher-docs/stable to point to version/<latest-version> for major and minor releases, or version/<minor> to version/<patch> for patch releases. Replace the example version numbers as needed:

    • Log in to the server and use the correct user.
    • cd /var/www/html/biocypher-docs/
    • ln -sfn version/2.1 stable (for a major or minor release)
    • ln -sfn version/2.0.3 version/2.0 (for a patch release)
  2. If releasing a major or minor release, open a PR to update web/biocypher/versions.json, to have the desired versions in the documentation dropdown menu.

  3. Close the milestone and the issue for the released version.

  4. Announce the new release in the official channels (use previous announcements for reference):

    • The biocypher-dev and pydata mailing lists
    • Twitter, Mastodon, Telegram and LinkedIn
  5. Update this release instructions to fix anything incorrect and to update about any change since the last release.

.. _governance documents: https://github.com/biocypher-dev/biocypher/blob/main/web/biocypher/about/governance.md .. _list of permissions: https://docs.github.com/en/organizations/managing-access-to-your-organizations-repositories/repository-roles-for-an-organization