<commit_before>#!/bin/bash

echo "$ cd $CONCRETE_SOURCE_DIR"
cd $CONCRETE_SOURCE_DIR

if [ -n "$GATHER_PROJECTS" ]; then
  rm ~/.schemes
  
  git remote set-head origin -d

  for branch in $(git branch -r); 
  do<commit_msg>check whether step can cd into the source directory - if not then exit with 1<commit_after>#!/bin/bash

echo "$ cd $CONCRETE_SOURCE_DIR"
cd $CONCRETE_SOURCE_DIR
if [ $? -ne 0 ]; then
  echo "[!] Can't cd into the source folder!"
  exit 1
fi

if [ -n "$GATHER_PROJECTS" ]; then
  rm ~/.schemes
  
  git remote set-head origin -d

  for branch in $(git branch -r); 
  do
{'fraction_non_alphanumeric': 0.12162162162162163, 'fraction_numerical': 0.005067567567567568, 'mean_word_length': 3.2971014492753623, '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': '7066791', 'n_tokens_mistral': 232, 'n_tokens_neox': 223, 'n_words': 75}