<commit_before>'use strict';
var pgpLib = require('pg-promise');
var monitor = require('pg-monitor');
var eventsActions = require('./events.js');
var userActions = require('./users.js');
 
// pg-promise initialization options:
var options = {

    capTX: true, // capitalize transaction commands;

    extend: function () {

        // our 'events' repository extension:
        this.events = eventsActions(this);

        // our 'users' repository extension:
        this.users = userActions(this);

    }

};
 
monitor.attach(options); // attaching to all events;
monitor.setTheme('matrix'); // changing default theme;
 
var pgp = pgpLib(options); // initializing pg-promise;

// instantiating the database:
var db = pgp(process.env.PG_URI || "postgres://mimolap@localhost:5432/gen");

module.exports = db;<commit_msg>chore: adjust db url<commit_after>'use strict';
var pgpLib = require('pg-promise');
var monitor = require('pg-monitor');
var eventsActions = require('./events.js');
var userActions = require('./users.js');
 
// pg-promise initialization options:
var options = {

    capTX: true, // capitalize transaction commands;

    extend: function () {

        // our 'events' repository extension:
        this.events = eventsActions(this);

        // our 'users' repository extension:
        this.users = userActions(this);

    }

};
 
monitor.attach(options); // attaching to all events;
monitor.setTheme('matrix'); // changing default theme;
 
var pgp = pgpLib(options); // initializing pg-promise;

// instantiating the database:
var db = pgp(process.env.DATABASE_URL || "postgres://mimolap@localhost:5432/gen");

module.exports = db;
{'fraction_non_alphanumeric': 0.1482153660012099, 'fraction_numerical': 0.004839685420447671, 'mean_word_length': 3.5944444444444446, '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': '6833083', 'n_tokens_mistral': 498, 'n_tokens_neox': 472, 'n_words': 124}