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

@Component({
    selector: 'my-app',
    template: '<h1>{{title}}</h1><h2>{{hero.name}} details!</h2>'
})

export class Hero  {
	
	id: number;
	name: string;

}
export class AppComponent { 

	title = 'Tour of Heroes';
	hero: Hero = {<commit_msg>resolved issue with Hero class - variable must be defined before it is used<commit_after>import { Component } from '@angular/core';

export class Hero  {
	
	id: number;
	name: string;

}

@Component({
    selector: 'my-app',
    template: '<h1>{{title}}</h1><h2>{{hero.name}} details!</h2>'
})

export class AppComponent { 

	title = 'Tour of Heroes';
	hero: Hero = {
{'fraction_non_alphanumeric': 0.17138599105812222, 'fraction_numerical': 0.011922503725782414, 'mean_word_length': 4.014925373134329, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4185348', 'n_tokens_mistral': 241, 'n_tokens_neox': 222, 'n_words': 64}