<commit_before>'use strict';

var textarea = document.getElementById('code');
var button = document.getElementById('run-code');
var iframe = document.getElementById('iframe');
var htmlTempl = document.getElementById('template');
var alert = document.getElementById('alert');
const limit = 116;

function hideError() {
  alert.style.display = 'none';
}

function showError(source, error) {
  alert.style.display = 'block';
  alert.innerHTML = '<b>' + source + ':</b> ' + error;
}

function updateStatus() {
  var code = textarea.value;
  textarea.style.background = (code.length > limit) ? '#d9534f' : 'none';
  button.innerText = 'Run code (' + (limit - code.length) + ')';
}

function render() {
  var code = textarea.value;
  var doc = iframe.contentWindow.document;
  try {
    var es5 = compile(code);<commit_msg>no transpiler!<commit_after>'use strict';

var textarea = document.getElementById('code');
var button = document.getElementById('run-code');
var iframe = document.getElementById('iframe');
var htmlTempl = document.getElementById('template');
var alert = document.getElementById('alert');
var limit = 116;

function hideError() {
  alert.style.display = 'none';
}

function showError(source, error) {
  alert.style.display = 'block';
  alert.innerHTML = '<b>' + source + ':</b> ' + error;
}

function updateStatus() {
  var code = textarea.value;
  textarea.style.background = (code.length > limit) ? '#d9534f' : 'none';
  button.innerText = 'Run code (' + (limit - code.length) + ')';
}

function render() {
  var code = textarea.value;
  var doc = iframe.contentWindow.document;
  try {
    var es5 = compile(code);
{'fraction_non_alphanumeric': 0.16350275566442132, 'fraction_numerical': 0.009797917942437232, 'mean_word_length': 4.63448275862069, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '6774070', 'n_tokens_mistral': 519, 'n_tokens_neox': 500, 'n_words': 122}