CIHDigitalConfigurator / CIH_Toolkit

CIH_Toolkit
GNU Lesser General Public License v3.0
0 stars 0 forks source link

CIH_Toolkit : Creation of initial Specification and Checks prototype #1

Closed al-fisher closed 3 years ago

al-fisher commented 3 years ago

As discussed with @alelom - creation of new Specification object consisting of a list of Checks and a Filter.

See images below prototyping (with CustomObjects) a workflow specifically for a DomainCheck based Specification applied to a Derived Properties of a BHoM Object filtered by Type

image

Verification of the Objects Specification as shown above can can form the basis of an Verification Engine Method - relying on Run ExtensionMethod for Derived Properties - and naturally a simple Property query for Defining Properties. Method can have some intelligence to check and switch depending on the Query being provided - returning Error if no such Property is found.

Discussed with @alelom the concept of IChecks and IFilters both implementing ILogical which can be the basis for logical Boolean operations on the Filters and Checks.

With the following IChecks to be implemented

image

See concepts of Source and check justification comment as properties of the Check

al-fisher commented 3 years ago

A Specification can then be created from a list of Checks and a Filter image

al-fisher commented 3 years ago

Addressed by https://github.com/CIHDigitalConfigurator/CIH_Toolkit/pull/2