knowsys / knowsys/nemo

Support rules without positive atoms

Open
#555 0 comments 0 reactions 0 assignees View on GitHub
enhancement Parser
Dominant language
Rust
Stars
289
Forks
21
PR merge metrics
No merged PRs in 30d

Description

Currently, rules require at least one positive atom. This means that e.g.

```
HeapAllocation_Type(?heap, ?type) :-
?heap = "<>",
?type = "java.lang.String[]".
```
(see issue #460) are rejected.

Contributor guide

Open the contributing guide

Research direction

The issue names no file or test. Start by locating the rule validation that rejects rules without positive atoms, then trace how the example in the issue is parsed and evaluated. Done means the shown rule is accepted without regressing rules that contain positive atoms.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.