<commit_before>class RetirementWorker
  include Sidekiq::Worker

  sidekiq_options queue: :high

  def perform(count_id)
    count = SubjectWorkflowCount.find(count_id)
    if count.retire?
      count.retire! do
        SubjectQueue.dequeue_for_all(count.workflow, count.set_member_subject_ids)<commit_msg>don't dequque all for SGL<commit_after>class RetirementWorker
  include Sidekiq::Worker

  sidekiq_options queue: :high

  def perform(count_id)
    count = SubjectWorkflowCount.find(count_id)
    if count.retire?
      count.retire! do
        if count.workflow.project_id != 764
          SubjectQueue.dequeue_for_all(count.workflow, count.set_member_subject_ids)
        end
{'fraction_non_alphanumeric': 0.07456140350877193, 'fraction_numerical': 0.0043859649122807015, 'mean_word_length': 4.036764705882353, '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': '7198566', 'n_tokens_mistral': 229, 'n_tokens_neox': 220, 'n_words': 41}