<commit_before>const mongoose = require('mongoose');

function __connection() {

  let username  = process.env.MONGO_DATABASE || '';
  let password  = process.env.MONGO_USERNAME || '';
  let database  = process.env.MONGO_PASSWORD || '<PASSWORD>';
  let server    = process.env.MONGO_SERVER || 'localhost';
  let port      = process.env.MONGO_PORT || 27017;
  let auth      = username ? (username + ':' + password + '@') : '';

  return 'mongodb://' + auth + server + ':' + port + '/' + database;

}

module.exports = mongoose.connect(__connection());
<commit_msg>consertando a atribuição das variáveis<commit_after>const mongoose = require('mongoose');

function __connection() {

  let username  = process.env.MONGO_USERNAME || '';
  let password  = <PASSWORD> || '';
  let database  = process.env.MONGO_DATABASE || 'sapucaia';
  let server    = process.env.MONGO_SERVER || 'localhost';
  let port      = process.env.MONGO_PORT || 27017;
  let auth      = username ? (username + ':' + password + '@') : '';

  return 'mongodb://' + auth + server + ':' + port + '/' + database;

}

module.exports = mongoose.connect(__connection());

{'fraction_non_alphanumeric': 0.1676963812886143, 'fraction_numerical': 0.0088261253309797, 'mean_word_length': 3.7053941908713695, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1596044', 'n_tokens_mistral': 383, 'n_tokens_neox': 364, 'n_words': 76}