<commit_before>from twisted.web import server
from twisted.python import usage
from twisted.application import service, strports

import diamondash.server as webserver

DEFAULT_PORT = '8080'
DEFAULT_CONFIG_DIR = 'etc/diamondash'


class Options(usage.Options):
    """Command line args when run as a twistd plugin"""
    # TODO other args
    optParameters = [["port", "p", DEFAULT_PORT,
                      "Port number for diamondash to listen on"],
                     ["config_dir", "c", DEFAULT_CONFIG_DIR,
                      "Config dir"]]<commit_msg>Fixed the default config directory setting in service.py (it was pointing to the wrong location)<commit_after>from twisted.web import server
from twisted.python import usage
from twisted.application import service, strports

import diamondash.server as webserver

DEFAULT_PORT = '8080'
DEFAULT_CONFIG_DIR = 'etc'


class Options(usage.Options):
    """Command line args when run as a twistd plugin"""
    # TODO other args
    optParameters = [["port", "p", DEFAULT_PORT,
                      "Port number for diamondash to listen on"],
                     ["config_dir", "c", DEFAULT_CONFIG_DIR,
                      "Config dir"]]
{'fraction_non_alphanumeric': 0.08848080133555926, 'fraction_numerical': 0.00667779632721202, 'mean_word_length': 3.037037037037037, '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': '771095', 'n_tokens_mistral': 317, 'n_tokens_neox': 300, 'n_words': 115}