<commit_before>var found = [];
var f;
var words = [];

function find_words() {
    var letters = "dog";
    var reg = new RegExp("^(?!.*?(.).*?\1)["+letters+"]*["+letters+"]*$");
  
    f = [];
    for ( var i in words ) {
      w = words[i]; 
  
      contains = w.match(reg);
  
      if ( contains ) {
        f.push(w);
      }
    }
 

  for ( var i in f ) {
  	var add = true;

  	if ( f.length ) {
		for ( var j in letters ) {
			var num_letters = letters.split(letters[j]).length -1;
			var num_of_occurences = f[i].split(letters[j]).length-1;

			if ( num_of_occurences > num_letters ) {
				add = false;<commit_msg>try some stuff<commit_after>var found = [];
var f;
var words = [];

function find_words() {
    var letters = "dog";
    var reg = new RegExp("^(?!.*?(.).*?\1)["+letters+"]*["+letters+"]*$");
  
    f = [];
    for ( var i in words ) {
      w = words[i];
  
      contains = w.match(reg);
  
      if ( w.length && contains ) {
        f.push(w);
      }
    }
 

  for ( var i in f ) {
  	var add = true;

  	if ( f.length ) {
		for ( var j in letters ) {
			var num_letters = letters.split(letters[j]).length -1;
			var num_of_occurences = f[i].split(letters[j]).length-1;

			if ( num_of_occurences > num_letters ) {
				add = false;
{'fraction_non_alphanumeric': 0.18938193343898574, 'fraction_numerical': 0.004754358161648178, 'mean_word_length': 2.213740458015267, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '270944', 'n_tokens_mistral': 522, 'n_tokens_neox': 477, 'n_words': 112}