A Jira triage agent that only acts when it can prove it.

You pick an error budget, say 3%. Hedge clears a ticket from duplicate review only when a calibrated test shows that at most 3% of what it clears are really duplicates. Everything else goes to a person, with the reason.

Each square here is one of 150 real public Jira issues, filed in order and run through the same gate the Jira app ships. Change the budget and watch which ones Hedge is allowed to touch. Red squares are its mistakes.

Open any ticket and see Hedge's call.

This is the panel Hedge shows inside Jira, word for word: the call, the budget it was certified under, why, and the closest earlier issues it compared against.

The Jira app can't know the right answer. This page can, so every issue also shows what the dataset says, including the duplicates Hedge waved through.

Replaying the sample project.

A tighter budget means fewer actions, never more mistakes than you allowed.

Every budget on the dial was certified on held-out tickets at once, so an admin can move it any time without breaking the guarantee. Pick one and the whole sample project is replayed at that budget.

When people say it's wrong too often, it stops itself.

The certified budget assumes new tickets look like the old ones. On your site they may not, so every verdict people give in the panel is a bet against the budget. When the evidence reaches 20, Hedge pauses and asks about every ticket until an admin resumes it.

The check runs after every verdict and stays honest anyway: a site running exactly at its budget has at most a 5% chance of ever being paused by mistake. This is the test the Jira app ships, running in your browser.

Measured on 2.7 million public Jira issues.

The gate was trained on older tickets, certified on a fresh calibration draw, then checked on the latest time window it never saw. Every number here comes from the repo's report scripts, with 95% intervals that resample whole projects.

79.6%
of later test tickets cleared at a 3% budget, interval 74.4 to 83.8
1.8%
of those clears were really duplicates, inside the 3% budget, interval 1.3 to 2.3
1 / 400
synthetic calibration draws where any of five budgets certified a threshold above its budget, against 10% allowed
3 of 5
known duplicates in the 150-issue sample cleared by mistake at 3%, 2.5% of its 119 clears

Except where a caption says otherwise, results leave out Mojang's tracker, whose catch-all tickets chain into duplicate clusters of over 20,000 unrelated issues. Methods and every caveat are in docs/results.md.

How it decides.

Small models, one statistical test, and a rule to ask whenever it can't prove it.

  1. Search

    BM25 compares the new ticket with the 1,000 most recent earlier issues in its project, the same corpus offline and inside Forge.

  2. Score

    A small gate model turns signals such as the top match score, the gap to the next match, window size and match age into the chance that clearing the ticket is right.

  3. Certify

    On a held-out calibration window, Learn then Test picks the lowest threshold whose error among cleared tickets stays under the budget with 90% confidence, counting duplicate clusters together.

  4. Check

    A later test window, never seen in training or calibration, checks that the certified error held.

  5. Act or ask

    Inside Jira the gate compares each ticket's score with its threshold. Below it, with too little history, or with any missing signal, the ticket goes to a person.

What it doesn't do yet.

The guarantee bounds how often Hedge is wrong. It doesn't promise never.