<commit_before>- provide :title, @sweep.title

%ol.breadcrumb
  %li= link_to 'Projects', projects_path
  %li= link_to @project.name, @project
  %li= link_to 'Sweeps', project_sweeps_path(@project)
  %li= @sweep.title

.page-header
  %h1= yield :title
  %p.help= simple_format @sweep.description

- if pending = @sweep.pending_snapshots.presence
  %h2 Pending
  = render pending

- if needs_review = @sweep.under_review_snapshots.presence
  %h2 Needs review
  = render needs_review

- if rejected = @sweep.rejected_snapshots.presence
  %h2 Rejected
  = render rejected

- if accepted = @sweep.accepted_snapshots.presence
  %h2 Accepted
  = render accepted<commit_msg>Use panels on sweep#show page<commit_after>- provide :title, @sweep.title

%ol.breadcrumb
  %li= link_to 'Projects', projects_path
  %li= link_to @project.name, @project
  %li= link_to 'Sweeps', project_sweeps_path(@project)
  %li= @sweep.title

.page-header
  %h1= yield :title
  %p.help= simple_format @sweep.description

- if pending = @sweep.pending_snapshots.presence
  .panel.panel-info
    .panel-heading
      %h2.panel-title Pending
    .panel-body.snapshots
      = render pending

- if needs_review = @sweep.under_review_snapshots.presence
  .panel.panel-warning
    .panel-heading
      %h2.panel-title Needs review
    .panel-body.snapshots
      = render needs_review

- if rejected = @sweep.rejected_snapshots.presence
  .panel.panel-danger
    .panel-heading
      %h2.panel-title Rejected
    .panel-body.snapshots
      = render rejected

- if accepted = @sweep.accepted_snapshots.presence
  .panel.panel-success
    .panel-heading
      %h2.panel-title Accepted
    .panel-body.snapshots
      = render accepted
{'fraction_non_alphanumeric': 0.10790094339622641, 'fraction_numerical': 0.00589622641509434, 'mean_word_length': 3.5741239892183287, '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': '6062635', 'n_tokens_mistral': 620, 'n_tokens_neox': 598, 'n_words': 125}