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

using AppMetrics.Shared;

namespace AppMetrics.AgentService
{
	class AppSettings : AppSettingsBase
	{
		public static AppSettings Load()
		{
			var res = Load<AppSettings>(FileName);
			if (string.IsNullOrWhiteSpace(res.ConfigBaseUrl))
				throw new ApplicationException("ConfigBaseUrl config option is missing");
			return res;
		}

		private static readonly string FileName = Const.WorkingAreaPath + "AppSettings.xml";
<commit_msg>bugfix<commit_after>﻿using System;
using System.Collections.Generic;

using AppMetrics.Shared;

namespace AppMetrics.AgentService
{
	public class AppSettings : AppSettingsBase
	{
		public static AppSettings Load()
		{
			var res = Load<AppSettings>(FileName);
			if (string.IsNullOrWhiteSpace(res.ConfigBaseUrl))
				throw new ApplicationException("ConfigBaseUrl config option is missing");
			return res;
		}

		private static readonly string FileName = Const.WorkingAreaPath + "AppSettings.xml";

{'fraction_non_alphanumeric': 0.08634538152610442, 'fraction_numerical': 0.0, 'mean_word_length': 5.310126582278481, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3920643', 'n_tokens_mistral': 303, 'n_tokens_neox': 274, 'n_words': 73}