<commit_before>{
  "Comment": "This sample config file enables nearly all toolbox features and daemons of laitos. It is provided for testing use. To launch the program: sudo ./laitos -gomaxprocs 16 -config sample-config.json.txt -daemons dnsd,httpd,insecurehttpd,maintenance,plainsocket,smtpd,sockd,telegram",
  "DNSDaemon": {
    "AllowQueryIPPrefixes": [
      "192."
    ]
  },
  "Features": {
    "Browser": {
      "Browsers": {
        "BasePortNumber": 12020,
        "PhantomJSExecPath": "./extra/phantomjs-2.1.1-linux-x86_64"
      }
    },
    "Facebook": {
      "UserAccessToken": "dummy token"
    },
    "IMAPAccounts": {
      "Accounts": {
        "dummy": {
          "AuthPassword": "<PASSWORD>",
          "AuthUsername": "dummy username",
          "Host": "localhost"
        }
      }
    },
    "SendMail": {
      "MailClient": {
        "AuthPassword": "<PASSWORD>",
        "AuthUsername": "dummy username",
        "MTAHost": "localhost",
        "MTAPort": 25,
        "MailFrom": "root@localhost"
      }
    },
    "Shell": {
      "InterpreterPath": "/bin/bash"
    },
    "Twilio": {
      "AccountSID": "dummy SID",
      "AuthToken": "dummy token",
      "PhoneNumber": "+000000000000"
    },
    "Twitter": {
      "AccessToken": "dummy token",
      "AccessTokenSecret": "dummy secret",
      "ConsumerKey": "dummy key",
      "ConsumerSecret": "dummy secret"
    },
    "WolframAlpha": {
      "AppID": "dummy id"
    }
  },
  "HTTPDaemon": {
    "TLSCertPath": "sample-config.crt.txt",
    "TLSKeyPath": "sample-config.crt.key.txt"
  },
  "HTTPFilters": {
    "LintText": {
      "CompressSpaces": true,
      "CompressToSingleLine": true,
      "KeepVisible7BitCharOnly": true,
      "MaxLength": 160,
      "TrimSpaces": true
    },
    "NotifyViaEmail": {
      "Recipients": [
        "root@localhost"
      ]
    },
    "PINAndShortcuts": {
      "PIN": "samplepin",
      "Shortcuts": {
        "info": ".einfo",
        "lock": ".elock",
        "stop": ".estop"
      }
    },
    "TranslateSequences": {
      "Sequences": [
        [
          "#/",
          "|"
        ]
      ]
    }
  },
  "HTTPHandlers": {
    "BrowserEndpoint": "/sample/browser",
    "BrowserEndpointConfig": {
      "Browsers": {
        "BasePortNumber": 14120,
        "MaxInstances": 5,
        "MaxLifetimeSec": 1800,
        "PhantomJSExecPath": "./extra/phantomjs-2.1.1-linux-x86_64"
      }
    },
    "CommandFormEndpoint": "/sample/cmd",
    "GitlabBrowserEndpoint": "/sample/gitlab",
    "GitlabBrowserEndpointConfig": {
      "PrivateToken": "<PASSWORD>",
      "Projects": {
        "dummy": "00000000"
      },
      "Recipients": [
        "root@localhost"
      ]
    },
    "InformationEndpoint": "/sample/info",
    "MailMeEndpoint": "/sample/mailme",
    "MailMeEndpointConfig": {
      "Recipients": [
        "root@localhost"
      ]<commit_msg>correct path to phantomjs in sample-config.json<commit_after>{
  "Comment": "This sample config file enables nearly all toolbox features and daemons of laitos. It is provided for testing use. To launch the program: sudo ./laitos -gomaxprocs 16 -config sample-config.json.txt -daemons dnsd,httpd,insecurehttpd,maintenance,plainsocket,smtpd,sockd,telegram",
  "DNSDaemon": {
    "AllowQueryIPPrefixes": [
      "192."
    ]
  },
  "Features": {
    "Browser": {
      "Browsers": {
        "BasePortNumber": 12020,
        "PhantomJSExecPath": "./extra/phantomjs-2.1.1-x86_64"
      }
    },
    "Facebook": {
      "UserAccessToken": "dummy token"
    },
    "IMAPAccounts": {
      "Accounts": {
        "dummy": {
          "AuthPassword": "<PASSWORD>",
          "AuthUsername": "dummy username",
          "Host": "localhost"
        }
      }
    },
    "SendMail": {
      "MailClient": {
        "AuthPassword": "<PASSWORD>",
        "AuthUsername": "dummy username",
        "MTAHost": "localhost",
        "MTAPort": 25,
        "MailFrom": "root@localhost"
      }
    },
    "Shell": {
      "InterpreterPath": "/bin/bash"
    },
    "Twilio": {
      "AccountSID": "dummy SID",
      "AuthToken": "dummy token",
      "PhoneNumber": "+000000000000"
    },
    "Twitter": {
      "AccessToken": "dummy token",
      "AccessTokenSecret": "dummy secret",
      "ConsumerKey": "dummy key",
      "ConsumerSecret": "dummy secret"
    },
    "WolframAlpha": {
      "AppID": "dummy id"
    }
  },
  "HTTPDaemon": {
    "TLSCertPath": "sample-config.crt.txt",
    "TLSKeyPath": "sample-config.crt.key.txt"
  },
  "HTTPFilters": {
    "LintText": {
      "CompressSpaces": true,
      "CompressToSingleLine": true,
      "KeepVisible7BitCharOnly": true,
      "MaxLength": 160,
      "TrimSpaces": true
    },
    "NotifyViaEmail": {
      "Recipients": [
        "root@localhost"
      ]
    },
    "PINAndShortcuts": {
      "PIN": "samplepin",
      "Shortcuts": {
        "info": ".einfo",
        "lock": ".elock",
        "stop": ".estop"
      }
    },
    "TranslateSequences": {
      "Sequences": [
        [
          "#/",
          "|"
        ]
      ]
    }
  },
  "HTTPHandlers": {
    "BrowserEndpoint": "/sample/browser",
    "BrowserEndpointConfig": {
      "Browsers": {
        "BasePortNumber": 14120,
        "MaxInstances": 5,
        "MaxLifetimeSec": 1800,
        "PhantomJSExecPath": "./extra/phantomjs-2.1.1-x86_64"
      }
    },
    "CommandFormEndpoint": "/sample/cmd",
    "GitlabBrowserEndpoint": "/sample/gitlab",
    "GitlabBrowserEndpointConfig": {
      "PrivateToken": "dummy token",
      "Projects": {
        "dummy": "00000000"
      },
      "Recipients": [
        "root@localhost"
      ]
    },
    "InformationEndpoint": "/sample/info",
    "MailMeEndpoint": "/sample/mailme",
    "MailMeEndpointConfig": {
      "Recipients": [
        "root@localhost"
      ]
{'fraction_non_alphanumeric': 0.1685916221341148, 'fraction_numerical': 0.02068608860541286, 'mean_word_length': 2.196694214876033, 'pattern_counts': {'":': 150, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3357402', 'n_tokens_mistral': 2035, 'n_tokens_neox': 1917, 'n_words': 332}