<commit_before>version: 2
jobs:
  build:
    docker:
      - image: cimg/python:3.10.5
    
    working_directory: ~/repo
    
    steps:
      - checkout

      - restore_cache:
          keys:
          - v3-dependencies-{{ checksum "requirements.txt" }}
          - v3-dependencies-

      - run:
          name: Install dependencies for graphviz
          command: |
                    sudo apt-get install -y graphviz sqlite3 libtiff-dev libsqlite3-dev

      - run:
          name: Install dependencies for proj
          command: |
                    sudo apt-get install -y libgeos-dev proj-data

      - run:
          name: build proj
          command: |
                    # see https://stackoverflow.com/questions/72442087/cant-install-proj-8-0-0-for-cartopy-linux
                    wget https://download.osgeo.org/proj/proj-9.0.0.tar.gz
                    tar -xf proj-9.0.0.tar.gz
                    cd proj-9.0.0
                    mkdir build && cd build
                    cmake ..
                    cmake --build .
                    sudo cmake --build . --target install<commit_msg>Update config.yml<commit_after>version: 2
jobs:
  build:
    docker:
      - image: cimg/python:3.10.5
    
    working_directory: ~/repo
    
    steps:
      - checkout

      - restore_cache:
          keys:
          - v3-dependencies-{{ checksum "requirements.txt" }}
          - v3-dependencies-

      - run:
          name: Install dependencies for graphviz
          command: |
                    sudo apt update
                    sudo apt-get install -y graphviz sqlite3 libtiff-dev libsqlite3-dev

      - run:
          name: Install dependencies for proj
          command: |
                    sudo apt-get install -y libgeos-dev proj-data

      - run:
          name: build proj
          command: |
                    # see https://stackoverflow.com/questions/72442087/cant-install-proj-8-0-0-for-cartopy-linux
                    wget https://download.osgeo.org/proj/proj-9.0.0.tar.gz
                    tar -xf proj-9.0.0.tar.gz
                    cd proj-9.0.0
                    mkdir build && cd build
                    cmake ..
                    cmake --build .
                    sudo cmake --build . --target install
{'fraction_non_alphanumeric': 0.09391534391534391, 'fraction_numerical': 0.025573192239858905, 'mean_word_length': 1.1692160611854685, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '310524', 'n_tokens_mistral': 710, 'n_tokens_neox': 638, 'n_words': 145}