<commit_before>import { Component, OnInit, trigger, transition, animate,
    style, state } from '@angular/core';
import { Observable } from 'rxjs/Rx';

import { Deployment } from '../../../shared/models/deployment';
import { DeploymentService } from '../../../shared/services/deployment.service';

@Component({
    selector: 'launch-history-page',
    templateUrl: './launch-history-page.component.html',
    styleUrls: ['./launch-history-page.component.css'],
    host: { '[@routeAnimation]': 'true' },
    animations: [
        trigger('routeAnimation', [
            state('*', style({ opacity: 1 })),
            transition('void => *', [
                style({ opacity: 0 }),
                animate('0.5s')
            ])
        ])
    ]
})
export class LaunchHistoryPageComponent {
    deployments: Observable<Deployment[]>;

    constructor(
        private _deploymentService: DeploymentService) {
    }

    ngOnInit() {
        this.deployments = this._deploymentService.getDeployments();
    }
}<commit_msg>Added missing trackByDeploymentId method<commit_after>import { Component, OnInit, trigger, transition, animate,
    style, state } from '@angular/core';
import { Observable } from 'rxjs/Rx';

import { Deployment } from '../../../shared/models/deployment';
import { DeploymentService } from '../../../shared/services/deployment.service';

@Component({
    selector: 'launch-history-page',
    templateUrl: './launch-history-page.component.html',
    styleUrls: ['./launch-history-page.component.css'],
    host: { '[@routeAnimation]': 'true' },
    animations: [
        trigger('routeAnimation', [
            state('*', style({ opacity: 1 })),
            transition('void => *', [
                style({ opacity: 0 }),
                animate('0.5s')
            ])
        ])
    ]
})
export class LaunchHistoryPageComponent {
    deployments: Observable<Deployment[]>;

    constructor(
        private _deploymentService: DeploymentService) {
    }

    ngOnInit() {
        this.deployments = this._deploymentService.getDeployments();
    }

    trackByDeploymentId(index: number, deployment: Deployment): string {
        return deployment.id;
    }
}
{'fraction_non_alphanumeric': 0.15772581384685924, 'fraction_numerical': 0.0036680421824850985, 'mean_word_length': 2.72991452991453, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '4944339', 'n_tokens_mistral': 622, 'n_tokens_neox': 601, 'n_words': 120}