<commit_before>function makeCouch(setDB, loginCallback) {
  var couch = sag.server('localhost', '5984');

  if(loginCallback) {
    couch.login({
      user: 'admin',
      pass: '<PASSWORD>',
      type: sag.AUTH_COOKIE,
      callback: loginCallback
    });
  }
<commit_msg>Don't require login callback for makeCouch.<commit_after>function makeCouch(setDB, loginCallback) {
  var couch = sag.server('localhost', '5984');

  var loginOpts = {
    user: 'admin',
    pass: '<PASSWORD>',
    type: sag.AUTH_COOKIE
  };

  if(typeof loginCallback === 'function') {
    loginOpts.callback = loginCallback;
  }

  couch.login(loginOpts);

{'fraction_non_alphanumeric': 0.14511041009463724, 'fraction_numerical': 0.012618296529968454, 'mean_word_length': 3.6691176470588234, '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': '4788647', 'n_tokens_mistral': 213, 'n_tokens_neox': 210, 'n_words': 43}