<commit_before>#!/usr/bin/perl

use strict;
use warnings;

use Test::More tests => 6;

use InterMine::WebService::Service::ModelService;

my $service = new InterMine::WebService::Service::ModelService('http://www.flymine.org/query/service', 'service_tests');

my $res = $service->get_model_xml();

ok(defined $res);
ok($res->is_success);

my $content = $res->content();
ok($content =~ /BioEntity/);

my $model = $service->get_model();

ok(defined $model);
ok(ref $model eq 'InterMine::Model');

# check that we have some classes
ok(scalar($model->get_all_classdescriptors()) > 5);
<commit_msg>formatting<commit_after>#!/usr/bin/perl

use strict;
use warnings;

use Test::More tests => 6;

use InterMine::WebService::Service::ModelService;

my $service = new InterMine::WebService::Service::ModelService('http://www.flymine.org/query/service', 'service_tests');

my $res = $service->get_model_xml();

ok(defined $res);
ok($res->is_success);


my $content = $res->content();
ok($content =~ /BioEntity/);

my $model = $service->get_model();

ok(defined $model);
ok(ref $model eq 'InterMine::Model');

# check that we have some classes
ok(scalar($model->get_all_classdescriptors()) > 5);

{'fraction_non_alphanumeric': 0.1875, 'fraction_numerical': 0.0033783783783783786, 'mean_word_length': 6.5, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '2537711', 'n_tokens_mistral': 419, 'n_tokens_neox': 409, 'n_words': 88}