<commit_before>require "digest"

class Chef
  class Provider 
    class DbUser < Chef::Provider::LWRPBase
      attr_reader :version

      def self.call(*args)
        new(*args).call
      end    

      def initialize
        # @node = node
        @version = node['chef_postgres']['version']

        node.default['chef_postgres']['admin_login']['username'] = admin_user_default
        node.default['chef_postgres']['admin_login']['password'] = <PASSWORD>
      end  
<commit_msg>Pass node<commit_after>require "digest"

class Chef
  class Provider 
    class DbUser < Chef::Provider::LWRPBase
      attr_reader :node, :version

      def self.call(*args)
        new(*args).call
      end    

      def initialize(node)
        @node = node
        @version = node['chef_postgres']['version']

        node.default['chef_postgres']['admin_login']['username'] = admin_user_default
        node.default['chef_postgres']['admin_login']['password'] = <PASSWORD>
      end  

{'fraction_non_alphanumeric': 0.1299897645854657, 'fraction_numerical': 0.0, 'mean_word_length': 2.943548387096774, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1417181', 'n_tokens_mistral': 303, 'n_tokens_neox': 284, 'n_words': 54}