FAFSA and 529 Contributions -added back?

So where do the algorithms and quants fit in with regard to, again, the many schools that have automatic (sometimes very generous) merit awards based on grades and test scores, without ever needing to see any financial aid forms or data on the family’s financial situation?