If your team is at all well run, and your work-sample testing mirrors the team's work, it's not a very good scam to run: it'll be immediately obvious on the job.
We thought we'd put some energy into this back in 2021, and we have yet to reach a point where thinking about this makes any sense (except for tech writers, where spotting GPT is maybe somewhat useful).
I have _heard of_ great teams, but even the one person I knew who worked at Pivotal ended up there long after things went downhill culturally.
Either way it is customary to start new hires with a 6 month probation, and their long term contract only kicks in after that. That’s long enough to detect if someone is incompetent (I’ve had to fire people during their probation when finding out they weren’t actually capable altho I don’t think they outright lied).
Bonus: we self-selected for people who don’t like to pair. We paired 100% of the time.