<commit_before>const fs = require('fs')
const path = require('path')
const EventEmitter = require('events')
const dotenv = require('dotenv')
const express = require('express')
const cookieParser = require('cookie-parser')
const session = require('express-session')
const compression = require('compression')
const lusca = require('lusca')
const multer = require('multer')

const Router = require('./router')
const Controller = require('./controller')

class Specla extends EventEmitter {

  /**
   * Create new instance of the Specla app
   * @param {Object}    config
   * @return {Express}  the express app instance
   */
  constructor (config) {
    super()

    Specla.app = express()
    Specla.config = config

    // TODO find a better way to detect if the config is set in the constructor
    this.config = config
<commit_msg>Remove docblock return<commit_after>const fs = require('fs')
const path = require('path')
const EventEmitter = require('events')
const dotenv = require('dotenv')
const express = require('express')
const cookieParser = require('cookie-parser')
const session = require('express-session')
const compression = require('compression')
const lusca = require('lusca')
const multer = require('multer')

const Router = require('./router')
const Controller = require('./controller')

class Specla extends EventEmitter {

  /**
   * Create new instance of the Specla app
   * @param {Object}    config
   */
  constructor (config) {
    super()

    Specla.app = express()
    Specla.config = config

    // TODO find a better way to detect if the config is set in the constructor
    this.config = config

{'fraction_non_alphanumeric': 0.11916461916461916, 'fraction_numerical': 0.0, 'mean_word_length': 4.187898089171974, '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': '7607679', 'n_tokens_mistral': 451, 'n_tokens_neox': 448, 'n_words': 156}