<commit_before>$(document).ready(function(event){
   $('#submit').click(function(event){
      getData();
      
   });
   $('#formThing').submit(function(event){
      event.preventDefault();
      getData();
   });
});
function getData(){
    $.get('https://beam.pro/api/v1/channels/' + $('#inputText').val(), "", function(data){
         var Avatar = "https://beam.pro/api/v1/users/" + data['user']['id'] + "/avatar";
         var Username = data['user']['username'];
         var Followers = data['numFollowers'];
         var Partnered = data['partnered'];
         var Tetris = data['interactive'];
         var Audience = data['audience'];
         var Experience = data['user']['experience'];
         var lvls = data['user']['level'];
         var Sparks = data['user']['sparks'];
         var ChannelID = data['user']['id'];
         var Tetrisid = data['tetrisGameId'];
         var Coverid = data['coverId'];
         var Thumbnail = data['thumbnailId'];
         var StreamMute = data['preferences']['channel:player:muteOwn'];
         var FollowNotify = data['preferences']['channel:notify:follow'];
         var TotalViews = data['viewersTotal'];
         var te = data['transcodingEnabled'];
         var Online = data['online'];
         if(data['type'] != null){
            var lastPlayed = data['type']['name'];
         }else{
            var lastPlayed = "None";
         }
         var joined = data['createdAt'];
         var html = '<center><img src="' + Avatar + '"width="100px" height="100px" style="border:3px solid #fff">';
         html += '<h1><span class="label label-success">' + Username + '</h1>';
         html += '<br><b><span class="label label-primary">Followers: ' + Followers+ '</b>';
         html += '<br><b><span class="label label-primary">Partnered: ' + Partnered +'</b>';
         html += '<br><b><span class="label label-primary">Total Views: ' + TotalViews +'</b>';
         html += '<br><b><span class="label label-danger">---Points---</b>'
         html += '<br><b><span class="label label-warning"style="color: black;">Level: ' + lvls +'</b>';
         html += '<br><b><span class="label label-warning"style="color: black;">Experience: ' + Experience +'</b>';
         html += '<br><b><i class="fa fa-bolt"><span class="label label-warning"style="color: black;">Sparks: ' + Sparks +'</b>';
         html += '<br><b><span class="label label-primary">---ID---</b>'<commit_msg>Update main.js<commit_after>$(document).ready(function(event){
   $('#submit').click(function(event){
      getData();
      
   });
   $('#formThing').submit(function(event){
      event.preventDefault();
      getData();
   });
});
function getData(){
    $.get('https://beam.pro/api/v1/channels/' + $('#inputText').val(), "", function(data){
         var Avatar = "https://beam.pro/api/v1/users/" + data['user']['id'] + "/avatar";
         var Username = data['user']['username'];
         var Followers = data['numFollowers'];
         var Partnered = data['partnered'];
         var Tetris = data['interactive'];
         var Audience = data['audience'];
         var Experience = data['user']['experience'];
         var lvls = data['user']['level'];
         var Sparks = data['user']['sparks'];
         var ChannelID = data['user']['id'];
         var Tetrisid = data['tetrisGameId'];
         var Coverid = data['coverId'];
         var Thumbnail = data['thumbnailId'];
         var StreamMute = data['preferences']['channel:player:muteOwn'];
         var FollowNotify = data['preferences']['channel:notify:follow'];
         var TotalViews = data['viewersTotal'];
         var te = data['transcodingEnabled'];
         var Online = data['online'];
         if(data['type'] != null){
            var lastPlayed = data['type']['name'];
         }else{
            var lastPlayed = "None";
         }
         var joined = data['createdAt'];
         var html = '<center><img src="' + Avatar + '"width="100px" height="100px" style="border:3px solid #fff">';
         html += '<h1><span class="label label-success">' + Username + '</h1>';
         html += '<br><b><span class="label label-primary">Followers: ' + Followers+ '</b>';
         html += '<br><b><span class="label label-primary">Partnered: ' + Partnered +'</b>';
         html += '<br><b><span class="label label-primary">Total Views: ' + TotalViews +'</b>';
         html += '<br><b><span class="label label-danger">---Points---</b>'
         html += '<br><b><span class="label label-warning"style="color: black;">Level: ' + lvls +'</b>';
         html += '<br><b><span class="label label-warning"style="color: black;">Experience: ' + Experience +'</b>';
         html += '<br><b><i class="fa fa-bolt"></i><span class="label label-warning"style="color: black;">Sparks: ' + Sparks +'</b>';
         html += '<br><b><span class="label label-primary">---ID---</b>'
{'fraction_non_alphanumeric': 0.21782993617459337, 'fraction_numerical': 0.004529544986617253, 'mean_word_length': 3.0016474464579903, 'pattern_counts': {'":': 0, '<': 80, '<?xml version=': 0, '>': 80, 'https://': 4, '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': '3972175', 'n_tokens_mistral': 1456, 'n_tokens_neox': 1423, 'n_words': 290}