<commit_before><?php if($tablet_requests->count() > 0): ?>
<?php $nb = $tablet_requests->count(); $i = 0 ?>
{
    "tablet_request":
    [
    <?php foreach($tablet_requests as $tablet_request): ++$i; ?>
        {
                "android_id": <?php echo json_encode($tablet_request->getAndroidId()) ?>,
                "last_check": <?php echo json_encode($tablet_request->getLastCheck()) ?>,
                "is_new": "<?php echo json_encode($tablet_request->getIsNew()) ?>"
        
            }<?php echo $nb == $i ? '' : ',' ?>
            
    <?php endforeach; ?>
]
}
<?php endif; ?><commit_msg>Amélioration de l'affichage de la date sur les alertes gritter pour les tablettes<commit_after><?php if($tablet_requests->count() > 0): ?>
<?php $nb = $tablet_requests->count(); $i = 0 ?>
{
    "tablet_request":
    [
    <?php foreach($tablet_requests as $tablet_request): ++$i; ?>
        {
                "android_id": <?php echo json_encode($tablet_request->getAndroidId()) ?>,
                "last_check": <?php echo json_encode($tablet_request->getDateTimeObject('last_check')->format('H:i')) ?>,
                "is_new": "<?php echo json_encode($tablet_request->getIsNew()) ?>"
        
            }<?php echo $nb == $i ? '' : ',' ?>
            
    <?php endforeach; ?>
]
}
<?php endif; ?>
{'fraction_non_alphanumeric': 0.19631901840490798, 'fraction_numerical': 0.003067484662576687, 'mean_word_length': 2.7716763005780347, 'pattern_counts': {'":': 8, '<': 21, '<?xml version=': 0, '>': 34, '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': '6437724', 'n_tokens_mistral': 433, 'n_tokens_neox': 422, 'n_words': 80}