<commit_before># TeamCity Build Script
# source scripts/install-${TRAVIS_OS_NAME} # OS-specific installs
# pip install pyyaml coveralls

eval "$(pyenv init -)"
mkdir -p ~/.nvm && export NVM_DIR=~/.nvm && source $(brew --prefix nvm)/nvm.sh
nvm install --lts && nvm use --lts

cd api && make install && cd ..
cd app && make install && cd ..

"export OT_TIME_SUFFIX=-$(date '+%Y-%m-%d_%H-%M')"
"export OT_BRANCH_SUFFIX=-${TRAVIS_BRANCH}"
"export OT_COMMIT_SUFFIX=-${TRAVIS_COMMIT:0:7}"
cd api && make test exe && cd ..
cd app && make -j 2 build test test-e2e && make package && cd ..

# Clean up. This will leave only single-file build artifacts<commit_msg>set commit and branch suffix for TC<commit_after># TeamCity Build Script
# source scripts/install-${TRAVIS_OS_NAME} # OS-specific installs
# pip install pyyaml coveralls

eval "$(pyenv init -)"
mkdir -p ~/.nvm && export NVM_DIR=~/.nvm && source $(brew --prefix nvm)/nvm.sh
nvm install --lts && nvm use --lts

cd api && make install && cd ..
cd app && make install && cd ..

export OT_TIME_SUFFIX=-$(date '+%Y-%m-%d_%H-%M')
export OT_BRANCH_SUFFIX=-$(git branch | grep \* | cut -d ' ' -f2)
TC_COMMIT=$(git rev-parse HEAD)
export OT_COMMIT_SUFFIX=-${TC_COMMIT:0:7}

cd api && make test exe && cd ..
cd app && make -j 2 build test test-e2e && make package && cd ..

# Clean up. This will leave only single-file build artifacts
{'fraction_non_alphanumeric': 0.16339869281045752, 'fraction_numerical': 0.006535947712418301, 'mean_word_length': 3.7681660899653977, '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': '1309201', 'n_tokens_mistral': 517, 'n_tokens_neox': 496, 'n_words': 159}