<commit_before>#!/usr/bin/bash
function generate_passwd_file() {
  export USER_ID=$(id -u)
  export GROUP_ID=$(id -g)
  grep -v ^python /etc/passwd > "$HOME/passwd"
  echo "python:x:${USER_ID}:${GROUP_ID}:Python Server:${HOME}:/bin/bash" >> /etc/passwd
}


python app.py<commit_msg>fix: workaround openshift uids<commit_after>#!/usr/bin/bash
function generate_passwd_file() {
  export USER_ID=$(id -u)
  export GROUP_ID=$(id -g)
  grep -v ^python /etc/passwd > "$HOME/passwd"
  echo "python:x:${USER_ID}:${GROUP_ID}:Python Server:${HOME}:/bin/bash" >> /etc/passwd
}

generate_passwd_file


python app.py
{'fraction_non_alphanumeric': 0.18407960199004975, 'fraction_numerical': 0.0, 'mean_word_length': 5.04, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4388014', 'n_tokens_mistral': 253, 'n_tokens_neox': 236, 'n_words': 43}