<commit_before><!DOCTYPE html><html><head>
<title>Ejemplo</title><meta charset="utf-8">
<script type="text/javascript">

function vaciar () {
  document.getElementById("n1").value = "";
}

function cuadrado() {
  var num = document.getElementById("n1");
  num.value = num.value * num.value;
}

function cubo() {
  var num = document.getElementById("n1");
  num.value = num.value * num.value * num.value;
}

function inverso() {
  var num = document.getElementById("n1");
  num.value = 1/num.value;
}

//function sqrt() {
//  var num = document.getElementById("n1");
//  num.value = Math.sqrt(num.value);
// <button onclick="sqrt()"> sqrt(x) </button>}
</script>
</head>
<body>
  Número:
  <input type="text" id="n1" onclick="vaciar()"><p>

  <button onclick="cuadrado()"> x<sup>2</sup> </button>
  <button onclick="inverso()"> 1/x </button>
  <button onclick="cubo()"> x<sup>3</sup> </button>
</body>
</html>
<commit_msg>Botón x^3<commit_after><!DOCTYPE html><html><head>
<title>Ejemplo</title><meta charset="utf-8">
<script type="text/javascript">

function vaciar () {
  document.getElementById("n1").value = "";
}

function cuadrado() {
  var num = document.getElementById("n1");
  num.value = num.value * num.value;
}

function cubo() {
  var num = document.getElementById("n1");
  num.value = num.value * num.value * num.value;
}

function inverso() {
  var num = document.getElementById("n1");
  num.value = 1/num.value;
}

function sqrt() {
 var num = document.getElementById("n1");
 num.value = Math.sqrt(num.value);
}
</script>
</head>
<body>
  Número:
  <input type="text" id="n1" onclick="vaciar()"><p>

  <button onclick="cuadrado()"> x<sup>2</sup> </button>
  <button onclick="inverso()"> 1/x </button>
<<<<<<< HEAD
  <button onclick="cubo()"> x<sup>3</sup> </button>
=======
  <button onclick="sqrt()"> sqrt(x) </button>
>>>>>>> 365fa9b
</body>
</html>

{'fraction_non_alphanumeric': 0.22388859132297803, 'fraction_numerical': 0.0144617032672737, 'mean_word_length': 4.677811550151976, 'pattern_counts': {'":': 0, '<': 62, '<?xml version=': 0, '>': 62, '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': '7341826', 'n_tokens_mistral': 703, 'n_tokens_neox': 675, 'n_words': 135}