<commit_before>import { Component, Input, OnChanges } from '@angular/core';

import { BenchmarkService } from '../../benchmark';
import { Results } from '../results';

@Component({
  selector: 'app-standard-results',
  templateUrl: './standard-results.component.html',
  styleUrls: ['./standard-results.component.sass']
})
export class StandardResultsComponent implements OnChanges {
  @Input('results') results: Results[];
  constructor(private benchmarkSvc: BenchmarkService) { }

  public saveResults(): void {
    this.benchmarkSvc.saveResults(this.results);
  }

  ngOnChanges(changes: any): void {
    console.log(changes);
  }

}<commit_msg>removed onchanges<commit_after>import { Component, Input } from '@angular/core';

import { BenchmarkService } from '../../benchmark';
import { Results } from '../results';

@Component({
  selector: 'app-standard-results',
  templateUrl: './standard-results.component.html',
  styleUrls: ['./standard-results.component.sass']
})
export class StandardResultsComponent {
  @Input('results') results: Results[];
  constructor(private benchmarkSvc: BenchmarkService) { }

  public saveResults(): void {
    this.benchmarkSvc.saveResults(this.results);
  }

}
{'fraction_non_alphanumeric': 0.1540383014154871, 'fraction_numerical': 0.0, 'mean_word_length': 4.863414634146341, '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': '3955087', 'n_tokens_mistral': 349, 'n_tokens_neox': 345, 'n_words': 74}