<commit_before>.table_content
  table.table.table-striped
    thead
      th= t('.table.project')
      th= t('.table.subscription_date')
      th= t('.table.status')
      th
    - subscriptions.each do |subscription|
        tr[id="subscription_#{subscription.id}"]
          td.project_name
            = link_to subscription.project.name, subscription.project, class: 'link_project'
          td.date = I18n.l(subscription.created_at.to_date)
          td.status = I18n.t(subscription.status, scope: [:activerecord, :attributes, :subscription, :statuses])
          td.cancel
            - unless subscription.canceled?
              = simple_form_for subscription, url: subscription_cancel_path, method: :post do |form|
                = form.input :id, as: :hidden, value: subscription.id
                = form.button :submit, t('.form.submit.cancel'), class: 'bg-red-error'<commit_msg>Update User's dashboard subscriptions tab<commit_after>.table_content
  table.table.table-striped
    thead
      th= t('.table.project')
      th= t('.table.subscription_date')
      th= t('.table.status')
      th
    - subscriptions.each do |subscription|
        tr[id="subscription_#{subscription.id}"]
          td.project_name
            = link_to subscription.project.name, subscription.project, class: 'link_project'
          td.date = I18n.l(subscription.created_at.to_date)
          td.status = I18n.t(subscription.status, scope: [:activerecord, :attributes, :subscription, :statuses])
          td.cancel
            - if subscription.available_for_canceling?
              = simple_form_for subscription, url: subscription_cancel_path, method: :post do |form|
                = form.input :id, as: :hidden, value: subscription.id
                = form.button :submit, t('.form.submit.cancel'), class: 'bg-red-error'
{'fraction_non_alphanumeric': 0.12438356164383561, 'fraction_numerical': 0.004383561643835616, 'mean_word_length': 2.688888888888889, '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': '354984', 'n_tokens_mistral': 535, 'n_tokens_neox': 536, 'n_words': 105}