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

tail -n +2 $1 | awk '{print $1}' > onept_orig
tail -n +2 $1 | awk '{print $2}' > onept_pred
python histo.py onept_orig 80 >  onept_orig.hist
python histo.py onept_pred 80 >  onept_pred.hist

tail -n +2 $1 | awk '{print $4}' > phi_orig
tail -n +2 $1 | awk '{print $5}' > phi_pred
python histo.py phi_orig 80 >  phi_orig.hist
python histo.py phi_pred 80 >  phi_pred.hist

tail -n +2 $1 | awk '{print $7}' > eta_orig
tail -n +2 $1 | awk '{print $8}' > eta_pred
python histo.py eta_orig 80 >  eta_orig.hist
python histo.py eta_pred 80 >  eta_pred.hist

tail -n +2 $1 | awk '{print $10}' > d0_orig
tail -n +2 $1 | awk '{print $11}' > d0_pred
python histo.py d0_orig 80 >  d0_orig.hist
python histo.py d0_pred 80 >  d0_pred.hist

tail -n +2 $1 | awk '{print $13}' > z0_orig
tail -n +2 $1 | awk '{print $14}' > z0_pred
python histo.py z0_orig 80 >  z0_orig.hist
python histo.py z0_pred 80 >  z0_pred.hist
<commit_msg>iminor<commit_after>if [ -z "$1" ]; then 
  echo "$0 results.file.txt"; 
  exit;
fi

VALDPT=80

tail -n +2 $1 | awk '{print $1}' > onept_orig
tail -n +2 $1 | awk '{print $2}' > onept_pred
python histo.py onept_orig $VALDPT >  onept_orig.hist
python histo.py onept_pred $VALDPT >  onept_pred.hist
tail -n +2 $1 | awk '{print $2-$1}' > onept_diff
python histo.py onept_diff $VALDPT > onept_diff.hist

tail -n +2 $1 | awk '{print $4}' > phi_orig
tail -n +2 $1 | awk '{print $5}' > phi_pred
python histo.py phi_orig $VALDPT >  phi_orig.hist
python histo.py phi_pred $VALDPT >  phi_pred.hist
tail -n +2 $1 | awk '{print $5-$4}' > phi_diff
python histo.py phi_diff $VALDPT > phi_diff.hist

tail -n +2 $1 | awk '{print $7}' > eta_orig
tail -n +2 $1 | awk '{print $8}' > eta_pred
python histo.py eta_orig $VALDPT >  eta_orig.hist
python histo.py eta_pred $VALDPT >  eta_pred.hist
tail -n +2 $1 | awk '{print $8-$7}' > eta_diff
python histo.py eta_diff $VALDPT > eta_diff.hist

tail -n +2 $1 | awk '{print $10}' > d0_orig
tail -n +2 $1 | awk '{print $11}' > d0_pred
python histo.py d0_orig $VALDPT >  d0_orig.hist
python histo.py d0_pred $VALDPT >  d0_pred.hist
tail -n +2 $1 | awk '{print $11-$10}' > d0_diff
python histo.py d0_diff $VALDPT > d0_diff.hist

tail -n +2 $1 | awk '{print $13}' > z0_orig
tail -n +2 $1 | awk '{print $14}' > z0_pred
python histo.py z0_orig $VALDPT >  z0_orig.hist
python histo.py z0_pred $VALDPT >  z0_pred.hist
tail -n +2 $1 | awk '{print $14-$13}' > z0_diff
python histo.py z0_diff $VALDPT > z0_diff.hist

{'fraction_non_alphanumeric': 0.1528991262907069, 'fraction_numerical': 0.05877680698967434, 'mean_word_length': 3.5551537070524413, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 53, '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': '5733986', 'n_tokens_mistral': 1152, 'n_tokens_neox': 1106, 'n_words': 344}