<commit_before>package Pakket::Role::HasDirectory;
# ABSTRACT: A role to provide a directory attribute

use Moose::Role;
use Types::Path::Tiny qw< Path >;

has 'directory' => (
    'is'       => 'ro',
    'isa'      => Path,
    'coerce'   => 1,
    'required' => 1,
);

no Moose::Role;

1;
<commit_msg>Make directory attribute absolute:<commit_after>package Pakket::Role::HasDirectory;
# ABSTRACT: A role to provide a directory attribute

use Moose::Role;
use Types::Path::Tiny qw< AbsPath >;

has 'directory' => (
    'is'       => 'ro',
    'isa'      => AbsPath,
    'coerce'   => 1,
    'required' => 1,
);

no Moose::Role;

1;

{'fraction_non_alphanumeric': 0.16903633491311215, 'fraction_numerical': 0.009478672985781991, 'mean_word_length': 3.3424657534246576, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '2466856', 'n_tokens_mistral': 237, 'n_tokens_neox': 230, 'n_words': 61}