<commit_before>import sys
import stackexchange

site = stackexchange.Site(stackexchange.StackOverflow)
site.be_inclusive()

if len(sys.argv) < 2:
  id = int(raw_input("Enter a question ID: "))
else:
  id = int(sys.argv[1])

question = site.question(id)
owner    = site.user(question.owner.id)
answer   = site.answer(question.accepted_answer_id)
answerer = site.user(answer.owner_id)

print '<h1>%s</h1>' % question.title
print '<a href="%s">%s</a>' % (question.url, question.url)
print 'Asked by <a href="%s">%s</a>' % (owner.url, owner.display_name)
print question.body
print '<h2>Accepted Answer</h2>'
print 'Answered by <a href="%s">%s</a>' % (answerer.url, answerer.display_name)
print answer.body<commit_msg>Added a little more information.<commit_after>import sys
import stackexchange

site = stackexchange.Site(stackexchange.StackOverflow)
site.be_inclusive()

if len(sys.argv) < 2:
  id = int(raw_input("Enter a question ID: "))
else:
  id = int(sys.argv[1])

question = site.question(id)
owner    = site.user(question.owner.id)
answer   = site.answer(question.accepted_answer_id)
answerer = site.user(answer.owner_id)

print '<h1>%s</h1>' % question.title
print '<a href="%s">%s</a>' % (question.url, question.url)
print 'Asked by <a href="%s">%s</a> on StackOverflow.com' % (owner.url, owner.display_name)
print question.body
print '<h2>Accepted Answer</h2>'
print 'Answered by <a href="%s">%s</a>' % (answerer.url, answerer.display_name)
print answer.body
print '<p>Reproduced under the Creative Commons Attribution-ShareAlike 3.0 Unported license.</p>'
{'fraction_non_alphanumeric': 0.16624040920716113, 'fraction_numerical': 0.008951406649616368, 'mean_word_length': 5.60337552742616, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 25, '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': '2810895', 'n_tokens_mistral': 587, 'n_tokens_neox': 585, 'n_words': 125}