<commit_before>- @title = "Surveys"

.page-box.last-slide.background-p50-grey.center-vertically-xs-sm
  - current_user.subject_events.each do |subject_event|
    .panel.panel-full-width
      %h1= subject_event.name
      - if subject_event.percent.to_i.zero?
        .progress.progress-simple
          .progress-bar.progress-bar-striped{ role: "progressbar", style: "width: 100%;background-color: #ededed;", aria: { valuenow: "0", valuemin: "0", valuemax: "100" } }
      - else
        .progress.progress-simple
          .progress-bar.progress-bar-striped.bg-success{ role: "progressbar", style: "width: #{subject_event.percent}%;", aria: { valuenow: "#{subject_event.percent}", valuemin: "0", valuemax: "100" } }
      .float-right
        %small.text-muted= "#{subject_event.percent}%"
      .clearfix
      .card-columns
        - subject_event.event_designs.each do |event_design|
          .card<commit_msg>Make most recent event display first<commit_after>- @title = "Surveys"

.page-box.last-slide.background-p50-grey.center-vertically-xs-sm
  - current_user.subject_events.reverse_each do |subject_event|
    .panel.panel-full-width
      %h1= subject_event.name
      - if subject_event.percent.to_i.zero?
        .progress.progress-simple
          .progress-bar.progress-bar-striped{ role: "progressbar", style: "width: 100%;background-color: #ededed;", aria: { valuenow: "0", valuemin: "0", valuemax: "100" } }
      - else
        .progress.progress-simple
          .progress-bar.progress-bar-striped.bg-success{ role: "progressbar", style: "width: #{subject_event.percent}%;", aria: { valuenow: "#{subject_event.percent}", valuemin: "0", valuemax: "100" } }
      .float-right
        %small.text-muted= "#{subject_event.percent}%"
      .clearfix
      .card-columns
        - subject_event.event_designs.each do |event_design|
          .card
{'fraction_non_alphanumeric': 0.15351583467525495, 'fraction_numerical': 0.01610305958132045, 'mean_word_length': 3.105726872246696, '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': '7373822', 'n_tokens_mistral': 654, 'n_tokens_neox': 625, 'n_words': 106}