<commit_before><?php
/**
 * Describes a known security issue of an installed Composer package
 */
class ComposerSecurityVulnerability extends DataObject
{
    /**
     * @var array
     */
    private static $db = array(
        'Package' => 'Varchar(255)',
        'Version' => 'Varchar(255)',
        'Title' => 'Varchar(255)',
        'ExternalLink' => 'Varchar(255)',
        'CVE' => 'Varchar(255)',
    );

    /**
     * @var array
     */
    private static $summary_fields = array(
        'Package',
        'Version',
        'Title',
    );

    /**
     * name of the related job
     *
     * @var string
     */
    public $jobName = 'CheckComposerSecurityJob';
}<commit_msg>First draft of run on dev/build<commit_after><?php
/**
 * Describes a known security issue of an installed Composer package
 */
class ComposerSecurityVulnerability extends DataObject
{
    /**
     * @var array
     */
    private static $db = array(
        'Package' => 'Varchar(255)',
        'Version' => 'Varchar(255)',
        'Title' => 'Varchar(255)',
        'ExternalLink' => 'Varchar(255)',
        'CVE' => 'Varchar(255)',
    );

    /**
     * @var array
     */
    private static $summary_fields = array(
        'Package',
        'Version',
        'Title',
    );

    /**
     * name of the related job
     *
     * @var string
     */
    public $jobName = 'CheckComposerSecurityJob';

    /**
     * self update on dev/build
     */
    public function requireDefaultRecords()
    {
        parent::requireDefaultRecords();

        // add a queuedjob on dev/build
        singleton('QueuedJobService')->queueJob(new CheckComposerSecurityJob());
    }
}
{'fraction_non_alphanumeric': 0.1446578631452581, 'fraction_numerical': 0.01800720288115246, 'mean_word_length': 2.127579737335835, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, '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': '1450796', 'n_tokens_mistral': 529, 'n_tokens_neox': 503, 'n_words': 120}