<commit_before>#!/usr/bin/env python
#
# Copyright 2010 <NAME> <<EMAIL>>
#
import datetime
from google.appengine.ext.webapp import util

import ecal


class DashboardHandler(ecal.EcalRequestHandler):
    def get(self):
        one_day_ago = datetime.datetime.now() - datetime.timedelta(days=1)
        query = ecal.EcalUser.all().filter('date_added >=', one_day_ago)
        self.respond_with_template('dashboard.html', {'signups': query.count()})
        pass


def main():
    application = ecal.EcalWSGIApplication([('/dashboard', DashboardHandler)])
    util.run_wsgi_app(application)


if __name__ == '__main__':
    main()
<commit_msg>Remove extraneous pass<commit_after>#!/usr/bin/env python
#
# Copyright 2010 <NAME> <<EMAIL>>
#
import datetime
from google.appengine.ext.webapp import util

import ecal


class DashboardHandler(ecal.EcalRequestHandler):
    def get(self):
        one_day_ago = datetime.datetime.now() - datetime.timedelta(days=1)
        query = ecal.EcalUser.all().filter('date_added >=', one_day_ago)
        self.respond_with_template('dashboard.html', {'signups': query.count()})


def main():
    application = ecal.EcalWSGIApplication([('/dashboard', DashboardHandler)])
    util.run_wsgi_app(application)


if __name__ == '__main__':
    main()

{'fraction_non_alphanumeric': 0.14084507042253522, 'fraction_numerical': 0.00782472613458529, 'mean_word_length': 4.373949579831932, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '1397445', 'n_tokens_mistral': 433, 'n_tokens_neox': 416, 'n_words': 77}