<commit_before>#!/bin/bash
psql -U postgres -c "create extension postgis" 
psql -c 'DROP DATABASE IF EXISTS odmtest;' -U postgres;
psql -c 'create database odmtest;' -U postgres;
#psql -U postgres -d odmtest -a -f .tests/scripts/sampledb/odm_postgres.sql
psql -c 'DROP DATABASE IF EXISTS odm;' -U postgres;
psql -c 'create database odm;' -U postgres;
  ## install
  # add -a to psql to see full log, -q is quiet
psql -U postgres -q  -f .tests/scripts/sampledb/odm_postgres.sql<commit_msg>fix postgres script<commit_after>#!/bin/bash
psql -U postgres -c "create extension postgis" 
psql -c 'DROP DATABASE IF EXISTS odmtest;' -U postgres;
psql -c 'create database odmtest;' -U postgres;
#psql -U postgres -d odmtest -a -f ./tests/scripts/sampledb/odm_postgres.sql
psql -c 'DROP DATABASE IF EXISTS odm;' -U postgres;
psql -c 'create database odm;' -U postgres;
  ## install
  # add -a to psql to see full log, -q is quiet
psql -U postgres -q  -f ./tests/scripts/sampledb/odm_postgres.sql
{'fraction_non_alphanumeric': 0.12195121951219512, 'fraction_numerical': 0.0, 'mean_word_length': 3.624413145539906, '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': '1341399', 'n_tokens_mistral': 406, 'n_tokens_neox': 393, 'n_words': 133}