<commit_before>require 'rake-pipeline-web-filters/filter_with_dependencies'

module Rake::Pipeline::Web::Filters
  # A filter that accepts a series of inputs and translates
  # them using the Tilt template interface, which will attempt
  # to guess which template language to use based on the input
  # file extension.
  #
  # Requires {https://rubygems.org/gems/less-js less-js}
  #
  # @example
  #   !!!ruby
  #   Rake::Pipeline.build do
  #     input "app/assets", "**/*.less"
  #     output "public"
  #
  #     # Compile each less file with Less.js
  #     filter Rake::Pipeline::Web::Filters::LessFilter
  #   end
  class LessFilter < Rake::Pipeline::Filter
    include Rake::Pipeline::Web::Filters::FilterWithDependencies

    # @return [Hash] a hash of options to pass to Less
    #   when compiling.
    attr_reader :options<commit_msg>Correct the description of the LessFilter<commit_after>require 'rake-pipeline-web-filters/filter_with_dependencies'

module Rake::Pipeline::Web::Filters
  # A filter that compiles input files written in Less
  # to CSS using the Less compiler.
  #
  # Requires {https://rubygems.org/gems/less-js less-js}
  #
  # @example
  #   !!!ruby
  #   Rake::Pipeline.build do
  #     input "app/assets", "**/*.less"
  #     output "public"
  #
  #     # Compile each less file with Less.js
  #     filter Rake::Pipeline::Web::Filters::LessFilter
  #   end
  class LessFilter < Rake::Pipeline::Filter
    include Rake::Pipeline::Web::Filters::FilterWithDependencies

    # @return [Hash] a hash of options to pass to Less
    #   when compiling.
    attr_reader :options
{'fraction_non_alphanumeric': 0.11401869158878504, 'fraction_numerical': 0.0, 'mean_word_length': 3.4487534626038783, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2484281', 'n_tokens_mistral': 503, 'n_tokens_neox': 494, 'n_words': 139}