Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

rd0-jinx

Find the pull request that already does this.

Coding agents (Copilot, Codex, Devin, Claude Code, Cursor, Jules) open a lot of pull requests, and some of them redo work that is already open. rd0-jinx checks a new PR against the open ones and, when it finds a likely duplicate, tells you which PR it matches and why.

  • Runs on CPU in about 6 ms per PR. No LLM, no API key, no network call.
  • Explains every match: shared files, overlapping line ranges, identical added lines, the same linked issue.
  • About 1.9 false alarms per 100 PRs that have no duplicate.

Full README, benchmark and papers: https://github.com/ReviewDebtZero/rd0-jinx

Install

pip install rd0-jinx                # the `jinx` command
pip install "rd0-jinx[embed]"       # optional local MiniLM text model (installs PyTorch)

Use it

jinx check new_pr.json --open-queue open_prs.jsonl --top 2
PR #44134: checked 19 open PRs in 12 ms. 1 likely duplicate(s) (score >= 0.50).
  DUPLICATE? #44110  score 1.00  refactor(tvp): use capture_outputs for output tracing
               - one PR links to the other (#44110)
               - shares 1 of 1 changed files (src/transformers/models/tvp/modeling_tvp.py)
               - 100% of changed line ranges overlap
               - 100% of added lines are identical
               - similar title/description after removing agent template text (0.92)

Input uses the GitHub API's JSON shape (number, title, body, user.login, created_at). Optional fields are diff (unified diff text), files, agent and linked_issues. The queue can be a JSON list or a JSON-lines file.

Flag What it does
--top N List at most N candidates
--threshold X Flag only scores >= X (default 0.5)
--json Machine-readable output
--embed Also use the local MiniLM text model (needs [embed])
--templates FILE Use templates learned from your own PRs

In Python

from rd0_jinx import PR, Detector

new = PR.from_dict(new_pr_json)  # GitHub API JSON shape
queue = [PR.from_dict(d) for d in open_prs_json]

det = Detector()  # ships with trained weights
for m in det.rank(new, queue, top=3):
    if m.score >= det.threshold:
        print(m.number, round(m.score, 2), m.reasons)

As a GitHub Action

- uses: ReviewDebtZero/rd0-jinx@v0.1.1
  with:
    threshold: ""        # empty = bundled default (0.5)
    max-open-prs: "200"

License

MIT. The shipped weights were trained on AIDev (CC BY 4.0).

Metadata

Release files for rd0-jinx 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for rd0-jinx 0.1.1
File Size Uploaded Provenance Actions
rd0_jinx-0.1.1.tar.gz 122.7 kB With provenance Details for rd0_jinx-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rd0-jinx 0.1.1
File Interpreter ABI Platform Actions
rd0_jinx-0.1.1-py3-none-any.whl Python 3 none any Details for rd0_jinx-0.1.1-py3-none-any.whl

Total release size: 144.9 kB

Release files / rd0_jinx-0.1.1.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL rd0_jinx-0.1.1.tar.gz
Size 122.7 kB
Tags Source
SHA-256 checksum
How to use checksums
744170133615f4a6eba7b560e3368aade053154f4c14ca1b97c1e1302830171d
BLAKE2b-256 checksum
How to use checksums
d0f8b3cf2540ca412ffafd8da7da612034a12b94d340153d4211bd3b12e40bb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / rd0_jinx-0.1.1-py3-none-any.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL rd0_jinx-0.1.1-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7dc25e85903e2eb66bcf2ba90788ced84b816c821c47321c4011ef0fd08505f4
BLAKE2b-256 checksum
How to use checksums
6a23f596515f8a593ce1ca382cc2a859cfcc05bb2dfe84456015d879d7958160
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for rd0-jinx 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Change of provenance

The repository and configuration that created this release differ from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Select from 2 files

Attestation for rd0_jinx-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page