<commit_before>require "liquidscript"
require "sprockets"
require "tilt"

module Liquidscript
  class Template < ::Tilt::Template
    self.default_mime_type = 'application/javascript'

    def self.engine_initialized?
      defined? ::Liquidscript
    end

    def initialize_engine
      require_template_library "liquidscript"
    end

    def prepare; end

    def evaluate(scope, locals, &block)
      @output ||= Liquidscript.compile(data)
    end
  end

  Sprockets.register_engine '.liq', LiquidscriptTemplate
end<commit_msg>Name error<commit_after>require "liquidscript"
require "sprockets"
require "tilt"

module Liquidscript
  class Template < ::Tilt::Template
    self.default_mime_type = 'application/javascript'

    def self.engine_initialized?
      defined? ::Liquidscript
    end

    def initialize_engine
      require_template_library "liquidscript"
    end

    def prepare; end

    def evaluate(scope, locals, &block)
      @output ||= Liquidscript.compile(data)
    end
  end

  Sprockets.register_engine '.liq', Liquidscript::Template
end
{'fraction_non_alphanumeric': 0.08466603951081844, 'fraction_numerical': 0.0, 'mean_word_length': 3.8807339449541285, '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': '5872766', 'n_tokens_mistral': 343, 'n_tokens_neox': 312, 'n_words': 76}