CacheControl / CacheControl/json-rules-engine
Find unused facts
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 3.1k
- Fork
- 507
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Is it possible to retrieve a list of facts which were not used / triggered by any rule in the engine?
Pseudo code:
```
facts = {
A: true,
B: false,
C: true,
D: false
}
rule = {
check if A == true ?
}
engine(rule).run(facts)
```
I want to retrieve facts which were not used by this rule (`B, C, D`)
This is an atypical request I guess. :)
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.