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

import { AuthService } from '../services/auth-service/auth.service';
import { AssessmentsApi } from '../services/api-service/assessments-api/assessments.api.mock';

@Component({
  selector: 'app-dashboard',
  templateUrl: './dashboard.component.html',
  styleUrls: ['./dashboard.component.scss']
})
export class DashboardComponent implements OnInit {

  constructor(private router: Router, private authService: AuthService, private assessments : AssessmentsApi) { }

  ngOnInit() {
    this.assessments.getAssessmentsByModule(1).subscribe((response) => {
      console.log("Reached here: ", response);
    });
  }

  logout() {
    this.authService.logout();
    this.router.navigate(['/login']);
  }

}<commit_msg>Removed test code accidentally checked in<commit_after>import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router'

import { AuthService } from '../services/auth-service/auth.service';

@Component({
  selector: 'app-dashboard',
  templateUrl: './dashboard.component.html',
  styleUrls: ['./dashboard.component.scss']
})
export class DashboardComponent implements OnInit {

  constructor(private router: Router, private authService: AuthService) { }

  ngOnInit() {
  }

  logout() {
    this.authService.logout();
    this.router.navigate(['/login']);
  }

}
{'fraction_non_alphanumeric': 0.1521585279547063, 'fraction_numerical': 0.0007077140835102619, 'mean_word_length': 4.5234375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6706805', 'n_tokens_mistral': 427, 'n_tokens_neox': 426, 'n_words': 86}