Some companies (e.g. Amazon) have a separate verification interview to ensure the candidate is the author of the deliverable.
I had quite a few “aha” moments where I was “ah wait, I totally didn’t do that, have I?”. Didn’t get the job, however neither did I like them.