Skip to content

Behavioral Statement Breakdown

terrelsa13 edited this page Aug 17, 2024 · 7 revisions

Description

  • Specify the action MUMC will take when a behavioral_statement is evaluated.
  • The goal of a behavioral statement is to determine which of the 3 possible actions to take:
    1. Delete - Add media_item to the list of items to be deleted.
    2. Keep - Remove media_item from the list of items to be deleted.
    3. No Action - Do nothing to the media_item.
      1. Do not add media_item to the list of items to be deleted.
      2. Do not remove media_item from the list of items to be deleted.
advance_settings:
  behavioral_statements:
    media_type:
      conditional_behavior: string
       action: string
       user_conditional: string
       played_conditional: string
       action_control: integer

Definitions

conditional_behaviors can be one of the following:

  • favorite
  • whitetag
  • blacktag
  • whitelist
  • blacklist

action is either:

  • delete
  • keep

user_conditional is either:

  • all
    • Every monitored_user meets the conditional_behavior for the media_item
  • any
    • One or more monitored_users meet the conditional_behavior for the media_item

played_conditional can be one of the following:

  • all_all
    • Every monitored_user meets the count and count equality of both the played filter_statement and created filter_statement
  • any_any
    • One or more monitored_users meet the count and count equality of either the played filter_statement or created filter_statement
  • all_any
    • Every monitored_user meets the count and count equality of either the played filter_statement or created filter_statement
  • any_all
    • One or more monitored_users meet the count and count equality of both the played filter_statement and created filter_statement
  • all_played
    • Every monitored_user meets the count and count equality of the played filter_statement
    • Ignore the count and count equality of the created filter_statement
  • any_played
    • One or more monitored_users meet the count and count equality of the played filter_statement
    • Ignore the count and count equality of the created filter_statement
  • all_created
    • Every monitored_user meets the count and count equality of the created filter_statement
    • Ignore the count and count equality of the played filter_statement
  • any_created
    • One or more monitored_users meet the count and count equality of the created filter_statement
    • Ignore the count and count equality of the played filter_statement
  • ignore
    • Ignore the count and count equality of both the played filter_statement and created filter_statement

action_control can be the following:

  • 0 : No action taken on True; No action taken on False (disabled)
  • 1 : No action taken on True; Action taken on False
  • 2 : No action taken on True; Opposite action taken on False
  • 3 : Action taken on True; No action taken on False (recommended)
  • 4 : Action taken on True; Action taken on False
  • 5 : Action taken on True; Opposite action taken on False (recommended)
  • 6 : Opposite action taken on True; No action taken on False
  • 7 : Opposite action taken on True; Action taken on False
  • 8 : Opposite action taken on True; Opposite action taken on False

Evaluation

BehavioralControl = (user_conditional and played_conditional)

Usage

  • When action is delete, BehavioralControl evaluates to true, and action_control is 0
    • No action taken on True; No action taken on False (disabled)
      • No action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to true, and action_control is 1
    • No action taken on True; Action taken on False
      • No action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to true, and action_control is 2
    • No action taken on True; Opposite action taken on False
      • No action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to true, and action_control is 3
    • Action taken on True; No action taken on False (recommended)
      • Action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will be added the delete list

  • When action is delete, BehavioralControl evaluates to true, and action_control is 4
    • Action taken on True; Action taken on False
      • Action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to true, and action_control is 5
    • Action taken on True; Opposite action taken on False (recommended)
      • Action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to true, and action_control is 6
    • Opposite action taken on True; No action taken on False
      • Opposite action taken on media_item
        • If media_item is in the delete list; it will be removed from the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to true, and action_control is 7
    • Opposite action taken on True; Action taken on False
      • Opposite action taken on media_item
        • If media_item is in the delete list; it will be removed from the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to true, and action_control is 8
    • Opposite action taken on True; Opposite action taken on False
      • Opposite action taken on media_item
        • If media_item is in the delete list; it will be removed from the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to false, and action_control is 0
    • No action taken on True; No action taken on False (disabled)
      • No action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to false, and action_control is 1
    • No action taken on True; Action taken on False
      • Action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will be added to he delete list

  • When action is delete, BehavioralControl evaluates to false, and action_control is 2
    • No action taken on True; Opposite action taken on False
      • Opposite action taken on media_item
        • If media_item is in the delete list; it will be removed from the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to false, and action_control is 3
    • Action taken on True; No action taken on False (recommended)
      • No action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to false, and action_control is 4
    • Action taken on True; Action taken on False
      • Action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will be added to the delete list

  • When action is delete, BehavioralControl evaluates to false, and action_control is 5
    • Action taken on True; Opposite action taken on False (recommended)
      • Opposite action taken on media_item
        • If media_item is in the delete list; it will be removed from the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to false, and action_control is 6
    • Opposite action taken on True; No action taken on False
      • No action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is delete, BehavioralControl evaluates to false, and action_control is 7
    • Opposite action taken on True; Action taken on False
      • Action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will be added to the delete list

  • When action is delete, BehavioralControl evaluates to false, and action_control is 8
    • Opposite action taken on True; Opposite action taken on False
      • Opposite action taken on media_item
        • If media_item is in the delete list; it will be removed from the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to true, and action_control is 0
    • No action taken on True; No action taken on False (disabled)
      • No action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to true, and action_control is 1
    • No action taken on True; Action taken on False
      • No action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to true, and action_control is 2
    • No action taken on True; Opposite action taken on False
      • No action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to true, and action_control is 3
    • Action taken on True; No action taken on False (recommended)
      • Action taken on media_item
        • If media_item is in the delete list; it will be removed from the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to true, and action_control is 4
    • Action taken on True; Action taken on False
      • Action taken on media_item
        • If media_item is in the delete list; it will be removed from the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to true, and action_control is 5
    • Action taken on True; Opposite action taken on False (recommended)
      • Action taken on media_item
        • If media_item is in the delete list; it will be removed from the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to true, and action_control is 6
    • Opposite action taken on True; No action taken on False
      • Opposite action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will be added to the delete list

  • When action is keep, BehavioralControl evaluates to true, and action_control is 7
    • Opposite action taken on True; Action taken on False
      • Opposite action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will be added to the delete list

  • When action is keep, BehavioralControl evaluates to true, and action_control is 8
    • Opposite action taken on True; Opposite action taken on False
      • Opposite action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will be added to the delete list

  • When action is keep, BehavioralControl evaluates to false, and action_control is 0
    • No action taken on True; No action taken on False (disabled)
      • No action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to false, and action_control is 1
    • No action taken on True; Action taken on False
      • Action taken on media_item
        • If media_item is in the delete list; it will be removed from the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to false, and action_control is 2
    • No action taken on True; Opposite action taken on False
      • Opposite action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will be added to the delete list

  • When action is keep, BehavioralControl evaluates to false, and action_control is 3
    • Action taken on True; No action taken on False (recommended)
      • No action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to false, and action_control is 4
    • Action taken on True; Action taken on False
      • Action taken on media_item
        • If media_item is in the delete list; it will be removed from the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to false, and action_control is 5
    • Action taken on True; Opposite action taken on False (recommended)
      • Opposite action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will be added to the delete list

  • When action is keep, BehavioralControl evaluates to false, and action_control is 6
    • Opposite action taken on True; No action taken on False
      • No action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to false, and action_control is 7
    • Opposite action taken on True; Action taken on False
      • Action taken on media_item
        • If media_item is in the delete list; it will be removed from the delete list
        • If media_item is not in the delete list; it will remain not in the delete list

  • When action is keep, BehavioralControl evaluates to false, and action_control is 8
    • Opposite action taken on True; Opposite action taken on False
      • Opposite action taken on media_item
        • If media_item is in the delete list; it will remain in the delete list
        • If media_item is not in the delete list; it will be added to the delete list

Additional Information - MUMC extras.

Clone this wiki locally