-
Notifications
You must be signed in to change notification settings - Fork 67
Infos for contributers on prs and reviews in separate pages #849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
JBludau
wants to merge
9
commits into
kokkos:main
Choose a base branch
from
JBludau:review_checklist
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
e1d6f73
split developer infor on prs and reviews into separate sections and s…
JBludau c02546c
promote checklist to its own header
JBludau 496a01d
Update docs/source/developer-guides/reviews.rst
JBludau 1681d27
Update docs/source/developer-guides/reviews.rst
JBludau dd19565
Update docs/source/developer-guides/reviews.rst
JBludau ec618c9
Update docs/source/developer-guides/prs.rst
JBludau f54d92f
capitalize all points
JBludau 75fe399
fix a typo
JBludau 3177b42
add underline in correct length
JBludau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| Reviews | ||
| ======= | ||
|
|
||
| The goal of a review is to help the code contributor to improve the code while also checking if it is the best approach to the described problem. | ||
|
|
||
| Reviewer Behavior | ||
| ----------------- | ||
|
|
||
| - provide timely feedback and respond to changes by the author of the pull request in a reasonable amount of time; it's best to give feedback to pull requests as quickly as possible. | ||
| - only request changes if they are ready to resolve the request upon changes by the author of the pull request; stalling pull requests for requested changes that have been addressed is a problem. | ||
| - only review pull requests that have been marked as ready; we have a bunch of pull requests that explore the feasibility of ideas and just need the CI to run. Similarly, pull requests should only be marked as "ready for review" if the author is reasonably happy with the status. If the author mostly seeks feedback on general design and direction, this should be clearly communicated in the pull request description (either "draft" or "ready for review"). | ||
| - mirror communication with pull request author outside of pull requests (on slack, in person, video calls, etc.) in comments to the pull request. | ||
| - contact authors directly if more clarification is needed. | ||
| - don't be afraid of reviewing pull requests even if they are (slightly) outside your comfort zone. | ||
| - work with authors to bring issues/questions that need a quorum/discussion with a larger audience to the developer meeting. | ||
|
|
||
| Checklist | ||
| ========= | ||
|
|
||
| The following checklist can serve as guidance for a thorough review. It is extensive and tries to be general, thus it might be overkill for small PRs (e.g. simple bugfixes) | ||
|
|
||
| Fundamental Qestions | ||
| -------------------- | ||
|
|
||
| - Is clear what problem the PR is trying to resolve? | ||
|
JBludau marked this conversation as resolved.
|
||
| - Is the proposed solution appropriate for the the problem? | ||
|
JBludau marked this conversation as resolved.
Outdated
|
||
| - Is it working (check the CI)? | ||
| - Does the PR introduce/change abstractions? If yes, what behavior has changed? | ||
| - Which other abstractions/classes/concepts in Kokkos interact with the change? | ||
| - Is there a good reason for including this code? | ||
|
|
||
| Design | ||
| ------ | ||
|
|
||
| - Does it adhere to design principles like SOLID,DRY? | ||
| - Does the design and variable naming fit into the rest of Kokkos? | ||
| - Is the current design restricting future design choices? Does/should it allow extension? | ||
| - Is any implicit dpenendency introduced? | ||
| - Is the design reasonably simple? | ||
| - Are the used names descriptive of what something does? | ||
|
|
||
| Complexity | ||
| ---------- | ||
|
|
||
| - How complex is the change? Should/can it be split into multiple PRs? | ||
| - Is there an easier way to do it? | ||
| - Should some corner cases be excluded? | ||
|
|
||
| Interface and usecase | ||
| --------------------- | ||
|
|
||
| - Is it aligned with other Kokkos interfaces? | ||
| - Is the interface of all functions/classes/etc. intuitive? Does it have a descriptive name? | ||
| - How is it used in code in the end? | ||
|
|
||
| Documentation | ||
| ------------- | ||
|
|
||
| - Does it need documentation? If yes, is it already in a PR? | ||
| - Does it need comments in the implementation to express intent? | ||
|
|
||
| Interactions | ||
| ------------ | ||
|
|
||
| - Does an abstraction/function have opaque dependencies on non-local variables? | ||
| - Are interfaces or variables hidden or shadowed? | ||
| - Are any non-local variables changed? | ||
|
|
||
| Includes | ||
| -------- | ||
|
|
||
| - Does my header use minimal includes? | ||
|
JBludau marked this conversation as resolved.
Outdated
|
||
| - Are the new headers self-contained? | ||
|
|
||
| Run | ||
| --- | ||
|
|
||
| - Does the CI work? | ||
| - Can I run it and try to break it? | ||
|
|
||
| Communication | ||
| ------------- | ||
|
|
||
| - Am I using a helpful, neutral tone? | ||
| - Am I giving enough info to the author? | ||
|
|
||
| Final Questions | ||
| --------------- | ||
|
|
||
| - Does it definitely improve the current state? | ||
| - Am I willing to maintain this code/concept/abstraction/idea in the future? | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.