<commit_before>import { Component } from '@angular/core';
import { Person } from '../_models/person';

@Component({
  moduleId: module.id,
  selector: 'sd-register',
  templateUrl: 'register.component.html',
  styleUrls: ['register.component.css'],
})


export class RegisterComponent  {
  persons: Person[] = [];
  counter = 0;
  person: Person;

  onSubmit(value) {
    this.person = new Person(value.name, value.email, value.age);
    if(value) {
      this.persons.push(this.person);
    }
    this.counter++;
  }
}
<commit_msg>Detalle del cast<commit_after>import { Component } from '@angular/core';
import { Person } from '../_models/person';

@Component({
  moduleId: module.id,
  selector: 'sd-register',
  templateUrl: 'register.component.html',
  styleUrls: ['register.component.css'],
})


export class RegisterComponent  {
  persons: Person[] = [];
  counter = 0;
  person: Person;

  onSubmit(value: Person) {
    this.person = new Person(value.name, value.email, value.age);
    if(value) {
      this.persons.push(this.person);
    }
    this.counter++;
  }
}

{'fraction_non_alphanumeric': 0.16279069767441862, 'fraction_numerical': 0.0018604651162790699, 'mean_word_length': 3.6379310344827585, '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': '3098047', 'n_tokens_mistral': 356, 'n_tokens_neox': 351, 'n_words': 73}