Files

History

The History rule can check an Author's submission/comment statistics over a time period:

  • Submission total or percentage of All Activity
  • Comment total or percentage of all Activity
  • Comments made as OP (commented in their own Submission) total or percentage of all Comments
  • Ratio of activities against another window of activities

Consult the schema for a complete reference of the rule's properties.

Ratio

Use the ratio property in Criteria to test the number of activities found in the parent criteria against the number of activities from another activity window defined in the ratio.

Example:

- kind: history
  criteria:
    # "parent" criteria, returns all activities, in the last 100 from user's history, that occurred in r/mealtimevideos
    - window:
        count: 100
        filterOn:
          post:
            subreddits:
              include:
                - mealtimevideos
      ratio:
        # "ratio" criteria, returns all activities, in the last 100 from user's history, that occurred in r/redditdev
        window:
          count: 100
          filterOn:
            post:
              subreddits:
                include:
                  - redditdev
        # test (number of parent criteria activities) / (number of ratio critieria activities)
        threshold: '> 1.2'

threshold may be a number or percentage (number * 100)

  • EX > 1.2 => There are 1.2 activities from parent criteria for every 1 ratio activities
  • EX <= 75% => There are equal to or less than 0.75 activities from parent criteria for every 1 ratio activities

Examples

  • Low Comment Engagement YAML | JSON - Check if Author is submitting much more than they comment.
  • OP Comment Engagement YAML | JSON - Check if Author is mostly engaging only in their own content