<commit_before>xml.instruct! :xml, version: "1.0", encoding: "ISO-8859-1"
xml.publicwhip do
  @members.each do |member|
    xml.memberinfo(id: "uk.org.publicwhip/member/#{member.id}",
                   public_whip_data_date: (member.left_house >= @most_recent_division ? @most_recent_division : "complete"),
                   public_whip_division_attendance: fraction_to_percentage_display(member.attendance_fraction, precision: 2),
                   public_whip_rebellions: fraction_to_percentage_display(member.rebellions_fraction, precision: 2))
  end
end<commit_msg>Note things we're missing that are present in the PHP app<commit_after>xml.instruct! :xml, version: "1.0", encoding: "ISO-8859-1"
xml.publicwhip do
  @members.each do |member|
    # TODO: public_whip_attendrank & public_whip_rebelrank
    xml.memberinfo(id: "uk.org.publicwhip/member/#{member.id}",
                   public_whip_data_date: (member.left_house >= @most_recent_division ? @most_recent_division : "complete"),
                   public_whip_division_attendance: fraction_to_percentage_display(member.attendance_fraction, precision: 2),
                   public_whip_rebellions: fraction_to_percentage_display(member.rebellions_fraction, precision: 2))
  end
end
{'fraction_non_alphanumeric': 0.10408326661329063, 'fraction_numerical': 0.014411529223378704, 'mean_word_length': 4.208333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4217010', 'n_tokens_mistral': 421, 'n_tokens_neox': 393, 'n_words': 68}