No variable in this contract tracks previous winners. previousWinner gets overwritten each time a lottery is run.
You don't have an orderly record of the previous winners. If someone comes to you and says that they won a raffle but didn't get their NFT or their money, you won't be able to verify that because everything gets overwritten and you don't have a record of who won that raffle. You only have tokenIdToRarity but that doesn't help you in terms of who won.
Manual review
Add a mapping for tokenIdToWinner:
Update it when you update state in the selectWinner function:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.