The check entry calls the same routines as the downloadable project's native test. It checks duplicate IDs, invalid transitions, stable output, snapshot isolation and both input and output failures. The check prints a success line only after all comparisons pass.
Task queue checks passedBreak the duplicate guard
In Queue.Add, temporarily delete the three-line if block that returns errDuplicate. Run the checks. Explain why the modified method would accept a duplicate, then restore the block and rerun.
Hint 1: the idea
A map assignment to an existing key replaces its value.
Hint 2: a first step
Find the check that calls Add twice with ID 2.
Worked solution
The second assignment replaces the saved record and returns nil. The check expects a wrapped errDuplicate, so it reports a duplicate ID failure. Restoring the early return protects the original title.
Completion is saved in this browser only. It does not measure mastery.