> Intentionally introduce some logical flaw or defect and see if a candidate can spot it. A good idea is to go back and find recent bugs that were solved and pull the source before the fix was applied. Can the candidate identify the root cause? How would the candidate suggest resolving the defect?
I've had this exact idea on the back-burner for years! https://news.ycombinator.com/item?id=18794465
The example bug that gave me the idea initially is this one I reported on the "Satsuma Graph" dotnet package: https://sourceforge.net/p/satsumagraph/tickets/2/
Very keen to hear from anyone that has experience with this, from either side of the interview fence.