<commit_before><?php
$ct = 0;
if (isset($list)) {
  if (!isset($colonnes))
    $colonnes = 3;
  if (isset($imp))
    echo '<h3 class="aligncenter">'.ucfirst($deputes[0]->fonction).(count($deputes) > 1 ? 's' : '').'</h3>';
  echo '<table><tr>';
  $totaldep = count($deputes);
  $div = floor($totaldep/$colonnes)+1;
  if ($div > 1 && $totaldep % $colonnes == 0)
    $div--;
  $td = 0;
  if ($totaldep == 1) {
    if ($colonnes == 2)
      echo '<td class="list_td_small"/>';<commit_msg>gestion sexe et pluriel pour fonction<commit_after><?php
$ct = 0;
if (isset($list)) {
  if (!isset($colonnes))
    $colonnes = 3;
  if (isset($imp)) {
    $fonction = $deputes[0]->fonction;
    foreach ($deputes as $depute) if ($depute->sexe === "H") {
      $fonction = $depute->fonction;
       break;
    }
    echo '<h3 class="aligncenter">'.ucfirst(preg_replace('/d(u|e)s /', 'd\\1 ', preg_replace('/(,)? /', 's\\1 ', $fonction))).(count($deputes) > 1 && !preg_match('/(droit|bureau)$/', $fonction) ? 's' : '').'</h3>';
  }
  echo '<table><tr>';
  $totaldep = count($deputes);
  $div = floor($totaldep/$colonnes)+1;
  if ($div > 1 && $totaldep % $colonnes == 0)
    $div--;
  $td = 0;
  if ($totaldep == 1) {
    if ($colonnes == 2)
      echo '<td class="list_td_small"/>';
{'fraction_non_alphanumeric': 0.25415676959619954, 'fraction_numerical': 0.02058590657165479, 'mean_word_length': 3.498220640569395, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 21, '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': '5828087', 'n_tokens_mistral': 521, 'n_tokens_neox': 497, 'n_words': 104}