<commit_before><?php

global $wp_the_query;
global $theme_id;
global $has_chart, $terms, $term, $data_query;

$rows = get_field('table_rows');
$cols = get_field('table_columns');

// Taxonomy filterable terms
$taxonomy = get_field('taxonomy');
if($taxonomy) {
  $taxonomy = array_shift($taxonomy);
  if($wp_the_query->is_tax($taxonomy)) {
    // Use single term if accessing filterable taxonomy term
    $is_tax = true;
    $terms = array($wp_the_query->get_queried_object());
  } else {
    // Use all taxonomy terms
    $is_tax = false;
    $terms = get_terms($taxonomy, array(
      'hide_empty' => false
    ));
  }
} else {
  if($wp_the_query->is_tax())
    return;
}

$has_chart = get_field('has_chart');

$theme_class = '';

?>
<section id="theme-<?php the_ID(); ?>" class="theme-item">
  <div class="container">
    <div class="twelve columns">
      <div class="theme-content"><commit_msg>fix #26<commit_after><?php

global $wp_the_query;
global $theme_id;
global $has_chart, $terms, $term, $data_query;

$rows = get_field('table_rows');
$cols = get_field('table_columns');

// Taxonomy filterable terms
$terms = false; // clear terms before continuing
$taxonomy = get_field('taxonomy');
if($taxonomy) {
  $taxonomy = array_shift($taxonomy);
  if($wp_the_query->is_tax($taxonomy)) {
    // Use single term if accessing filterable taxonomy term
    $is_tax = true;
    $terms = array($wp_the_query->get_queried_object());
  } else {
    // Use all taxonomy terms
    $is_tax = false;
    $terms = get_terms($taxonomy, array(
      'hide_empty' => false
    ));
  }
} else {
  if($wp_the_query->is_tax())
    return;
}

$has_chart = get_field('has_chart');

$theme_class = '';

?>
<section id="theme-<?php the_ID(); ?>" class="theme-item">
  <div class="container">
    <div class="twelve columns">
      <div class="theme-content">
{'fraction_non_alphanumeric': 0.16965742251223492, 'fraction_numerical': 0.001087547580206634, 'mean_word_length': 4.317919075144508, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 23, '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': '6774014', 'n_tokens_mistral': 663, 'n_tokens_neox': 652, 'n_words': 134}