<commit_before>﻿using System.Runtime.InteropServices;

namespace RebirthTracker
{
    /// <summary>
    /// Class to keep track of OS-specific configuration settings
    /// </summary>
    public static class Configuration
    {
        /// <summary>
        /// Get the folder where files should be stored
        /// </summary>
        public static string GetDataDir()
        {

            if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
            {
                return "..\\..\\..\\..\\..\\";
            }

            return "../../../../../../";
        }
    }
}<commit_msg>Use absolute path on linux<commit_after>﻿using System.Runtime.InteropServices;

namespace RebirthTracker
{
    /// <summary>
    /// Class to keep track of OS-specific configuration settings
    /// </summary>
    public static class Configuration
    {
        /// <summary>
        /// Get the folder where files should be stored
        /// </summary>
        public static string GetDataDir()
        {

            if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
            {
                return "..\\..\\..\\..\\..\\";
            }

            return "/var/www/";
        }
    }
}
{'fraction_non_alphanumeric': 0.1475, 'fraction_numerical': 0.0, 'mean_word_length': 1.4213709677419355, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '4731056', 'n_tokens_mistral': 308, 'n_tokens_neox': 300, 'n_words': 77}