> For the complete documentation index, see [llms.txt](https://docs.opsmx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opsmx.com/opsmx-1/opsmx-context-engine/user-guide/continuous-verification/scoring-algorithms/definite-scoring.md).

# 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).

   ![](/files/4zuHPzALzP10vZNBO8B1)
2. Next, you get the option to select the type of stage. Select the **Verification Gate** from the drop down menu.

   ![](/files/CMSJb4eEp2X5FeUa4r9R)
3. After selecting **Verification** gat&#x65;**,** the following options appear and click "**+**" Symbol to create a log template:

   ![](/files/8XADSExxIS8FEvgO5niD)
4. The New Log Template form appears as shown below:

   ![](/files/uuK78EgaC90kJqX1UWhH)
5. Select **Definite Scoring** from the drop-down while creating a new Log Template as shown below:

   ![](/files/rHvkn15d86DRI9PlmyVO)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opsmx.com/opsmx-1/opsmx-context-engine/user-guide/continuous-verification/scoring-algorithms/definite-scoring.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
