Well you don't give them the entire codebase, you package the bug-that-was-fixed into a tiny example app. I think it probably goes without saying to exclude changes in business rules.
Is this not closer to the actual job than Pascal's Triangle?
Have you ever tried to fix an open bug on a GitHub project? It is non-trivial.