<commit_before>// Copyright 2017 TODO Group. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// eslint-disable-next-line no-unused-vars
const Result = require('../lib/result')
// eslint-disable-next-line no-unused-vars
const FormatResult = require('../lib/formatresult')
const slugger = require('../lib/github_slugger')

const ERROR_SYMBOL = '❗'
const FAIL_SYMBOL = '❌'
const WARN_SYMBOL = '⚠️'
const PASS_SYMBOL = '✅'
const INFO_SYMBOL = 'ℹ️'

const SUGGESTED_FIX = `${INFO_SYMBOL} **Suggested Fix**:`
const APPLIED_FIX = `${PASS_SYMBOL} **Applied Fix**:`

const DISCLAIMER =
  '*This report was generated automatically by the Repolinter Action bot. If you see an issue please report it to ...*' +
  '\n\nRepolinter is a tool used by New Relic to maintain consistency across our repositories.' +
  ' Each rule below represents a policy that New Relic implements in the Open Source initiative.' +
  ' For more information about this issue and/or Repolinter, please go to ... .' +
  ' These checks will not prevent code from merging, but instead serve as a reminder to adhere to open source policies.'

const COLLAPSE_TOP =
`<details>
<summary>Click to see passed rules</summary>`
const COLLAPSE_BOTTOM = '</details>'

/**
 * Optionally add prefix or suffix to a string if it's truthy.<commit_msg>change fix icon to hammer to reduce confusion<commit_after>// Copyright 2017 TODO Group. All rights reserved.
// SPDX-License-Identifier: Apache-2.0

// eslint-disable-next-line no-unused-vars
const Result = require('../lib/result')
// eslint-disable-next-line no-unused-vars
const FormatResult = require('../lib/formatresult')
const slugger = require('../lib/github_slugger')

const ERROR_SYMBOL = '❗'
const FAIL_SYMBOL = '❌'
const WARN_SYMBOL = '⚠️'
const PASS_SYMBOL = '✅'
const INFO_SYMBOL = 'ℹ️'
const FIX_SYMBOL = '🔨'

const SUGGESTED_FIX = `${FIX_SYMBOL} **Suggested Fix**:`
const APPLIED_FIX = `${PASS_SYMBOL} **Applied Fix**:`

const DISCLAIMER =
  '*This report was generated automatically by the Repolinter Action bot. If you see an issue please report it to ...*' +
  '\n\nRepolinter is a tool used by New Relic to maintain consistency across our repositories.' +
  ' Each rule below represents a policy that New Relic implements in the Open Source initiative.' +
  ' For more information about this issue and/or Repolinter, please go to ... .' +
  ' These checks will not prevent code from merging, but instead serve as a reminder to adhere to open source policies.'

const COLLAPSE_TOP =
`<details>
<summary>Click to see passed rules</summary>`
const COLLAPSE_BOTTOM = '</details>'

/**
 * Optionally add prefix or suffix to a string if it's truthy.
{'fraction_non_alphanumeric': 0.11601796407185629, 'fraction_numerical': 0.004491017964071856, 'mean_word_length': 4.241176470588235, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3200395', 'n_tokens_mistral': 829, 'n_tokens_neox': 815, 'n_words': 311}