<commit_before>#!/usr/bin/env python
# vi:tabstop=4:expandtab:shiftwidth=4:softtabstop=4:autoindent:smarttab

import os
import zipfile

def pack_report(subdir, package):
    root_path = os.path.dirname(os.path.realpath(__file__))
    print ('--|zip|-- packing: ', subdir.ljust(45),  package + '.zip')
    valid_names = ['description.txt', 'luacontent.lua', 'sqlcontent.sql', 'template.htt']
    f = zipfile.ZipFile(package + '.zip', 'w')
    os.chdir(subdir)
    for item in valid_names:<commit_msg>fix(travis-ci): log format<commit_after>#!/usr/bin/env python
# vi:tabstop=4:expandtab:shiftwidth=4:softtabstop=4:autoindent:smarttab

import os
import zipfile

def pack_report(subdir, package):
    root_path = os.path.dirname(os.path.realpath(__file__))
    print ('--|zip|-- packing: ', subdir.ljust(60),  package + '.zip')
    valid_names = ['description.txt', 'luacontent.lua', 'sqlcontent.sql', 'template.htt']
    f = zipfile.ZipFile(package + '.zip', 'w')
    os.chdir(subdir)
    for item in valid_names:
{'fraction_non_alphanumeric': 0.17012858555885263, 'fraction_numerical': 0.009891196834817012, 'mean_word_length': 4.816091954022989, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3157336', 'n_tokens_mistral': 373, 'n_tokens_neox': 367, 'n_words': 65}