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

update 5_2 #1518

Merged
merged 4 commits into from
Sep 5, 2024
Merged

update 5_2 #1518

merged 4 commits into from
Sep 5, 2024

Conversation

weilixu
Copy link
Collaborator

@weilixu weilixu commented Sep 4, 2024

Update 5-2 to full evaluation rule

@weilixu weilixu self-assigned this Sep 4, 2024
@@ -51,7 +51,7 @@ def get_calc_vals(self, context, data=None):
"baseline_surfaces_casting_shade_ids": baseline_surfaces_casting_shade_ids
}

def applicability_check(self, context, calc_vals, data):
def rule_check(self, context, calc_vals=None, data=None):
# if there are surfaces casting shade, set to undetermined
# if there are no surfaces casting shade, set to not applicable.
return not len(calc_vals["baseline_surfaces_casting_shade_ids"]) == 0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rule should pass when length is 0

@JacksonJ-KC JacksonJ-KC marked this pull request as ready for review September 4, 2024 22:32
@weilixu weilixu merged commit 1c597c2 into develop Sep 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants