> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Hypothesis evaluation functions

> FlexiLayout functions for computing penalty coefficients that adjust hypothesis quality during element evaluation in Extraction Rules activities.

| Function                                                                 | Description                                                                                                                                                                                                                                             |
| :----------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Quality FuzzyQuality( Area value, AreaFuzzyInterval interval )`         | Specifies a function for computing a penalty coefficient by which the quality of a hypothesis for the element should be multiplied. The function is calculated as the result of checking if the value "value" belongs to the fuzzy interval "interval." |
| `Quality FuzzyQuality( DistInterval value, DistFuzzyInterval interval )` | The function calculates the penalty coefficient by which the quality of the element hypothesis must be multiplied. The function checks whether the value "value" belongs to the fuzzy interval "interval."                                              |
| `Quality FuzzyQuality( Int value, IntFuzzyInterval interval )`           | The function calculates the penalty coefficient by which the quality of the element hypothesis must be multiplied. The function checks whether the value "value" belongs to the fuzzy interval "interval."                                              |
| `Quality Quality( Real )`                                                | Sets the penalty coefficient by which the quality of the element hypothesis must be multiplied.                                                                                                                                                         |
