The calculus of committee composition