<commit_before>
# Argumenta instance
argumenta = require '../app/argumenta'

# Site index
exports.index = (req, res) ->
  argumenta.users.latest {limit: 10}, (err, users) ->
    argumenta.repos.latest {limit: 20}, (err, repos) ->
      res.reply 'index',
        latest_users: users
        latest_repos: repos<commit_msg>Include metadata for repos on homepage<commit_after>
# Argumenta instance
argumenta = require '../app/argumenta'

# Site index
exports.index = (req, res) ->
  argumenta.users.latest {limit: 10}, (err, users) ->
    argumenta.repos.latest {limit: 20, metadata: true}, (err, repos) ->
      res.reply 'index',
        latest_users: users
        latest_repos: repos
{'fraction_non_alphanumeric': 0.14014598540145987, 'fraction_numerical': 0.01167883211678832, 'mean_word_length': 3.3417721518987342, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4468153', 'n_tokens_mistral': 228, 'n_tokens_neox': 209, 'n_words': 60}