Quality pass rate
A contract dimension: 95% of an asset's data-quality runs must pass, set when an imported contract has an executable rule.
Use it when A table has data-quality checks and the contract should breach when too many of them fail, not at the first one.
dimension: quality
min_pass_rate: 0.95
Taken from packages/integrations/odcs/src/nistor_tool_odcs/services/trust_projection.py
When an imported ODCS contract has a rule Nistor can run, the import adds this dimension to the asset's Data Trust
contract (QUALITY_PASS_RATE). In a contract written through the API, the same two keys are one item of dimensions;
target (0.99) and compute_window_days (30) keep their defaults.
The dimension breaches when fewer than min_pass_rate of the data-quality runs in the window passed. The runs come
from the Data quality module of Nistor Enterprise: without it the dimension has no data, so it never breaches. A
breach opens a data_contract incident and a contract_breach alert, and closes when the pair passes again.