As session ends, lawmakers spar over results of work