physics-lint¶
A linter for trained neural PDE surrogates. Runs in CI, catches physics violations on every model PR, and produces actionable SARIF reports for GitHub code scanning.
Getting started
Quick start¶
pip install physics-lint
physics-lint check my_model.py --format text
For CI integration, see the GitHub Action.
For the full rule catalog, see Rules.
For the published case studies showing physics-lint detecting real issues on published checkpoints, see Case studies.
Source¶
physics-lint is open-source at github.com/tyy0811/physics-lint.