<commit_before>  divBarra = document.getElementById("barra-brasil")
  divBarra.parentNode.removeChild(divBarra)
  head = document.getElementsByTagName("head")[0]
  body = document.getElementsByTagName("body")[0]

  link = document.createElement("link")
  href = document.createAttribute("href")

  novaDiv = document.createElement("div")
  idNovaDiv = document.createAttribute("id")
  idNovaDiv.nodeValue = "barra-brasil"
  novaDiv.setAttributeNode idNovaDiv
  novaDiv.innerHTML = conteudoBarra
  body.insertBefore(novaDiv, body.childNodes[0])
  
  #    src.nodeValue = "http://barra.brasil.gov.br/estilo-barra.css";
  #    href.nodeValue = "http://189.9.137.173/estilo-barra.css";
  #    href.nodeValue = "static/estilo-barra.css"
  window._barrabrasil =
    insere_css: (css) ->
        style = document.createElement("style")
        tipo = document.createAttribute("type")
        tipo.nodeValue = "text/css"
        media = document.createAttribute("media")
        media.nodeValue = "all"
        conteudo = document.createTextNode(css)
        style.setAttributeNode tipo
        style.setAttributeNode media
        style.appendChild conteudo
        head.appendChild style
<commit_msg>Novo trecho que inclui o javascript do servi?o de estat?sticas do Serpro<commit_after>  divBarra = document.getElementById("barra-brasil")
  divBarra.parentNode.removeChild(divBarra)
  head = document.getElementsByTagName("head")[0]
  body = document.getElementsByTagName("body")[0]

  link = document.createElement("link")
  href = document.createAttribute("href")

  novaDiv = document.createElement("div")
  idNovaDiv = document.createAttribute("id")
  idNovaDiv.nodeValue = "barra-brasil"
  novaDiv.setAttributeNode idNovaDiv
  novaDiv.innerHTML = conteudoBarra
  body.insertBefore(novaDiv, body.childNodes[0])
  
  #    src.nodeValue = "http://barra.brasil.gov.br/estilo-barra.css";
  #    href.nodeValue = "http://189.9.137.173/estilo-barra.css";
  #    href.nodeValue = "static/estilo-barra.css"
  window._barrabrasil =
    insere_css: (css) ->
        style = document.createElement("style")
        tipo = document.createAttribute("type")
        tipo.nodeValue = "text/css"
        media = document.createAttribute("media")
        media.nodeValue = "all"
        conteudo = document.createTextNode(css)
        style.setAttributeNode tipo
        style.setAttributeNode media
        style.appendChild conteudo
        head.appendChild style

  #Inserindo tag javascript do Serpro Analytics
  novoScript = document.createElement("script")
  tipo = document.createAttribute("type")
  tipo.nodeValue = "text/javascript"
  src = document.createAttribute("src")
  src.nodeValue = "http://coletajavascript.serpro.gov.br/estatistica.js"
  novoScript.setAttributeNode tipo
  novoScript.setAttributeNode src
  head.appendChild novoScript
{'fraction_non_alphanumeric': 0.11961891319689485, 'fraction_numerical': 0.009174311926605505, 'mean_word_length': 3.8461538461538463, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '327399', 'n_tokens_mistral': 910, 'n_tokens_neox': 901, 'n_words': 139}