<commit_before>#!/usr/bin/env node

'use strict';

require('supererror')({ splatchError: true });

if (!process.env.LDAP_URL) {
    console.error('Only ldap supported. Missing LDAP_URL');
    process.exit(1);
}

var express = require('express'),
    json = require('body-parser').json,
    config = require('./src/config.js'),<commit_msg>Also support local file auth<commit_after>#!/usr/bin/env node

'use strict';

require('supererror')({ splatchError: true });

var express = require('express'),
    json = require('body-parser').json,
    config = require('./src/config.js'),
{'fraction_non_alphanumeric': 0.18685121107266436, 'fraction_numerical': 0.0017301038062283738, 'mean_word_length': 4.621359223300971, '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': '2504583', 'n_tokens_mistral': 188, 'n_tokens_neox': 187, 'n_words': 39}