<commit_before>- poll = item.eventable
.poll-created
  .thread-item.px-3.pb-1
    #sequence-3.layout.lmo-action-dock-wrapper{:style => "margin-left: 0px;"}
      .thread-item__avatar.mr-3.mt-0
        = render 'discussions/avatar', user: poll.user
      .layout.thread-item__body.column
        .layout.align-center.wrap
          %h3.thread-item__title.body-2
            =raw t(:"poll_mailer.#{poll.poll_type}.header.poll_created", actor: poll.user.name, title: poll.title)
            %span
              %span{"aria-hidden" => "true"}  ·
            %span.grey--text.body-2
              = render 'discussions/time_ago', time: poll.created_at
        .layout.justify-space-between
          %h1.poll-common-card__title.headline
            %span= poll.title
            %span.ml-2.v-chip.v-chip--outlined.theme--light.v-size--small.warning.warning--text
              %span.v-chip__content
                - if poll.active?
                  = t(:"poll_mailer.common.you_have_until", when: formatted_time_in_zone(poll.closing_at, poll.time_zone))
                - else
                  = t(:"poll_common_form.closed")
                  = formatted_time_in_zone(poll.closed_at, poll.time_zone)
                -# %abbr.closing-in.timeago--inline
                -#   %span{:title => "January 21, 14:55"} Closed January 21, 14:55
        - if poll.current_outcome
          .pa-4.my-4.poll-common-outcome-panel.v-sheet.theme--light.elevation-2.primary.lighten-5
            .title= t(:"poll_common.outcome")
            .poll-common-outcome-panel__authored-by.caption.my-2
              %span= t(:'email.by_who', person: poll.current_outcome.author.name)
              %span
                = render 'discussions/time_ago', time: poll.current_outcome.created_at
            .lmo-markdown-wrapper.body-2.text--primary
              %p= render_rich_text_fast(poll.current_outcome.statement, poll.current_outcome.statement_format)
      .lmo-markdown-wrapper.body-2.text--primary.poll-common-details-panel__details
        %p= render_rich_text_fast(poll.details, poll.details_format)

    = render "discussions/polls/#{poll.poll_type}/chart", poll: poll
<commit_msg>fix indent on ssr poll_created<commit_after>- poll = item.eventable
.poll-created
  .thread-item.px-3.pb-1
    #sequence-3.layout.lmo-action-dock-wrapper{:style => "margin-left: 0px;"}
      .thread-item__avatar.mr-3.mt-0
        = render 'discussions/avatar', user: poll.user
      .layout.thread-item__body.column
        .layout.align-center.wrap
          %h3.thread-item__title.body-2
            =raw t(:"poll_mailer.#{poll.poll_type}.header.poll_created", actor: poll.user.name, title: poll.title)
            %span
              %span{"aria-hidden" => "true"}  ·
            %span.grey--text.body-2
              = render 'discussions/time_ago', time: poll.created_at
        .layout.justify-space-between
          %h1.poll-common-card__title.headline
            %span= poll.title
            %span.ml-2.v-chip.v-chip--outlined.theme--light.v-size--small.warning.warning--text
              %span.v-chip__content
                - if poll.active?
                  = t(:"poll_mailer.common.you_have_until", when: formatted_time_in_zone(poll.closing_at, poll.time_zone))
                - else
                  = t(:"poll_common_form.closed")
                  = formatted_time_in_zone(poll.closed_at, poll.time_zone)
                -# %abbr.closing-in.timeago--inline
                -#   %span{:title => "January 21, 14:55"} Closed January 21, 14:55
        - if poll.current_outcome
          .pa-4.my-4.poll-common-outcome-panel.v-sheet.theme--light.elevation-2.primary.lighten-5
            .title= t(:"poll_common.outcome")
            .poll-common-outcome-panel__authored-by.caption.my-2
              %span= t(:'email.by_who', person: poll.current_outcome.author.name)
              %span
                = render 'discussions/time_ago', time: poll.current_outcome.created_at
            .lmo-markdown-wrapper.body-2.text--primary
              %p= render_rich_text_fast(poll.current_outcome.statement, poll.current_outcome.statement_format)
        .lmo-markdown-wrapper.body-2.text--primary.poll-common-details-panel__details
          %p= render_rich_text_fast(poll.details, poll.details_format)

    = render "discussions/polls/#{poll.poll_type}/chart", poll: poll

{'fraction_non_alphanumeric': 0.13639494833524685, 'fraction_numerical': 0.013777267508610792, 'mean_word_length': 2.177242888402626, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2976107', 'n_tokens_mistral': 1478, 'n_tokens_neox': 1409, 'n_words': 170}