<commit_before># Configs.
configs = require '../configs'

# Import path module.
path = require 'path'

# File system.
fs = require 'fs'

# Favicon.
iconPath = path.resolve __dirname + '/../../client/assets/favicon.ico'
iconStat = fs.statSync iconPath

# Sitemap.xml.
sitemap = path.resolve __dirname + '/../../client/assets/sitemap.xml'

# Robots.txt.
robots = path.resolve __dirname + '/../../client/assets/robots.txt'

# Export routes.
module.exports = (app, io) ->
  # Contest routes.
  (require './contest')(app, io)

  # Load index page.
  app.get '/', (req, res) ->
    res.render 'index', {
      captchaKey: configs.CAPTCHA.APP_KEY
      siteUrl: configs.SITE_URL
    }

  # Favicon.
  app.get '/favicon.ico', (req, res) -><commit_msg>Cleanup.<commit_after># Configs.
configs = require '../configs'

# Import path module.
path = require 'path'

# File system.
fs = require 'fs'

# Favicon.
iconPath = path.resolve __dirname + '/../../client/assets/favicon.ico'
iconStat = fs.statSync iconPath

# Robots.txt.
robots = path.resolve __dirname + '/../../client/assets/robots.txt'

# Export routes.
module.exports = (app, io) ->
  # Contest routes.
  (require './contest')(app, io)

  # Load index page.
  app.get '/', (req, res) ->
    res.render 'index', {
      captchaKey: configs.CAPTCHA.APP_KEY
      siteUrl: configs.SITE_URL
    }

  # Favicon.
  app.get '/favicon.ico', (req, res) ->
{'fraction_non_alphanumeric': 0.1770609318996416, 'fraction_numerical': 0.0, 'mean_word_length': 2.8777777777777778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5870173', 'n_tokens_mistral': 518, 'n_tokens_neox': 503, 'n_words': 117}