# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:1min_periods_with_readouts:1historic_data_point_grouping:last_n_readoutsfields:-field_name:fromdisplay_name:fromhelp_text:Minimum accepted change with regards to the previous readout (inclusive).data_type:double-field_name:todisplay_name:tohelp_text:Maximum accepted change with regards to the previous readout (inclusive).data_type:double
Rule source code
Please expand the section below to see the Python source code for the change/between_change rule.
The file is found in the $DQO_HOME/rules/change/between_change.py file in the DQOps distribution.
The parameters passed to the rule are shown below.
Field name
Description
Allowed data type
Required
Allowed values
from
Minimum accepted change with regards to the previous readout (inclusive).
double
to
Maximum accepted change with regards to the previous readout (inclusive).
double
exact_day
When the exact_day parameter is unchecked (exact_day: false), rule searches for the most recent sensor readouts from the past 60 days and compares them. If the parameter is selected (exact_day: true), the rule compares only with the results from the past 1 day. If no results are found from that time, no results or errors will be generated.
boolean
Rule definition YAML
The rule definition YAML file change/between_change_1_day.dqorule.yaml with the time window and rule parameters configuration is shown below.
Please expand to see the content of the .dqorule.yaml file
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:60min_periods_with_readouts:1historic_data_point_grouping:dayfields:-field_name:fromdisplay_name:fromhelp_text:Minimum accepted change with regards to the previous readout (inclusive).data_type:double-field_name:todisplay_name:tohelp_text:Maximum accepted change with regards to the previous readout (inclusive).data_type:double-field_name:exact_daydisplay_name:exact_dayhelp_text:"Whentheexact_dayparameterisunchecked(exact_day:false),rule\\ searchesforthemostrecentsensorreadoutsfromthepast60daysandcompares\\ them.Iftheparameterisselected(exact_day:true),therulecomparesonly\\ withtheresultsfromthepast1day.Ifnoresultsarefoundfromthattime,\\ noresultsorerrorswillbegenerated."data_type:booleandefault_value:"true"
Rule source code
Please expand the section below to see the Python source code for the change/between_change_1_day rule.
The file is found in the $DQO_HOME/rules/change/between_change_1_day.py file in the DQOps distribution.
The parameters passed to the rule are shown below.
Field name
Description
Allowed data type
Required
Allowed values
from
Minimum accepted change with regards to the previous readout (inclusive).
double
to
Maximum accepted change with regards to the previous readout (inclusive).
double
exact_day
When the exact_day parameter is unchecked (exact_day: false), rule searches for the most recent sensor readouts from the past 60 days and compares them. If the parameter is selected (exact_day: true), the rule compares only with the results from the past 30 days. If no results are found from that time, no results or errors will be generated.
boolean
Rule definition YAML
The rule definition YAML file change/between_change_30_days.dqorule.yaml with the time window and rule parameters configuration is shown below.
Please expand to see the content of the .dqorule.yaml file
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:60min_periods_with_readouts:1historic_data_point_grouping:dayfields:-field_name:fromdisplay_name:fromhelp_text:Minimum accepted change with regards to the previous readout (inclusive).data_type:double-field_name:todisplay_name:tohelp_text:Maximum accepted change with regards to the previous readout (inclusive).data_type:double-field_name:exact_daydisplay_name:exact_dayhelp_text:"Whentheexact_dayparameterisunchecked(exact_day:false),rule\\ searchesforthemostrecentsensorreadoutsfromthepast60daysandcompares\\ them.Iftheparameterisselected(exact_day:true),therulecomparesonly\\ withtheresultsfromthepast30days.Ifnoresultsarefoundfromthat\\ time,noresultsorerrorswillbegenerated."data_type:booleandefault_value:"false"
Rule source code
Please expand the section below to see the Python source code for the change/between_change_30_days rule.
The file is found in the $DQO_HOME/rules/change/between_change_30_days.py file in the DQOps distribution.
The parameters passed to the rule are shown below.
Field name
Description
Allowed data type
Required
Allowed values
from
Minimum accepted change with regards to the previous readout (inclusive).
double
to
Maximum accepted change with regards to the previous readout (inclusive).
double
exact_day
When the exact_day parameter is unchecked (exact_day: false), rule searches for the most recent sensor readouts from the past 60 days and compares them. If the parameter is selected (exact_day: true), the rule compares only with the results from the past 7 days. If no results are found from that time, no results or errors will be generated.
boolean
Rule definition YAML
The rule definition YAML file change/between_change_7_days.dqorule.yaml with the time window and rule parameters configuration is shown below.
Please expand to see the content of the .dqorule.yaml file
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:60min_periods_with_readouts:1historic_data_point_grouping:dayfields:-field_name:fromdisplay_name:fromhelp_text:Minimum accepted change with regards to the previous readout (inclusive).data_type:double-field_name:todisplay_name:tohelp_text:Maximum accepted change with regards to the previous readout (inclusive).data_type:double-field_name:exact_daydisplay_name:exact_dayhelp_text:"Whentheexact_dayparameterisunchecked(exact_day:false),rule\\ searchesforthemostrecentsensorreadoutsfromthepast60daysandcompares\\ them.Iftheparameterisselected(exact_day:true),therulecomparesonly\\ withtheresultsfromthepast7days.Ifnoresultsarefoundfromthattime,\\ noresultsorerrorswillbegenerated."data_type:booleandefault_value:"false"
Rule source code
Please expand the section below to see the Python source code for the change/between_change_7_days rule.
The file is found in the $DQO_HOME/rules/change/between_change_7_days.py file in the DQOps distribution.
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:1min_periods_with_readouts:1historic_data_point_grouping:last_n_readoutsfields:-field_name:from_percentdisplay_name:from_percenthelp_text:Minimum accepted change relative to the previous readout (inclusive).data_type:double-field_name:to_percentdisplay_name:to_percenthelp_text:Maximum accepted change relative to the previous readout (inclusive).data_type:double
Rule source code
Please expand the section below to see the Python source code for the change/between_percent_change rule.
The file is found in the $DQO_HOME/rules/change/between_percent_change.py file in the DQOps distribution.
The parameters passed to the rule are shown below.
Field name
Description
Allowed data type
Required
Allowed values
from_percent
Minimum accepted change relative to the previous readout (inclusive).
double
to_percent
Maximum accepted change relative to the previous readout (inclusive).
double
exact_day
When the exact_day parameter is unchecked (exact_day: false), rule searches for the most recent sensor readouts from the past 60 days and compares them. If the parameter is selected (exact_day: true), the rule compares only with the results from the past 1 day. If no results are found from that time, no results or errors will be generated.
boolean
Rule definition YAML
The rule definition YAML file change/between_percent_change_1_day.dqorule.yaml with the time window and rule parameters configuration is shown below.
Please expand to see the content of the .dqorule.yaml file
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:60min_periods_with_readouts:1historic_data_point_grouping:dayfields:-field_name:from_percentdisplay_name:from_percenthelp_text:Minimum accepted change relative to the previous readout (inclusive).data_type:double-field_name:to_percentdisplay_name:to_percenthelp_text:Maximum accepted change relative to the previous readout (inclusive).data_type:double-field_name:exact_daydisplay_name:exact_dayhelp_text:"Whentheexact_dayparameterisunchecked(exact_day:false),rule\\ searchesforthemostrecentsensorreadoutsfromthepast60daysandcompares\\ them.Iftheparameterisselected(exact_day:true),therulecomparesonly\\ withtheresultsfromthepast1day.Ifnoresultsarefoundfromthattime,\\ noresultsorerrorswillbegenerated."data_type:booleandefault_value:"true"
Rule source code
Please expand the section below to see the Python source code for the change/between_percent_change_1_day rule.
The file is found in the $DQO_HOME/rules/change/between_percent_change_1_day.py file in the DQOps distribution.
The parameters passed to the rule are shown below.
Field name
Description
Allowed data type
Required
Allowed values
from_percent
Minimum accepted change relative to the previous readout (inclusive).
double
to_percent
Maximum accepted change relative to the previous readout (inclusive).
double
exact_day
When the exact_day parameter is unchecked (exact_day: false), rule searches for the most recent sensor readouts from the past 60 days and compares them. If the parameter is selected (exact_day: true), the rule compares only with the results from the past 30 days. If no results are found from that time, no results or errors will be generated.
boolean
Rule definition YAML
The rule definition YAML file change/between_percent_change_30_days.dqorule.yaml with the time window and rule parameters configuration is shown below.
Please expand to see the content of the .dqorule.yaml file
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:60min_periods_with_readouts:1historic_data_point_grouping:dayfields:-field_name:from_percentdisplay_name:from_percenthelp_text:Minimum accepted change relative to the previous readout (inclusive).data_type:double-field_name:to_percentdisplay_name:to_percenthelp_text:Maximum accepted change relative to the previous readout (inclusive).data_type:double-field_name:exact_daydisplay_name:exact_dayhelp_text:"Whentheexact_dayparameterisunchecked(exact_day:false),rule\\ searchesforthemostrecentsensorreadoutsfromthepast60daysandcompares\\ them.Iftheparameterisselected(exact_day:true),therulecomparesonly\\ withtheresultsfromthepast30days.Ifnoresultsarefoundfromthat\\ time,noresultsorerrorswillbegenerated."data_type:booleandefault_value:"false"
Rule source code
Please expand the section below to see the Python source code for the change/between_percent_change_30_days rule.
The file is found in the $DQO_HOME/rules/change/between_percent_change_30_days.py file in the DQOps distribution.
The parameters passed to the rule are shown below.
Field name
Description
Allowed data type
Required
Allowed values
from_percent
Minimum accepted change relative to the previous readout (inclusive).
double
to_percent
Maximum accepted change relative to the previous readout (inclusive).
double
exact_day
When the exact_day parameter is unchecked (exact_day: false), rule searches for the most recent sensor readouts from the past 60 days and compares them. If the parameter is selected (exact_day: true), the rule compares only with the results from the past 7 days. If no results are found from that time, no results or errors will be generated.
boolean
Rule definition YAML
The rule definition YAML file change/between_percent_change_7_days.dqorule.yaml with the time window and rule parameters configuration is shown below.
Please expand to see the content of the .dqorule.yaml file
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:60min_periods_with_readouts:1historic_data_point_grouping:dayfields:-field_name:from_percentdisplay_name:from_percenthelp_text:Minimum accepted change relative to the previous readout (inclusive).data_type:double-field_name:to_percentdisplay_name:to_percenthelp_text:Maximum accepted change relative to the previous readout (inclusive).data_type:double-field_name:exact_daydisplay_name:exact_dayhelp_text:"Whentheexact_dayparameterisunchecked(exact_day:false),rule\\ searchesforthemostrecentsensorreadoutsfromthepast60daysandcompares\\ them.Iftheparameterisselected(exact_day:true),therulecomparesonly\\ withtheresultsfromthepast7days.Ifnoresultsarefoundfromthattime,\\ noresultsorerrorswillbegenerated."data_type:booleandefault_value:"false"
Rule source code
Please expand the section below to see the Python source code for the change/between_percent_change_7_days rule.
The file is found in the $DQO_HOME/rules/change/between_percent_change_7_days.py file in the DQOps distribution.
Please expand the section below to see the Python source code for the change/change_difference rule.
The file is found in the $DQO_HOME/rules/change/change_difference.py file in the DQOps distribution.
The parameters passed to the rule are shown below.
Field name
Description
Allowed data type
Required
Allowed values
max_difference
Maximum accepted absolute difference compared to a readout 1 day ago (inclusive).
double
exact_day
When the exact_day parameter is unchecked (exact_day: false), rule searches for the most recent sensor readouts from the past 60 days and compares them. If the parameter is selected (exact_day: true), the rule compares only with the results from the past 1 day. If no results are found from that time, no results or errors will be generated.
boolean
Rule definition YAML
The rule definition YAML file change/change_difference_1_day.dqorule.yaml with the time window and rule parameters configuration is shown below.
Please expand to see the content of the .dqorule.yaml file
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:60min_periods_with_readouts:1historic_data_point_grouping:dayfields:-field_name:max_differencedisplay_name:max_differencehelp_text:Maximum accepted absolute difference compared to a readout 1 day ago(inclusive).data_type:doublerequired:true-field_name:exact_daydisplay_name:exact_dayhelp_text:"Whentheexact_dayparameterisunchecked(exact_day:false),rule\\ searchesforthemostrecentsensorreadoutsfromthepast60daysandcompares\\ them.Iftheparameterisselected(exact_day:true),therulecomparesonly\\ withtheresultsfromthepast1day.Ifnoresultsarefoundfromthattime,\\ noresultsorerrorswillbegenerated."data_type:booleandefault_value:"true"
Rule source code
Please expand the section below to see the Python source code for the change/change_difference_1_day rule.
The file is found in the $DQO_HOME/rules/change/change_difference_1_day.py file in the DQOps distribution.
The parameters passed to the rule are shown below.
Field name
Description
Allowed data type
Required
Allowed values
max_difference
Maximum accepted absolute difference compared to a readout 30 days ago (inclusive).
double
exact_day
When the exact_day parameter is unchecked (exact_day: false), rule searches for the most recent sensor readouts from the past 60 days and compares them. If the parameter is selected (exact_day: true), the rule compares only with the results from the past 30 days. If no results are found from that time, no results or errors will be generated.
boolean
Rule definition YAML
The rule definition YAML file change/change_difference_30_days.dqorule.yaml with the time window and rule parameters configuration is shown below.
Please expand to see the content of the .dqorule.yaml file
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:60min_periods_with_readouts:1historic_data_point_grouping:dayfields:-field_name:max_differencedisplay_name:max_differencehelp_text:Maximum accepted absolute difference compared to a readout 30 daysago (inclusive).data_type:doublerequired:true-field_name:exact_daydisplay_name:exact_dayhelp_text:"Whentheexact_dayparameterisunchecked(exact_day:false),rule\\ searchesforthemostrecentsensorreadoutsfromthepast60daysandcompares\\ them.Iftheparameterisselected(exact_day:true),therulecomparesonly\\ withtheresultsfromthepast30days.Ifnoresultsarefoundfromthat\\ time,noresultsorerrorswillbegenerated."data_type:booleandefault_value:"false"
Rule source code
Please expand the section below to see the Python source code for the change/change_difference_30_days rule.
The file is found in the $DQO_HOME/rules/change/change_difference_30_days.py file in the DQOps distribution.
The parameters passed to the rule are shown below.
Field name
Description
Allowed data type
Required
Allowed values
max_difference
Maximum accepted absolute difference compared to a readout 7 days ago (inclusive).
double
exact_day
When the exact_day parameter is unchecked (exact_day: false), rule searches for the most recent sensor readouts from the past 60 days and compares them. If the parameter is selected (exact_day: true), the rule compares only with the results from the past 7 days. If no results are found from that time, no results or errors will be generated.
boolean
Rule definition YAML
The rule definition YAML file change/change_difference_7_days.dqorule.yaml with the time window and rule parameters configuration is shown below.
Please expand to see the content of the .dqorule.yaml file
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:60min_periods_with_readouts:1historic_data_point_grouping:dayfields:-field_name:max_differencedisplay_name:max_differencehelp_text:Maximum accepted absolute difference compared to a readout 7 days ago(inclusive).data_type:doublerequired:true-field_name:exact_daydisplay_name:exact_dayhelp_text:"Whentheexact_dayparameterisunchecked(exact_day:false),rule\\ searchesforthemostrecentsensorreadoutsfromthepast60daysandcompares\\ them.Iftheparameterisselected(exact_day:true),therulecomparesonly\\ withtheresultsfromthepast7days.Ifnoresultsarefoundfromthattime,\\ noresultsorerrorswillbegenerated."data_type:booleandefault_value:"false"
Rule source code
Please expand the section below to see the Python source code for the change/change_difference_7_days rule.
The file is found in the $DQO_HOME/rules/change/change_difference_7_days.py file in the DQOps distribution.
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:1min_periods_with_readouts:1historic_data_point_grouping:last_n_readoutsfields:-field_name:max_percentdisplay_name:max_percenthelp_text:Percentage of maximum accepted change compared to previous readout(inclusive).data_type:doublerequired:truedefault_value:10.0
Rule source code
Please expand the section below to see the Python source code for the change/change_percent rule.
The file is found in the $DQO_HOME/rules/change/change_percent.py file in the DQOps distribution.
The parameters passed to the rule are shown below.
Field name
Description
Allowed data type
Required
Allowed values
max_percent
Percentage of maximum accepted change compared to a readout 1 day ago (inclusive).
double
exact_day
When the exact_day parameter is unchecked (exact_day: false), the rule search for the most recent sensor readouts from the past 60 days and compares them. If the parameter is selected (exact_day: true), the rule compares only with the results from the past 1 day. If no results are found from that time, no results or errors will be generated.
boolean
Rule definition YAML
The rule definition YAML file change/change_percent_1_day.dqorule.yaml with the time window and rule parameters configuration is shown below.
Please expand to see the content of the .dqorule.yaml file
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:60min_periods_with_readouts:1historic_data_point_grouping:dayfields:-field_name:max_percentdisplay_name:max_percenthelp_text:Percentage of maximum accepted change compared to a readout 1 day ago(inclusive).data_type:doublerequired:truedefault_value:10.0-field_name:exact_daydisplay_name:exact_dayhelp_text:"Whentheexact_dayparameterisunchecked(exact_day:false),the\\ rulesearchforthemostrecentsensorreadoutsfromthepast60daysand\\ comparesthem.Iftheparameterisselected(exact_day:true),therulecompares\\ onlywiththeresultsfromthepast1day.Ifnoresultsarefoundfromthat\\ time,noresultsorerrorswillbegenerated."data_type:booleandefault_value:"true"
Rule source code
Please expand the section below to see the Python source code for the change/change_percent_1_day rule.
The file is found in the $DQO_HOME/rules/change/change_percent_1_day.py file in the DQOps distribution.
The parameters passed to the rule are shown below.
Field name
Description
Allowed data type
Required
Allowed values
max_percent
Percentage of maximum accepted change compared to a readout 30 days ago (inclusive).
double
exact_day
When the exact_day parameter is unchecked (exact_day: false), rule searches for the most recent sensor readouts from the past 60 days and compares them. If the parameter is selected (exact_day: true), the rule compares only with the results from the past 30 days. If no results are found from that time, no results or errors will be generated.
boolean
Rule definition YAML
The rule definition YAML file change/change_percent_30_days.dqorule.yaml with the time window and rule parameters configuration is shown below.
Please expand to see the content of the .dqorule.yaml file
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:60min_periods_with_readouts:1historic_data_point_grouping:dayfields:-field_name:max_percentdisplay_name:max_percenthelp_text:Percentage of maximum accepted change compared to a readout 30 daysago (inclusive).data_type:doublerequired:truedefault_value:10.0-field_name:exact_daydisplay_name:exact_dayhelp_text:"Whentheexact_dayparameterisunchecked(exact_day:false),rule\\ searchesforthemostrecentsensorreadoutsfromthepast60daysandcompares\\ them.Iftheparameterisselected(exact_day:true),therulecomparesonly\\ withtheresultsfromthepast30days.Ifnoresultsarefoundfromthat\\ time,noresultsorerrorswillbegenerated."data_type:booleandefault_value:"false"
Rule source code
Please expand the section below to see the Python source code for the change/change_percent_30_days rule.
The file is found in the $DQO_HOME/rules/change/change_percent_30_days.py file in the DQOps distribution.
The parameters passed to the rule are shown below.
Field name
Description
Allowed data type
Required
Allowed values
max_percent
Percentage of maximum accepted change compared to a readout 7 days ago (inclusive).
double
exact_day
When the exact_day parameter is unchecked (exact_day: false), rule searches for the most recent sensor readouts from the past 60 days and compares them. If the parameter is selected (exact_day: true), the rule compares only with the results from the past 7 days. If no results are found from that time, no results or errors will be generated.
boolean
Rule definition YAML
The rule definition YAML file change/change_percent_7_days.dqorule.yaml with the time window and rule parameters configuration is shown below.
Please expand to see the content of the .dqorule.yaml file
# yaml-language-server: $schema=https://cloud.dqops.com/dqo-yaml-schema/RuleDefinitionYaml-schema.jsonapiVersion:dqo/v1kind:rulespec:type:pythonjava_class_name:com.dqops.execution.rules.runners.python.PythonRuleRunnermode:previous_readoutstime_window:prediction_time_window:60min_periods_with_readouts:1historic_data_point_grouping:dayfields:-field_name:max_percentdisplay_name:max_percenthelp_text:Percentage of maximum accepted change compared to a readout 7 daysago (inclusive).data_type:doublerequired:truedefault_value:10.0-field_name:exact_daydisplay_name:exact_dayhelp_text:"Whentheexact_dayparameterisunchecked(exact_day:false),rule\\ searchesforthemostrecentsensorreadoutsfromthepast60daysandcompares\\ them.Iftheparameterisselected(exact_day:true),therulecomparesonly\\ withtheresultsfromthepast7days.Ifnoresultsarefoundfromthattime,\\ noresultsorerrorswillbegenerated."data_type:booleandefault_value:"false"
Rule source code
Please expand the section below to see the Python source code for the change/change_percent_7_days rule.
The file is found in the $DQO_HOME/rules/change/change_percent_7_days.py file in the DQOps distribution.