BOSTON — Allegations of sexual misconduct have roiled the Massachusetts Legislature in recent months, leading to a shake-up of Senate leadership and heated debate in the House.Yet the Legislature's longstanding exemption from the state's public records law and frequent use of non-disclosure agreements make fully assessing the scope of the sexual harassment problem on Beacon Hill virtually impossible.