# frozen_string_literal: true

# Copyright 2015-2017, the Linux Foundation, IDA, and the
# OpenSSF Best Practices badge contributors
# SPDX-License-Identifier: MIT

# require 'json' # uncomment if you need to access GitHub

# WARNING: The JSON parser generates a 'normal' Ruby hash.
# Be sure to use strings, NOT symbols, as a key when accessing JSON-parsed
# results (because strings and symbols are distinct in basic Ruby).

class BlankDetective < Detective
  # Individual detectives must identify their inputs, outputs
  INPUTS = [].freeze  # Input Hash required for Search
  OUTPUTS = [].freeze # Output Hash required to set database values.  Please see
  # database schema for allowed values to be set.
  # Setup and major work goes here.  Do not attempt to return anything from this
  # part of the code as it causes crashes.

  def analyze(_evidence, _current)
    {
      # Your return has to go here.  This reformats the hashed return into
      # chief understands.  Remember the output must correspond to one of the
      # values in the database structure.
      # Typically This would be in the form.

      # blank_status:
      # {
      #  value: 'Met',  # or Unmet
      #  confidence: 3, # or what ever you think it should be.
      #  explanation: "My Text to appear in the evidence field"
      # }
    }
  end
end
