<commit_before>module RakeTerraform
  module ApplyTask
    # Configuration data for terraform apply task
    class Config
      attr_accessor :plan
      attr_accessor :execution_path
      def initialize
        @plan = File.expand_path(default_plan)
        @execution_path = File.expand_path 'terraform'
      end

      def opts
        Map.new(plan: @plan,
                execution_path: @execution_path)
      end

      private

      def default_plan
        File.join('output', 'terraform', 'plan.tf')
      end
    end

    # Custom rake task to run `terraform apply`
    class Task < BaseTask
      def initialize(opts)<commit_msg>add required dependency to applytask<commit_after>require 'rake-terraform/tasks/basetask'
module RakeTerraform
  module ApplyTask
    # Configuration data for terraform apply task
    class Config
      attr_accessor :plan
      attr_accessor :execution_path
      def initialize
        @plan = File.expand_path(default_plan)
        @execution_path = File.expand_path 'terraform'
      end

      def opts
        Map.new(plan: @plan,
                execution_path: @execution_path)
      end

      private

      def default_plan
        File.join('output', 'terraform', 'plan.tf')
      end
    end

    # Custom rake task to run `terraform apply`
    class Task < BaseTask
      def initialize(opts)
{'fraction_non_alphanumeric': 0.06597479614529281, 'fraction_numerical': 0.0, 'mean_word_length': 2.391959798994975, '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': '6328828', 'n_tokens_mistral': 392, 'n_tokens_neox': 383, 'n_words': 107}