Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RS/YJ/Rule1-3 Fix #1391

Merged
merged 3 commits into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions rct229/rulesets/ashrae9012019/section1/section1rule2.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
from rct229.rule_engine.rule_base import RuleDefinitionBase
from rct229.rule_engine.ruleset_model_factory import produce_ruleset_model_description
from rct229.rulesets.ashrae9012019 import (
BASELINE_0,
BASELINE_90,
BASELINE_180,
BASELINE_270,
PROPOSED,
USER,
)
from rct229.utils.assertions import assert_
from rct229.utils.jsonpath_utils import find_one
from rct229.utils.std_comparisons import std_equal
Expand Down
10 changes: 1 addition & 9 deletions rct229/rulesets/ashrae9012019/section1/section1rule3.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
from rct229.rule_engine.rule_base import RuleDefinitionBase
from rct229.rule_engine.ruleset_model_factory import produce_ruleset_model_description
from rct229.rulesets.ashrae9012019 import (
BASELINE_0,
BASELINE_90,
BASELINE_180,
BASELINE_270,
PROPOSED,
USER,
)
from rct229.utils.assertions import assert_
from rct229.utils.jsonpath_utils import find_one
from rct229.utils.std_comparisons import std_equal
Expand Down Expand Up @@ -112,7 +104,7 @@ def rule_check(self, context, calc_vals=None, data=None):
return len(pci_target_set) == len(bpf_set) == len(bbp_set) == len(
bbrec_set
) == len(bbuec_set) == 1 and std_equal(
(bbuec_set[0] + (bpf_set[0] * bbrec_set[0]) / bbp_set[0]),
(bbuec_set[0] + (bpf_set[0] * bbrec_set[0])) / bbp_set[0],
pci_target_set[0],
)

Expand Down
8 changes: 0 additions & 8 deletions rct229/rulesets/ashrae9012019/section1/section1rule4.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
from rct229.rule_engine.rule_base import RuleDefinitionBase
from rct229.rule_engine.ruleset_model_factory import produce_ruleset_model_description
from rct229.rulesets.ashrae9012019 import (
BASELINE_0,
BASELINE_90,
BASELINE_180,
BASELINE_270,
PROPOSED,
USER,
)
from rct229.utils.assertions import assert_
from rct229.utils.jsonpath_utils import find_one

Expand Down
8 changes: 0 additions & 8 deletions rct229/rulesets/ashrae9012019/section1/section1rule5.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
from rct229.rule_engine.rule_base import RuleDefinitionBase
from rct229.rule_engine.ruleset_model_factory import produce_ruleset_model_description
from rct229.rulesets.ashrae9012019 import (
BASELINE_0,
BASELINE_90,
BASELINE_180,
BASELINE_270,
PROPOSED,
USER,
)
from rct229.utils.assertions import assert_
from rct229.utils.jsonpath_utils import find_one

Expand Down
Loading
Loading