<commit_before>slate = require '../index.js'
jade = require 'jade'
hogan = require 'hogan.js'

server = slate.create()

server.root "#{__dirname}/public"
server.enable 'csrf', 'lfi', 'xss', '404', 'mime', 'static'

params =
  data:
      header: "Colors"
      items: [
          {name: "red", first: true, url: "#Red"}
          {name: "green", link: true, url: "#Green"}
          {name: "blue", link: true, url: "#Blue"}
      ]
  
server.engine 'mustache', hogan, params
#server.engine 'jade', jade, params

server.set 'production'
server.set 'debug', false

server.listen 8080
console.log "Server started!"
<commit_msg>clean out hogan<commit_after>slate = require '../index.js'
jade = require 'jade'
hogan = require 'hogan.js'

server = slate.create()

server.root "#{__dirname}/public"
server.enable 'csrf', 'lfi', 'xss', '404', 'mime', 'static'

params =
  data:
      header: "Colors"
      items: [
          {name: "red", first: true, url: "#Red"}
          {name: "green", link: true, url: "#Green"}
          {name: "blue", link: true, url: "#Blue"}
      ]
  
#server.engine 'mustache', hogan, params
server.engine 'jade', jade, params

server.set 'production'

server.listen 8080
console.log "Server started!"

{'fraction_non_alphanumeric': 0.18137254901960784, 'fraction_numerical': 0.011437908496732025, 'mean_word_length': 3.3594306049822062, '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': '6787280', 'n_tokens_mistral': 440, 'n_tokens_neox': 427, 'n_words': 121}