<commit_before>require 'singleton'
require 'forwardable'
require 'ridley'

module SilverSpurs
  class ChefInterface

    def initialize(options)
      @chef_config = options
    end

    def chef_run(node_name, run_list = [])
      node = ridley.node.find(node_name)
      if a.size > 0
        command = "sudo chef-client -o '#{run_list.join(',')}'"
        node.execute_command command
      else
        node.chef_run
      end
    end

    private

    def ridley
      @ridley ||= Ridley.new(@chef_config)
    end

  end<commit_msg>Fixup! There has got to be something wrong me.<commit_after>require 'singleton'
require 'forwardable'
require 'ridley'

module SilverSpurs
  class ChefInterface

    def initialize(options)
      @chef_config = options
    end

    def chef_run(node_name, run_list = [])
      node = ridley.node.find(node_name)
      if run_list.size > 0
        command = "sudo chef-client -o '#{run_list.join(',')}'"
        node.execute_command command
      else
        node.chef_run
      end
    end

    private

    def ridley
      @ridley ||= Ridley.new(@chef_config)
    end

  end
{'fraction_non_alphanumeric': 0.09515260323159784, 'fraction_numerical': 0.0017953321364452424, 'mean_word_length': 2.506289308176101, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3811571', 'n_tokens_mistral': 379, 'n_tokens_neox': 358, 'n_words': 89}