<commit_before>import { Injectable } from '@angular/core';

export type Mode = ReadingMode | SearchingMode;
export interface ReadingMode { mode: "reading" };
export interface SearchingMode { mode: "searching" };

@Injectable()
export class StateService {

  private activeMode: Mode = { mode: "reading" };

  constructor() { }

  public changeMode(newMode: Mode): void {
    this.activeMode = newMode;
  }

  public activeMode(): Mode {
    return this.activeMode;
  }


}
<commit_msg>Change private name attributes<commit_after>import { Injectable } from '@angular/core';

export type Mode = ReadingMode | SearchingMode;
export interface ReadingMode { mode: "reading" };
export interface SearchingMode { mode: "searching" };

@Injectable()
export class StateService {

  private _activeMode: Mode = { mode: "reading" };

  constructor() { }

  public changeMode(newMode: Mode): void {
    this._activeMode = newMode;
  }

  public activeMode(): Mode {
    return this._activeMode;
  }


}

{'fraction_non_alphanumeric': 0.11717171717171718, 'fraction_numerical': 0.0, 'mean_word_length': 4.327956989247312, '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': '6412572', 'n_tokens_mistral': 301, 'n_tokens_neox': 288, 'n_words': 83}