Editing a Question Shouldn't Rewrite Its History
Suppose a question is reviewed on Monday. On Tuesday somebody changes one of its options. Is the question still reviewed?
It would be convenient if the answer were yes. The green approval mark could remain in place and there would be one less action to perform. Unfortunately, the person who checked the question on Monday checked a different question.
That small distinction affected quite a lot of the work on Content Studio during November. The editor needed to preserve the relationship between the material that had been examined and the decision made about it.
Correcting a mistake can create a new one
Consider a question where the explanation contains a typo. The correction should be straightforward. Now consider a question where an option is replaced, the solution changes and the marking of an older examination depends on the original answer.
From the editor's point of view, both are edits to a record. From a student's point of view, the second can change what an earlier answer meant.
The newer version-management work made it possible to inspect previous versions, compare fields and restore earlier material as a new draft. It also made editing reviewed content invalidate its approval. This isn't intended to punish people for correcting mistakes. It is a consequence of treating review as a decision about specific content.
A restoration is also an edit in this sense. If I restore wording from an older version, I don't want the intervening history to disappear. I want to understand what was restored and have the opportunity to check it against the current question's dependencies.
The same issue applies to the other material that surrounds a question. An assessment can refer to a question, a question can refer to media, and both can depend on subject labels. Removing or changing one of those things without considering the others can damage material that nobody was trying to edit.
One of the useful acceptance cases checked that an assessment prevented a referenced question from being retired while it still depended on it. That kind of refusal is inconvenient for a moment and useful for much longer.
The duplicate that doesn't look like a duplicate
Two different identifiers do not guarantee two different questions. A copied question might have a different record name, or the wording might have changed just enough to evade an exact match while leaving essentially the same exercise.
The import and authoring work included checks for exact and similar content. Similarity is not a final editorial judgment. Two legitimate problems can share a structure, particularly in maths, and a passage may intentionally be reused. The purpose of a potential match is to prompt examination before the material is accepted as something new.
A late November rehearsal produced a wonderfully unhelpful match. A numerical remainder problem was blocked as a duplicate of an unrelated multiple-choice problem about remainders. The two exercises belonged to the same area of mathematics, but asked different questions. The duplicate check was doing enough to notice the resemblance and not enough to make the distinction. I had to correct that behavior without simply removing the check. The corrected regression was included in the subsequent audit. That is precisely the sort of issue that makes real subject material a better test than a collection of conveniently different dummy questions.
The batch workflow also needed to handle failure as a group. If an import contains a conflicting record, the rest should not silently advance while the editor is left with an incomplete idea of what was saved. The tests exercised conflicting imports, stale edits and bulk review containing an invalid member.
A few of those cases would never appear when creating one pristine demonstration question. They emerge because an editor is used repeatedly, by people who revise their work and occasionally make mistakes.
There is nothing particularly glamorous about seeing an approval mark disappear after an edit. In this application, I would count that disappearance as useful feedback. It tells me the question needs to be looked at again, and it tells me why.