<commit_before>{ extend } = require 'underscore'
JSONPage = require '../../components/json_page'
resizer = require '../../components/resizer'
markdown = require '../../components/util/markdown'

page = new JSONPage name: 'gallery-partnerships'

@index = (req, res, next) ->
  page.get()
    .then (data) ->
      res.render 'index', extend {},
        page.data,
        resizer,
        markdown: markdown

    .catch next<commit_msg>Use correct file name for s3<commit_after>{ extend } = require 'underscore'
JSONPage = require '../../components/json_page'
resizer = require '../../components/resizer'
markdown = require '../../components/util/markdown'

page = new JSONPage name: 'gallery-partnerships2'

@index = (req, res, next) ->
  page.get()
    .then (data) ->
      res.render 'index', extend {},
        page.data,
        resizer,
        markdown: markdown

    .catch next
{'fraction_non_alphanumeric': 0.16252821670428894, 'fraction_numerical': 0.002257336343115124, 'mean_word_length': 2.726890756302521, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3513795', 'n_tokens_mistral': 270, 'n_tokens_neox': 263, 'n_words': 72}