<commit_before>﻿using System;
using Xunit.Sdk;

namespace Xunit
{
    /// <summary>
    /// Attribute that is applied to a method to indicate that it is a Visual Studio
    /// integration fact that should be run by the test runner.
    /// </summary>
    [XunitTestCaseDiscoverer(Constants.RootNamespace + "." + nameof(VsixFactDiscoverer), Constants.ThisAssembly)]
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
    public class VsixFactAttribute : FactAttribute, IVsixAttribute
    {
        /// <summary>
        /// Sets default values for properties other than the VS version.
        /// </summary>
        public VsixFactAttribute()
            : this(new[] { VisualStudioVersion.All })
        {
        }

        /// <summary>
        /// Overrides the default Visual Studio version for the test.
        /// </summary>
        public VsixFactAttribute(string visualStudioVersion)
            : this(new string[] { visualStudioVersion })
        {
        }

        /// <summary>
        /// Overrides the default Visual Studio versions for the test.<commit_msg>Fix improper defaulting of VsixFact for VS versions<commit_after>﻿using System;
using Xunit.Sdk;

namespace Xunit
{
    /// <summary>
    /// Attribute that is applied to a method to indicate that it is a Visual Studio
    /// integration fact that should be run by the test runner.
    /// </summary>
    [XunitTestCaseDiscoverer(Constants.RootNamespace + "." + nameof(VsixFactDiscoverer), Constants.ThisAssembly)]
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
    public class VsixFactAttribute : FactAttribute, IVsixAttribute
    {
        /// <summary>
        /// Sets default values for properties other than the VS version.
        /// </summary>
        public VsixFactAttribute() { }

        /// <summary>
        /// Overrides the default Visual Studio version for the test.
        /// </summary>
        public VsixFactAttribute(string visualStudioVersion)
            : this(new string[] { visualStudioVersion })
        {
        }

        /// <summary>
        /// Overrides the default Visual Studio versions for the test.
{'fraction_non_alphanumeric': 0.10009267840593142, 'fraction_numerical': 0.0, 'mean_word_length': 2.3524844720496896, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '6326861', 'n_tokens_mistral': 551, 'n_tokens_neox': 537, 'n_words': 178}