I remember an interpretation of the purpose of the Torah scroll in the Ark (or maybe another scroll in the Temple), to check other scrolls against it.
Rabbis constantly claim the veracity and infallibility of our scrolls, however, I don't recall any known Halachic procedure or record of the practice of checking a scroll against one in the Temple.
Are there sources that mention such a procedure or practice?