<commit_before>#!/usr/bin/env ruby
#
# check-stale-results.rb
#
# Author: <NAME> <<EMAIL>>
#

require 'net/http'
require 'json'
require 'sensu-plugin/utils'
require 'sensu-plugin/check/cli'
require 'chronic_duration'

class CheckStaleResults < Sensu::Plugin::Check::CLI
  include Sensu::Plugin::Utils<commit_msg>fix the json order issue<commit_after>#!/usr/bin/env ruby
#
# check-stale-results.rb
#
# Author: <NAME> <<EMAIL>>
#

require 'net/http'
require 'sensu-plugin/utils'
require 'sensu-plugin/check/cli'
require 'json'
require 'chronic_duration'

class CheckStaleResults < Sensu::Plugin::Check::CLI
  include Sensu::Plugin::Utils
{'fraction_non_alphanumeric': 0.15748031496062992, 'fraction_numerical': 0.0, 'mean_word_length': 6.146067415730337, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '2196948', 'n_tokens_mistral': 241, 'n_tokens_neox': 232, 'n_words': 45}