# Definite Scoring

Definite scoring only considers the unexpected events in v2 and does not compare . These events may or may not be present in the baseline. Definite scoring is simple and easy to interpret. Definite scoring works based on the following factors:

* For every unexpected cluster that is in v2 and not in v1, the overall score is reduced.
* For all unexpected clusters present in both v1 and v2, overall score is reduced only when the number of logs of that cluster are higher in v2.
* There is no normalization, hence definite scoring may not work if the log file is too large.&#x20;
* Score Reduction is higher at higher sensitivity levels.
* By default, definite scoring will give a score of 0 (fail) whenever there is a critical error.

Score Reduction is higher for clusters with higher criticality.

To set the Definite Scoring algorithm follow the steps below:

User can select the Definite Scoring algorithm while creating a [**Log Template**](https://docs.opsmx.com/user-guide/continuous-verification/templates/log-template) for the verification gate. Users can set the Definite Scoring algorithm after creating a pipeline to the application.&#x20;

To create an application, refer [**here**](https://docs.opsmx.com/release-history/previous-releases/isd-4.0/knowledgebase/manage-application/create-an-application)**.**

To create a pipeline, refer [**here**](https://docs.opsmx.com/release-history/previous-releases/isd-4.0/knowledgebase/manage-pipelines/create-a-pipeline)**.**

To know more about how to create a Log Template, refer [**here**](https://docs.opsmx.com/user-guide/continuous-verification/templates/log-template).

1. After creating a pipeline, go to **Pipeline Builder** page and select your **pipeline** and then click [**Add Stage**](https://docs.opsmx.com/user-guide/manage-pipelines/add-stage).

   ![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FK6MYeXoqPnBt4Kc7iamr%2Fimage.png?alt=media\&token=55038642-09d5-4664-b842-5c88c649aebd)
2. Next, you get the option to select the type of stage. Select the **Verification Gate** from the drop down menu.

   ![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2Fv3OyjNfujRda67DhjW9J%2Fimage.png?alt=media\&token=8516748e-5807-4fd2-9e74-af35bf85562e)
3. After selecting **Verification** gat&#x65;**,** the following options appear and click "**+**" Symbol to create a log template:

   ![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F3x10fOjH8VokszPJ1lLm%2Fimage.png?alt=media\&token=3793f7d8-fc48-4ace-bb97-4c0feea2859d)
4. The New Log Template form appears as shown below:

   ![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FZFhbKYHfWJp5GOw9tA8T%2Fimage.png?alt=media\&token=43c9da1f-4955-4f15-92b9-099644009864)
5. Select **Definite Scoring** from the drop-down while creating a new Log Template as shown below:

   ![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FjxKSgadeQ4hcHYPSemAi%2Fimage.png?alt=media\&token=cb8728cb-719a-4125-be32-c44cb179ac3d)
