Contributing¶
Thank you for helping. This page explains how work is done in PixelNexus.
Before you start¶
- Read the README and the catalog rules.
- Set up the machine as described in Development environment.
- Run the full check list in
.github/workflows/ci.ymlonce, so you know the machine is ready.
Rules that always apply¶
- The catalog in
catalog/is the single source of truth for filters. Never hard-code filter lists, parameters, formulas or kernels anywhere else. - Each filter has exactly one engine: browser or science.
web/src/coreis pure TypeScript and never imports React.- A filter becomes
implemented-testedonly when its tests have run and passed. - Never invent a kernel, formula, citation or benchmark number. Each one comes from code, a paper you can name, or a script that printed it.
- Docs and studio text use short sentences, plain American English and no em dashes.
tools/lint_prose.pychecks this.
Branches and commits¶
Nobody commits to main directly. To make a change:
- Fork the repository, or create a branch from
mainif you have write access. - Make your change on that branch, with clear commit messages that say what changed.
- Open a pull request into
main. - All CI checks must pass, and a maintainer must approve the pull request before it is merged.
The owner approves every deploy.
Adding things¶
- A filter: Adding a filter.
- A model: Model integration. Its license is reviewed first.
- A docs page: add it to
mkdocs.yml, then runuv run mkdocs build --strictanduv run python tools/lint_prose.py.
Checks¶
Before you push, run at least: