<commit_before>.issue-box{ class: issue_box_class(@merge_request) }
  .state
    %span.state-label
      - if @merge_request.merged?
        Merged
      - elsif @merge_request.closed?
        Closed
      - else
        Open

    %span.creator
      Created by #{link_to_member(@project, @merge_request.author)} #{time_ago_with_tooltip(@merge_request.created_at)}

  %h4.title
    = gfm escape_once(@merge_request.title)

  - if @merge_request.description.present?
    .description
      .wiki
        = preserve do
          = markdown @merge_request.description

  .context
    %cite.cgray
      = render partial: 'projects/merge_requests/show/context', locals: { merge_request: @merge_request }

- if @merge_request.closed?
  .alert.alert-info
    %span
      %i.icon-remove
      Closed by #{link_to_member(@project, @merge_request.closed_event.author)}
      #{time_ago_with_tooltip(@merge_request.closed_event.created_at)}.
- if @merge_request.merged?
  .alert.alert-info
    %span
      %i.icon-ok
      Merged by #{link_to_member(@project, @merge_request.merge_event.author)}
      #{time_ago_with_tooltip(@merge_request.merge_event.created_at)}.
- if !@closes_issues.empty? && @merge_request.open?
  .alert.alert-info.alert-info
    %span
      %i.icon-ok
      Accepting this merge request will close #{@closes_issues.size == 1 ? 'issue' : 'issues'}
      = succeed '.' do
        != gfm(@closes_issues.map { |i| "##{i.iid}" }.to_sentence)<commit_msg>Remove periods from merge request<commit_after>.issue-box{ class: issue_box_class(@merge_request) }
  .state
    %span.state-label
      - if @merge_request.merged?
        Merged
      - elsif @merge_request.closed?
        Closed
      - else
        Open

    %span.creator
      Created by #{link_to_member(@project, @merge_request.author)} #{time_ago_with_tooltip(@merge_request.created_at)}

  %h4.title
    = gfm escape_once(@merge_request.title)

  - if @merge_request.description.present?
    .description
      .wiki
        = preserve do
          = markdown @merge_request.description

  .context
    %cite.cgray
      = render partial: 'projects/merge_requests/show/context', locals: { merge_request: @merge_request }

- if @merge_request.closed?
  .alert.alert-info
    %span
      %i.icon-remove
      Closed by #{link_to_member(@project, @merge_request.closed_event.author)}
      #{time_ago_with_tooltip(@merge_request.closed_event.created_at)}
- if @merge_request.merged?
  .alert.alert-info
    %span
      %i.icon-ok
      Merged by #{link_to_member(@project, @merge_request.merge_event.author)}
      #{time_ago_with_tooltip(@merge_request.merge_event.created_at)}
- if !@closes_issues.empty? && @merge_request.open?
  .alert.alert-info.alert-info
    %span
      %i.icon-ok
      Accepting this merge request will close #{@closes_issues.size == 1 ? 'issue' : 'issues'}
      = succeed '.' do
        != gfm(@closes_issues.map { |i| "##{i.iid}" }.to_sentence)
{'fraction_non_alphanumeric': 0.12848402447314752, 'fraction_numerical': 0.0013596193065941536, 'mean_word_length': 3.1046025104602513, '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': '3135957', 'n_tokens_mistral': 989, 'n_tokens_neox': 977, 'n_words': 163}