<commit_before>var iknow_captcha = $H();
iknow_captcha.handle_choice_text = function(selected) {
  $$('li.iknow-captcha-selected').each(function(item){
    item.className = 'iknow-captcha-choice';
  });
  $(selected).className = 'iknow-captcha-selected';
  $(IKNOW_CAPTCHA_PARAM_KEY).value = $(selected).innerHTML;
};

iknow_captcha.replay = function(url) {
  var embed = document.createElement('embed');
  embed.setAttribute('src', url);
  embed.setAttribute('hidden', true);
  embed.setAttribute('autostart', true);
  document.body.appendChild(embed);
};<commit_msg>remove an embed tag when finish playing<commit_after>var iknow_captcha = $H();
iknow_captcha.handle_choice_text = function(selected) {
  $$('li.iknow-captcha-selected').each(function(item){
    item.className = 'iknow-captcha-choice';
  });
  $(selected).className = 'iknow-captcha-selected';
  $(IKNOW_CAPTCHA_PARAM_KEY).value = $(selected).innerHTML;
};

iknow_captcha.replay = function(url) {
  var embed = document.createElement('embed');
  embed.setAttribute('src', url);
  embed.setAttribute('hidden', true);
  embed.setAttribute('autostart', true);
  document.body.appendChild(embed);
  setTimeout(function(){document.body.removeChild(embed)}, 10000);
};
{'fraction_non_alphanumeric': 0.1708706265256306, 'fraction_numerical': 0.0040683482506102524, 'mean_word_length': 6.27810650887574, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3312131', 'n_tokens_mistral': 415, 'n_tokens_neox': 398, 'n_words': 56}