You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--- Please check [issues](https://github.com/jax-ml/bonsai/issues) for any pending model implementations. Consider opening issue if none exists. -->
3
+
<!--
4
4
5
-
**Reference**
6
-
<!--- Link to the reference implementation, research paper, and GitHub issue. -->
5
+
Pease read the following carefully so we can make sure your PR is merged
6
+
easily.
7
7
8
-
**Checklist**
9
-
<!--- Please make sure all checkboxes are ticked before submitting this PR for review. -->
8
+
Replace this text block with a description of the change and which issue it
9
+
fixes (if applicable). Please also include relevant motivation/context.
10
+
-->
11
+
12
+
Fixes # (issue)
10
13
11
-
-[ ] I have read the **[Contribution Guidelines](https://github.com/jax-ml/bonsai/blob/main/CONTRIBUTING.md#contributing-a-model)** and used [pre-commit hooks](https://github.com/jax-ml/bonsai/blob/main/CONTRIBUTING.md#linting-and-type-checking) to format this commit.
12
-
-[ ] I have added all the necessary **unit tests** for my change. (`run_model.py` for model usage, `test_outputs.py` and/or `model_validation_colab.ipynb` for quality).
13
-
-[ ]**(If using an LLM)** I have carefully reviewed and removed all **superfluous comments** or unneeded, commented-out code. Only necessary and functional code remains.
14
+
15
+
**Checklist**
16
+
-[ ] I have read the **[Contribution Guidelines](https://github.com/jax-ml/bonsai/blob/main/CONTRIBUTING.md)** and used [pre-commit hooks](https://github.com/jax-ml/bonsai/blob/main/CONTRIBUTING.md#linting-and-type-checking) to format and squash so that this PR has 1 commit typically.
17
+
-[ ] I have added all the necessary **unit tests** for my change (`run_model.py`, `test_outputs.py`, and/or `model_validation_colab.ipynb`).
18
+
-[ ]**(Code Quality)** I have reviewed the code and removed all superfluous comments or LLM-generated boilerplate. Only functional, necessary code remains.
14
19
-[ ] I have signed the **[Contributor License Agreement (CLA)](https://cla.developers.google.com/about)**.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+15-1Lines changed: 15 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ Follow these steps to contribute code:
32
32
For more information, please see [Bonsai Pull Request checklist](#bonsai-pull-request-checklist).
33
33
34
34
2. Fork the Bonsai repository by clicking the **Fork** button on the
35
-
[repository page](http://www.github.com/jax-ml/bonsai). This creates
35
+
[repository page](https://www.github.com/jax-ml/bonsai). This creates
36
36
a copy of the Bonsai repository in your own account.
37
37
38
38
3.`pip` installing your fork from source. This allows you to modify the code
@@ -125,6 +125,20 @@ Alternatively, manually run a pre-commit hook.
125
125
pre-commit run --all-files
126
126
```
127
127
128
+
### Single-change commits and pull requests
129
+
130
+
We follow [jax's convention](https://docs.jax.dev/en/latest/contributing.html#single-change-commits-and-pull-requests) in single-change commits in pull requests.
131
+
A git commit ought to be a self-contained, single change with a descriptive
132
+
message. This helps with review and with identifying or reverting changes if
133
+
issues are uncovered later on.
134
+
135
+
**Pull requests typically comprise a single git commit.** (In some cases, for
136
+
instance for large refactors or internal rewrites, they may contain several.)
137
+
In preparing a pull request for review, you may need to squash together
138
+
multiple commits. We ask that you do this prior to sending the PR for review if
139
+
possible. The `git rebase -i` command might be useful to this end.
140
+
141
+
128
142
## Contributing a model
129
143
130
144
We welcome contribution of new models that may be beneficial for the JAX community
0 commit comments