Legislative deliberation, i.e. hashing out details, should be open [1]. At the bargaining phase, when you're working out high-level frameworks, the theory says closed doors win [2]. (Put another way, in a transparent bargaining environment, the winning move is to ignore your opponent and beat your drums to your base.)
> Eventually the "losers" of a compromise are going to learn about how their elected officials voted
The point is to let both sides table ideas without having to face the downside. To propose what if scenarios to the other side.
[1] https://preprints.apsanet.org/engage/api-gateway/apsa/assets...