Skip to content

Add workflow to detect AI PRs - #1289

Merged
tomkralidis merged 2 commits into
geopython:masterfrom
doublebyte1:uncover-agent
Oct 20, 2026
Merged

tomkralidis merged 2 commits into
geopython:masterfrom
doublebyte1:uncover-agent

Conversation

@doublebyte1

@doublebyte1 doublebyte1 commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Overview

This PR introduces a workflow, that uses a classifier to tag a PR as "human generated", or "AI generated".

The classifier is a script from the geoamish organisation; it is kept private for practical reasons, but get in touch if you would like to know more about it.

The script analyses a series of signals, to come up with a likelihood of a PR having been generated by a human (<0.6) or an agent (>0.8); if it cannot make a reasoning, it will come up with no label.

Related Issue / Discussion

Please check this pygeoapi issue, for more context on what motivated this PR.

Additional Information

  • The labels "human generated" and "AI generated" need to be pre-created in the repository.
  • Because it is cloning a private repo on codeberg, this script requires a CODEBERG_TOKEN, to be added as a GitHub Secret on the pygeoapi repository.

Contributions and Licensing

(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to pycsw. I confirm that my contributions to pycsw will be compatible with the pycsw license guidelines at the time of contribution.
  • I have already previously agreed to the pycsw Contributions and Licensing Guidelines

@tomkralidis
tomkralidis merged commit 74149c6 into geopython:master Oct 20, 2026
1 of 3 checks passed
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.

2 participants