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

import { Map } from '../shared/map';
import { Direction } from '../shared/direction';
import { Tile } from '../shared/tile';
import { Square } from '../shared/square';
import { Room } from '../shared/room';
import { Random } from '../shared/random';

@Component({
    moduleId: module.id,
    selector: 'dashboard',
    templateUrl: 'dashboard.component.html'
})
export class DashboardComponent {
    public map: string = '';
    width: number;
    length: number;
    rooms: number;
    constructor() {}
    generateMap(l: number = 20, w: number = 80, r: number = 25): void {
        let map = new Map(w,l,r);
        map.createMap();
        console.log(map.toString());
    }
}<commit_msg>Update dashboard.component.ts<commit_after>import { Component } from '@angular/core';

import { Map } from '../shared/map';
import { Direction } from '../shared/direction';
import { Tile } from '../shared/tile';
import { Square } from '../shared/square';
import { Room } from '../shared/room';
import { Random } from '../shared/random';

@Component({
    moduleId: module.id,
    selector: 'dashboard',
    templateUrl: 'dashboard.component.html'
})
export class DashboardComponent {
    public mapString: string = '';
    width: number;
    length: number;
    rooms: number;
    constructor() {}
    generateMap(l: number = 20, w: number = 80, r: number = 25): void {
        let map = new Map(w,l,r);
        map.createMap();
        this.mapString = map.toString();
    }
}
{'fraction_non_alphanumeric': 0.16819371727748691, 'fraction_numerical': 0.007853403141361256, 'mean_word_length': 3.044973544973545, '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': '3087326', 'n_tokens_mistral': 463, 'n_tokens_neox': 452, 'n_words': 130}