The repo suggests it's about tracking engagement metrics[0], so Team Red people see more Team Red content and vice versa. Nothing nefarious.
[0]https://github.com/twitter/the-algorithm/blob/7f90d0ca342b92...
[0]https://github.com/twitter/the-algorithm/blob/7f90d0ca342b92...
Maybe it was a choice made many years ago that they thought was appropriate, but we can't yet know it's not used for other purposes. We can at least be reasonably sure they've added the author_is_elon within the past year. I would have thought there would be many more descriptors, or non-controversial descriptors.
Or maybe Elon specifically added those before releasing this code to get people riled up.
But if someone finds some code that suppresses recommendations from a specific political ideology across the board, that would be nefarious, IMO.