<commit_before>.. _metrics:

The metrics
===========

1. Passing By
-------------

  * **Keyword**: ``passing_by``
  * **Schema**:

    .. code:: json

      { "value": 0 }

  * **Description**: Count of people who passed (not necessarily stopping or
    looking) in front of the camera during the specified time duration.

2. Interested
-------------

  * **Keyword**: ``interested``
  * **Schema**:

    .. code:: json

      { "value": 0 }

  * **Description**: Count of people who stopped for at least 3 seconds and looked in the direction of the camera more than 1 second.

3. Average stopping time<commit_msg>Be more specific about the time spent for the Passing by metric<commit_after>.. _metrics:

The metrics
===========

1. Passing By
-------------

  * **Keyword**: ``passing_by``
  * **Schema**:

    .. code:: json

      { "value": 0 }

  * **Description**: Count of people who passed (not necessarily stopping or
    looking) in front of the camera during at least 1 second.

2. Interested
-------------

  * **Keyword**: ``interested``
  * **Schema**:

    .. code:: json

      { "value": 0 }

  * **Description**: Count of people who stopped for at least 3 seconds and looked in the direction of the camera more than 1 second.

3. Average stopping time
{'fraction_non_alphanumeric': 0.1763779527559055, 'fraction_numerical': 0.011811023622047244, 'mean_word_length': 2.6107954545454546, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, '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': '4601032', 'n_tokens_mistral': 368, 'n_tokens_neox': 342, 'n_words': 152}