Duplicate detection metrics tell you how often a tool correctly flags repeated tickets (precision), how many real duplicates it finds (recall), and how the two trade off as you tune it. For a UAT team, the useful answer is a small set of numbers measured on your own labeled tickets, not a single accuracy score. We built Wezard so that duplicate detection runs before a ticket reaches your Jira or Azure DevOps backlog, which is exactly where these numbers pay off: every false alarm and every miss lands on a tester or a project manager.

Wezardapp
Measure Duplicate Detection in UAT
Wezard detects duplicate tickets before they reach Jira or Azure DevOps, connecting your metrics to the backlog they affect.

Visit

TL;DR

  • Precision answers “when the tool says duplicate, is it right?” Recall answers “of all real duplicates, how many did it catch?”
  • F1 combines the two into one number, but a single number hides the tradeoff you actually manage.
  • Accuracy is the metric to distrust: real duplicates are rare compared with all ticket pairs, so accuracy looks excellent even for a tool that finds nothing.
  • Raising the match threshold improves precision and costs recall. The right setting depends on what a wrong merge costs your team.
  • Build a labeled sample of your own tickets and track several measures together.

Table of Contents

The four counts behind every metric

Every duplicate detection metric comes from four counts, called the confusion matrix. Take every pair of tickets the tool judged:

  • True positive (TP): the tool said duplicate, and it is.
  • False positive (FP): the tool said duplicate, but the tickets are different issues.
  • False negative (FN): the tool said not duplicate, but they are the same issue.
  • True negative (TN): the tool said not duplicate, and they are not.

In a UAT cycle, a false positive means a tester’s genuine defect gets folded into another ticket and may never be fixed. A false negative means the backlog gets a second ticket for something already logged, and developers triage the same problem twice.

The formulas, with one worked example

The BlockingPy evaluation documentation lists the standard definitions:

Metric Formula Plain meaning
Precision TP / (TP + FP) Share of flagged duplicates that are real
Recall TP / (TP + FN) Share of real duplicates that were found
F1 2 x P x R / (P + R) Harmonic mean of precision and recall
False negative rate FN / (FN + TP) 1 minus recall
Accuracy (TP + TN) / all pairs Share of all judgments that were right

A worked example. Suppose a UAT round produced 200 tickets, and a reviewer confirms 40 true duplicate pairs. The tool flags 50 pairs, of which 35 are correct.

  • TP = 35, FP = 15, FN = 5
  • Precision = 35 / 50 = 0.70
  • Recall = 35 / 40 = 0.875
  • F1 = 2 x 0.70 x 0.875 / (0.70 + 0.875) = 0.78

Read plainly: seven in ten flags are right, and the tool catches almost nine in ten real duplicates. Whether that is good depends on the next sections.

Why accuracy misleads

With 200 tickets there are 19,900 possible pairs, and only 40 are real duplicates. A tool that flags nothing is right on 19,860 of them: 99.8% accuracy, zero usefulness. Researchers describe the same effect: true negatives dominate the comparison space, so measures that use them can be deceptive. In one worked example from the same group, accuracy was 94.34% in one view and 99.999994% when counted over record pairs.

Ticket-pair imbalance makes accuracy misleading

The benchmarking platform Frost makes the arithmetic explicit: a dataset of n items has roughly n duplicate pairs but up to n squared non-duplicate pairs, so accuracy can sit near 1 even when every pair is called a non-duplicate. The same reasoning applies to the false positive rate, which also divides by true negatives. If a vendor quotes you accuracy alone, ask for precision and recall instead.

The threshold tradeoff

Most detectors score how similar two tickets are and flag anything above a cutoff. Moving the cutoff moves your results:

Because the right cutoff depends on what each error costs, Bilenko and Mooney recommend precision-recall curves across the whole range of thresholds instead of one best-case number. They also describe a three-way split: pairs above a high cutoff are linked automatically, pairs in a middle band go to a human, and the rest are left alone.

That middle band is how most UAT teams should work. Auto-merge only when confidence is very high, and show a suggested duplicate to the tester or business analyst for anything in between. A wrong merge hides a defect, so for UAT sign-off, lean toward precision.

Pair-level versus ticket-group-level measures

Tickets rarely duplicate in pairs. One defect might be reported by five testers, forming a group of five tickets. You can score this two ways.

Pairwise. Count every pair inside a group. Matt Barnes’s practitioner guide defines pair precision and pair recall over these intra-cluster pairs and recommends reporting pairwise F1 plus at least one cluster-level measure. Note that a group of five contains ten pairs, so large groups weigh heavily.

Group-level. Ask how closely each detected group matches a true group. Closest-cluster precision and recall use the Jaccard overlap (shared tickets divided by all tickets in either group) to score this. It answers the question a project manager cares about: did the final set of issues come out right?

If you only track one extra measure, track whether each real defect ended up as one ticket.

Ranking metrics for “suggest a duplicate” tools

Many tools do not decide; they suggest the top few candidates when a ticket is created. Research on duplicate bug reports scores these with Recall Rate@k: the share of duplicate reports whose original appears in the top k suggestions. Because each new report has one original, precision at k is naturally low: a correct top-10 list scores 10% precision but 100% recall. The same paper notes about 98% of surveyed practitioners will not look beyond ten suggestions, so a small k reflects real behavior.

The ACM study also found that data age and the choice of issue tracker significantly bias results. Test on recent tickets from your own tracker, not on a public benchmark.

Ranking metrics for "suggest a duplicate" tools

Build a labeled sample from your own tickets

Metrics need ground truth. Panse and Naumann list five ways to create labeled test data, and the first is the practical one for UAT: manually label a real dataset. It is expensive, so keep it small.

  1. Pull one finished UAT cycle, a few hundred tickets.
  2. Have a business analyst and a tester independently mark which tickets describe the same defect, then settle disagreements.
  3. Run the detector on the same tickets with its threshold set where you would use it.
  4. Count TP, FP and FN, then compute precision, recall and F1.
  5. Repeat at two or three other thresholds and compare.
  6. Re-check each release, since ticket wording and workflows drift.

Expect a rare-duplicate sample to need enough duplicates to be meaningful. If your cycle yields fewer than a couple dozen true duplicate pairs, combine two cycles.

Why one metric is never enough

In a 2024 US Census Bureau test summarized in a Rillor report, three tools deduplicated 1,167,705 records. The tool with the highest precision (0.9636) had the lowest recall (0.4568), while another scored precision 0.8733 and recall 0.7161. The same report notes that researchers found different measures can rank two algorithms in opposite order, so evaluations should report several complementary measures together; the same discipline applies to any dashboard where a single headline number can hide a weakness.

For a UAT team that means a short scorecard: precision, recall, a group-level measure, and the count of tickets a human had to review.

Our perspective

We see duplicate detection as a capture problem as much as a measurement problem. A tester who records the screen and speaks the issue produces a ticket with enough detail for similarity to work, and Wezard checks that ticket against existing ones before it reaches Jira or Azure DevOps.

That timing changes which metric leads. When duplicates are caught at intake, a false positive is a prompt the tester can dismiss, not a silently merged defect, so you can tune for recall without risking lost bugs. We claim our approach reduces duplicate noise by up to 40% compared with manual processes or basic feedback tools, and the way to see what it means for you is to track the scorecard above on your own cycles.

Our deeper notes are in our guides on duplicate bug metrics for QA and machine learning duplicate detection baselines.

Marketing

Put the scorecard to work

Wezard starts at $25 per month on the Starter plan, with Team at $70, Business at $160 and an Enterprise plan with custom pricing. Each connects to Jira, Azure DevOps and ServiceNow and checks new tickets for duplicates at intake. See Wezard plans and pricing to find the fit for your team.

Wezardapp

If you are planning a rollout, our 7 to 14 day plan to cut duplicate UAT tickets shows how to sequence it.

FAQ

What is a good precision and recall for duplicate detection?

There is no universal target, because the cost of each error differs by team. Since a wrongly merged ticket can hide a real defect, UAT teams usually set precision first and then push recall as high as the review workload allows. Compare results at several thresholds rather than judging one number.

Is accuracy a useful duplicate detection metric?

On its own, no. Real duplicates are a tiny fraction of all ticket pairs, so accuracy stays very high even for a tool that finds none. Report precision, recall and F1 instead.

What does F1 score mean for duplicate tickets?

F1 is the harmonic mean of precision and recall, so it is high only when both are reasonably high. It is handy for comparing settings, but keep the two underlying numbers visible, because they tell you whether you are missing duplicates or flagging too many.

How many tickets do I need to measure duplicate detection?

Enough to contain a meaningful number of true duplicate pairs, ideally a few dozen or more. Human labeling is costly, so start with one or two completed UAT cycles from your own tracker and expand if results look unstable.

Sources

Share This Story, Choose Your Platform!