It's a very well-known fact that interviewers will often want to see some code. Because of this, I at one point spent maybe about 15 hours putting together a small project specifically to use as a code sample. This code sample, which again took maybe about 15 hours to put together, served its purpose for years. To avoid this tiny amount of easy work that has such a high potential upside is, to be frank, just dumb and…
I just have to know that you can write decent code. I don't want to waste my time or yours if your code in the language we need is not up to a minimum standard. When I have to train a new candidate on a million line code base, I cannot afford to spend time also training them to be competent in the native language of that code base.
This is not about "coding passion" or notches on some Github post...this is about whether you can do the job. Although one advantage to a Github profile is I can look at your repos and see whether you understand the basics of using git as well (yet another requirement of the position).
I, for one, think your 15 hours was well-invested.