Skip to content
mentoor

Topic 3 of 5 · 5 min read

Merging and checking worker results

Goal: Merge several worker reports into one answer, resolve a contradiction between them and flag a claim that no worker verified.

The lead must treat worker reports as evidence to check, not as finished text to paste together. A worker's report is a claim about what it did and found. Some of it will be wrong, duplicated or in conflict with another report.

Check yourself · 1 of 3

Two workers report different values for the same limit. What should the lead do first?

Choose one answer

Why it matters

Workers sound sure. A worker that could not open a page may still write "the plan costs 12 USD". If the lead copies that line into the answer, the error now carries the lead's authority. Merging is the last point where a mistake can be stopped.

How to merge

  1. Normalise first. Put every report into one shape: claim, value, source, how it was checked. If the briefs asked for the same format, this is quick.
  2. Remove duplicates. Two workers may report the same fact from the same source. Keep one, and note the source once.
  3. Find conflicts. Sort by claim and look for two values for the same thing. Example: worker 1 says the limit is 100 requests a minute, worker 2 says 60.
  4. Resolve a conflict with evidence, not a vote. Compare the sources: official docs beat a forum post, a dated page beats an undated one, a quoted sentence beats a paraphrase. If the sources are equal, ask a worker to check one more source, or report both values and say they disagree.
  5. Mark what nobody verified. A claim with no source, or with a source the worker could not open, is "unverified". Leave it out or label it. Never upgrade it to a fact.
  6. Check coverage. Compare the final answer to the plan. Did every subtask return? Did a worker stop at its budget with half the items missing?

Before and after

Two reports on a service's rate limit:

Worker 1: Limit is 100 requests/min. Source: docs.example.com/limits (quote: "100 requests per minute per key")
Worker 2: Limit is 60 requests/min. Source: a 2022 blog post, no quote.

Weak merge: "The limit is about 60 to 100 requests per minute." This hides the conflict and keeps a number no source supports.

Better merge: "The limit is 100 requests per minute per key, per the current docs. A 2022 blog post says 60; it is older and gives no quote, so it was not used."

What goes wrong

  • Averaging or blending. A number between two conflicting values is correct for neither.
  • Majority vote. Three workers who all read the same bad page are one source, not three.
  • Trusting "verified" in a report. Ask what was checked: the page text, or only a search snippet.
  • Silent gaps. A missing subtask is dropped from the answer without mention.

Examples

Same source counted three times

Three workers all report that a library supports Python 3.8. Reading the sources, all three cite the same outdated README. That is one source, and the repo's current pyproject.toml says Python 3.9 or later. The lead reports 3.9 and names the file.

Reporting a gap

The plan had five vendors. Four reports came back; the fifth worker hit its budget on a login wall. The final answer has four rows and a line: "Vendor E: not found, pricing page requires a login." The reader knows exactly what is missing.

Key points

  • Treat each worker report as a claim to check, not as finished text.
  • Normalise reports into one shape, then remove duplicates and list conflicts.
  • Resolve a conflict by comparing sources and dates, not by voting or averaging.
  • Label any claim without a source or an opened page as unverified; never upgrade it.
  • Check coverage against the plan so a missing or half-finished subtask is reported.

Common mistakes

  • Pasting worker reports together without checking them.
  • Resolving a conflict by averaging the numbers or by counting votes.
  • Keeping a claim that has no source because it sounds reasonable.
  • Not noticing that a worker stopped early and left part of the plan undone.

Check yourself · 2 of 3

Three workers agree on a claim, but all three cite the same blog post. How many independent sources support it?

Choose one answer

Check yourself · 3 of 3

A worker's report states a price but includes no URL and no quote. How should the merged answer treat it?

Choose one answer

Practice items, not counted towards your mastery.

Start here