Syllabus Lesson 118 of 141 · Judgment Mirror
Judgment Mirror

Second picks

Why it matters A principle you hold should give the same answer when the question is dressed differently. This round finds out.

Here are the 12 choices from round 1 again, with new situations and new wording, and the two options swapped and relabelled X and Y. Run the starter to print them, and fill in picks2 first, before you read further down this page or write any code.

Pick on the situation in front of you. Do not open your round 1 draft to look up what you said, and do not try to work out which pair is which: that would measure your memory, not your judgment.

After you have picked

Now undo the disguise yourself and count how often you chose the same option as before. Each disguised pair d in mirror.DISGUISED says which round 1 pair it came from in "of", and X is the old B, Y the old A. mirror.consistency(picks, picks2) does the same count, so you can check your own.

A changed pick is not a mistake. The new wording may have made you notice something real. The next lesson looks at exactly those pairs.

Recap Same choices, new clothes. Pick honestly, then count the agreements.

Your turn

Assign picks2: a plain dict with "X" or "Y" for each of "d1" to "d12" (written out as a literal, so the next lesson can read it). Write undisguise(picks2): a dict from round 1 pair id to letter, using each disguised pair's "of" and X -> B, Y -> A (accept lower case, ignore unknown ids). Read your round 1 picks from "c-map-the-default/first-picks". Use undisguise to set consistency = (agreed, compared): compared is the number of pairs you answered in both rounds, agreed the number where the letters match. It must equal mirror.consistency(picks, picks2). Print it as "agreed of compared", for example "9 of 12".

Spotted a problem in this lesson? Report it · Ask about this lesson

This exercise opens soon

Finish the lesson before it and this one unlocks. The whole course is free, no account needed, and you can read this lesson right now.