<commit_before>namespace :tweet do
  desc "Tweet today's pickup song"
  task :pickup_song do
    song = Song.pickup
    time_order  = song.time.present? ? "#{song.time.strftime('%R')} #{order}" : order
    title       = '今日のピックアップ！'
    content     = "#{song.live_title} #{time_order} #{song.title}"
    url         = Rails.application.routes.url_helpers.song_url(song, host: 'livelog.ku-unplugged.net')
    TweetJob.perform_now("#{title}\n#{content}\n#{url}")
  end
end<commit_msg>Fix tweet:pickup_song task<commit_after>namespace :tweet do
  desc "Tweet today's pickup song"
  task :pickup_song do
    song = Song.pickup
    time_order  = song.time.present? ? "#{song.time.strftime('%R')} #{song.order}" : song.order
    title       = '今日のピックアップ！'
    content     = "#{song.live_title} #{time_order} #{song.title}"
    url         = Rails.application.routes.url_helpers.song_url(song, host: 'livelog.ku-unplugged.net')
    TweetJob.perform_now("#{title}\n#{content}\n#{url}")
  end
end
{'fraction_non_alphanumeric': 0.16312056737588654, 'fraction_numerical': 0.0, 'mean_word_length': 3.6824644549763033, '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': '4471372', 'n_tokens_mistral': 385, 'n_tokens_neox': 371, 'n_words': 63}