π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
chore: keep PR descriptions out of the repository (#5803)
Dmytro Mishkin44ce77a6494c
diff --git a/.gitignore b/.gitignoreindex 9668e9f31..faf9fc611 100644--- a/.gitignore+++ b/.gitignore@@ -49,6 +49,9 @@ benchmarks/profile/.omc/docs/export_support/results/+# pull request descriptions drafted as a file; the description belongs in the PR body+/PR.md+# kornia hub download cache (created by ONNXLoader / model downloads in the working directory).kornia_hub/diff --git a/AGENTS.md b/AGENTS.mdindex 3df111015..939b0e92f 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -130,6 +130,7 @@ when more than one virtualenv is in play: name the interpreter explicitly rather- A user-visible change adds a `changelog.d/<PR>.<type>.md` fragment (`added`, `fixed`, or `breaking`), not an edit to `CHANGELOG.md`. See [changelog.d/README.md](changelog.d/README.md) for naming before a PR exists and the release workflow. A breaking change says what used to happen as well as what happens now. Internal changes may omit a fragment with an explanation in the PR and the `no-changelog` label. Release PRs also use that label when consuming fragments. Only release PRs assemble and consume fragments.- Add every new public class or function to the corresponding `docs/source/*.rst` page so it appears in the rendered API reference.+- A pull request description goes in the pull request body, never in a committed file such as `PR.md`. Fill in every section of the [pull request template](.github/pull_request_template.md), including "How did AI help?": say what the agent did and what was checked or changed afterwards.- Some modules document a known defect inline and link its tracking issue; `grep -rn "github.com/kornia/kornia/issues/" kornia/` finds them. That prose is part of the fix's blast radius: **before merging a change that closes one of those issues, run `grep -rnE "#NNNN|issues/NNNN" kornia/ tests/`.** Match the issue number rather than a name or a phrase β the wording varies across `Tracked in #NNNN`, a lowercase `tracked in` clause, a `Note:` block, a runtime error message, an `xfail` `reason=`, a plain comment and a test-name suffix (`test_wart_*_<issue>` and `test_convention_*_<issue>`, where that convention was followed), and a rendered link label can disagree with the URL beneath it. The `#`/`issues/` anchors keep the pattern off float literals. A surviving hit in `kornia/` means the change is incomplete. Hits in `tests/` are the pins that record the documented behavior; each has to be re-checked in the same change β a now-XPASSing strict `xfail` dropped, a wart assertion inverted β but a pin goes on naming its issue afterwards, so a hit there is not by itself a defect. Not every documented issue has a pin, so an empty `tests/` result is an answer rather than a failed search.- When adding a feature detector or descriptor, update the `responses` list in `docs/generate_examples.py` and add the matching branch that renders its heatmap or score visualization. Follow the existing `DISK`, `ALIKED`, and `XFeat` examples and preserve the expected `(B, 3, H, W)` image shapes.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 0cc5d9b60..eccbbb258 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -409,7 +409,7 @@ See [the fragment guide](changelog.d/README.md) for examples and release instruc## Pull Request-Fill in the [pull request template](.github/pull_request_template.md) with enough context for another person to understand the change. Link related issues or discussions when they exist, say what you checked, and tell us how AI helped if you used it.+Fill in the [pull request template](.github/pull_request_template.md) with enough context for another person to understand the change. Link related issues or discussions when they exist, say what you checked, and tell us how AI helped if you used it. The description goes in the pull request itself; do not commit it to the repository as a file such as `PR.md`.For bug fixes, a regression test that fails before the fix is especially helpful. For numerical or geometry changes, say where the expected behavior comes from. For new public APIs or behavior changes, an issue or discussion before a large implementation can uncover compatibility and design concerns early.