<commit_before>import { Component, OnInit, OnDestroy } from '@angular/core';
import { ActivatedRoute, Router, Params } from "@angular/router";

import { Category } from '../models/category';
import { CategoryService } from '../services/category.service';


@Component({
  selector: 'category-select',
  templateUrl: '../templates/category-select.component.html'
})

export class CategorySelectComponent implements OnInit, OnDestroy {
  categories: Promise<Category[]>;
  selectedCategory: number;
  sub: any;

  constructor(<commit_msg>Change category select component<commit_after>import { Component, OnInit, OnDestroy } from '@angular/core';
import { ActivatedRoute, Router, Params } from "@angular/router";

import { Category } from 'models/category';
import { CategoryService } from 'services/category.service';


@Component({
  selector: 'category-select',
  templateUrl: '../templates/category-select.component.html'
})

export class CategorySelectComponent implements OnInit, OnDestroy {
  categories: Promise<Category[]>;
  selectedCategory: number;
  sub: any;

  constructor(
{'fraction_non_alphanumeric': 0.12903225806451613, 'fraction_numerical': 0.0, 'mean_word_length': 5.621951219512195, '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': '4619159', 'n_tokens_mistral': 290, 'n_tokens_neox': 284, 'n_words': 78}