<commit_before>%li{ id: dom_id(merge_request), class: mr_css_classes(merge_request), data: { labels: merge_request.label_ids, id: merge_request.id } }
  - if @can_bulk_update
    .issue-check.hidden
      = check_box_tag dom_id(merge_request, "selected"), nil, false, 'data-id' => merge_request.id, class: "selected-issuable"

  .issuable-info-container
    .issuable-main-info
      .merge-request-title.title
        %span.merge-request-title-text
          = link_to merge_request.title, merge_request_path(merge_request)
        - if merge_request.tasks?
          %span.task-status.d-none.d-sm-inline-block
            &nbsp;
            = merge_request.task_status

      .issuable-info
        %span.issuable-reference
          #{issuable_reference(merge_request)}
        %span.issuable-authored.d-none.d-sm-inline-block
          &middot;
          opened #{time_ago_with_tooltip(merge_request.created_at, placement: 'bottom')}
          by #{link_to_member(@project, merge_request.author, avatar: false)}
        - if merge_request.milestone
          %span.issuable-milestone.d-none.d-sm-inline-block
            &nbsp;
            = link_to project_merge_requests_path(merge_request.project, milestone_title: merge_request.milestone.title), data: { html: 'true', toggle: 'tooltip', title: milestone_tooltip_due_date(merge_request.milestone) } do
              = icon('clock-o')
              = merge_request.milestone.title
        - if merge_request.target_project.default_branch != merge_request.target_branch
          %span.project-ref-path.has-tooltip{ title: _('Target branch') }
            &nbsp;
            = link_to project_ref_path(merge_request.project, merge_request.target_branch), class: 'ref-name' do
              = sprite_icon('fork', size: 12, css_class: 'fork-sprite')
              = merge_request.target_branch
        - if merge_request.labels.any?
          &nbsp;
          - merge_request.labels.each do |label|
            = link_to_label(label, subject: merge_request.project, type: :merge_request, css_class: 'label-link')

    .issuable-meta
      %ul.controls
        - if merge_request.merged?
          %li.issuable-status.d-none.d-sm-inline-block
            MERGED
        - elsif merge_request.closed?
          %li.issuable-status.d-none.d-sm-inline-block
            = icon('ban')
            CLOSED
        - if merge_request.head_pipeline
          %li.issuable-pipeline-status.d-none.d-sm-inline-block
            = render_pipeline_status(merge_request.head_pipeline)
        - if merge_request.open? && merge_request.broken?
          %li.issuable-pipeline-broken.d-none.d-sm-inline-block
            = link_to merge_request_path(merge_request), class: "has-tooltip", title: _('Cannot be merged automatically') do
              = icon('exclamation-triangle')
        - if merge_request.assignee
          %li
            = link_to_member(merge_request.source_project, merge_request.assignee, name: false, title: _('Assigned to :name'))

        = render 'shared/issuable_meta_data', issuable: merge_request

      .float-right.issuable-updated-at.d-none.d-sm-inline-block
        %span updated #{time_ago_with_tooltip(merge_request.updated_at, placement: 'bottom', html_class: 'merge_request_updated_ago')}<commit_msg>CE port of "Display Merge Request approval counts in Merge Request list"<commit_after>%li{ id: dom_id(merge_request), class: mr_css_classes(merge_request), data: { labels: merge_request.label_ids, id: merge_request.id } }
  - if @can_bulk_update
    .issue-check.hidden
      = check_box_tag dom_id(merge_request, "selected"), nil, false, 'data-id' => merge_request.id, class: "selected-issuable"

  .issuable-info-container
    .issuable-main-info
      .merge-request-title.title
        %span.merge-request-title-text
          = link_to merge_request.title, merge_request_path(merge_request)
        - if merge_request.tasks?
          %span.task-status.d-none.d-sm-inline-block
            &nbsp;
            = merge_request.task_status

      .issuable-info
        %span.issuable-reference
          #{issuable_reference(merge_request)}
        %span.issuable-authored.d-none.d-sm-inline-block
          &middot;
          opened #{time_ago_with_tooltip(merge_request.created_at, placement: 'bottom')}
          by #{link_to_member(@project, merge_request.author, avatar: false)}
        - if merge_request.milestone
          %span.issuable-milestone.d-none.d-sm-inline-block
            &nbsp;
            = link_to project_merge_requests_path(merge_request.project, milestone_title: merge_request.milestone.title), data: { html: 'true', toggle: 'tooltip', title: milestone_tooltip_due_date(merge_request.milestone) } do
              = icon('clock-o')
              = merge_request.milestone.title
        - if merge_request.target_project.default_branch != merge_request.target_branch
          %span.project-ref-path.has-tooltip{ title: _('Target branch') }
            &nbsp;
            = link_to project_ref_path(merge_request.project, merge_request.target_branch), class: 'ref-name' do
              = sprite_icon('fork', size: 12, css_class: 'fork-sprite')
              = merge_request.target_branch
        - if merge_request.labels.any?
          &nbsp;
          - merge_request.labels.each do |label|
            = link_to_label(label, subject: merge_request.project, type: :merge_request, css_class: 'label-link')

    .issuable-meta
      %ul.controls
        - if merge_request.merged?
          %li.issuable-status.d-none.d-sm-inline-block
            MERGED
        - elsif merge_request.closed?
          %li.issuable-status.d-none.d-sm-inline-block
            = icon('ban')
            CLOSED
        - if merge_request.head_pipeline
          %li.issuable-pipeline-status.d-none.d-sm-inline-block
            = render_pipeline_status(merge_request.head_pipeline)
        - if merge_request.open? && merge_request.broken?
          %li.issuable-pipeline-broken.d-none.d-sm-inline-block
            = link_to merge_request_path(merge_request), class: "has-tooltip", title: _('Cannot be merged automatically') do
              = icon('exclamation-triangle')
        - if merge_request.assignee
          %li
            = link_to_member(merge_request.source_project, merge_request.assignee, name: false, title: _('Assigned to :name'))
        = render_if_exists 'projects/merge_requests/approvals_count', merge_request: merge_request

        = render 'shared/issuable_meta_data', issuable: merge_request

      .float-right.issuable-updated-at.d-none.d-sm-inline-block
        %span updated #{time_ago_with_tooltip(merge_request.updated_at, placement: 'bottom', html_class: 'merge_request_updated_ago')}
{'fraction_non_alphanumeric': 0.11377870563674322, 'fraction_numerical': 0.0005964807634953773, 'mean_word_length': 2.753217683268047, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1789100', 'n_tokens_mistral': 2085, 'n_tokens_neox': 2058, 'n_words': 320}