<commit_before>import module namespace user = "http://apps.28.io/user";

user:new-right("statistics", "Statistics", "rights", 1);
user:new-right("statistics_usage", "API Usage statistics", "statistics", 2);<commit_msg>allow admin user to see statistics.<commit_after>import module namespace user = "http://apps.28.io/user";

user:new-right("statistics", "Statistics", "rights", 1);
user:new-right("statistics_usage", "API Usage statistics", "statistics", 2);

flush();

user:allow("admin", "statistics");
{'fraction_non_alphanumeric': 0.1884920634920635, 'fraction_numerical': 0.015873015873015872, 'mean_word_length': 7.706896551724138, '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': '5922942', 'n_tokens_mistral': 164, 'n_tokens_neox': 153, 'n_words': 37}