<commit_before># mapping between app names and the views considered safe
# if the app name is an empty string, the views are taken
# to be global, i.e. from a global views.py

RULES = {
    '': ['view1', 'views2'],
    'app_name': ['view1', 'view2'],
    'app_name2': [],
}<commit_msg>Changed the logic of the permission rules<commit_after># mapping between app names and the views considered safe
# if the view doesn't belong to an app, use the project
# name instead

RULES = {
    'bucket': ['index'],
    'bark': ['index'],
}
{'fraction_non_alphanumeric': 0.13043478260869565, 'fraction_numerical': 0.00945179584120983, 'mean_word_length': 3.953271028037383, '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': '4858449', 'n_tokens_mistral': 165, 'n_tokens_neox': 162, 'n_words': 71}