Complete top-down evaluation implementation
Open
Nobody has claimed this yet.
enhancement
feature
- Dominant language
- Rust
- Stars
- 346
- Forks
- 75
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 15
Description
The following does not pass with top-down evaluation:
package test
import future.keywords
p[q].r contains s { # Rule with prefix and general ref
x := ["a", "b", "c"]
q := x[_]
s := x[_]
q != s
}
p.b.r contains "foo" # Rule with prefix overlapping with above rule
Query: data.test.p.b
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the provided Rego snippet and querying data.test.p.b, then locate the top-down evaluation implementation in the repository. Compare the result with the expected overlapping-prefix and general-reference behavior; done means this query passes with the shown rules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100