> For the complete documentation index, see [llms.txt](https://cogneed.gitbook.io/cogneed-centre-daide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cogneed.gitbook.io/cogneed-centre-daide/cogneed-help-center/dashboard/content-management/compliance-operations.md).

# Compliance Operations

{% hint style="info" %}
A compliance operation is a **calculation node**: it combines the score of several elements (topics, advanced analysis elements, or even other compliance operations) using an operator, to produce a single, reusable score.
{% endhint %}

It lets you build scoring rules richer than a simple total: add up several sub-criteria into one score, or keep only the best (or worst) of a group of elements.

A compliance operation can itself contain other compliance operations (but never itself), which lets you build a multi-level calculation tree rather than a flat list.

## Create a compliance operation

1. Click the "**Create a compliance operation**" button
2. Enter its title
3. Choose the **operator**: Sum, Max, Strict Max, or Min
4. Click "**Save**"

<figure><img src="https://160715368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFCbypPSQCx2ezWjFUPY%2Fuploads%2FaQQNfADx5UkmOwZMvV41%2Fen-capture-6.png?alt=media&amp;token=a868682e-2143-4979-977c-e61e745ac805" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**The 4 operators:**

* **Sum**: adds up the score of each assigned element, weighted by its weight.
* **Max**: keeps only the best score among the assigned elements that were evaluated on the call; an element that was not detected is simply ignored.
* **Strict Max**: only keeps the best score if **all** assigned elements were evaluated on the call; an element that was not detected counts as a failure rather than being ignored.
* **Min**: keeps only the lowest score among the assigned elements.

*(Definition to be confirmed with the product team before publishing — not verified during this session.)*
{% endhint %}

## Assign elements

Once you've finished creating the compliance operation, click "**Manage items**" to assign it, by tab:

* **Topic**
* **Advanced analysis**
* **Compliance operation** — a compliance operation cannot be assigned to itself

For each assigned element, enter its **weight**.

<figure><img src="https://160715368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFCbypPSQCx2ezWjFUPY%2Fuploads%2FdL7kFsNWUoLHBJimXV00%2Fen-capture-7.png?alt=media&amp;token=a2b62978-a8fc-4526-ad2f-d6dae523fff3" alt=""><figcaption></figcaption></figure>

<figure><img src="https://160715368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFCbypPSQCx2ezWjFUPY%2Fuploads%2FWnBnlMO9rVa0GElNKT3F%2Fimage.png?alt=media&amp;token=a398baec-0d62-4cfe-b2dd-c1bcb862eb73" alt=""><figcaption></figcaption></figure>

Once created, the compliance operation can in turn be assigned to a [compliance module](/cogneed-centre-daide/cogneed-help-center/dashboard/content-management/compliance-modules.md) or an [evaluation sheet](/cogneed-centre-daide/cogneed-help-center/dashboard/content-management/evaluation-sheets.md), just like a topic or an advanced analysis element.
