<commit_before>resources:
- repo: self
  clean: true

queue:
  name: Default
  demands: vstest

trigger:
- feature/*
- develop
- release/*
- master
- hotfix/*

steps:
- powershell: .\build.ps1 -Target Build
  displayName: Build
  workingDirectory: $(Build.SourcesDirectory)/

- powershell: .\build.ps1 -Target Run-Tests
  displayName: Run Tests
  workingDirectory: $(Build.SourcesDirectory)/

- powershell: .\build.ps1 -Target Publish
  displayName: Pack and Publish Nuget Packages
  workingDirectory: $(Build.SourcesDirectory)/

- task: PublishTestResults@2
  inputs:
    testRunner: XUnit
    testResultsFiles: Tests*.xml
    searchFolder: $(Build.SourcesDirectory)/.artifacts/Test-Results/
    mergeTestResults: false
    testRunTitle: XUnit
    platform:
    configuration:
    publishRunAttachments: false

- task: PublishCodeCoverageResults@1
  inputs:
   codeCoverageTool: Cobertura
   summaryFileLocation: $(Build.SourcesDirectory)/.artifacts/Coverage/
   reportDirectory:  $(Build.SourcesDirectory)/.artifacts/Coverage/
   additionalCodeCoverageFiles:
   failIfCoverageEmpty: false
<commit_msg>try fix coverage<commit_after>resources:
- repo: self
  clean: true

queue:
  name: Default
  demands: vstest

trigger:
- feature/*
- develop
- release/*
- master
- hotfix/*

steps:
- powershell: .\build.ps1 -Target Build
  displayName: Build
  workingDirectory: $(Build.SourcesDirectory)/

- powershell: .\build.ps1 -Target Run-Tests
  displayName: Run Tests
  workingDirectory: $(Build.SourcesDirectory)/

- powershell: .\build.ps1 -Target Publish
  displayName: Pack and Publish Nuget Packages
  workingDirectory: $(Build.SourcesDirectory)/

- task: PublishTestResults@2
  inputs:
    testRunner: XUnit
    testResultsFiles: Tests*.xml
    searchFolder: $(Build.SourcesDirectory)/.artifacts/Test-Results/
    mergeTestResults: false
    testRunTitle: XUnit
    platform:
    configuration:
    publishRunAttachments: false

- task: PublishCodeCoverageResults@1
  inputs:
   codeCoverageTool: Cobertura
   summaryFileLocation: $(Build.SourcesDirectory)/.artifacts/Coverage/OpenCover.xml
   reportDirectory:  $(Build.SourcesDirectory)/.artifacts/Coverage/
   additionalCodeCoverageFiles:
   failIfCoverageEmpty: false

{'fraction_non_alphanumeric': 0.10036003600360036, 'fraction_numerical': 0.004500450045004501, 'mean_word_length': 4.169767441860465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, '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': '6374547', 'n_tokens_mistral': 682, 'n_tokens_neox': 670, 'n_words': 152}