<commit_before>/****************************************************************************
*
* BikeDemo - Exercise bike demonstration scenery.
*
* lex.c - function implementations relating to 
* "templates", part of the "Web Components"
* suite of specifications,
* which
* consists of both the language's grammar productions,
* its lexical analyser, and the resulting parsing
* table.
*
* Copyright (C) 2006-2013, <NAME>, All
* Rights Reserved
*
****************************************************************************/

#include <bikedemo/xml.h>
#include <bikedemo/allocs.h>
#include <bikedemo/log.h>

/* "bdtl_actvte" - "activates" (that is, inserts
 * the relevant node, and running the relevant
 * "activation" call-back) the template given
 * in "tmplte" into the document given in "doc",
 * using the opaque parameyeter, memory allocator
 * and error logger given in "opaque", "allocs"
 * and "logger", respectively */
int bdtl_actvte(struct bdtl_tmplte *tmplte,
                struct bdxl_doc *doc,<commit_msg>Update tmplte.c<commit_after>/****************************************************************************
*
* BikeDemo - Exercise bike demonstration scenery.
*
* lex.c - function implementations relating to 
* "templates", part of the "Web Components"
* suite of specifications,
* which
* consists of both the language's grammar productions,
* its lexical analyser, and the resulting parsing
* table.
*
* Copyright (C) 2006-2014, <NAME>, All
* Rights Reserved
*
****************************************************************************/

#include <bikedemo/xml.h>
#include <bikedemo/allocs.h>
#include <bikedemo/log.h>

/* "bdtl_actvte" - "activates" (that is, inserts
 * the relevant node, and running the relevant
 * "activation" call-back) the template given
 * in "tmplte" into the document given in "doc",
 * using the opaque parameyeter, memory allocator
 * and error logger given in "opaque", "allocs"
 * and "logger", respectively */
int bdtl_actvte(struct bdtl_tmplte *tmplte,
                struct bdxl_doc *doc,
{'fraction_non_alphanumeric': 0.2422027290448343, 'fraction_numerical': 0.007797270955165692, 'mean_word_length': 5.165165165165165, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6108119', 'n_tokens_mistral': 636, 'n_tokens_neox': 559, 'n_words': 194}