<commit_before>import sys
import os.path
import time

def list_categories():
  categories = sorted(tuple(set(log.category for log in Log().find())))
  
  for category in categories:
    print category<commit_msg>instructions if no categories have been added<commit_after>import sys
import os.path
import time

def list_categories():
  categories = sorted(tuple(set(log.category for log in Log().find())))
  
  for category in categories:
    print category
  
  if not categories:
    print "%s <category-name>" % (sys.argv[0])
{'fraction_non_alphanumeric': 0.10436432637571158, 'fraction_numerical': 0.0018975332068311196, 'mean_word_length': 4.5, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1803486', 'n_tokens_mistral': 152, 'n_tokens_neox': 151, 'n_words': 52}