<commit_before>class Qstat < Thor
  include Thor::Actions

  desc "show", "display my jobs"
  def show
    run "qstat | grep mattgibb", :capture => false
  end
  
  desc "showing", "continuously display my jobs every 2 seconds"
  def showing
    run "while [ 1 ]; do qstat | grep mattgibb; sleep 2; done", :capture => false
  end
  
  desc "count", "display the number of jobs left to complete"
  def count
    run "qstat | grep mattgibb | wc -l", :capture => false
  end
  
  desc "counting", "display a running number of jobs left to complete"
  def counting
    run "while [ 1 ]; do qstat | grep mattgibb | wc -l; sleep 2; done", :capture => false
  end
end
<commit_msg>qstat active jobs display<commit_after>class Qstat < Thor
  include Thor::Actions

  desc "show", "display my jobs"
  def show
    run "qstat | grep mattgibb", :capture => false
  end
  
  desc "showing", "continuously display my jobs every 2 seconds"
  def showing
    run "while [ 1 ]; do qstat | grep mattgibb; sleep 2; done", :capture => false
  end
  
  desc "count", "display the number of jobs left to complete"
  def count
    run "echo total: $(qstat | grep mattgibb | wc -l), active: $(qstat | grep mattgibb | grep -v ' 0 ' | wc -l)", :capture => false
  end
  
  desc "counting", "display a running number of jobs left to complete"
  def counting
    run "while [ 1 ]; do echo total: $(qstat | grep mattgibb | wc -l), active: $(qstat | grep mattgibb | grep -v ' 0 ' | wc -l); sleep 2; done", :capture => false
  end
end

{'fraction_non_alphanumeric': 0.11170212765957446, 'fraction_numerical': 0.007978723404255319, 'mean_word_length': 3.1346153846153846, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '6390169', 'n_tokens_mistral': 521, 'n_tokens_neox': 492, 'n_words': 211}