I agree that Sami has been through a lot and desperation makes people do desperate things. Plus most characters have had their share of good and bad moments but we put that aside as brain washing, possession, emotional manipulation, etc.
I mean look how Nicole Walker came on the scene but is now beloved or even look to character changes we see on other dramas. But I think that her family and friends are able to move past these things because they share closeness that we as viewers will not have.
But anyway, as far as Sami & Rafe, they have always been my favorite pair but I do enjoy Sami's drive & antics when she gets up to plots & plans because this is only a soap for imagination and escapism. I am just really glad that Rafe seems to have my outlook and was able to offer Sami some comfort, both physical & mental, despite her many mistakes as everyone deserves forgiveness in some way by someone.
I also appreciated how she was able to offer him comfort & support to Rafe in the Hope situation and also have caring scenes with Lucas, Will and other family members & friends. I appreciate Sami as a character because she is multifaceted rather than one note.