<commit_before>Magickly.dragonfly.configure do |c|
  c.job :resize_with_blur do |size|
    process :convert, "-filter Gaussian -resize #{size}"
  end
  
  # c.job :tilt_shift do |coefficients|
  #   if coefficients == 'true'
  #     coefficients = "2,-2,0.5"
  #   end
  #   
  #   action = "\\( +clone -sparse-color Barycentric '0,0 black 0,%[fx:h-1] white' -function polynomial #{coefficients} \\) -compose Blur -set option:compose:args 15 -composite"
  #   process :convert, action
  # end
end
<commit_msg>added note about tilt_shift pending<commit_after>Magickly.dragonfly.configure do |c|
  c.job :resize_with_blur do |size|
    process :convert, "-filter Gaussian -resize #{size}"
  end
  
  # Dragonfly currently chokes on this command - see pull request #73:
  # https://github.com/markevans/dragonfly/pull/73
  #
  # c.job :tilt_shift do |coefficients|
  #   if coefficients == 'true'
  #     coefficients = "2,-2,0.5"
  #   end
  #   
  #   action = "\\( +clone -sparse-color Barycentric '0,0 black 0,%[fx:h-1] white' -function polynomial #{coefficients} \\) -compose Blur -set option:compose:args 15 -composite"
  #   process :convert, action
  # end
end

{'fraction_non_alphanumeric': 0.14065180102915953, 'fraction_numerical': 0.02058319039451115, 'mean_word_length': 3.259124087591241, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '5475900', 'n_tokens_mistral': 433, 'n_tokens_neox': 414, 'n_words': 107}