A manuscript counts by its credibility. Its credibility is 1 minus its error rate. An error is a reading that no other independent manuscript at that place shares. A trivial error (spelling, shorthand, a number written as letters, the article, word order) counts a tenth; a material error (a different word, or words added or left out) counts more the more words it changes; a whole line one manuscript alone adds or leaves out counts as a material error of that many words. Damage and gaps count nothing. Credibility never comes from agreement with a modern edition.
Copies vote once. Manuscripts so alike that one was likely copied from another, or from a shared copy, form a copy family and vote as one copy.
Differences are compared like a diff. One differing word is one difference; several neighbouring words that differ together are one difference; a whole line added or left out is one difference.
Words added or left out are decided step by step. First the manuscripts that have no words at a place vote against those that do; then those with words decide what the words are. The result is always a wording some manuscript has whole.
Every place is decided. The reading with the most weight wins. A tie goes to the reading of the single most credible manuscript, then the earliest manuscript, then text order.
Publications only fill gaps. Where no manuscript covers a place, publications decide it at a very low confidence, and those words are marked. Where a manuscript covers a place, a publication is only listed.
Every place has a confidence. It is the chance, from the votes, that the reading is the right one. One manuscript alone gives its own credibility, and independent agreement raises it. A place under 0.6 is a close call, but it is decided all the same.
The same sources and rules always give the same text. Nothing is random.