<commit_before># encoding: utf-8

class HomeController < ApplicationController
  def index
    client = Instagram::Client.new(
      format: 'json',
      client_id: Instagram.client_id,
      client_secret: Instagram.client_secret
    )
    tag = URI.encode('ねこ')
    begin
      @response = client.tag_recent_media(tag, max_tag_id: params[:max_tag_id])
    rescue
      @response = nil  # TODO: exception handling
    end
  end
end<commit_msg>Change search tagname temporarily (#19)<commit_after># encoding: utf-8

class HomeController < ApplicationController
  def index
    client = Instagram::Client.new(
      format: 'json',
      client_id: Instagram.client_id,
      client_secret: Instagram.client_secret
    )
    tag = URI.encode('nuko')
    begin
      @response = client.tag_recent_media(tag, max_tag_id: params[:max_tag_id])
    rescue
      @response = nil  # TODO: exception handling
    end
  end
end
{'fraction_non_alphanumeric': 0.09477124183006536, 'fraction_numerical': 0.004357298474945534, 'mean_word_length': 3.3145539906103285, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2471481', 'n_tokens_mistral': 283, 'n_tokens_neox': 280, 'n_words': 67}