The plot you describe is a well-known trope in fiction sometimes known as a "Groundhog Day" loop, after the 1993 movie starring Bill Murray.

If the movie you are thinking of starred a girl named Samantha, it might be *Before I Fall*, a 2017 film adaption of the novel of the same name by Lauren Oliver. The film focuses on a teenage girl named Samantha Kingston who finds herself reliving the same day over and over again after apparently dying in a car crash.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence