<commit_before>function appAndSpecDirsFor(dir) {
  return `{app/jsx,app/coffeescripts,spec/javascripts/jsx,spec/coffeescripts}/${dir}/**/*.js`
}

function appAndSpecFilesFor(path) {
  return `{app/jsx,app/coffeescripts,spec/javascripts/jsx,spec/coffeescripts}/${path}{,Spec}.js`
}

// If you are starting a new project or section of greenfield code,
// or if there is a folder of code that your team controls that you want
// to start ensuring conforms to prettier, add it to this array to opt-in
// now to conform to prettier.
const PRETTIER_WHITELIST = module.exports =  [
  './*.js',
  'app/jsx/*.js',
  'frontend_build/**/*.js',
  'script/**/*.js',
  'app/jsx/account_settings/**/*.js',
  'app/coffeescripts/ember/**/*.js',
  'spec/javascripts/jsx/spec-support/**/*.js',
  appAndSpecDirsFor('account_course_user_search'),
  appAndSpecDirsFor('announcements'),
  appAndSpecDirsFor('assignments/GradeSummary'),
  appAndSpecDirsFor('assignments_2'),
  appAndSpecDirsFor('dashboard_card'),
  appAndSpecDirsFor('discussions'),
  appAndSpecDirsFor('editor'),
  appAndSpecDirsFor('gradebook'),
  appAndSpecDirsFor('gradezilla'),
  appAndSpecDirsFor('gradebook-history'),
  appAndSpecDirsFor('grading'),
  appAndSpecDirsFor('help_dialog'),
  appAndSpecDirsFor('login'),
  appAndSpecDirsFor('permissions'),
  appAndSpecDirsFor('speed_grader'),
  appAndSpecDirsFor('theme_editor')
]<commit_msg>add speed_grader*.js to prettier list<commit_after>function appAndSpecDirsFor(dir) {
  return `{app/jsx,app/coffeescripts,spec/javascripts/jsx,spec/coffeescripts}/${dir}/**/*.js`
}

function appAndSpecFilesFor(path) {
  return `{app/jsx,app/coffeescripts,spec/javascripts/jsx,spec/coffeescripts}/${path}{,Spec}.js`
}

// If you are starting a new project or section of greenfield code,
// or if there is a folder of code that your team controls that you want
// to start ensuring conforms to prettier, add it to this array to opt-in
// now to conform to prettier.
const PRETTIER_WHITELIST = module.exports =  [
  './*.js',
  'app/jsx/*.js',
  'frontend_build/**/*.js',
  'script/**/*.js',
  'app/jsx/account_settings/**/*.js',
  'app/coffeescripts/ember/**/*.js',
  'public/javascripts/speed_grader*.js',
  'spec/javascripts/jsx/spec-support/**/*.js',
  appAndSpecDirsFor('account_course_user_search'),
  appAndSpecDirsFor('announcements'),
  appAndSpecDirsFor('assignments/GradeSummary'),
  appAndSpecDirsFor('assignments_2'),
  appAndSpecDirsFor('dashboard_card'),
  appAndSpecDirsFor('discussions'),
  appAndSpecDirsFor('editor'),
  appAndSpecDirsFor('gradebook'),
  appAndSpecDirsFor('gradezilla'),
  appAndSpecDirsFor('gradebook-history'),
  appAndSpecDirsFor('grading'),
  appAndSpecDirsFor('help_dialog'),
  appAndSpecDirsFor('login'),
  appAndSpecDirsFor('permissions'),
  appAndSpecDirsFor('speed_grader'),
  appAndSpecDirsFor('theme_editor')
]
{'fraction_non_alphanumeric': 0.15663498768039422, 'fraction_numerical': 0.0007039774727208729, 'mean_word_length': 5.8647342995169085, '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': '879635', 'n_tokens_mistral': 1038, 'n_tokens_neox': 1031, 'n_words': 163}