<commit_before>module AmaLayoutNavigationHelper

  def navigation
    return AmaLayout::Navigation.non_member unless member?
    case
    when has_outstanding_balance?
      AmaLayout::Navigation.member_with_outstanding_balance
    when in_renewal_late?
      AmaLayout::Navigation.member_in_renewal_late
    when in_renewal?
      AmaLayout::Navigation.member_in_renewal
    else
      AmaLayout::Navigation.member
    end
  end

  private

  def member?
    member
  end

  def in_renewal?
    in_renewal
  end

  def in_renewal_late?
    status == "AL"
  end

  def has_outstanding_balance?
    has_outstanding_balance
  end
end
<commit_msg>remove outstanding balance<commit_after>module AmaLayoutNavigationHelper

  def navigation
    return AmaLayout::Navigation.non_member unless member?
    case
    when in_renewal_late?
      AmaLayout::Navigation.member_in_renewal_late
    when in_renewal?
      AmaLayout::Navigation.member_in_renewal
    else
      AmaLayout::Navigation.member
    end
  end

  private

  def member?
    member
  end

  def in_renewal?
    in_renewal
  end

  def in_renewal_late?
    status == "AL"
  end
end

{'fraction_non_alphanumeric': 0.04820333041191937, 'fraction_numerical': 0.0, 'mean_word_length': 3.3587786259541983, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5990267', 'n_tokens_mistral': 387, 'n_tokens_neox': 350, 'n_words': 77}