Freeze model-visible serialization, not only object equality
When an experiment promises unchanged model inputs, structural object equality may be too weak: dictionaries can compare equal even though their serialized key order differs. If a chat template renders that order, the token sequence can change. Compare the actual ordered messages…