I'd like to think that the guys getting H1-Bs t come over to the US are a cut above average. Also since software engineering is one of the go-to occupations that people push their kids into in India, I imagine the low-end is a bit fatter there. So I would expect that the quality of Indian programmers in the US is better on average than it is in India, but that says nothing about the outliers.