Skip to content

contributing: limit open PRs for new contributors to 1#20036

Merged
am17an merged 1 commit intoggml-org:masterfrom
am17an:contrib-new-limit
Mar 9, 2026
Merged

contributing: limit open PRs for new contributors to 1#20036
am17an merged 1 commit intoggml-org:masterfrom
am17an:contrib-new-limit

Conversation

@am17an
Copy link
Copy Markdown
Contributor

@am17an am17an commented Mar 2, 2026

To avoid to cases where a contributor is not aware about AI policies and creates PRs wholesale using their AI of choice

@am17an am17an requested a review from ggerganov as a code owner March 2, 2026 07:37
@CISC
Copy link
Copy Markdown
Member

CISC commented Mar 2, 2026

This should hopefully soon be a setting.

@ThiloteE
Copy link
Copy Markdown
Contributor

ThiloteE commented Mar 2, 2026

At JabRef we handle this by limiting the number of good first issues new contributors can assign to themselves and github actions count their contributions: https://github.com/JabRef/jabref/blob/4cbe485f7f280f130326889566cb75bab1c359b2/.github/workflows/on-issue-comment.yml#L35
New contributors picking issues that are not good first issues is rare in our repository.

Limiting the assignments to a low number became necessary because we had malicious contributors competing for a GSoC project by assigning themselves to all good first issues in an attempt to prevent other aspiring GSoC participants from picking any, lol.

@ngxson
Copy link
Copy Markdown
Contributor

ngxson commented Mar 2, 2026

seems fine to me, although it could be better to make a bot that manage this automatically

the suggestion from @ThiloteE also seems to be a good one, which encourage new contributors to look at existing bugs instead of "just vibe-code" a new thing

@ThiloteE
Copy link
Copy Markdown
Contributor

ThiloteE commented Mar 2, 2026

Thanks :-)

I am not sure, if our approach that forces contributors to assign themselves and pushes them towards good first issues that are managed centrally by JabRef maintainers, scales to a repo with as many contributions as llama.cpp. Also, JabRef is currently not in a position where major downstream projects build upon it, hence we lack contributions that make their way up from downstream. I can imagine that if upstreaming PRs is artificially bottlenecked, downstream projects might consider independence at one point. Regardless, I wanted to share it for brainstorming. Maybe it is inspiring ;-)

@JohannesGaessler
Copy link
Copy Markdown
Contributor

I support the goal but I'm not sure whether limiting open PRs would make a meaningful difference. Submitting machine-generated PRs is already against the rules, adding another rule will I think not fix the issue.

Personally I have installed Auto Highlight to highlight EM dashes — the usage of those is a pretty clear sign that the text was not written by a human.

@CISC
Copy link
Copy Markdown
Member

CISC commented Mar 3, 2026

I support the goal but I'm not sure whether limiting open PRs would make a meaningful difference. Submitting machine-generated PRs is already against the rules, adding another rule will I think not fix the issue.

The aforementioned upcoming setting will allow a hard enforcement as well as some heuristics, will hopefully prevent spamming without blocking legitimate use.

@ngxson
Copy link
Copy Markdown
Contributor

ngxson commented Mar 6, 2026

The aforementioned upcoming setting will allow a hard enforcement as well as some heuristics

IMO it feels quite tempting to make our own bot to just do a pre-review pass for new PRs though. The bot can be contain a set of heuristic checks, the goal is to remind contributors and maintainers about key points before diving into the code.

One of the check that I can think of could be to detect AI's commonly used unicode (emoji, arrow, em-dash) and simply report if the PR contains such characters

Another check could be like: if both CPU and device backend code are changed in the same PR, simply remind the contributor that it may against the guideline (just remind, but take no actions)

If maintainers are interested in this idea, I can move it to a dedicated discussion.

@am17an
Copy link
Copy Markdown
Contributor Author

am17an commented Mar 9, 2026

Can someone approve this? There are many PRs which can be closed using citing this policy

@am17an am17an merged commit e2763a6 into ggml-org:master Mar 9, 2026
2 checks passed
@am17an am17an deleted the contrib-new-limit branch March 9, 2026 07:05
@CISC
Copy link
Copy Markdown
Member

CISC commented Mar 9, 2026

@ngxson That was a yes on the bot BTW.

bartowski1182 pushed a commit to bartowski1182/llama.cpp that referenced this pull request Mar 10, 2026
Ethan-a2 pushed a commit to Ethan-a2/llama.cpp that referenced this pull request Mar 20, 2026
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
rsenthilkumar6 pushed a commit to rsenthilkumar6/llama.cpp that referenced this pull request May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants