<commit_before>from flask import Blueprint, jsonify


def error(status=400, detail='Bad Request', traceback=''):
    return jsonify(errors=[{
        'status': status,
        'detail': detail,
        'traceback': traceback,
        'david': 'david'
    }]), status


endpoints = Blueprint('endpoints', __name__)
import polyIntersect.routes.api.v1.polyIntersect_router  # noqa
<commit_msg>test edit to error handler<commit_after>from flask import Blueprint, jsonify


def error(status=400, detail='Bad Request', traceback=''):
    return jsonify(errors=[{
        'status': status,
        'detail': detail,
        'traceback': traceback,
        'david': 'FIONA'
    }]), status


endpoints = Blueprint('endpoints', __name__)
import polyIntersect.routes.api.v1.polyIntersect_router  # noqa

{'fraction_non_alphanumeric': 0.13114754098360656, 'fraction_numerical': 0.01008827238335435, 'mean_word_length': 3.871165644171779, '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': '6187845', 'n_tokens_mistral': 252, 'n_tokens_neox': 247, 'n_words': 58}