<commit_before>﻿using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Management.Automation;
using System.Net;
using Microsoft.Azure.Commands.StorageSync.Evaluation.OutputWriters;
using Microsoft.Azure.Commands.StorageSync.Evaluation.Validations.NamespaceValidations;
using Microsoft.Azure.Commands.StorageSync.Evaluation.Validations.SystemValidations;
using System.Text.RegularExpressions;
using System;
using System.Diagnostics;
using Microsoft.Azure.Commands.StorageSync.Evaluation.Interfaces;
using Microsoft.Azure.Commands.StorageSync.Evaluation.Validations;

namespace Microsoft.Azure.Commands.StorageSync.Evaluation.Cmdlets
{

    [Cmdlet(
        VerbsLifecycle.Invoke, "AzureRmStorageSyncCompatibilityCheck", 
        DefaultParameterSetName="PathBased")]
    [OutputType(typeof(object))]
    public class InvokeCompatibilityCheckCmdlet : Cmdlet, ICmdlet
    {
        #region Fields and Properties
        [Parameter(Mandatory = true, Position = 0, ParameterSetName = "PathBased")]
        public string Path { get; set; }

        [Parameter]
        public PSCredential Credential { get; set; }

        [Parameter(Mandatory = true, Position = 0, ParameterSetName = "ComputerNameBased")]
        public string ComputerName { get; set; }

        private string ComputerNameValue {
            get
            {
                var afsPath = new AfsPath(this.Path);
                string computerName;<commit_msg>fixing output type<commit_after>﻿namespace Microsoft.Azure.Commands.StorageSync.Evaluation.Cmdlets
{
    using System.Collections.Generic;
    using System.IO;
    using System.Management.Automation;
    using System.Net;
    using OutputWriters;
    using Validations.NamespaceValidations;
    using Validations.SystemValidations;
    using System;
    using System.Diagnostics;
    using Interfaces;
    using Validations;
    using Models;

    [Cmdlet(
        VerbsLifecycle.Invoke, "AzureRmStorageSyncCompatibilityCheck", 
        DefaultParameterSetName="PathBased")]
    [OutputType(typeof(PSValidationResult))]
    public class InvokeCompatibilityCheckCmdlet : Cmdlet, ICmdlet
    {
        #region Fields and Properties
        [Parameter(Mandatory = true, Position = 0, ParameterSetName = "PathBased")]
        public string Path { get; set; }

        [Parameter]
        public PSCredential Credential { get; set; }

        [Parameter(Mandatory = true, Position = 0, ParameterSetName = "ComputerNameBased")]
        public string ComputerName { get; set; }

        private string ComputerNameValue {
            get
            {
                var afsPath = new AfsPath(this.Path);
                string computerName;
{'fraction_non_alphanumeric': 0.08293045741911491, 'fraction_numerical': 0.0014875418371141688, 'mean_word_length': 3.352750809061489, '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': '2410102', 'n_tokens_mistral': 725, 'n_tokens_neox': 700, 'n_words': 159}