Start with one comparison
Open the completed example first, then use the template for a search you know well enough to judge. It contains five prompts covering four deliberate probes: an exact identifier, evidence found only in full text, vocabulary mismatch, and two queries with opposite meanings. Replace the prompts with local needs and criteria; the template supplies no product results or relevance labels.
A useful institutional set can grow to thirty to fifty queries. Constructing needs and judging hundreds of results takes time. An afternoon may be enough to rerun an established set; it is not a promise for building one.
| Worksheet | What it holds |
|---|---|
| Comparison | Choose the shared cutoff in B4. Each query shows counts, precision, seed recovery, differences and any action still needed. |
| Queries | Write the need and relevance criteria, record both queries and their filters and transformations, confirm capture depth and counts, then explain the difference. |
| Records | Keep one row per query–record pair, with a single relevance judgement, seed status and a rank for each run that returned it. The columns after Rank B calculate validation and counts. |
| Runs | Record the product, mode, date, available model/index information, change being tested and locations of saved exports. Write “unknown” for unavailable details. |
Pale yellow cells are inputs; grey cells calculate. Use unique text IDs without surrounding spaces. IDs are compared without case sensitivity: A and a identify the same record. Use one canonical DOI, PMID or local ID consistently across both runs.
A completed, controlled example
The example reproduces the two rankings in Figure 14.1: twenty stipulated records, with A–J relevant and K–T not relevant. Both runs contain all twenty. These are teaching labels and rankings, not observations from a live product.
The kit adds a declared five-record seed subset: A, C, E, G and J. This subset is not specified in the figure.
| Measure | Run A | Run B | B − A |
|---|---|---|---|
| Precision@10 | 2/10 = 0.20 | 6/10 = 0.60 | +0.40 |
| Known-seed recovery@10 | 1/5 = 0.20 | 3/5 = 0.60 | +0.40 |
Try setting k to 20. Both runs have precision 10/20 = 0.50 and seed recovery 5/5 = 1.00. Reranking changes which records reach the first ten; it adds no candidate. Here complete relevance is stipulated, but the workbook deliberately reports the selected seeds separately.
Six steps to a repeatable comparison
- Define relevance before looking at any results. In Queries, write a specific need and criteria another person could apply, and enter both exact queries. Choose the known relevant seeds now, and mark them Seed = Yes in Records.
- Record filters as “None” where none were used.
- List seeds that neither run found too; a seed need not appear in either captured list.
- Choose one cutoff and record the conditions. Enter 10 or 20 in Comparison B4. It applies to both runs and every query. Record the product, mode, date and saved exports in Runs.
- Enter each query’s transformed input in Queries, columns R–S. If it is not visible, write “unknown”.
- Record what changed between the runs: a query intervention, an update or a different product.
- Capture each list through that depth. Save the original output, then record in Queries the depth requested, the number of distinct records retained and whether capture is complete.
- A run that returned nothing has count 0 and Complete = Yes; a run not yet performed stays incomplete.
- A short list keeps the requested depth: see What the scores count.
- Pool the records, keeping their ranks. Match identifiers across the two lists by hand. For each query–record pair, enter its original position in Rank A and/or Rank B.
- If a record is absent from a run, leave that rank blank; do not use zero.
- If a record repeats within a run, keep its first occurrence and leave the gap in the ranks; do not pull a record up from below the cutoff. Note the duplicate in Evidence or notes. The captured count is the distinct count.
- Judge every pooled record inside the cutoff, once. Mark it Relevant or Not relevant against the written criteria, recording the basis where needed. Blank and Unjudged both mean work remains.
- While judging, hide the Seed, Rank A/B and calculated columns, and keep Comparison closed. This removes visible cues; it is not full blinding.
- If judges disagree, discuss and record the agreed judgement.
- Inspect individual queries. Fix any status message, then compare A and B. In Queries, record an explanation, alternatives and the next check.
- Negative differences are highlighted; no statistical significance is claimed.
- The workbook does not infer a mechanism or recommend a vendor.
The four probe types test different possibilities. Failure to retrieve a full-text-only phrase is evidence to investigate the indexed unit, not proof of its architecture. Judge the two opposite-meaning queries separately. Consult Chapter 13’s diagnosis frame before attributing a change to a mechanism.
What the scores count
Precision@k = relevant distinct records within k ÷ k. The denominator stays fixed, even for a short list or gaps left after removing duplicate records. Two relevant records from a complete three-result run at depth ten give 2/10 = 0.20. The separate “Records A/B at k” columns show how many distinct records were actually captured inside the cutoff.
Known-seed recovery@k = listed seeds found within k ÷ all listed seeds for that query. Include missed seeds in Records with both ranks blank. The numerator and denominator are shown alongside the rate. Without a seed set the workbook says “No seeds specified”; precision can still be calculated. Seed recovery is not an estimate of complete recall.
The precision comparison stays blank until every pooled record within the cutoff has been judged. Seed recovery can be available before those judgements are complete, because its denominator was fixed in advance. A seed marked Not relevant is an inconsistency to resolve.
Incomplete captures, missing criteria or exact queries, mismatched counts, duplicate IDs or ranks, and invalid input withhold affected scores. Blank cells are not silently turned into successful zero-result runs. Records with missing or unknown query IDs must be assigned before any query can be reported.
Changing k from 10 to 20 requires captures through twenty for both runs. Increasing the setting alone will show “Extend capture to the selected cutoff”. Capture depth records the depth requested, not the largest rank returned. Additional results beyond the active cutoff do not affect scores until the cutoff reaches them.
Add records, extend the set and rerun it
The template has room for fifty queries and starts with one hundred Records rows. In Excel, add rows inside the Records table or press Tab in its last cell to extend it; copy the calculated columns I–Q from the preceding row if your spreadsheet application does not fill them automatically. Check that Row status and counts respond before continuing. Pasting underneath an unextended table does not add records to the calculation.
To exceed fifty queries, extend the Queries table and copy its T–U formulas into the new rows. Extend Comparison by the same number of rows and copy all A–Q formulas down. Keep the two tables in corresponding row order when extending them. Use Comparison’s filters to inspect declines; sort Queries or Records as whole tables, never isolated input columns. Record matching uses query IDs, not row order.
For a new comparison, save a new workbook copy. Keep the same needs, criteria, seed set and cutoff. Clear both old rank columns and enter the ranks for the new runs. Remove any non-seed record absent from both new runs. Keep missed seeds with both ranks blank. Update the query details, captured counts and run metadata, then reconfirm completeness.
Reuse judgements only where the record identity and criteria remain the same. Judge newly retrieved records before interpreting the comparison. Changing the need or criteria starts a new evaluation baseline.
Use the kit with Application Exercise III. Pair the measured change with Chapter 15’s search record and a list of what the product would not let you establish. For maintainers, the repository tooling notes describe rebuilding the downloads.