<commit_before>import { Component, Input, OnInit } from '@angular/core';
import { Session } from '../../../data/models/session';
import { PLAYERS_ROUTE } from '../../app.routes';
import { LinkLocation } from '../../directive/insertLinks/insertLinks.directive';

@Component({
  selector: 'sessions',
  templateUrl: 'sessions.component.html',
  styleUrls: [ 'sessions.component.scss' ]
})
export class SessionsComponent implements OnInit {
  @Input() public sessions : Session[];
  @Input() public excludeLinks : LinkLocation[];
  public activeSession : number = -1;
  public sessionExpanded : boolean = false;

  @Input() public gangName : string;
  public path : string = PLAYERS_ROUTE;

  public toggleSession() : void {
    this.sessionExpanded = !this.sessionExpanded;
  }

  public ngOnInit() : void {
    this.activeSession = this.sessions.length - 1;
  }

  get nextAvailable() : boolean {
    return this.activeSession < this.sessions.length - 1;<commit_msg>Removed unused code<commit_after>import { Component, Input, OnInit } from '@angular/core';
import { Session } from '../../../data/models/session';
import { LinkLocation } from '../../directive/insertLinks/insertLinks.directive';

@Component({
  selector: 'sessions',
  templateUrl: 'sessions.component.html',
  styleUrls: [ 'sessions.component.scss' ]
})
export class SessionsComponent implements OnInit {
  @Input() public sessions : Session[];
  @Input() public excludeLinks : LinkLocation[];
  public activeSession : number = -1;
  public sessionExpanded : boolean = false;

  @Input() public gangName : string;

  public toggleSession() : void {
    this.sessionExpanded = !this.sessionExpanded;
  }

  public ngOnInit() : void {
    this.activeSession = this.sessions.length - 1;
  }

  get nextAvailable() : boolean {
    return this.activeSession < this.sessions.length - 1;
{'fraction_non_alphanumeric': 0.14030335861321777, 'fraction_numerical': 0.0032502708559046588, 'mean_word_length': 4.019021739130435, 'pattern_counts': {'":': 0, '<': 5, '<?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': '668792', 'n_tokens_mistral': 544, 'n_tokens_neox': 538, 'n_words': 137}