<commit_before>import CTEventsService from '../services/CTEventsService';
import WebSocketService from '../services/WebSocketService';
import ToastNotificationService from '../services/ToastNotificationService';
import RoutingService from '../services/RoutingService';
import PresenterService from '../services/PresenterService';
import Backbone from 'backbone';

export default class Controller {
    constructor(options = {}) {
        this.moduleRegion = window.contentRegion;
        this.options = options;
        /*
        this.listenTo(CTEventsService, 'cbEvent', this.__handleEvent);
        if (WebSocketService.isConnected()) {
            this.listenTo(WebSocketService, 'ws:open ws:close ws:message ws:error', this.__handleSocketEvent);
        }
        */
        this.moduleId = options.config.id;<commit_msg>Fix module show in custom region.<commit_after>import CTEventsService from '../services/CTEventsService';
import WebSocketService from '../services/WebSocketService';
import ToastNotificationService from '../services/ToastNotificationService';
import RoutingService from '../services/RoutingService';
import PresenterService from '../services/PresenterService';
import Backbone from 'backbone';

export default class Controller {
    constructor(options = {}) {
        this.moduleRegion = options.region || window.contentRegion;
        this.options = options;
        /*
        this.listenTo(CTEventsService, 'cbEvent', this.__handleEvent);
        if (WebSocketService.isConnected()) {
            this.listenTo(WebSocketService, 'ws:open ws:close ws:message ws:error', this.__handleSocketEvent);
        }
        */
        this.moduleId = options.config.id;
{'fraction_non_alphanumeric': 0.11242603550295859, 'fraction_numerical': 0.0, 'mean_word_length': 3.8314285714285714, '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': '3685356', 'n_tokens_mistral': 426, 'n_tokens_neox': 418, 'n_words': 97}