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
{{ message }}
Repository navigation
Commit 4405473
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/source/contributor-guide/ai-policy.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,15 @@
22
22
DataFusion has the following policy for AI-assisted PRs:
23
23
24
24
- We welcome AI-assisted PRs from anyone. We do not welcome unreviewed "AI dumps" (defined below).
25
-
- The PR author should have personally read the entire PR they submit, and **understand the core ideas** behind the implementation **end-to-end**. Authors should be ready to justify and help reviewers understand the design and code during review.
25
+
- The PR author should have personally read the entire PR they submit and **understand the core ideasend-to-end**. Authors should be ready to justify and help reviewers understand the design and code during review.
26
26
-**Call out unknowns and assumptions**. It's okay to not fully understand some bits of AI-generated code. Please point these cases out so we can work together to clear up any concerns.
27
27
28
+
While "understand the core ideas" is partly subjective, it means more than being
29
+
able to follow the diff textually. We expect the PR author to take an active
30
+
role in responding to feedback and crafting the PR to make sure it fits well
31
+
into the project as a whole. The worst situation is where the reviewer is simply
32
+
driving the contributor's LLM for the reasons described in the next section.
33
+
28
34
## What is an "AI dump" and why it is not helpful
29
35
30
36
An "AI dump" is a PR, or a series of PRs, consisting largely of AI-generated
0 commit comments