<commit_before>import bottle
import pymongo

# this is the handler for the default path of the web server
# added another comment

@bottle.route('/')
def index():
    # connect to mongoDB
    connection = pymongo.MongoClient('localhost', 27017)

    # attach to test database
    db = connection.test

    # get handle for names collection
    name = db.names

    # find a single document
    item = name.find_one()

    return '<b>Hello %s!</b>' % item['name']

# run the webserver
bottle.run(host='localhost', port=8000)<commit_msg>Modified the hello.py web server to not use mongo...<commit_after>import bottle
import pymongo

# this is the handler for the default path of the web server
# added another comment

@bottle.route('/')
def index():
    # connect to mongoDB
    # connection = pymongo.MongoClient('localhost', 27017)

    # attach to test database
    # db = connection.test

    # get handle for names collection
    # name = db.names

    # find a single document
    # item = name.find_one()

    return '<b>Hello World!</b>'

# run the webserver
bottle.run(host='localhost', port=8000)
{'fraction_non_alphanumeric': 0.10497737556561086, 'fraction_numerical': 0.016289592760180997, 'mean_word_length': 3.406374501992032, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2024664', 'n_tokens_mistral': 354, 'n_tokens_neox': 329, 'n_words': 118}