<commit_before># This template contains a job to build the app for a single architecture.
# Only the contents of the public repository are built; internal resources are not used.

jobs:
- job: BuildAnyCPU
  displayName: 'Build AnyCPU'
  pool:
    vmImage: 'windows-latest'
  workspace:
    clean: outputs
  steps:
  - checkout: self
    clean: true
  
  - task: NuGetToolInstaller@1
    displayName: 'Use NuGet 5.2.0'

  - task: NuGetCommand@2
    displayName: 'NuGet restore XamlStyler.sln'
    inputs:
      command: custom
      arguments: restore XamlStyler.sln -Verbosity Detailed -NonInteractive

  - task: VSBuild@1
    displayName: 'Build solution XamlStyler.sln'
    inputs:
      solution: XamlStyler.sln
      vsVersion: 16.0
      platform: 'Any CPU'
      configuration: Release
      clean: true
      maximumCpuCount: true

  - task: PublishPipelineArtifact@1
    displayName: 'Publish XamlStylerExtension artifact'
    inputs:
      artifact: XamlStylerExtension
      path: $(System.DefaultWorkingDirectory)/bin/Release

  - task: VSTest@2
    displayName: 'Run unit tests'
    inputs:
      testAssemblyVer2: |
        **\**\*UnitTests*.dll<commit_msg>Update build-extension-public.yaml<commit_after># This template contains a job to build the app for a single architecture.
# Only the contents of the public repository are built; internal resources are not used.

jobs:
- job: BuildAnyCPU
  displayName: 'Build AnyCPU'
  pool:
    vmImage: 'windows-latest'
  workspace:
    clean: outputs
  steps:
  - checkout: self
    clean: true
  
  - task: NuGetToolInstaller@1

  - task: NuGetCommand@2
    displayName: 'NuGet restore XamlStyler.sln'
    inputs:
      command: custom
      arguments: restore XamlStyler.sln -Verbosity Detailed -NonInteractive

  - task: VSBuild@1
    displayName: 'Build solution XamlStyler.sln'
    inputs:
      solution: XamlStyler.sln
      vsVersion: 16.0
      platform: 'Any CPU'
      configuration: Release
      clean: true
      maximumCpuCount: true

  - task: PublishPipelineArtifact@1
    displayName: 'Publish XamlStylerExtension artifact'
    inputs:
      artifact: XamlStylerExtension
      path: $(System.DefaultWorkingDirectory)/bin/Release

  - task: VSTest@2
    displayName: 'Run unit tests'
    inputs:
      testAssemblyVer2: |
        **\**\*UnitTests*.dll
{'fraction_non_alphanumeric': 0.0825451418744626, 'fraction_numerical': 0.009028374892519347, 'mean_word_length': 3.06108202443281, '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': '4436490', 'n_tokens_mistral': 748, 'n_tokens_neox': 704, 'n_words': 208}