Code Practical and Code Theory go hand in hand, and often questions are borderline, If the code practical doesn't fit the code theory, how you clarify how important the code theory is to the execution of the code practical, should be determined.
OP believes his code is true random, it's not, as proved by @Gilles, but whether that mean his code is classified off-topic or not is determined by the level of importance true random has to the question.