<commit_before>// RESIZER:
var BREAKPOINT = 685;
var isMobile = {
  Android: function() {
    return navigator.userAgent.match(/Android/i) ? true : false;
  },
  BlackBerry: function() {
    return navigator.userAgent.match(/BlackBerry/i) ? true : false;
  },
  iOS: function() {
    return navigator.userAgent.match(/iPhone|iPad|iPod/i) ? true : false;
  },
  iPad: function() {
    return navigator.userAgent.match(/iPad/i) ? true : false;
  },
  Windows: function() {
    return navigator.userAgent.match(/IEMobile/i) ? true : false;
  },
  any: function() {
    return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Windows());
  }
};

var lockOrientation = function () {
  if (window.innerWidth < BREAKPOINT && isMobile.any() && window.innerWidth/window.innerHeight > 1) {
    document.getElementsByTagName("body")[0].style.width = window.innerHeight + "px";
    document.getElementsByTagName("body")[0].style.position = "fixed";
    document.getElementsByTagName("body")[0].style.top = 0;
    document.getElementsByTagName("body")[0].style['-webkit-transform'] = "rotate(-90deg)";
    document.getElementsByTagName("body")[0].style.transform = "rotate(-90deg)";

    var containers = document.getElementsByClassName("container");
    for (var i = 0; i < containers.length; i++) {
      containers[i].style.height = window.innerWidth * .5 + "px";
    }
    document.getElementsByClassName("preview")[0].style.height = window.innerWidth * .5 + "px";
    var containers = document.getElementsByClassName("device-container");
    for (var i = 0; i < containers.length; i++) {
      containers[i].style.position = "relative";<commit_msg>attempted fix for android keyboard problem<commit_after>// RESIZER:
var BREAKPOINT = 685;
var isMobile = {
  Android: function() {
    return navigator.userAgent.match(/Android/i) ? true : false;
  },
  BlackBerry: function() {
    return navigator.userAgent.match(/BlackBerry/i) ? true : false;
  },
  iOS: function() {
    return navigator.userAgent.match(/iPhone|iPad|iPod/i) ? true : false;
  },
  iPad: function() {
    return navigator.userAgent.match(/iPad/i) ? true : false;
  },
  Windows: function() {
    return navigator.userAgent.match(/IEMobile/i) ? true : false;
  },
  any: function() {
    return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Windows());
  }
};

var lockOrientation = function () {
  if (window.innerWidth < BREAKPOINT && isMobile.any() && window.innerWidth/window.innerHeight > 1 && window.innerHeight > 300) {
    document.getElementsByTagName("body")[0].style.width = window.innerHeight + "px";
    document.getElementsByTagName("body")[0].style.position = "fixed";
    document.getElementsByTagName("body")[0].style.top = 0;
    document.getElementsByTagName("body")[0].style['-webkit-transform'] = "rotate(-90deg)";
    document.getElementsByTagName("body")[0].style.transform = "rotate(-90deg)";

    var containers = document.getElementsByClassName("container");
    for (var i = 0; i < containers.length; i++) {
      containers[i].style.height = window.innerWidth * .5 + "px";
    }
    document.getElementsByClassName("preview")[0].style.height = window.innerWidth * .5 + "px";
    var containers = document.getElementsByClassName("device-container");
    for (var i = 0; i < containers.length; i++) {
      containers[i].style.position = "relative";
{'fraction_non_alphanumeric': 0.16878135143110062, 'fraction_numerical': 0.01209796400118029, 'mean_word_length': 4.113122171945701, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 6, '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': '1720099', 'n_tokens_mistral': 1108, 'n_tokens_neox': 1075, 'n_words': 194}