<commit_before>""" Query modules mapping functions to their query strings
structured:

module_name { query_string: function_for_query }

"""

modules = {
   # Trip Module
   'trips': {
   'get top': getTopTrips,
   'get all': getAllTrips,
   'get most recent': getRecentTrips},

   'utility': {},
   'pertubation': {}
 }

#returns the top trips for the user, defaulting to the top 10 trips
def getTopTrips(uid, options = 10):
    return []

#returns all trips to the user
def getAllTrips(uid):
    return []

def getRecentTrips(uid, options=10):
    return []<commit_msg>minor changes to query modules<commit_after>""" Query modules mapping functions to their query strings
structured:

module_name { query_string: function_for_query }

"""

modules = {
   # Trip Module
   'trips': {
   'get top': getTopTrips,
   'get all': getAllTrips,
   'get most recent': getRecentTrips,
   'get trips by mode': getTripsThroughMode},

   # Utility Module
   'utility': {},

   #Pertubation Module
   'pertubation': {}
 }

#returns the top trips for the user, defaulting to the top 10 trips
def getTopTrips(uid, options = 10):
    """ options that we can have for get top trips:
    """
    return []

#returns all trips to the user
def getAllTrips(uid):
    return []

def getRecentTrips(uid, options = 10):
    return []

def getTripsThroughMode(uid, options = 10):
    return[]
{'fraction_non_alphanumeric': 0.11257309941520467, 'fraction_numerical': 0.01023391812865497, 'mean_word_length': 3.8035087719298244, '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': '3945728', 'n_tokens_mistral': 459, 'n_tokens_neox': 427, 'n_words': 148}