Compare the rule with concrete cases
Fictional instruction requires sequence A then B. A separate selection field requires the set containing A and B in any order. The same two symbols have different equality rules. Calling both a “list” leaves this distinction unstated.
| Input | Sequence equals A,B | Set equals A+B | Distinction |
|---|---|---|---|
| A,B | Yes | Yes | Both match |
| B,A | No | Yes | Same members; different order |
| A only | No | No | Missing B |
Work through the distinction
The second case prevents an unordered comparison from being used for a sequence. Choose the equality rule before describing how records may be sorted for display.
Does B,A satisfy the instruction sequence?
Show the worked answer
No. It has the required members but reverses the required order; it satisfies only the unordered selection.
Acceptance wording to adapt
For instruction_sequence require exactly [A,B] in that order. For selected_members require the set {A,B} regardless of display order. Do not use one comparison rule for both fields.