<commit_before>%h3
  Milestone ##{@milestone.id}
  %small
    = @milestone.expires_at

  %span.right
    = link_to 'Browse Issues', project_issues_path(@milestone.project, milestone_id: @milestone.id), class: "btn edit-milestone-link small grouped"
    - if can?(current_user, :admin_milestone, @project)
      = link_to edit_project_milestone_path(@project, @milestone), class: "btn small grouped" do
        %i.icon-edit
        Edit

.back_link
  = link_to project_milestones_path(@project) do
    &larr; To milestones list

.main_box
  .top_box_content
    %h5
      - if @milestone.closed
        .alert-message.error.status_info Closed
      - else
        .alert-message.success.status_info Open
      = gfm escape_once(@milestone.title)
      %small.right= @milestone.expires_at

  .middle_box_content
    %h5
      Progress:
      %small
        #{@milestone.issues.opened.count} open
        &ndash;
        #{@milestone.issues.closed.count} closed
    .progress.progress-success
      .bar{style: "width: #{@milestone.percent_complete}%;"}<commit_msg>reversed order of progress indication for visual harmony so that text matches the progress bar<commit_after>%h3
  Milestone ##{@milestone.id}
  %small
    = @milestone.expires_at

  %span.right
    = link_to 'Browse Issues', project_issues_path(@milestone.project, milestone_id: @milestone.id), class: "btn edit-milestone-link small grouped"
    - if can?(current_user, :admin_milestone, @project)
      = link_to edit_project_milestone_path(@project, @milestone), class: "btn small grouped" do
        %i.icon-edit
        Edit

.back_link
  = link_to project_milestones_path(@project) do
    &larr; To milestones list

.main_box
  .top_box_content
    %h5
      - if @milestone.closed
        .alert-message.error.status_info Closed
      - else
        .alert-message.success.status_info Open
      = gfm escape_once(@milestone.title)
      %small.right= @milestone.expires_at

  .middle_box_content
    %h5
      Progress:
      %small
        #{@milestone.issues.closed.count} closed
        &ndash;
        #{@milestone.issues.opened.count} open
    .progress.progress-success
      .bar{style: "width: #{@milestone.percent_complete}%;"}
{'fraction_non_alphanumeric': 0.11247165532879819, 'fraction_numerical': 0.0027210884353741495, 'mean_word_length': 3.1233644859813086, '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': '4022429', 'n_tokens_mistral': 739, 'n_tokens_neox': 727, 'n_words': 145}