code: def add_sim_errors(self, qname, sname, value, sym=True):
          
          self.similarity_errors.loc[qname, sname] = value
          if sym:
              self.similarity_errors.loc[sname, qname] = value
docs: Add a similarity error value to self.similarity_errors.