CacheControl / CacheControl/json-rules-engine
Complex rule for the fact
未關閉
- 主要語言
- JavaScript
- 星號
- 3.1k
- 分支
- 507
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Suppose the fact is
const fact={
id:1,
username:'sureshk',
student:[{name:'zbc',percentage:100},{name:'zb',percentage:10}],
role:['coach','mentor'],
sport:['hockey','base']
}
and the rule should be
rule criteria => (student.name ='zbc' AND student.percentage=100) AND id=1 AND username='sureshk' AND role = 'coach' AND sport='hockey'
what will the json rules for the above rule criteria and facts
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
先從 issue 中展示的事實物件和規則條件開始,接著查閱專案中針對巢狀 student 欄位以及 role 和 sport 陣列的規則格式進入點。完成的標準是 issue 具有明確無歧義的 JSON 規則表示,涵蓋所有已陳述的條件。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- backend
- Issue 類型
- 文件
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100