Difference in treatment of None for conj/disj in compile and propagator engines
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Start with the datatype/bool/conj_disj_mixed test and evaluator.py, then reproduce the supplied example in both the compile and propagator engines. Compare how None is handled by conj/disj and identify the intended consistent result. Done means the engines agree and the mixed-value test covers the regression.
Written by the indexing model from the issue text.
Description
When None is used in the conj/disj operators the compile engine has different behaviour to the propagator(evaluator.py). This can be seen in the "datatype/bool/conj_disj_mixed" test. Here is another example:
variable_define(result, operation(limp,(operation(conj,(operation(lnot,(variable(a),())),(variable(b),()))),(val(bool,false),())))).
variable_define(a, val(none,none)).
variable_define(b, val(bool,true)).
Compile result: bad
Propagator result: None
- Dominant language
- Python
- Stars
- 4
- Forks
- 0
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 19
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from potassco/constraint-handler
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
potassco/constraint-handler#276 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
potassco/constraint-handler#216 · 6 comments ·
Maintainers usually reply within 1 day
-
constraint-handler 2
Difficulty 5/5 Over a week Newbie friendliness 25/100
potassco/constraint-handler#491 · 2 comments ·
Maintainers usually reply within 1 day
-
Multiple definitions that agree with each otherPossibly taken @AbdallahS claimed this 1 day ago. Openconstraint-handler 2
potassco/constraint-handler#490 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
potassco/constraint-handler#489 ·
Maintainers usually reply within 1 day
All issues in potassco/constraint-handler
Similar issues
-
auto-reported bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
stix-atlas.json: the same relationship id is used for several different mitigates relationshipsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
backend bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
nolte/kamerplanter#3193 ·
Maintainers usually reply within 1 day
-
soup prune-prompt exits 1 after writing its output on a file over 100,000 rows, and reports a capped row count otherwisePossibly taken @abdulwaarith0 claimed this today. Openneeds-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
MakazhanAlpamys/Soup#3690 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day