<commit_before>import { Component, OnInit } from '@angular/core';
import { BotResponseService } from './bot-response.service';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss'],
})
export class AppComponent implements OnInit {
  title = 'mysterybot';

  constructor(private botResponseService: BotResponseService) {}

  ngOnInit() {
    this.botResponseService.loadModels().then(
      () => {
        // tslint:disable-next-line: no-console
        console.info('Finished loading models');
      }
    );
  }
}
<commit_msg>Open help dialog on load<commit_after>import { Component, OnInit } from '@angular/core';
import { BotResponseService } from './bot-response.service';
import { DialogService } from './dialog.service';
import { HelpDialogComponent } from './help-dialog/help-dialog.component';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss'],
})
export class AppComponent implements OnInit {
  title = 'mysterybot';

  constructor(
    private botResponseService: BotResponseService,
    private readonly dialogService: DialogService
  ) {}

  ngOnInit() {
    this.botResponseService.loadModels().then(
      () => {
        // tslint:disable-next-line: no-console
        console.info('Finished loading models');
      }
    );
    this.dialogService.open(HelpDialogComponent);
  }
}

{'fraction_non_alphanumeric': 0.14476458186929023, 'fraction_numerical': 0.0, 'mean_word_length': 3.7308970099667773, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6478128', 'n_tokens_mistral': 419, 'n_tokens_neox': 414, 'n_words': 84}