<commit_before>= render 'experiments' if params[:x] == '1'

.panel.panel-default
  .panel-heading
    %h3 Dashboard

  .panel-body

    - if @last_event
      .panel.panel-default
        .panel-heading
          %h4 Last Event

        .panel-body
          .list-group
            = link_to(status_office_event_report_path(@last_event), class: 'list-group-item') do
              = render 'event', event: @last_event

    - if @upcoming_events.any?
      .panel.panel-default
        .panel-heading
          %h4= pluralize(@upcoming_events.size, 'Upcoming Event')
        .panel-body
          .list-group
            - @upcoming_events.each do |event|
              = link_to(status_office_event_report_path(@last_event), class: 'list-group-item') do
                = render 'event', event: event<commit_msg>copy paste error<commit_after>= render 'experiments' if params[:x] == '1'

.panel.panel-default
  .panel-heading
    %h3 Dashboard

  .panel-body

    - if @last_event
      .panel.panel-default
        .panel-heading
          %h4 Last Event

        .panel-body
          .list-group
            = link_to(status_office_event_report_path(@last_event), class: 'list-group-item') do
              = render 'event', event: @last_event

    - if @upcoming_events.any?
      .panel.panel-default
        .panel-heading
          %h4= pluralize(@upcoming_events.size, 'Upcoming Event')
        .panel-body
          .list-group
            - @upcoming_events.each do |event|
              = link_to(status_office_event_report_path(event), class: 'list-group-item') do
                = render 'event', event: event
{'fraction_non_alphanumeric': 0.11645101663585952, 'fraction_numerical': 0.004929143561306223, 'mean_word_length': 2.0583804143126176, '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': '3509476', 'n_tokens_mistral': 511, 'n_tokens_neox': 496, 'n_words': 99}