stubbed similarity comparison framework