<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SimpleFixture.Impl;

namespace SimpleFixture.Conventions.Named
{
    public partial class StringNamedConvention : BaseNamedConvention<string>
    {

        public StringNamedConvention(IRandomDataGeneratorService dataGenerator, IConstraintHelper helper) : base(dataGenerator,helper)
        {
        }
        
        protected override void Initialize()
        {
            AddConvention(FirstNameConvention, "FirstName", "MiddleName");
            AddConvention(LastNameConvention, "LastName", "Surname");
            AddConvention(UsernameConvention,"Username");
            AddConvention(PasswordConvention,"Password");
            AddConvention(HeightConvention,"Height");
            AddConvention(WeightConvention,"Weight");
            AddConvention(DateOfBirthConvention, "DateOfBirth", "DOB");
            AddConvention(EmailConvention,"Email","EmailAddress","EmailAddr");
            AddConvention(GovernementIdConvention, "GovernmentId", "SSN", "SocialSecurityNumber");
            AddConvention(PhoneNumberConvention, "Phone", "PhoneNumber", "CellPhone", "CellPhoneNumber", "MobilePhone", "MobilePhoneNumber", "HomePhone", "HomePhoneNumber","WorkPhone","WorkPhoneNumber");

            AddConvention(AddressLineOneConvention,"Address", "AddressLine", "AddressLine1", "AddressLineOne", "AddrLine1", "HomeAddress1", "MailingAddress1");
            AddConvention(AddressLineTwoConvention, "AddressLine2", "AddressLineTwo", "AddrLine2", "HomeAddress2", "MailingAddress2");
            AddConvention(CityConvention, "City", "HomeCity", "MailingCity");
            AddConvention(StateConvention, "State", "StateProvince");
            AddConvention(StateAbbreviation, "StateAbbreviation");
            AddConvention(PostalCodeConvention, "PostalCode", "ZipCode", "Zip", "HomeZip", "MailingZip");<commit_msg>Adding "Date" to the named conventions for providing a date<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SimpleFixture.Impl;

namespace SimpleFixture.Conventions.Named
{
    public partial class StringNamedConvention : BaseNamedConvention<string>
    {

        public StringNamedConvention(IRandomDataGeneratorService dataGenerator, IConstraintHelper helper) : base(dataGenerator,helper)
        {
        }
        
        protected override void Initialize()
        {
            AddConvention(FirstNameConvention, "FirstName", "MiddleName");
            AddConvention(LastNameConvention, "LastName", "Surname");
            AddConvention(UsernameConvention,"Username");
            AddConvention(PasswordConvention,"Password");
            AddConvention(HeightConvention,"Height");
            AddConvention(WeightConvention,"Weight");
            AddConvention(DateOfBirthConvention, "DateOfBirth", "DOB","Date");
            AddConvention(EmailConvention,"Email","EmailAddress","EmailAddr");
            AddConvention(GovernementIdConvention, "GovernmentId", "SSN", "SocialSecurityNumber");
            AddConvention(PhoneNumberConvention, "Phone", "PhoneNumber", "CellPhone", "CellPhoneNumber", "MobilePhone", "MobilePhoneNumber", "HomePhone", "HomePhoneNumber","WorkPhone","WorkPhoneNumber");

            AddConvention(AddressLineOneConvention,"Address", "AddressLine", "AddressLine1", "AddressLineOne", "AddrLine1", "HomeAddress1", "MailingAddress1");
            AddConvention(AddressLineTwoConvention, "AddressLine2", "AddressLineTwo", "AddrLine2", "HomeAddress2", "MailingAddress2");
            AddConvention(CityConvention, "City", "HomeCity", "MailingCity");
            AddConvention(StateConvention, "State", "StateProvince");
            AddConvention(StateAbbreviation, "StateAbbreviation");
            AddConvention(PostalCodeConvention, "PostalCode", "ZipCode", "Zip", "HomeZip", "MailingZip");
{'fraction_non_alphanumeric': 0.11772119989916814, 'fraction_numerical': 0.00403327451474666, 'mean_word_length': 4.573033707865169, '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': '6539336', 'n_tokens_mistral': 1056, 'n_tokens_neox': 1025, 'n_words': 176}