<commit_before>if [ -z "$1" ]; then 
  echo "$0 results.file.txt"; 
  exit;
fi

VALDPT=80

if [ -z "$2" ]; then 
  VALDPT=80
else
  VALDPT=$2
fi

tail -n +2 $1 | awk '{print $1}' > x0_orig
tail -n +2 $1 | awk '{print $2}' > x0_pred
python histo.py eta_orig $VALDPT >  x0_orig.hist
python histo.py eta_pred $VALDPT >  x0_pred.hist
tail -n +2 $1 | awk '{print $3}' > x0_diff
python histo.py eta_diff $VALDPT > x0_diff.hist

tail -n +2 $1 | awk '{print $4}' > y0_orig
tail -n +2 $1 | awk '{print $5}' > y0_pred
python histo.py z0_orig $VALDPT >  y0_orig.hist
python histo.py z0_pred $VALDPT >  y0_pred.hist
tail -n +2 $1 | awk '{print $6}' > y0_diff
python histo.py z0_diff $VALDPT > y0_diff.hist<commit_msg>minor<commit_after>if [ -z "$1" ]; then 
  echo "$0 results.file.txt"; 
  exit;
fi

VALDPT=80

if [ -z "$2" ]; then 
  VALDPT=80
else
  VALDPT=$2
fi

tail -n +2 $1 | awk '{print $1}' > x0_orig
tail -n +2 $1 | awk '{print $2}' > x0_pred
python histo.py x0_orig $VALDPT >  x0_orig.hist
python histo.py x0_pred $VALDPT >  x0_pred.hist
tail -n +2 $1 | awk '{print $3}' > x0_diff
python histo.py x0_diff $VALDPT > x0_diff.hist

tail -n +2 $1 | awk '{print $4}' > y0_orig
tail -n +2 $1 | awk '{print $5}' > y0_pred
python histo.py y0_orig $VALDPT >  y0_orig.hist
python histo.py y0_pred $VALDPT >  y0_pred.hist
tail -n +2 $1 | awk '{print $6}' > y0_diff
python histo.py y0_diff $VALDPT > y0_diff.hist
{'fraction_non_alphanumeric': 0.1601143674052895, 'fraction_numerical': 0.06075768406004289, 'mean_word_length': 3.416403785488959, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, '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': '488445', 'n_tokens_mistral': 656, 'n_tokens_neox': 644, 'n_words': 191}