<commit_before>- title "Loadshedding #{@area.name}"

.page-header
  %h1
    Schedules for
    = link_to @area.name, pick_date_path(area: @area.code)
    on
    = @date.strftime '%A %e %B'
    - if Date.today == @date
      = "(today)"

.row
  .col-sm-12
    = link_to show_path(area: @area, date: @date - 1), class: 'btn btn-secondary btn-sm pull-left' do
      %span.glyphicon.glyphicon-chevron-left
      = '  ' + (@date - 1).strftime('%e %B')
    = link_to show_path(area: @area, date: @date + 1), class: 'btn btn-secondary btn-sm pull-right' do
      = (@date + 1).strftime('%e %B') + ' '
      %span.glyphicon.glyphicon-chevron-right

.row
  .col-md-6.col-md-offset-3.text-center
    %table.table.table-bordered.table-striped
      %thead
        %tr
          %th.text-center
            Stage
          %th.text-center
            Outtages
      %tbody
        - (1..4).each do |stage_num|
          - is_active = @current_stage == stage_num
          %tr{class: ('danger table-row-emph' if is_active)}
            %td.thin.text-bold<commit_msg>fix remaining outtages typo<commit_after>- title "Loadshedding #{@area.name}"

.page-header
  %h1
    Schedules for
    = link_to @area.name, pick_date_path(area: @area.code)
    on
    = @date.strftime '%A %e %B'
    - if Date.today == @date
      = "(today)"

.row
  .col-sm-12
    = link_to show_path(area: @area, date: @date - 1), class: 'btn btn-secondary btn-sm pull-left' do
      %span.glyphicon.glyphicon-chevron-left
      = '  ' + (@date - 1).strftime('%e %B')
    = link_to show_path(area: @area, date: @date + 1), class: 'btn btn-secondary btn-sm pull-right' do
      = (@date + 1).strftime('%e %B') + ' '
      %span.glyphicon.glyphicon-chevron-right

.row
  .col-md-6.col-md-offset-3.text-center
    %table.table.table-bordered.table-striped
      %thead
        %tr
          %th.text-center
            Stage
          %th.text-center
            Outages
      %tbody
        - (1..4).each do |stage_num|
          - is_active = @current_stage == stage_num
          %tr{class: ('danger table-row-emph' if is_active)}
            %td.thin.text-bold
{'fraction_non_alphanumeric': 0.15965989607935757, 'fraction_numerical': 0.010392064241851677, 'mean_word_length': 2.142433234421365, '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': '4312975', 'n_tokens_mistral': 818, 'n_tokens_neox': 775, 'n_words': 156}