<commit_before>public boolean loneTeen(int a, int b) {

  if((a>=13 && a<=19) && (b>=13 && b<=19)); {
    return false;
  }
  return (a>=13 && a<=19) 
}<commit_msg>add loneTeen solution from site that has genius boolean shortcuts<commit_after>public boolean loneTeen(int a, int b) {
  // Store teen-ness in boolean local vars first. Boolean local
  // vars like this are a little rare, but here they work great.
  boolean aTeen = (a >= 13 && a <= 19);
  boolean bTeen = (b >= 13 && b <= 19);
  
  return (aTeen && !bTeen) || (!aTeen && bTeen);
  // Translation: one or the other, but not both.
  // Alternately could use the Java xor operator, but it's obscure.
}
{'fraction_non_alphanumeric': 0.1493212669683258, 'fraction_numerical': 0.030165912518853696, 'mean_word_length': 3.3684210526315788, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '3545494', 'n_tokens_mistral': 246, 'n_tokens_neox': 222, 'n_words': 86}