<commit_before>// pagetwitter.js
//  Info about trust among twitter community members
//
// dec 30 2017 by jhr


/*
 *  Some global imports
 */

var Ui1Server; 
var Kudo;
var ui;
var l;
var l8;
var de;
var nde = false;
var trace;
var bug;
var mand;
var assert;
var _;

function process_kudo_imports( kudo_scope ){
// This function fill the global Kudo map and init global variables with
// stuff imported from elsewhere.
  Kudo    = kudo_scope;
  ui      = Kudo.ui;
  l       = ui.l;
  l8      = Kudo.l8;
  _       = Kudo._;
  // My de&&bug() and de&&mand() darlings
  de      = true;
  trace   = Kudo.trace;
  bug     = trace;
  mand    = Kudo.assert;
  assert  = Kudo.assert;
  // More imports
  // ui1core stuff
  Session    = Kudo.Session;
  // Exports
}


function format_status( status ){

  var text = status.text;
  var buf = "";
  buf += '<blockquote class="twitter-tweet twitter_render" data-lang="fr">';
  buf += '<p lang="fr" dir="ltr">';
  buf += text;
  buf += ' <a href="'
  buf += 'https://twitter.com/'
  buf += status.screen_name;
  buf += '/status/'
  buf += status.id;
  buf += '">Tweet</a>';
  buf += '</blockquote>';
  return buf;
  
}


function page_twittrust( page_name, p1, p2, p3 ){
  
  var session = this.session;
  
  // Header
  this.set( 
    ui.page_style( "twittrust" ),<commit_msg>Add a br between tweets<commit_after>// pagetwitter.js
//  Info about trust among twitter community members
//
// dec 30 2017 by jhr


/*
 *  Some global imports
 */

var Ui1Server; 
var Kudo;
var ui;
var l;
var l8;
var de;
var nde = false;
var trace;
var bug;
var mand;
var assert;
var _;

function process_kudo_imports( kudo_scope ){
// This function fill the global Kudo map and init global variables with
// stuff imported from elsewhere.
  Kudo    = kudo_scope;
  ui      = Kudo.ui;
  l       = ui.l;
  l8      = Kudo.l8;
  _       = Kudo._;
  // My de&&bug() and de&&mand() darlings
  de      = true;
  trace   = Kudo.trace;
  bug     = trace;
  mand    = Kudo.assert;
  assert  = Kudo.assert;
  // More imports
  // ui1core stuff
  Session    = Kudo.Session;
  // Exports
}


function format_status( status ){

  var text = status.text;
  var buf = "";
  buf += '<blockquote class="twitter-tweet twitter_render" data-lang="fr">';
  buf += '<p lang="fr" dir="ltr">';
  buf += text;
  buf += ' <a href="'
  buf += 'https://twitter.com/'
  buf += status.screen_name;
  buf += '/status/'
  buf += status.id;
  buf += '">Tweet</a>';
  buf += '</blockquote><br>';
  return buf;
  
}


function page_twittrust( page_name, p1, p2, p3 ){
  
  var session = this.session;
  
  // Header
  this.set( 
    ui.page_style( "twittrust" ),
{'fraction_non_alphanumeric': 0.14814814814814814, 'fraction_numerical': 0.010582010582010581, 'mean_word_length': 2.5530201342281877, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 2, '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': '768804', 'n_tokens_mistral': 1008, 'n_tokens_neox': 974, 'n_words': 284}