<commit_before>var arr = [], l = document.links;
var rickroll = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";

for(var i=0; i<l.length; i++) {
  arr.push(l[i].href);
  if(l[i].href === rickroll) {
    console.log("rickroll detected");
    var text = document.createElement("span");
    text.innerHTML = "Rickroll detected";
    l[i].parentNode.insertBefore(text, l[i].nextSibling);
  }
}<commit_msg>Detects all links which include dQw4w9WgXcQ<commit_after>var l = document.links;
var rickroll = "dQw4w9WgXcQ";

for(var i=0; i<l.length; i++) {
  if(l[i].href.indexOf(rickroll) > -1) {
    console.log("rickroll detected");
    var text = document.createElement("span");
    text.innerHTML = "Rickroll detected";
    l[i].parentNode.insertBefore(text, l[i].nextSibling);
  }
}

{'fraction_non_alphanumeric': 0.18170103092783504, 'fraction_numerical': 0.011597938144329897, 'mean_word_length': 4.471830985915493, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, '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': '3988110', 'n_tokens_mistral': 303, 'n_tokens_neox': 302, 'n_words': 51}