<commit_before>import FalcorServer from 'falcor-express';
import express from 'express';
import React from 'react';
import falcor from 'falcor';
import _ from 'lodash';
import { renderToString } from 'react-dom/server';
import { match, RouterContext } from 'react-router';
import sourcemap from 'source-map-support';
import routes from 'lib/editor-routes';
import FalcorController from 'lib/falcor/FalcorController';
import FalcorRouter from 'lib/falcor/FalcorRouter';
import { injectModelCreateElement } from 'lib/falcor/falcorUtils';

// Load in static issue articles for development
import articles from '../static/sample-issue/posts.js';
import authors from '../static/sample-issue/authors.js';

// Allow node to use sourcemaps
sourcemap.install();


const buildHtmlString = (body, cache) => {
  return (
    `<!DOCTYPE html>
      <html style>
        <head>
          <title>Gazelle Editor Tools</title>
          <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
          <link rel="stylesheet" type="text/css" href="/editorStyles.css">
          <meta name="viewport" content="width=device-width, initial-scale=1">
        </head><commit_msg>removed broken import statements after merging editor-tools into master<commit_after>import FalcorServer from 'falcor-express';
import express from 'express';
import React from 'react';
import falcor from 'falcor';
import _ from 'lodash';
import { renderToString } from 'react-dom/server';
import { match, RouterContext } from 'react-router';
import sourcemap from 'source-map-support';
import routes from 'lib/editor-routes';
import FalcorController from 'lib/falcor/FalcorController';
import FalcorRouter from 'lib/falcor/FalcorRouter';
import { injectModelCreateElement } from 'lib/falcor/falcorUtils';

// Allow node to use sourcemaps
sourcemap.install();


const buildHtmlString = (body, cache) => {
  return (
    `<!DOCTYPE html>
      <html style>
        <head>
          <title>Gazelle Editor Tools</title>
          <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
          <link rel="stylesheet" type="text/css" href="/editorStyles.css">
          <meta name="viewport" content="width=device-width, initial-scale=1">
        </head>
{'fraction_non_alphanumeric': 0.13159060700044306, 'fraction_numerical': 0.003544528134692069, 'mean_word_length': 4.190804597701149, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, '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': '5860489', 'n_tokens_mistral': 684, 'n_tokens_neox': 658, 'n_words': 180}