<commit_before>class Houston::Dashboards::StagingController < ApplicationController
  layout "houston/dashboards/dashboard"

  def index
    @on_staging = Github::PullRequest.labeled "on-staging"
    @up_next = Github::PullRequest.labeled "test-needed"

    @title = "Staging"
    @title << " (#{@on_staging.count})" if @on_staging.count > 0

    render partial: "houston/dashboards/staging/staging" if request.xhr?
  end

end
<commit_msg>[skip] Filtered out up next pull requests that are wips or on staging (10m)<commit_after>class Houston::Dashboards::StagingController < ApplicationController
  layout "houston/dashboards/dashboard"

  def index
    @on_staging = Github::PullRequest.labeled "on-staging"
    @up_next = Github::PullRequest.labeled("test-needed").reject do |pr|
      pr.labels.include? "on-staging" || "wip"
    end

    @title = "Staging"
    @title << " (#{@on_staging.count})" if @on_staging.count > 0

    render partial: "houston/dashboards/staging/staging" if request.xhr?
  end

end

{'fraction_non_alphanumeric': 0.12759643916913946, 'fraction_numerical': 0.003956478733926805, 'mean_word_length': 4.440860215053763, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '2977730', 'n_tokens_mistral': 356, 'n_tokens_neox': 335, 'n_words': 72}