<commit_before>package EnsEMBL::Web::Component::Search::Details;

use strict;
use warnings;
no warnings "uninitialized";
use base qw(EnsEMBL::Web::Component);

sub _init {
  my $self = shift;
  $self->cacheable( 0 );
  $self->ajaxable(  0 );
}

sub content {
  my $self = shift;
  my $exa_obj = $self->object->Obj;
  my $renderer = new ExaLead::Renderer::HTML( $exa_obj );
  my $html = $renderer->render_form .
    $renderer->render_summary .
    $renderer->render_navigation .
    $renderer->render_hits;
  return $html;
}

1;

<commit_msg>use modules you call new on, silly<commit_after>package EnsEMBL::Web::Component::Search::Details;

use strict;
use warnings;
no warnings "uninitialized";
use ExaLead::Renderer::HTML;
use base qw(EnsEMBL::Web::Component);

sub _init {
  my $self = shift;
  $self->cacheable( 0 );
  $self->ajaxable(  0 );
}

sub content {
  my $self = shift;
  my $exa_obj = $self->object->Obj;
  my $renderer = new ExaLead::Renderer::HTML( $exa_obj );
  my $html = $renderer->render_form .
    $renderer->render_summary .
    $renderer->render_navigation .
    $renderer->render_hits;
  return $html;
}

1;


{'fraction_non_alphanumeric': 0.15547703180212014, 'fraction_numerical': 0.00530035335689046, 'mean_word_length': 4.269767441860465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '3130477', 'n_tokens_mistral': 414, 'n_tokens_neox': 416, 'n_words': 94}