<commit_before>#!/usr/bin/env python3

import connexion
import logging
from .encoder import JSONEncoder
from flask_sqlalchemy import SQLAlchemy

if __name__ == '__main__':
    app = connexion.App(__name__, specification_dir='./swagger/')
    app.app.config.from_object('swagger_server.config.Config')
    app.app.config.from_envvar('APP_CONFIG')
    db = SQLAlchemy()
    db.init_app(app.app)
    logging.basicConfig()
    logging.getLogger('sqlalchemy.engine').setLevel(logging.INFO)
    app.app.json_encoder = JSONEncoder
    app.add_api('swagger.yaml', arguments={'title': 'news feed api'})
    app.run(port=8080)<commit_msg>this is now passing the load test so I am turning off the debug logging for sql alchemy<commit_after>#!/usr/bin/env python3

import connexion
import logging
from .encoder import JSONEncoder
from flask_sqlalchemy import SQLAlchemy

if __name__ == '__main__':
    app = connexion.App(__name__, specification_dir='./swagger/')
    app.app.config.from_object('swagger_server.config.Config')
    app.app.config.from_envvar('APP_CONFIG')
    db = SQLAlchemy()
    db.init_app(app.app)
    logging.basicConfig()
    logging.getLogger('sqlalchemy.engine').setLevel(logging.WARN)
    app.app.json_encoder = JSONEncoder
    app.add_api('swagger.yaml', arguments={'title': 'news feed api'})
    app.run(port=8080)
{'fraction_non_alphanumeric': 0.12481203007518797, 'fraction_numerical': 0.007518796992481203, 'mean_word_length': 4.688034188034188, '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': '2479119', 'n_tokens_mistral': 454, 'n_tokens_neox': 433, 'n_words': 86}