<commit_before>class BasicTemplate:
  'Basic template for html page'
  
  def __init__(self):
  
  def getHeader(self, title):
    return '<!DOCTYPE html>'
      + "\n" + '<html lang="en">' +
      + "\n" + '<head>' +
      + "\n" + '<meta charset="utf-8">' +
      + "\n" + '<meta http-equiv="X-UA-Compatible" content="IE=edge">' +
      + "\n" + '<meta name="viewport" content="width=device-width, initial-scale=1">' +
      + "\n" + '<title>' + title + '</title>' +
      + "\n" + '<!-- Bootstrap -->' +
      + "\n" + '<link href="css/bootstrap.min.css" rel="stylesheet">' +
      + "\n" + '<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->' +
      + "\n" + '<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->' +
      + "\n" + '<!--[if lt IE 9]>' +
      + "\n" + '<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>' +
      + "\n" + '<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>' +
      + "\n" + '<![endif]-->' +
      + "\n" + '</head>' +
      + "\n" + '<body>'
  
  def getFooter(self):
    return '<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->'
      + "\n" + '<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>' +
      + "\n" + '<!-- Include all compiled plugins (below), or include individual files as needed -->' +
      + "\n" + '<script src="js/bootstrap.min.js"></script>' +
      + "\n" + '</body>' +
      + "\n" + '</html>"'<commit_msg>Update basic_template.py<commit_after>class BasicTemplate:
  'Basic template for html page'
  
  def __init__(self):
  
  def getHeader(self, title):
    return '<!DOCTYPE html>'
      + "\n" + '<html lang="en">' +
      + "\n" + '<head>' +
      + "\n" + '<meta charset="utf-8">' +
      + "\n" + '<meta http-equiv="X-UA-Compatible" content="IE=edge">' +
      + "\n" + '<meta name="viewport" content="width=device-width, initial-scale=1">' +
      + "\n" + '<title>' + title + '</title>' +
      + "\n" + '<!-- Bootstrap -->' +
      + "\n" + '<link href="css/bootstrap.min.css" rel="stylesheet">' +
      + "\n" + '<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->' +
      + "\n" + '<!-- WARNING: Respond.js doesnt work if you view the page via file:// -->' +
      + "\n" + '<!--[if lt IE 9]>' +
      + "\n" + '<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>' +
      + "\n" + '<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>' +
      + "\n" + '<![endif]-->' +
      + "\n" + '</head>' +
      + "\n" + '<body>'
  
  def getFooter(self):
    return '<!-- jQuery (necessary for Bootstraps JavaScript plugins) -->'
      + "\n" + '<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>' +
      + "\n" + '<!-- Include all compiled plugins (below), or include individual files as needed -->' +
      + "\n" + '<script src="js/bootstrap.min.js"></script>' +
      + "\n" + '</body>' +
      + "\n" + '</html>"'
{'fraction_non_alphanumeric': 0.2556024683338746, 'fraction_numerical': 0.011692107827216629, 'mean_word_length': 2.4645669291338583, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, 'https://': 6, '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': '5349351', 'n_tokens_mistral': 1110, 'n_tokens_neox': 1073, 'n_words': 232}