<commit_before>const debug = require('debug')('github-metrics:services:v1:project');

const Project = require('../../models/v1/project');

const ProjectService = {

  /**
   * @return {Promise.<void>}
   */
  find: () => {
    debug('fetching projects');

    return Project.find({ deleted: { $not: true } }).sort('name').exec();
  },
<commit_msg>Fixed query<commit_after>const debug = require('debug')('github-metrics:services:v1:project');

const Project = require('../../models/v1/project');

const ProjectService = {

  /**
   * @return {Promise.<void>}
   */
  find: () => {
    debug('fetching projects');

    return Project.find({ deleted: { $ne: true } }).sort('name').exec();
  },

{'fraction_non_alphanumeric': 0.22286541244573083, 'fraction_numerical': 0.005788712011577424, 'mean_word_length': 3.8055555555555554, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4763893', 'n_tokens_mistral': 220, 'n_tokens_neox': 215, 'n_words': 39}