Skip to content

Verification_Engine added #3431

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

Merged
merged 20 commits into from
Nov 18, 2024
Merged

Verification_Engine added #3431

merged 20 commits into from
Nov 18, 2024

Conversation

pawelbaran
Copy link
Member

@pawelbaran pawelbaran commented Nov 8, 2024

NOTE: Depends on

BHoM/BHoM#1644

Issues addressed by this PR

Supports BHoM/BHoM#1643

Test files

On SharePoint

Changelog

Additional comments

@alelom please note that the GH script mentioned under test files contains a suite of tests that fail to serialise due to a diffing bug - I will try to extract the exact culprit and raise an issue for you to debug. Once the bug gets fixed, I will gladly push UTs for this PR.

@pawelbaran pawelbaran added the type:feature New capability or enhancement label Nov 8, 2024
@pawelbaran pawelbaran self-assigned this Nov 8, 2024
@pawelbaran
Copy link
Member Author

@BHoMBot check compliance

Copy link

bhombot-ci bot commented Nov 8, 2024

@pawelbaran to confirm, the following actions are now queued:

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check branch-compliance
  • check dataset-compliance
  • check copyright-compliance

There are 5 requests in the queue ahead of you.

@pawelbaran
Copy link
Member Author

@BHoMBot check compliance

Copy link

bhombot-ci bot commented Nov 8, 2024

@pawelbaran to confirm, the following actions are now queued:

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check branch-compliance
  • check dataset-compliance
  • check copyright-compliance

@pawelbaran
Copy link
Member Author

@BHoMBot check core

Copy link

bhombot-ci bot commented Nov 8, 2024

@pawelbaran to confirm, the following actions are now queued:

  • check core

@pawelbaran
Copy link
Member Author

@BHoMBot check installer

Copy link

bhombot-ci bot commented Nov 8, 2024

@pawelbaran to confirm, the following actions are now queued:

  • check installer

@michal-pekacki
Copy link
Contributor

michal-pekacki commented Nov 13, 2024

If we compare two strings with LessThan and GreaterThan comparison type the result for both is False and we have following entry in the report:
image

Shouldn't we disable numeric comparisons for strings?

@pawelbaran
Copy link
Member Author

Thanks @michal-pekacki, I've just fixed that, returning null as inconclusive in such cases 👍

@michal-pekacki
Copy link
Contributor

michal-pekacki commented Nov 13, 2024

Shouldn't we be consistent and do the same when comparing number to string?
In following entry comparing numeric ValueSource with string ReferenceValue doesn't return null:

image

@pawelbaran
Copy link
Member Author

Ha, I disabled comparing numbers to strings now, thanks for another good catch @michal-pekacki 👍 also added test cases

Copy link
Contributor

@michal-pekacki michal-pekacki left a comment

Choose a reason for hiding this comment

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

Looks good! I have no more comments, happy to approve 👍

@pawelbaran
Copy link
Member Author

@BHoMBot check required

Copy link

bhombot-ci bot commented Nov 13, 2024

@pawelbaran to confirm, the following actions are now queued:

  • check code-compliance
  • check documentation-compliance
  • check project-compliance
  • check core
  • check null-handling
  • check serialisation
  • check versioning
  • check installer

There are 4 requests in the queue ahead of you.

Copy link

bhombot-ci bot commented Nov 13, 2024

@pawelbaran just to let you know, I have provided a check-versioning result to this Pull Request as it was detected to be linked to other Pull Requests in a series. The comment which triggered this check came from @pawelbaran on BHoM

Copy link

bhombot-ci bot commented Nov 13, 2024

The check versioning has already been run previously and recorded as a successful check. This check has not been run again at this time.

@pawelbaran
Copy link
Member Author

@BHoMBot check copyright-compliance
@BHoMBot check dataset-compliance
@BHoMBot check unit-tests

Copy link

bhombot-ci bot commented Nov 18, 2024

@pawelbaran to confirm, the following actions are now queued:

  • check copyright-compliance
  • check dataset-compliance
  • check unit-tests

@pawelbaran
Copy link
Member Author

@BHoMBot check ready-to-merge

Copy link

bhombot-ci bot commented Nov 18, 2024

@pawelbaran to confirm, the following actions are now queued:

  • check ready-to-merge

@pawelbaran pawelbaran merged commit 33d579d into develop Nov 18, 2024
12 checks passed
@pawelbaran pawelbaran deleted the BHoM-#1643-AddVerification branch November 18, 2024 11:03
@BHoMBot BHoMBot mentioned this pull request Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New capability or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants