The mediating role of cognitive development in achievement judgment and behavior