<commit_before>module Escualo::Plugin
  class Postgre
    def run(ssh, options)
      pg_hba_conf = '/etc/postgresql/9.3/main/pg_hba.conf'

      ssh.shell.perform! %Q{
        apt-get install curl git postgresql libpq-dev -y && \
                                                            \
        echo 'local   all             postgres                                peer' > #{pg_hba_conf} && \
        echo 'local   all             postgres                                peer' >> #{pg_hba_conf} && \
        echo 'local   all             all                                     password' >> #{pg_hba_conf} && \
        echo 'host    all             all             127.0.0.1/32            md5' >> #{pg_hba_conf}
      }, options<commit_msg>Removing git and curl from pg installation<commit_after>module Escualo::Plugin
  class Postgre
    def run(ssh, options)
      pg_hba_conf = '/etc/postgresql/9.3/main/pg_hba.conf'

      ssh.shell.perform! %Q{
        apt-get install postgresql libpq-dev -y && \
                                                            \
        echo 'local   all             postgres                                peer' > #{pg_hba_conf} && \
        echo 'local   all             postgres                                peer' >> #{pg_hba_conf} && \
        echo 'local   all             all                                     password' >> #{pg_hba_conf} && \
        echo 'host    all             all             127.0.0.1/32            md5' >> #{pg_hba_conf}
      }, options
{'fraction_non_alphanumeric': 0.09523809523809523, 'fraction_numerical': 0.01455026455026455, 'mean_word_length': 0.9674902470741222, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5298520', 'n_tokens_mistral': 412, 'n_tokens_neox': 403, 'n_words': 91}