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

[Draft] Rule scope proposal #136

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
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
66 changes: 66 additions & 0 deletions backend/apps/ifc_validation/checks/Scope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
### Syntax

- File is a 10303-21 file
- File has header
- File has valid overall syntax
- File has valid string encoding
- File has no duplicate ids
- File has no 0 ids (todo)

### IFC101

- schema is actual

### Schema

- attribute types
- aggregate lengths
- inverses
- where rules and functions

### Header validation

- header conforms to policy

### 000-rules

- **availability**

*"Certain patterns of information exchange are present in a model"*

(e.g GridPlacement is used somewhere)

### Normative rules

- **validity**

*"Exchange follows expected structure and data types in addition to constraints in the schema"*

(e.g Alignment <-Nests-> Horizontal)

- **correctness**

*"No contradictions of universal constraints"*

(e.g No duplicate points in polyloop; planar face is planar)

- **logical consistency** (end-goal of software cert)

*"No contradictions of 'direct' statements within exchange"*

(e.g same number of segments for alignment domain logic and representation)

- **reliability** (end-goal of validation service)

*"Arbitrary fragments of data can be relied upon"*

(e.g properties agree with geometry; multiple representations for same element are in agreement; an element classified as a "wall" also behaves like a "wall")

- **completeness** (100% out of scope, more or less intractable)

*"Data is complete"*


### Best practices

- **usefulness**
Loading