As discussed in earlier submissions [1], this approach does not account for spam PRs, projects that close PRs to move discussion elsewhere, or other PR closures that are not about rejecting code.
I am working on addressing that. So far spam detection is the most difficult one.
Ignoring PRs that were closed by the author themselves or changed readme.md helps but is obviously not enough.