<commit_before><% group_assignment_repo = repo.decorate %>

<div class="one-half left team">
  <div class="team-panel">
    <% group_member_count = group_assignment_repo.group.repo_accesses.count %>
    <%= form_tag({ controller: :group_assignment_invitations, action: :accept_invitation}, :class => "team-actions-form", method: :patch) do %>
        <%= hidden_field_tag 'group[id]', group_assignment_repo.id %>
        <% if group_assignment.max_members.present? && group_member_count >= group_assignment.max_members %>
            <%= submit_tag 'Full', class: 'btn', disabled: true %>
        <% else %>
            <%= submit_tag 'Join', class: 'btn' %>
        <% end %>
    <% end %><commit_msg>use group_id<commit_after><% group_assignment_repo = repo.decorate %>

<div class="one-half left team">
  <div class="team-panel">
    <% group_member_count = group_assignment_repo.group.repo_accesses.count %>
    <%= form_tag({ controller: :group_assignment_invitations, action: :accept_invitation}, :class => "team-actions-form", method: :patch) do %>
        <%= hidden_field_tag 'group[id]', group.id %>
        <% if group_assignment.max_members.present? && group_member_count >= group_assignment.max_members %>
            <%= submit_tag 'Full', class: 'btn', disabled: true %>
        <% else %>
            <%= submit_tag 'Join', class: 'btn' %>
        <% end %>
    <% end %>
{'fraction_non_alphanumeric': 0.16294160057678442, 'fraction_numerical': 0.0, 'mean_word_length': 3.689189189189189, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 31, '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': '6439725', 'n_tokens_mistral': 470, 'n_tokens_neox': 432, 'n_words': 83}