<commit_before>import { Meteor } from 'meteor/meteor';
import { Images } from '../../../api/images/images.js';
import _ from 'lodash';

// If the database is empty on server start, create some sample data.

Meteor.startup(() => {
  Images.remove({});
  if (Images.find().count() === 0) {

    const data = [
      {
        place: 'Coon Rapids',
        name: 'Dam',
        filename: 'CoonRdsDam1928.jpg',
      },
      {
        place: 'Coon Rapids',
        name: 'Men Lounging',
        filename: 'HE2 1 r30.jpg',
      },
    ];

    data.forEach((image) => {
      image.slug = _.kebabCase(image.name);
      Images.insert(image);
    });
  }<commit_msg>Adding a few more test images at a 2nd location<commit_after>import { Meteor } from 'meteor/meteor';
import { Images } from '../../../api/images/images.js';
import _ from 'lodash';

// If the database is empty on server start, create some sample data.

Meteor.startup(() => {
  Images.remove({});
  if (Images.find().count() === 0) {

    const data = [
      {
        place: 'Coon Rapids',
        name: 'Dam',
        filename: 'CoonRdsDam1928.jpg',
      },
      {
        place: 'Coon Rapids',
        name: 'Men Lounging',
        filename: 'HE2 1 r30.jpg',
      },
      {
        place: 'Pike Island',
        name: 'Nothing',
        filename: 'nothing.jpg',
      },
      {
        place: 'Pike Island',
        name: 'Something',
        filename: 'something.jpg',
      },
    ];

    data.forEach((image) => {
      image.slug = _.kebabCase(image.name);
      Images.insert(image);
    });
  }
{'fraction_non_alphanumeric': 0.1681528662420382, 'fraction_numerical': 0.012101910828025478, 'mean_word_length': 2.021153846153846, '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': '4879930', 'n_tokens_mistral': 538, 'n_tokens_neox': 507, 'n_words': 125}