<commit_before><h2>Residence history</h2>

<% applicant.residences.each.with_index do |residence, index| %>
  <%= bootstrap_form_for(residence, remote: true) do |f| %>
    <h3><%= "Residence #{index + 1}" %></h3><commit_msg>Explicitly state that Residence/Landlord 1 is the current one<commit_after><h2>Residence history</h2>

<% applicant.residences.each.with_index do |residence, index| %>
  <%= bootstrap_form_for(residence, remote: true) do |f| %>
    <h3>
      <%= "Residence #{index + 1}" %>
      <% if index == 0 %>
        <small>Where you live now</small>
      <% end %>
    </h3>
{'fraction_non_alphanumeric': 0.17905405405405406, 'fraction_numerical': 0.02027027027027027, 'mean_word_length': 3.941666666666667, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '7551394', 'n_tokens_mistral': 231, 'n_tokens_neox': 205, 'n_words': 47}