<commit_before>﻿using System.Xml.Linq;
using Packager.Extensions;
using Packager.Providers;
using Packager.Validators.Attributes;

namespace Packager.Models.PodMetadataModels
{
    public class DigitalAudioFile : AbstractDigitalFile
    {
        [Required]
        public string SpeedUsed { get; set; }
        
        public override void ImportFromXml(XElement element, ILookupsProvider lookupsProvider)
        {
            base.ImportFromXml(element, lookupsProvider);
            SpeedUsed = element.ToStringValue("speed_used");
        }
    }
}<commit_msg>wiring in new fields (for import)<commit_after>﻿using System.Xml.Linq;
using Packager.Extensions;
using Packager.Providers;
using Packager.Validators.Attributes;

namespace Packager.Models.PodMetadataModels
{
    public class DigitalAudioFile : AbstractDigitalFile
    {
        [Required]
        public string SpeedUsed { get; set; }
        public string TapeFluxivity { get; set; }
        public string AnalogOutputVoltage { get; set; }
        public string Peak { get; set; }
        public string StylusSize { get; set; }
        public string TurnOver { get; set; }

        public override void ImportFromXml(XElement element, ILookupsProvider lookupsProvider)
        {
            base.ImportFromXml(element, lookupsProvider);
            SpeedUsed = element.ToStringValue("speed_used");
            TapeFluxivity = element.ToStringValue("tape_fluxivity");
            AnalogOutputVoltage = element.ToStringValue("analog_output_voltage");
            Peak = element.ToStringValue("peak");
            StylusSize = element.ToStringValue("stylus_size");
            TurnOver = element.ToStringValue("turnover");
        }
    }
}
{'fraction_non_alphanumeric': 0.08504398826979472, 'fraction_numerical': 0.0, 'mean_word_length': 3.0141176470588236, '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': '5708268', 'n_tokens_mistral': 457, 'n_tokens_neox': 450, 'n_words': 102}