<commit_before>jobs:
  - job: pypi
    pool:
      vmImage: ubuntu-18.04
    steps:
      - task: DownloadPipelineArtifact@2
        inputs:
          artifact: python-dist
          path: $(Build.SourcesDirectory)/dist
        displayName: Retrieve Python dist
      - task: UsePythonVersion@0
        inputs:
          versionSpec: 3.8
          addToPath: true
        displayName: Install Python
      - script: |
          python -m pip install -U pip
          pip install twine
        displayName: Prepare environment
      - task: TwineAuthenticate@1
        inputs:
          pythonUploadServiceConnection: pypi-upload
        displayName: Authenticate against PyPI
      - script: |
          cat $(PYPIRC_PATH)
          twine upload dist/* -r upload --config-file $(PYPIRC_PATH)
        displayName: Upload Python dist to PyPI

  - job: docker
    pool:
      vmImage: ubuntu-18.04
    steps:
      - task: DownloadPipelineArtifact@2
        inputs:
          artifact: docker
          path: $(Build.SourcesDirectory)/docker
        displayName: Retrieve Docker image from artifacts
      - task: UsePythonVersion@0
        inputs:
          versionSpec: 3.8
          addToPath: true
        displayName: Install Python<commit_msg>End troubleshooting<commit_after>jobs:
  - job: pypi
    pool:
      vmImage: ubuntu-18.04
    steps:
      - task: DownloadPipelineArtifact@2
        inputs:
          artifact: python-dist
          path: $(Build.SourcesDirectory)/dist
        displayName: Retrieve Python dist
      - task: UsePythonVersion@0
        inputs:
          versionSpec: 3.8
          addToPath: true
        displayName: Install Python
      - script: |
          python -m pip install -U pip
          pip install twine
        displayName: Prepare environment
      - task: TwineAuthenticate@1
        inputs:
          pythonUploadServiceConnection: pypi-upload
        displayName: Authenticate against PyPI
      - script: |
          twine upload dist/* -r upload --config-file $(PYPIRC_PATH)
        displayName: Upload Python dist to PyPI

  - job: docker
    pool:
      vmImage: ubuntu-18.04
    steps:
      - task: DownloadPipelineArtifact@2
        inputs:
          artifact: docker
          path: $(Build.SourcesDirectory)/docker
        displayName: Retrieve Docker image from artifacts
      - task: UsePythonVersion@0
        inputs:
          versionSpec: 3.8
          addToPath: true
        displayName: Install Python
{'fraction_non_alphanumeric': 0.07006885378695828, 'fraction_numerical': 0.01377075739165654, 'mean_word_length': 1.878787878787879, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1776628', 'n_tokens_mistral': 705, 'n_tokens_neox': 660, 'n_words': 188}