<commit_before>﻿# -*- coding: utf-8 -*-

#db.rms_pledge.truncate()

module = 'rms'
# Current Module (for sidebar title)
module_name = db(db.s3_module.name==module).select().first().name_nice
# Options Menu (available in all Functions' Views)
response.menu_options = [
    [T('View Requests & Pledge Aid'), False, URL(r=request, f='req')],
#    [T('Search Requests'), False, URL(r=request, f='req', args='pledge')],
    #[T('View Tweet Requests and Pledge Aid'), False, URL(r=request, f='tweet_request')],
    #[T('View SMS Requests and Pledge Aid'), False, URL(r=request, f='sms_request')],
#    [T('Search Requests'), False, URL(r=request, f='req', args='search')]
    
]

# S3 framework functions
def index():
    "Module's Home Page"
    return dict(module_name=module_name, a=1)

def test():
    "Module's Home Page"<commit_msg>removed truncate (even though commented)<commit_after>﻿# -*- coding: utf-8 -*-

module = 'rms'
# Current Module (for sidebar title)
module_name = db(db.s3_module.name==module).select().first().name_nice
# Options Menu (available in all Functions' Views)
response.menu_options = [
    [T('View Requests & Pledge Aid'), False, URL(r=request, f='req')],
#    [T('Search Requests'), False, URL(r=request, f='req', args='pledge')],
    #[T('View Tweet Requests and Pledge Aid'), False, URL(r=request, f='tweet_request')],
    #[T('View SMS Requests and Pledge Aid'), False, URL(r=request, f='sms_request')],
#    [T('Search Requests'), False, URL(r=request, f='req', args='search')]
    
]

# S3 framework functions
def index():
    "Module's Home Page"
    return dict(module_name=module_name, a=1)

def test():
    "Module's Home Page"
{'fraction_non_alphanumeric': 0.1856971153846154, 'fraction_numerical': 0.004807692307692308, 'mean_word_length': 5.0108303249097474, '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': '1411473', 'n_tokens_mistral': 589, 'n_tokens_neox': 573, 'n_words': 150}