<commit_before>module Main
  class Main
    def initialize
      stdout_logger = Logger.new(STDOUT)
      Rails.logger.extend(ActiveSupport::Logger.broadcast(stdout_logger))
    end

    def ag_scrape
      programs = Ag::Scraping.new.main
      programs.each do |p|
        Job.new(
          ch: Job::CH[:ag],
          title: p.title,
          start: p.start_time.next_on_air,
          end: p.start_time.next_on_air + p.minutes.minutes
        ).schedule
      end
    end

    def radiko_scrape
      Settings.radiko_channels.each do |ch|
        programs = Radiko::Scraping.new.get(ch)
        programs.each do |p|
          title = p.title
          title += " #{p.performers}" if p.performers.present?
          Job.new(
            ch: ch,<commit_msg>Remove STDOUT logger<commit_after>module Main
  class Main
    def ag_scrape
      programs = Ag::Scraping.new.main
      programs.each do |p|
        Job.new(
          ch: Job::CH[:ag],
          title: p.title,
          start: p.start_time.next_on_air,
          end: p.start_time.next_on_air + p.minutes.minutes
        ).schedule
      end
    end

    def radiko_scrape
      Settings.radiko_channels.each do |ch|
        programs = Radiko::Scraping.new.get(ch)
        programs.each do |p|
          title = p.title
          title += " #{p.performers}" if p.performers.present?
          Job.new(
            ch: ch,
{'fraction_non_alphanumeric': 0.10461760461760462, 'fraction_numerical': 0.0, 'mean_word_length': 1.8835758835758836, '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': '5766801', 'n_tokens_mistral': 459, 'n_tokens_neox': 453, 'n_words': 93}