<commit_before>module Pulsar
  class CreateCapfile
    include Pulsar::ExtendedInteractor

    validate_context_for :config_path, :cap_path, :application; :applications
    before :validate_input!, :prepare_context

    def call
      default_capfile = "#{context.config_path}/apps/Capfile"
      app_capfile     = "#{context.config_path}/apps/#{context.application}/Capfile"
      import_tasks    = "Dir.glob(\"#{context.config_path}/recipes/**/*.rake\").each { |r| import r }"

      FileUtils.touch(context.capfile_path)<commit_msg>Fix comma<commit_after>module Pulsar
  class CreateCapfile
    include Pulsar::ExtendedInteractor

    validate_context_for :config_path, :cap_path, :application, :applications
    before :validate_input!, :prepare_context

    def call
      default_capfile = "#{context.config_path}/apps/Capfile"
      app_capfile     = "#{context.config_path}/apps/#{context.application}/Capfile"
      import_tasks    = "Dir.glob(\"#{context.config_path}/recipes/**/*.rake\").each { |r| import r }"

      FileUtils.touch(context.capfile_path)
{'fraction_non_alphanumeric': 0.1294559099437148, 'fraction_numerical': 0.0, 'mean_word_length': 4.230392156862745, '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': '7236111', 'n_tokens_mistral': 341, 'n_tokens_neox': 330, 'n_words': 52}