Ripgrep AI Policy

(github.com)

80 points | by singiamtel 1 day ago

6 comments

  • deng 15 hours ago
    Looking at all the unmerged pull requests in ripgrep, you can see what's going on. I will not link him here, but for instance, there's a "Senior Software Engineer at Microsoft", whose agent created 260 PRs in 211 repos with trivial typo fixes in code comments(!). Almost all of them are rejected (including those in ripgrep), but of course, a few get merged and he now boasts he "contributed" to sqlalchemy, Nim and others... What a time to be alive.
    • stevekemp 6 hours ago
      I used my human eyes to submit updates to Redis and Git, fixing typos in comments.

      Sure it's low-hanging fruit, but if you're looking at the code it's good to have the comments be readable and not full of typos.

      (That said this was a few years ago, and there were no LLMs at that point. I didn't go out of my way to make trivial contributions, but I figured since I saw the "problems" I should submit a patch to fix them.)

    • ramon156 7 hours ago
      Drive-by PRs have been an issue before, but with AI it's just getting disrespectful
  • Reubend 13 hours ago
    This is such a refreshing policy. AI code is welcome as long as it's good, but comments have to be human.

    If someone can't take the time to write their own replies (in their own words), then it feels fair to assume that they didn't take the time to test, review, and clean whatever code they submitted.

  • spprashant 11 hours ago
    Sounds about as sane as you could possibly be given the climate.
  • ciupicri 14 hours ago
    > This policy was adapted from uv's AI policy.

    Wasn't uv bought by an AI company?

    • nextaccountic 10 hours ago
      burntsushi also works in this company (or worked?). he is actually a developer of uv (or was a couple years ago?)

      https://github.com/astral-sh/uv/graphs/contributors?from=9%2...

    • neuronexmachina 12 hours ago
      Was curious and astral put up their AI policy a couple weeks before the acquisition. Of course, it's quite possible they already knew it was happening: https://github.com/astral-sh/.github/pull/1

      That said, I'm kind of surprised ripgrep hasn't been acquired by anyone, considering all the major AI agents use it pretty heavily.

      • nextaccountic 10 hours ago
        well, ripgrep is not a company.. what means to "buy" an open source project?

        companies either "fund" open source developers (usually a pittance), "contribute" code, or if all fails "fork" them, but straight buying, that's something I never see

  • fortyseven 1 hour ago
    This is really good. I'm going to adopt this I think. Yoink! ;)
  • JSR_FDED 12 hours ago
    This is a very elegant way of dealing with slop, whilst still reaping the benefits of smart people using AI to do useful things.