<commit_before><commit_msg>adding update-component script<commit_after>#!/usr/bin/env php
<?php
$components = array("UI", "Routing", "ClassLoader", "Yaml", "WebAssets", "Http", "EventDispatcher", "DiContainer");

if (isset($argv[1])) {
    $target = $argv[1];
    if (isset($components[$target])) {
        $components = array($target);
    } else{
        echo "ERROR: component: '$target' not found!";
        die();
    }
}

foreach ($components as $component) {
    echo `git pull -s subtree <EMAIL>:phpalchemy/$component.git master`;
    echo PHP_EOL." -> tracked subtree: $component .... ok ".PHP_EOL;
}


{'fraction_non_alphanumeric': 0.18985270049099837, 'fraction_numerical': 0.0032733224222585926, 'mean_word_length': 3.857142857142857, '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': '7111631', 'n_tokens_mistral': 203, 'n_tokens_neox': 196, 'n_words': 48}