<commit_before>function ddg_spice_twitter(tweets) {
  if(tweets.length) {
    var content = "";
    var heading = "@" + tweets[0].user.screen_name;
    
    if (tweets[0].user.description) content += '<div class="twitter_user_description"><i>Bio:</i> ' + tweets[0].user.description + '</div>';
    
    var status = tweets[0].text.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g, function(url) {
      return '<a href="' + url + '">' + url + '</a>';
    }).replace(/\B@([_a-z0-9]+)/ig, function(user) {
      return '<a href="http://twitter.com/' + user.substring(1) + '">' + user + '</a>';
    });
    content += '<span class="twitter_latest_tweet"><i>Latest Tweet:</i> ' + status + ' <span class="twitter_date">published <a href="http://twitter.com/' + tweets[0].user.screen_name + '/status/' + tweets[0].id_str + '">' + nrtr_relative_time(tweets[0].created_at) + '</a>.</span></span>';<commit_msg>small twitter fix, updadted Twitter::User callback function name<commit_after>function ddg_spice_twitter_user(tweets) {
  if(tweets.length) {
    var content = "";
    var heading = "@" + tweets[0].user.screen_name;
    
    if (tweets[0].user.description) content += '<div class="twitter_user_description"><i>Bio:</i> ' + tweets[0].user.description + '</div>';
    
    var status = tweets[0].text.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g, function(url) {
      return '<a href="' + url + '">' + url + '</a>';
    }).replace(/\B@([_a-z0-9]+)/ig, function(user) {
      return '<a href="http://twitter.com/' + user.substring(1) + '">' + user + '</a>';
    });
    content += '<span class="twitter_latest_tweet"><i>Latest Tweet:</i> ' + status + ' <span class="twitter_date">published <a href="http://twitter.com/' + tweets[0].user.screen_name + '/status/' + tweets[0].id_str + '">' + nrtr_relative_time(tweets[0].created_at) + '</a>.</span></span>';
{'fraction_non_alphanumeric': 0.26838235294117646, 'fraction_numerical': 0.01050420168067227, 'mean_word_length': 3.8596938775510203, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 41, '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': '4894635', 'n_tokens_mistral': 721, 'n_tokens_neox': 688, 'n_words': 100}