Metadata-Version: 2.5
Name: reproducible-science-pr-bot
Version: 0.7.0
Summary: A pull-request bot that comments on each claim in repro.yaml that fails or went stale, and records the answers
Project-URL: Changelog, https://github.com/elliottower/reproducible-science/blob/main/CHANGELOG.md
Project-URL: Homepage, https://github.com/elliottower/reproducible-science
Project-URL: Issues, https://github.com/elliottower/reproducible-science/issues
Project-URL: Source, https://github.com/elliottower/reproducible-science/tree/main/packages/pr-bot
Author-email: Elliot Tower <elliot@elliottower.ai>
License-Expression: MIT
Keywords: github-actions,manuscript,pull-request,reproducibility
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.11
Requires-Dist: claims-cli<0.8,>=0.7
Requires-Dist: provenance-core<0.8,>=0.7
Requires-Dist: pydantic>=2.9
Requires-Dist: pyyaml>=6.0.2
Description-Content-Type: text/markdown

# reproducible-science-pr-bot

A pull-request bot for [reproducible-science](https://github.com/elliottower/reproducible-science). On a pull request it comments once for each claim in `repro.yaml` that fails or went stale, and records the answer someone with write access gives in reply:

1. Yes, the paper should say the file's value
2. No, the result file is wrong
3. Ignore this one
4. Not a claim

Answers 3 and 4 commit a `set_aside` entry to the pull request's branch, naming who answered and when. Answers 1 and 2 are recorded in the comment and change no file, except that a 1 or 2 after a 3 or 4 removes the entry the bot wrote for it. The manuscript is never edited.

It runs from GitHub Actions workflows in your own repository, with its own token. Nothing is hosted, and no model reads or writes anything. `repro ci init --pr-bot` writes the two short caller workflows; the commands they run are this package's:

```bash
reproducible-science-pr-bot check   # on the pull request, read-only
reproducible-science-pr-bot post    # after the check: comments; checks out nothing
reproducible-science-pr-bot reply   # on a reply: records the answer; checks out nothing
```

Documentation: <https://reproducible.science/automation/pr-bot/>
