<commit_before>from flask import Flask

app = Flask(__name__)

@app.route('/')
def hello():
  return "Hello world!"
<commit_msg>Route to return the players data as json<commit_after>from flask import Flask

app = Flask(__name__)

@app.route('/')
def hello():
  return "Hello world!"

@app.route('/players')
def players():
  with open('data/players_2010.json') as file:
    return file.read()
{'fraction_non_alphanumeric': 0.1483375959079284, 'fraction_numerical': 0.010230179028132993, 'mean_word_length': 4.9393939393939394, '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': '1701745', 'n_tokens_mistral': 136, 'n_tokens_neox': 128, 'n_words': 40}