<commit_before>﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
using NuGetPackageExplorer.Types;
using PackageExplorer.Properties;
using PackageExplorerViewModel;

namespace PackageExplorer
{
    /// <summary>
    /// Interaction logic for PackageViewer.xaml
    /// </summary>
    public partial class PackageViewer : UserControl
    {
        private const string PackageFileDataFormat = "PackageFileContent";

        private static readonly Dictionary<string, string[]> _frameworkFolders =
            new Dictionary<string, string[]>
            {
                {
                    "Portable Library",
                    new string[0]
                },
                {
                    "Windows Phone", 
                    new[] {"v7.0", "sl3-wp", "v7.1 (Mango)", "sl4-wp71", "v8.0", "wp8"}
                },
                {
                    "Siverlight",
                    new[]
                    {
                        "(no version)", "sl", "v2.0", "sl2", "v3.0", "sl30", "v4.0", "sl40", "v5.0", "sl50"
                    }
                },
                {
                    "Windows Store",
                    new[] { "(no version)", "netcore", "Windows 8", "netcore45" }
                },
                {
                    ".NET",
                    new[]
                    {
                        "(no version)", "net", "v1.0", "net10", "v1.1", "net11", "v2.0",
                        "net20", "v3.0", "net30", "v3.5", "net35", "v4.0", "net40", "v4.5", "net45"
                    }<commit_msg>Add Windows8 javascript, Windows8 managed and .NEt client profile folders.<commit_after>﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
using NuGetPackageExplorer.Types;
using PackageExplorer.Properties;
using PackageExplorerViewModel;

namespace PackageExplorer
{
    /// <summary>
    /// Interaction logic for PackageViewer.xaml
    /// </summary>
    public partial class PackageViewer : UserControl
    {
        private const string PackageFileDataFormat = "PackageFileContent";

        private static readonly Dictionary<string, string[]> _frameworkFolders =
            new Dictionary<string, string[]>
            {
                {
                    "Portable Library",
                    new string[0]
                },
                {
                    "Windows Phone", 
                    new[] {"v7.0", "sl3-wp", "v7.1 (Mango)", "sl4-wp71", "v8.0", "wp8"}
                },
                {
                    "Siverlight",
                    new[]
                    {
                        "(no version)", "sl", "v2.0", "sl2", "v3.0", "sl30", "v4.0", "sl40", "v5.0", "sl50"
                    }
                },
                {
                    "Windows Store",
                    new[] { "(no version)", "netcore", "Windows 8", "netcore45", "Windows 8 for JavaScript", "windows8-javascript", "Windows 8 for .NET", "windows8-managed" }
                },
                {
                    ".NET Client profile",
                    new []
                    {
                        "v3.5 client", "net35-client", "v4.0 client", "net40-client"
                    }
                },
                {
                    ".NET",
                    new[]
                    {
                        "(no version)", "net", "v1.0", "net10", "v1.1", "net11", "v2.0",
                        "net20", "v3.0", "net30", "v3.5", "net35", "v4.0", "net40", "v4.5", "net45"
                    }
{'fraction_non_alphanumeric': 0.1354872329338197, 'fraction_numerical': 0.033871808233454925, 'mean_word_length': 1.3451435552840563, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3088548', 'n_tokens_mistral': 1125, 'n_tokens_neox': 1015, 'n_words': 237}