It would only take 1 ship out of 1001 to put it in a carrier by that logic. 480 is still smaller than 481 (number pulled from no where).
There will be 1,000 units outside of the carrier to start with, so if the "prioritize strong units to stay outside" logic was working correctly, it would imply that there were 1,000 units stronger than strength 480, that took the 1,000 slots assigned for outside first, leaving the Core PSS to go inside the carrier.
It is possible other things messed up that accounting - were there already AI units in the system? Does the process account for human units? I dunno.
Mostly, though, I just think there should be a flat rule of NO STARSHIPS slapped onto the carriers.
Only in a vacuum. There are a lot of factors that determine whether or not any wave will be packaged into a carrier. The biggest being the size of the wave and how many units are already flying about the galaxy. It might just be me but it seems like the AI likes to keep its numbers of free floating ships reasonable
So at any point when the AI wants to package ships into a carrier, only 1 needs to be stronger.
For the AI doing redistribution of free units into carriers, I see, you're correct. I was thinking more about the creation of waves, when the entire batch of units is determined virtually THEN shuffled into carriers based only on that group.
I still think there should be a flat rule, just because having a carrier with 16 units suddenly dump 16 Core Starships or Spire Capital ships, or even H/Ks, on you isn't fun. So while it may mess up the redistribution of free units a bit, I think it'd be worth it.
Your flat rule would hurt the 2 starship AI types.
How so? Aside from the general potential cheesiness of the AI being able to protect specific units from damage inside a carrier.
Starship Commander sends a few extra starships, up to a few dozens at high AIP/diff. Starship Fanatic gets more because it replaces the normal units, but even so you're going to cap out at a few hundred. Even if you somehow had a wave of 2000 starships, the game is capable of handling it. So for that very rare circumstance, the rule still works - and for all other cases, it is an improvement.