For what it is worth, on a recent flight from EWR-LAX, there was an open FC seat and the FA called a pax from Y to fill the seat. I asked the FA how did she determine who got the seat and she said that the gate agents made up the list and she wasn't going to get involved with that mess.