<commit_before>import { Injectable } from '@angular/core';
import {
  HttpClient,
  HttpHeaders,
  HttpParams,
  HttpErrorResponse
} from '@angular/common/http';
import { Router } from '@angular/router';
import { Observable } from 'rxjs/Observable';

import 'rxjs/add/operator/catch';
import 'rxjs/add/operator/map';

import { TokenService } from '../auth/token.service';

// Request scheme definition
type Scheme = 'http' | 'https';

// Request params definition
interface IParams {
  [key: string]: string;
}

// Request options definition
interface IRequestOptions<T> {
  scheme?: Scheme;
  host?: string;
  headers?: { [key: string]: string };
  port?: number;
  path?: string;
  params?: IParams;<commit_msg>importing the Observable throw method static definition<commit_after>import { Injectable } from '@angular/core';
import {
  HttpClient,
  HttpHeaders,
  HttpParams,
  HttpErrorResponse
} from '@angular/common/http';
import { Router } from '@angular/router';
import { Observable } from 'rxjs/Observable';

import 'rxjs/add/observable/throw';
import 'rxjs/add/operator/catch';
import 'rxjs/add/operator/map';

import { TokenService } from '../auth/token.service';

// Request scheme definition
type Scheme = 'http' | 'https';

// Request params definition
interface IParams {
  [key: string]: string;
}

// Request options definition
interface IRequestOptions<T> {
  scheme?: Scheme;
  host?: string;
  headers?: { [key: string]: string };
  port?: number;
  path?: string;
  params?: IParams;
{'fraction_non_alphanumeric': 0.14095744680851063, 'fraction_numerical': 0.0, 'mean_word_length': 4.574074074074074, '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': '2963360', 'n_tokens_mistral': 455, 'n_tokens_neox': 449, 'n_words': 129}