<commit_before>#
# The artist page found at /artist/:id.
#

express = require 'express'
routes = require './routes'
sections = require './sections'
timeout = require 'connect-timeout'
uncapitalize = require 'express-uncapitalize'

app = module.exports = express()
app.set 'views', __dirname + '/templates'
app.set 'view engine', 'jade'

app.get '/artist/:id/follow', routes.follow
app.get '/artist/:id', timeout('25s'), uncapitalize(), routes.index
for { slug } in sections
  app.get "/artist/:id/#{slug}", uncapitalize(), routes.tab<commit_msg>Remove uncapitalize from artist route<commit_after>#
# The artist page found at /artist/:id.
#

express = require 'express'
routes = require './routes'
sections = require './sections'
timeout = require 'connect-timeout'

app = module.exports = express()
app.set 'views', __dirname + '/templates'
app.set 'view engine', 'jade'

app.get '/artist/:id/follow', routes.follow
app.get '/artist/:id', timeout('25s'), routes.index
for { slug } in sections
  app.get "/artist/:id/#{slug}", routes.tab
{'fraction_non_alphanumeric': 0.16795366795366795, 'fraction_numerical': 0.003861003861003861, 'mean_word_length': 4.697802197802198, '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': '5490206', 'n_tokens_mistral': 333, 'n_tokens_neox': 337, 'n_words': 96}