Excellent idea, but some of the achievements don't really looks like achievements, but rather bad coding practices. It would be great if the points collected actually indicated you level of coding proficiency.

I totally agree with this! I like the idea, but I fear that we can just be incentivized in collecting achievements, even if it can mean writing worse code.

I just happened to read a good post about how achievements can be another driver for the adoption for code inspection and analysis tools.

Some ideas in there are worth implementing, in my opinion (in particular the one about focusing on positive change)