mirror of
https://github.com/dbt-labs/dbt-project-evaluator.git
synced 2025-12-18 02:11:27 +00:00
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
version: 2
|
|
|
|
models:
|
|
- name: fct_documentation_coverage
|
|
description: >
|
|
This model calculates the percent of enabled models in the project that have a configured description.
|
|
We recommend you describe at least 75 percent of your models.
|
|
columns:
|
|
- name: documentation_coverage_pct
|
|
description: the number of models in the project with a description divided by the total number of models in the project
|
|
data_tests:
|
|
- dbt_utils.accepted_range:
|
|
name: valid_documentation_coverage
|
|
config:
|
|
severity: warn
|
|
arguments:
|
|
min_value: "{{ var('documentation_coverage_target') }}"
|
|
- name: fct_undocumented_models
|
|
description: >
|
|
This model contains all models that do not have a description configured in a YML file.
|
|
data_tests:
|
|
- is_empty
|
|
- name: fct_undocumented_source_tables
|
|
description: >
|
|
This model contains all source tables that do not have a description configured in a YML file.
|
|
data_tests:
|
|
- is_empty
|
|
- name: fct_undocumented_sources
|
|
description: >
|
|
This model contains all sources that do not have a description configured in a YML file.
|
|
data_tests:
|
|
- is_empty |