<commit_before>/*
 * Copyright (c) 2008 Digital Bazaar, Inc.  All rights reserved.
 */
#include "db/validation/ValidatorContext.h"

using namespace db::rt;
using namespace db::validation;

ValidatorContext::ValidatorContext(DynamicObject* state)
{<commit_msg>Include <cstdlib> for new memory function use.<commit_after>/*
 * Copyright (c) 2008 Digital Bazaar, Inc.  All rights reserved.
 */
#include "db/validation/ValidatorContext.h"

#include <cstdlib>

using namespace db::rt;
using namespace db::validation;

ValidatorContext::ValidatorContext(DynamicObject* state)
{
{'fraction_non_alphanumeric': 0.1190893169877408, 'fraction_numerical': 0.014010507880910683, 'mean_word_length': 6.2405063291139244, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4036753', 'n_tokens_mistral': 174, 'n_tokens_neox': 163, 'n_words': 48}