To be frank, nobody cares about your code. I’d be shocked and flattered if anybody read any of the code I wrote during my PhD.
Publish the code in its current state and move on. If people take the time to actually read and nit pick your code you’ll have succeeded.