<commit_before>function on_load() {
  mostrar_curso();
}

function toggle_modal_agregar() {
  e = document.getElementById('modal');
  e.style.visibility = e.style.visibility == 'visible' ? 'hidden' : 'visible';
}

function toggle_modal_clonar() {
  e = document.getElementById('modal');
  e.style.visibility = e.style.visibility == 'visible' ? 'hidden' : 'visible';

  document.getElementById('new_clave').value = document.getElementById('clave_materia').value;
  document.getElementById('new_materia').value = document.getElementById('materia').value;
  document.getElementById('new_academia').value = document.getElementById('academia').value;
  document.getElementById('new_nrc').value = document.getElementById('nrc').value;
  document.getElementById('new_seccion').value = document.getElementById('seccion').value;
}

function mostrar_curso() {
  ciclo = document.getElementById('ciclo_select').value;
  clave = document.getElementById('curso_select').value.split(" ")[0];

  if (ciclo == '') {<commit_msg>Limpiar datos en agregar cursos<commit_after>function on_load() {
  mostrar_curso();
}

function toggle_modal_agregar() {
  e = document.getElementById('modal');
  e.style.visibility = e.style.visibility == 'visible' ? 'hidden' : 'visible';

  document.getElementById('new_clave').value = '';
  document.getElementById('new_materia').value = '';
  document.getElementById('new_academia').value = '';
  document.getElementById('new_nrc').value = '';
  document.getElementById('new_seccion').value = '';
}

function toggle_modal_clonar() {
  e = document.getElementById('modal');
  e.style.visibility = e.style.visibility == 'visible' ? 'hidden' : 'visible';

  document.getElementById('new_clave').value = document.getElementById('clave_materia').value;
  document.getElementById('new_materia').value = document.getElementById('materia').value;
  document.getElementById('new_academia').value = document.getElementById('academia').value;
  document.getElementById('new_nrc').value = document.getElementById('nrc').value;
  document.getElementById('new_seccion').value = document.getElementById('seccion').value;
}

function mostrar_curso() {
  ciclo = document.getElementById('ciclo_select').value;
  clave = document.getElementById('curso_select').value.split(" ")[0];

  if (ciclo == '') {
{'fraction_non_alphanumeric': 0.16688396349413298, 'fraction_numerical': 0.000869187309865276, 'mean_word_length': 6.547540983606558, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2528791', 'n_tokens_mistral': 702, 'n_tokens_neox': 687, 'n_words': 89}