The legislative process is a constant test of Mamdani's principles versus pragmatism.