<commit_before>import {Component, OnInit, EventEmitter, Input, Output} from 'angular2/core'
import {ROUTER_DIRECTIVES} from "angular2/router";
import {TestSuite} from "./../test-suite/test-suite";
import {TestSuiteService} from "./../test-suite/test-suite.service.ts";
import {TestSuitesChangedEvent} from "../test-suite/test-suites-changed-event.ts";

@Component({
    selector: 'sidebar',
    templateUrl: 'app/sidebar/sidebar.html',
    styleUrls: ['app/sidebar/sidebar.css'],
    directives: [ROUTER_DIRECTIVES],
})
export class SidebarComponent implements OnInit {
    testSuites: TestSuite[] = [];
    errorMessage: String;

    @Input() sidebarVisible: boolean;
    @Input() currentTestSuiteId: string;
    @Output() hideSidebar: EventEmitter = new EventEmitter();

    constructor(<commit_msg>Fixes type error for EventEmitter in sidebar<commit_after>import {Component, OnInit, EventEmitter, Input, Output} from 'angular2/core'
import {ROUTER_DIRECTIVES} from "angular2/router";
import {TestSuite} from "./../test-suite/test-suite";
import {TestSuiteService} from "./../test-suite/test-suite.service.ts";
import {TestSuitesChangedEvent} from "../test-suite/test-suites-changed-event.ts";

@Component({
    selector: 'sidebar',
    templateUrl: 'app/sidebar/sidebar.html',
    styleUrls: ['app/sidebar/sidebar.css'],
    directives: [ROUTER_DIRECTIVES],
})
export class SidebarComponent implements OnInit {
    testSuites: TestSuite[] = [];
    errorMessage: String;

    @Input() sidebarVisible: boolean;
    @Input() currentTestSuiteId: string;
    @Output() hideSidebar: EventEmitter<any> = new EventEmitter<any>();

    constructor(
{'fraction_non_alphanumeric': 0.14607425441265978, 'fraction_numerical': 0.002434570906877663, 'mean_word_length': 4.89247311827957, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2259917', 'n_tokens_mistral': 499, 'n_tokens_neox': 501, 'n_words': 113}