How you describe yourself is one aspect of Dunning-Kruger: highly competent people often do not think that what they do is anything special, even though in reality, their skills are very rare and highly sought-after.
I always feel like a fake - not about programming in particular, about whatever I'm doing and supposed to know about. I like to tell myself that I'm being 'Socratic' and worrying about what I know I don't know.
1. I'd send you one of my regular tests
2. You could reply with your code
3. I could tell you if I think you can code at this point in time, under the conditions you used.
Or you could email me. 30 seconds of searching didn't find contact details on the blog in your profile.
EDIT: amended 3 in light of insightful comment(s) below.
"Can't code now" could become "Is a great coder" later.
Everyone is at their own place on their path. We've all traveled that path. I look at some of my code as recently as a year or two ago and I'm embarrassed.
Nobody here should get discouraged. You should just get better.
Wrong question.
Right question: "Where do I stand and what to I have to do to get better?"
Clue: The answer has nothing to do with comparing yourself to anyone else and everything to do with what your building vs. what you need to be building.
ASmartBear covers this topic from a related angle and it's well worth a read. Esp if, like me, you frequently have to battle the "I'm not good enough" demon.