It goes by tasks. Each contract is broken into a series of tasks (CLINs) and assigned a value. The "prime" contractor typically has to perform 51% of the work by value and task when some sort of set-aside preference is used (like Veteran-owned, etc.).