<commit_before>﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace ExitStrategy.TestWebsite.Models
{
    public enum Sex
    {
        Male,
        Female,
        Other
    }

    public class Person
    {
        [ScaffoldColumn(false)]
        [Key, ReadOnly(true)]
        public int Id { get; set; }
        [Required, DisplayName("First Name")]
        public string FirstName { get; set; }
        [Required, DisplayName("Last Name")]
        public string LastName { get; set; }
        [DataType(DataType.Date), DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd'/'MM'/'yyyy}")]
        public DateTime BirthDate { get; set; }
        public Sex Gender { get; set; }
        public bool IsDeceased { get; set; }

        public static IEnumerable<Person> GetBeatles() 
        {
            yield return new Person
            {
                Id = 1,
                FirstName = "Ringo",
                LastName = "Starr",
                BirthDate = new DateTime(1940, 7, 6),
                Gender = Sex.Male,
                IsDeceased = false
            };
            yield return new Person
            {
                Id = 2,
                FirstName = "John",
                LastName = "Lennon",
                BirthDate = new DateTime(1940, 10, 9),
                Gender = Sex.Male,
                IsDeceased = true
            };
            yield return new Person
            {
                Id = 3,
                FirstName = "Harrison",
                LastName = "George",
                BirthDate = new DateTime(1943, 2, 24),
                Gender = Sex.Male,
                IsDeceased = true
            };
            yield return new Person
            {
                Id = 4,
                FirstName = "Paul",
                LastName = "McCartney",
                BirthDate = new DateTime(1942, 6, 18),
                Gender = Sex.Male,
                IsDeceased = false
            };
        }
    }

    public class PersonListItem
    {
        [DisplayName("First Name")]
        public string FirstName { get; set; }
        [DisplayName("Last Name")]
        public string LastName { get; set; }
        [DisplayName("")]
        public Link EditLink { get; set; }
    }
}<commit_msg>George is a fistname<commit_after>﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace ExitStrategy.TestWebsite.Models
{
    public enum Sex
    {
        Male,
        Female,
        Other
    }

    public class Person
    {
        [ScaffoldColumn(false)]
        [Key, ReadOnly(true)]
        public int Id { get; set; }
        [Required, DisplayName("First Name")]
        public string FirstName { get; set; }
        [Required, DisplayName("Last Name")]
        public string LastName { get; set; }
        [DataType(DataType.Date), DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd'/'MM'/'yyyy}")]
        public DateTime BirthDate { get; set; }
        public Sex Gender { get; set; }
        public bool IsDeceased { get; set; }

        public static IEnumerable<Person> GetBeatles() 
        {
            yield return new Person
            {
                Id = 1,
                FirstName = "Ringo",
                LastName = "Starr",
                BirthDate = new DateTime(1940, 7, 6),
                Gender = Sex.Male,
                IsDeceased = false
            };
            yield return new Person
            {
                Id = 2,
                FirstName = "John",
                LastName = "Lennon",
                BirthDate = new DateTime(1940, 10, 9),
                Gender = Sex.Male,
                IsDeceased = true
            };
            yield return new Person
            {
                Id = 3,
                FirstName = "George",
                LastName = "Harrison",
                BirthDate = new DateTime(1943, 2, 24),
                Gender = Sex.Male,
                IsDeceased = true
            };
            yield return new Person
            {
                Id = 4,
                FirstName = "Paul",
                LastName = "McCartney",
                BirthDate = new DateTime(1942, 6, 18),
                Gender = Sex.Male,
                IsDeceased = false
            };
        }
    }

    public class PersonListItem
    {
        [DisplayName("First Name"), Required]
        public string FirstName { get; set; }
        [DisplayName("Last Name"), Required]
        public string LastName { get; set; }
        [DisplayName("")]
        public Link EditLink { get; set; }
    }
}
{'fraction_non_alphanumeric': 0.0944715102732472, 'fraction_numerical': 0.013556449904681212, 'mean_word_length': 1.3681043129388164, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1189179', 'n_tokens_mistral': 1330, 'n_tokens_neox': 1201, 'n_words': 337}